#ifndef TMBL1AndOr_H #define TMBL1AndOr_H ////////////////////////////////////////////////////////////////////////// // // // TMBL1AndOr class // // // ////////////////////////////////////////////////////////////////////////// #include "TObject.h" #include "TString.h" #include class TMBL1AndOr : public TObject { public: TMBL1AndOr(); TMBL1AndOr ( const TMBL1AndOr & obj ); // copy constructor ~TMBL1AndOr(); void Clear (const Option_t *opt); ClassDef(TMBL1AndOr, 1); //TMBTreeTrig class /// Setter void set_and_or_bits (const std::bitset<256> &bits); /// Getter bool l1andor (int bit) const; std::bitset<256> allAndOr (void) const; private: /// What we store in a root file! :( Must be a better way... TString _bit_string; /// Cache vars to hold onto the results in bs format. mutable bool _bs_inited; //! mutable std::bitset<256> _bs; //! void build_bs() const; }; #endif