28 fRecords.back().objectMap.push_back(std::pair<std::string, int>(
"hltL3crIsoL1sMu22Or25L1f0L2f10QL3f27QL3trkIsoFiltered0p07",0));
30 fRecords.back().objectMap.push_back(std::pair<std::string, int>(
"hltEle35noerWPTightGsfTrackIsoFilter",0));
32 fRecords.back().objectMap.push_back(std::pair<std::string, int>(
"hltEle27WPTightGsfTrackIsoFilter",0));
38 for(
unsigned int i0 = 0; i0 <
fRecords.size(); i0++) {
39 if(iName ==
fRecords[i0].hltPattern) lId = i0;
41 if(lId == -1)
edm::LogWarning(
"ZCounting") <<
"=== Missing Trigger ==" << iName << std::endl;
48 if(lId == -1)
return -1;
50 for(
unsigned int i0 = 0; i0 <
fRecords[lId].objectMap.size(); i0++) {
52 return fRecords[lId].objectMap[i0].second;
61 if(lId == -1)
return false;
69 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