28 fRecords.back().objectMap.push_back(std::pair<std::string, int>(
"hltL3crIsoL1sMu22Or25L1f0L2f10QL3f27QL3trkIsoFiltered0p07",0));
34 for(
unsigned int i0 = 0; i0 <
fRecords.size(); i0++) {
35 if(iName ==
fRecords[i0].hltPattern) lId = i0;
37 if(lId == -1)
edm::LogWarning(
"ZCounting") <<
"=== Missing Trigger ==" << iName << std::endl;
44 if(lId == -1)
return -1;
46 for(
unsigned int i0 = 0; i0 <
fRecords[lId].objectMap.size(); i0++) {
48 return fRecords[lId].objectMap[i0].second;
57 if(lId == -1)
return false;
65 if(lId == -1)
return false;
bool passObj(const std::string &iName, const std::string &iObjName, const TriggerObjects &iTrigObj) const
std::bitset< kNTrigObjectBit > TriggerObjects
int getTriggerBit(const std::string &iName) const
std::vector< ZCountingTrigger::TriggerRecord > fRecords
std::bitset< kNTrigBit > TriggerBits
bool pass(const std::string &iName, const TriggerBits &iTrig) const
int getTriggerObjectBit(const std::string &iName, const std::string &iObjName) const