26 const std::vector<std::string> &muonTriggerObjectNames) {
27 for (
unsigned int i = 0;
i < muonTriggerNames.size(); ++
i) {
29 fRecords.back().objectMap.push_back(std::pair<std::string, int>(muonTriggerObjectNames.at(
i), 0));
32 fRecords.back().objectMap.push_back(std::pair<std::string, int>(
"hltEle35noerWPTightGsfTrackIsoFilter", 0));
34 fRecords.back().objectMap.push_back(std::pair<std::string, int>(
"hltEle27WPTightGsfTrackIsoFilter", 0));
40 for (
unsigned int i0 = 0; i0 <
fRecords.size(); i0++) {
41 if (iName ==
fRecords[i0].hltPattern)
45 edm::LogWarning(
"ZCounting") <<
"=== Missing Trigger ==" << iName << std::endl;
55 for (
unsigned int i0 = 0; i0 <
fRecords[lId].objectMap.size(); i0++) {
58 return fRecords[lId].objectMap[i0].second;