11 const std::vector<TriggerRecord>& triggerRecords,
13 const double dRMax = 0.2;
16 for (
unsigned int irec = 0; irec < triggerRecords.size(); irec++) {
17 for (
unsigned int iobj = 0; iobj < triggerRecords[irec].objectMap.size(); iobj++) {
19 const unsigned int filterBit = triggerRecords[irec].objectMap[iobj].second;
27 for (
unsigned int hlto = 0; hlto <
keys.size(); hlto++) {
31 matchBits[filterBit] =
true;
The single EDProduct to be saved for each event (AOD case)
std::bitset< kNTrigObjectBit > TriggerObjects
Single trigger physics object (e.g., an isolated muon)
constexpr auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
std::vector< TriggerObject > TriggerObjectCollection
collection of trigger physics objects (e.g., all isolated muons)
std::vector< size_type > Keys