1 #ifndef DQMOFFLINE_TRIGGER_EGHLTTRIGCODES 2 #define DQMOFFLINE_TRIGGER_EGHLTTRIGCODES 29 std::vector<std::pair<std::string,TrigBitSet> >
codeDefs_;
48 void setCode(
const char *descript,
int bitNr);
51 static bool keyComp(
const std::pair<std::string,TrigBitSet>& lhs,
const std::pair<std::string,TrigBitSet>& rhs);
53 size_t size()
const{
return codeDefs_.size();}
TrigBitSet getCode(const char *descript) const
void setCode(const char *descript, TrigBitSet code)
TrigBitSet getCode(const std::string &descript) const
static TrigCodes * makeCodes(std::vector< std::string > &filterNames)
TrigCodes & operator=(const TrigCodes &)=delete
std::vector< std::pair< std::string, TrigBitSet > > codeDefs_
static const int maxNrBits_
void getCodeName(TrigBitSet code, std::string &id) const
std::bitset< maxNrBits_ > TrigBitSet
static bool keyComp(const std::pair< std::string, TrigBitSet > &lhs, const std::pair< std::string, TrigBitSet > &rhs)