10 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] = 1;
The single EDProduct to be saved for each event (AOD case)
trigger::size_type sizeFilters() const
const Keys & filterKeys(trigger::size_type index) const
trigger::size_type filterIndex(const edm::InputTag &filterTag) const
find index of filter in data-member vector from filter tag
std::bitset< kNTrigObjectBit > TriggerObjects
Single trigger physics object (e.g., an isolated muon)
const TriggerObjectCollection & getObjects() const
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