CMS 3D CMS Logo

TriggerEventWithRefs.h
Go to the documentation of this file.
1 #ifndef HLTReco_TriggerEventWithRefs_h
2 #define HLTReco_TriggerEventWithRefs_h
3 
19 #include <string>
20 #include <vector>
21 
22 namespace trigger {
23 
26 
28  public:
31  public:
57 
60  : filterTag_(),
61  photons_(0),
62  electrons_(0),
63  muons_(0),
64  jets_(0),
65  composites_(0),
66  basemets_(0),
67  calomets_(0),
68  pixtracks_(0),
69  l1em_(0),
70  l1muon_(0),
71  l1jet_(0),
72  l1etmiss_(0),
73  l1hfrings_(0),
74  pfjets_(0),
75  pftaus_(0),
76  pfmets_(0),
77  l1tmuon_(0),
78  l1tegamma_(0),
79  l1tjet_(0),
80  l1ttau_(0),
81  l1tetsum_(0) {
82  filterTag_ = edm::InputTag().encode();
83  }
85  size_type np,
86  size_type ne,
87  size_type nm,
88  size_type nj,
89  size_type nc,
90  size_type nB,
91  size_type nC,
92  size_type nt,
93  size_type l1em,
94  size_type l1muon,
95  size_type l1jet,
96  size_type l1etmiss,
97  size_type l1hfrings,
98  size_type pfjets,
99  size_type pftaus,
100  size_type pfmets,
101  size_type l1tmuon,
102  size_type l1tegamma,
103  size_type l1tjet,
104  size_type l1ttau,
105  size_type l1tetsum)
107  photons_(np),
108  electrons_(ne),
109  muons_(nm),
110  jets_(nj),
111  composites_(nc),
112  basemets_(nB),
113  calomets_(nC),
114  pixtracks_(nt),
115  l1em_(l1em),
116  l1muon_(l1muon),
117  l1jet_(l1jet),
118  l1etmiss_(l1etmiss),
119  l1hfrings_(l1hfrings),
120  pfjets_(pfjets),
121  pftaus_(pftaus),
122  pfmets_(pfmets),
123  l1tmuon_(l1tmuon),
124  l1tegamma_(l1tegamma),
125  l1tjet_(l1tjet),
126  l1ttau_(l1ttau),
127  l1tetsum_(l1tetsum) {}
128  };
129 
131  private:
135  std::vector<TriggerFilterObject> filterObjects_;
136 
138  public:
143  filterObjects_.reserve(n);
144  }
145 
148  filterObjects_.push_back(
149 
151  addObjects(tfowr.photonIds(), tfowr.photonRefs()),
152  addObjects(tfowr.electronIds(), tfowr.electronRefs()),
153  addObjects(tfowr.muonIds(), tfowr.muonRefs()),
154  addObjects(tfowr.jetIds(), tfowr.jetRefs()),
155  addObjects(tfowr.compositeIds(), tfowr.compositeRefs()),
156  addObjects(tfowr.basemetIds(), tfowr.basemetRefs()),
157  addObjects(tfowr.calometIds(), tfowr.calometRefs()),
158  addObjects(tfowr.pixtrackIds(), tfowr.pixtrackRefs()),
159  addObjects(tfowr.l1emIds(), tfowr.l1emRefs()),
160  addObjects(tfowr.l1muonIds(), tfowr.l1muonRefs()),
161  addObjects(tfowr.l1jetIds(), tfowr.l1jetRefs()),
162  addObjects(tfowr.l1etmissIds(), tfowr.l1etmissRefs()),
163  addObjects(tfowr.l1hfringsIds(), tfowr.l1hfringsRefs()),
164  addObjects(tfowr.pfjetIds(), tfowr.pfjetRefs()),
165  addObjects(tfowr.pftauIds(), tfowr.pftauRefs()),
166  addObjects(tfowr.pfmetIds(), tfowr.pfmetRefs()),
167  addObjects(tfowr.l1tmuonIds(), tfowr.l1tmuonRefs()),
168  addObjects(tfowr.l1tegammaIds(), tfowr.l1tegammaRefs()),
169  addObjects(tfowr.l1tjetIds(), tfowr.l1tjetRefs()),
170  addObjects(tfowr.l1ttauIds(), tfowr.l1ttauRefs()),
171  addObjects(tfowr.l1tetsumIds(), tfowr.l1tetsumRefs()))
172 
173  );
174  }
175 
177  const std::string& usedProcessName() const { return usedProcessName_; }
178 
180  size_type size() const { return filterObjects_.size(); }
181 
184  return edm::InputTag(filterObjects_.at(filterIndex).filterTag_);
185  }
186 
189  const std::string encodedFilterTag(filterTag.encode());
190  const size_type n(filterObjects_.size());
191  for (size_type i = 0; i != n; ++i) {
192  if (encodedFilterTag == filterObjects_[i].filterTag_) {
193  return i;
194  }
195  }
196  return n;
197  }
198 
200 
201  std::pair<size_type, size_type> photonSlice(size_type filter) const {
202  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).photons_);
203  const size_type end(filterObjects_.at(filter).photons_);
204  return std::pair<size_type, size_type>(begin, end);
205  }
206 
207  std::pair<size_type, size_type> electronSlice(size_type filter) const {
208  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).electrons_);
209  const size_type end(filterObjects_.at(filter).electrons_);
210  return std::pair<size_type, size_type>(begin, end);
211  }
212 
213  std::pair<size_type, size_type> muonSlice(size_type filter) const {
214  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).muons_);
215  const size_type end(filterObjects_.at(filter).muons_);
216  return std::pair<size_type, size_type>(begin, end);
217  }
218 
219  std::pair<size_type, size_type> jetSlice(size_type filter) const {
220  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).jets_);
221  const size_type end(filterObjects_.at(filter).jets_);
222  return std::pair<size_type, size_type>(begin, end);
223  }
224 
225  std::pair<size_type, size_type> compositeSlice(size_type filter) const {
226  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).composites_);
227  const size_type end(filterObjects_.at(filter).composites_);
228  return std::pair<size_type, size_type>(begin, end);
229  }
230 
231  std::pair<size_type, size_type> basemetSlice(size_type filter) const {
232  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).basemets_);
233  const size_type end(filterObjects_.at(filter).basemets_);
234  return std::pair<size_type, size_type>(begin, end);
235  }
236 
237  std::pair<size_type, size_type> calometSlice(size_type filter) const {
238  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).calomets_);
239  const size_type end(filterObjects_.at(filter).calomets_);
240  return std::pair<size_type, size_type>(begin, end);
241  }
242 
243  std::pair<size_type, size_type> pixtrackSlice(size_type filter) const {
244  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).pixtracks_);
245  const size_type end(filterObjects_.at(filter).pixtracks_);
246  return std::pair<size_type, size_type>(begin, end);
247  }
248 
249  std::pair<size_type, size_type> l1emSlice(size_type filter) const {
250  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).l1em_);
251  const size_type end(filterObjects_.at(filter).l1em_);
252  return std::pair<size_type, size_type>(begin, end);
253  }
254 
255  std::pair<size_type, size_type> l1muonSlice(size_type filter) const {
256  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).l1muon_);
257  const size_type end(filterObjects_.at(filter).l1muon_);
258  return std::pair<size_type, size_type>(begin, end);
259  }
260 
261  std::pair<size_type, size_type> l1jetSlice(size_type filter) const {
262  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).l1jet_);
263  const size_type end(filterObjects_.at(filter).l1jet_);
264  return std::pair<size_type, size_type>(begin, end);
265  }
266 
267  std::pair<size_type, size_type> l1etmissSlice(size_type filter) const {
268  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).l1etmiss_);
269  const size_type end(filterObjects_.at(filter).l1etmiss_);
270  return std::pair<size_type, size_type>(begin, end);
271  }
272 
273  std::pair<size_type, size_type> l1hfringsSlice(size_type filter) const {
274  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).l1hfrings_);
275  const size_type end(filterObjects_.at(filter).l1hfrings_);
276  return std::pair<size_type, size_type>(begin, end);
277  }
278 
279  std::pair<size_type, size_type> pfjetSlice(size_type filter) const {
280  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).pfjets_);
281  const size_type end(filterObjects_.at(filter).pfjets_);
282  return std::pair<size_type, size_type>(begin, end);
283  }
284 
285  std::pair<size_type, size_type> pftauSlice(size_type filter) const {
286  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).pftaus_);
287  const size_type end(filterObjects_.at(filter).pftaus_);
288  return std::pair<size_type, size_type>(begin, end);
289  }
290 
291  std::pair<size_type, size_type> pfmetSlice(size_type filter) const {
292  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).pfmets_);
293  const size_type end(filterObjects_.at(filter).pfmets_);
294  return std::pair<size_type, size_type>(begin, end);
295  }
296 
297  std::pair<size_type, size_type> l1tmuonSlice(size_type filter) const {
298  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).l1tmuon_);
299  const size_type end(filterObjects_.at(filter).l1tmuon_);
300  return std::pair<size_type, size_type>(begin, end);
301  }
302 
303  std::pair<size_type, size_type> l1tegammaSlice(size_type filter) const {
304  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).l1tegamma_);
305  const size_type end(filterObjects_.at(filter).l1tegamma_);
306  return std::pair<size_type, size_type>(begin, end);
307  }
308 
309  std::pair<size_type, size_type> l1tjetSlice(size_type filter) const {
310  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).l1tjet_);
311  const size_type end(filterObjects_.at(filter).l1tjet_);
312  return std::pair<size_type, size_type>(begin, end);
313  }
314 
315  std::pair<size_type, size_type> l1ttauSlice(size_type filter) const {
316  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).l1ttau_);
317  const size_type end(filterObjects_.at(filter).l1ttau_);
318  return std::pair<size_type, size_type>(begin, end);
319  }
320 
321  std::pair<size_type, size_type> l1tetsumSlice(size_type filter) const {
322  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).l1tetsum_);
323  const size_type end(filterObjects_.at(filter).l1tetsum_);
324  return std::pair<size_type, size_type>(begin, end);
325  }
326 
328 
333  }
334  void getObjects(size_type filter, int id, VRphoton& photons) const {
338  }
339 
344  }
349  }
350 
351  void getObjects(size_type filter, Vids& ids, VRmuon& muons) const {
355  }
356  void getObjects(size_type filter, int id, VRmuon& muons) const {
360  }
361 
362  void getObjects(size_type filter, Vids& ids, VRjet& jets) const {
366  }
367  void getObjects(size_type filter, int id, VRjet& jets) const {
371  }
372 
373  void getObjects(size_type filter, Vids& ids, VRcomposite& composites) const {
376  TriggerRefsCollections::getObjects(ids, composites, begin, end);
377  }
378  void getObjects(size_type filter, int id, VRcomposite& composites) const {
381  TriggerRefsCollections::getObjects(id, composites, begin, end);
382  }
383 
384  void getObjects(size_type filter, Vids& ids, VRbasemet& basemets) const {
388  }
389  void getObjects(size_type filter, int id, VRbasemet& basemets) const {
393  }
394 
395  void getObjects(size_type filter, Vids& ids, VRcalomet& calomets) const {
399  }
400  void getObjects(size_type filter, int id, VRcalomet& calomets) const {
404  }
405 
406  void getObjects(size_type filter, Vids& ids, VRpixtrack& pixtracks) const {
409  TriggerRefsCollections::getObjects(ids, pixtracks, begin, end);
410  }
411  void getObjects(size_type filter, int id, VRpixtrack& pixtracks) const {
415  }
416 
417  void getObjects(size_type filter, Vids& ids, VRl1em& l1em) const {
421  }
422  void getObjects(size_type filter, int id, VRl1em& l1em) const {
426  }
427 
428  void getObjects(size_type filter, Vids& ids, VRl1muon& l1muon) const {
432  }
433  void getObjects(size_type filter, int id, VRl1muon& l1muon) const {
437  }
438 
439  void getObjects(size_type filter, Vids& ids, VRl1jet& l1jet) const {
443  }
444  void getObjects(size_type filter, int id, VRl1jet& l1jet) const {
448  }
449 
450  void getObjects(size_type filter, Vids& ids, VRl1etmiss& l1etmiss) const {
454  }
455  void getObjects(size_type filter, int id, VRl1etmiss& l1etmiss) const {
459  }
460 
461  void getObjects(size_type filter, Vids& ids, VRl1hfrings& l1hfrings) const {
464  TriggerRefsCollections::getObjects(ids, l1hfrings, begin, end);
465  }
466  void getObjects(size_type filter, int id, VRl1hfrings& l1hfrings) const {
470  }
471 
472  void getObjects(size_type filter, Vids& ids, VRpfjet& pfjets) const {
476  }
477  void getObjects(size_type filter, int id, VRpfjet& pfjets) const {
481  }
482 
483  void getObjects(size_type filter, Vids& ids, VRpftau& pftaus) const {
487  }
488  void getObjects(size_type filter, int id, VRpftau& pftaus) const {
492  }
493 
494  void getObjects(size_type filter, Vids& ids, VRpfmet& pfmets) const {
498  }
499  void getObjects(size_type filter, int id, VRpfmet& pfmets) const {
503  }
504 
505  void getObjects(size_type filter, Vids& ids, VRl1tmuon& l1tmuon) const {
509  }
510  void getObjects(size_type filter, int id, VRl1tmuon& l1tmuon) const {
514  }
515 
516  void getObjects(size_type filter, Vids& ids, VRl1tegamma& l1tegamma) const {
519  TriggerRefsCollections::getObjects(ids, l1tegamma, begin, end);
520  }
521  void getObjects(size_type filter, int id, VRl1tegamma& l1tegamma) const {
525  }
526 
527  void getObjects(size_type filter, Vids& ids, VRl1tjet& l1tjet) const {
531  }
532  void getObjects(size_type filter, int id, VRl1tjet& l1tjet) const {
536  }
537 
538  void getObjects(size_type filter, Vids& ids, VRl1ttau& l1ttau) const {
542  }
543  void getObjects(size_type filter, int id, VRl1ttau& l1ttau) const {
547  }
548 
549  void getObjects(size_type filter, Vids& ids, VRl1tetsum& l1tetsum) const {
553  }
554  void getObjects(size_type filter, int id, VRl1tetsum& l1tetsum) const {
558  }
559  };
560 
561 } // namespace trigger
562 
563 #endif
trigger::TriggerEventWithRefs::TriggerFilterObject::l1em_
size_type l1em_
Definition: TriggerEventWithRefs.h:44
trigger::TriggerEventWithRefs
Definition: TriggerEventWithRefs.h:27
trigger::VRl1tegamma
l1t::EGammaVectorRef VRl1tegamma
Definition: TriggerRefsCollections.h:76
PDWG_BPHSkim_cff.muons
muons
Definition: PDWG_BPHSkim_cff.py:47
trigger::TriggerEventWithRefs::TriggerFilterObject::l1jet_
size_type l1jet_
Definition: TriggerEventWithRefs.h:46
trigger::TriggerRefsCollections::l1emRefs
const VRl1em & l1emRefs() const
Definition: TriggerRefsCollections.h:1222
trigger::TriggerEventWithRefs::TriggerFilterObject::l1tegamma_
size_type l1tegamma_
Definition: TriggerEventWithRefs.h:53
trigger::TriggerFilterObjectWithRefs
Definition: TriggerFilterObjectWithRefs.h:35
trigger::TriggerEventWithRefs::usedProcessName_
std::string usedProcessName_
data members
Definition: TriggerEventWithRefs.h:133
trigger::TriggerRefsCollections::l1muonIds
const Vids & l1muonIds() const
Definition: TriggerRefsCollections.h:1225
trigger::TriggerRefsCollections::pftauIds
const Vids & pftauIds() const
Definition: TriggerRefsCollections.h:1245
trigger::TriggerRefsCollections::pfmetRefs
const VRpfmet & pfmetRefs() const
Definition: TriggerRefsCollections.h:1250
mps_fire.i
i
Definition: mps_fire.py:355
trigger::TriggerRefsCollections::photonIds
const Vids & photonIds() const
Definition: TriggerRefsCollections.h:1189
trigger::TriggerEventWithRefs::l1tmuonSlice
std::pair< size_type, size_type > l1tmuonSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:297
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRpixtrack &pixtracks) const
Definition: TriggerEventWithRefs.h:406
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
trigger::VRphoton
std::vector< reco::RecoEcalCandidateRef > VRphoton
Definition: TriggerRefsCollections.h:60
trigger::TriggerRefsCollections::pfjetRefs
const VRpfjet & pfjetRefs() const
Definition: TriggerRefsCollections.h:1242
trigger::Vids
std::vector< int > Vids
Definition: TriggerTypeDefs.h:21
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRbasemet &basemets) const
Definition: TriggerEventWithRefs.h:389
trigger::TriggerEventWithRefs::jetSlice
std::pair< size_type, size_type > jetSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:219
trigger::TriggerEventWithRefs::l1etmissSlice
std::pair< size_type, size_type > l1etmissSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:267
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRl1tetsum &l1tetsum) const
Definition: TriggerEventWithRefs.h:554
nt
int nt
Definition: AMPTWrapper.h:42
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRmuon &muons) const
Definition: TriggerEventWithRefs.h:356
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRmuon &muons) const
Definition: TriggerEventWithRefs.h:351
trigger::TriggerEventWithRefs::photonSlice
std::pair< size_type, size_type > photonSlice(size_type filter) const
slices of objects for a specific filter: [begin,end[
Definition: TriggerEventWithRefs.h:201
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRcomposite &composites) const
Definition: TriggerEventWithRefs.h:378
np
int np
Definition: AMPTWrapper.h:43
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRcomposite &composites) const
Definition: TriggerEventWithRefs.h:373
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRl1tmuon &l1tmuon) const
Definition: TriggerEventWithRefs.h:510
trigger::TriggerRefsCollections::l1ttauRefs
const VRl1ttau & l1ttauRefs() const
Definition: TriggerRefsCollections.h:1266
trigger::TriggerRefsCollections::compositeIds
const Vids & compositeIds() const
Definition: TriggerRefsCollections.h:1205
TriggerTypeDefs.h
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRphoton &photons) const
extract Ref<C>s for a specific filter and of specific physics type
Definition: TriggerEventWithRefs.h:329
edm::second
U second(std::pair< T, U > const &p)
Definition: ParameterSet.cc:215
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRpfjet &pfjets) const
Definition: TriggerEventWithRefs.h:477
trigger::VRbasemet
std::vector< reco::METRef > VRbasemet
Definition: TriggerRefsCollections.h:65
TriggerFilterObjectWithRefs.h
trigger::TriggerEventWithRefs::TriggerFilterObject
Helper class: trigger objects firing a single filter.
Definition: TriggerEventWithRefs.h:30
trigger::TriggerRefsCollections::l1hfringsIds
const Vids & l1hfringsIds() const
Definition: TriggerRefsCollections.h:1237
trigger::VRl1hfrings
std::vector< l1extra::L1HFRingsRef > VRl1hfrings
Definition: TriggerRefsCollections.h:73
singleTopDQM_cfi.jets
jets
Definition: singleTopDQM_cfi.py:42
trigger::TriggerRefsCollections::l1tegammaRefs
const VRl1tegamma & l1tegammaRefs() const
Definition: TriggerRefsCollections.h:1258
trigger::TriggerEventWithRefs::usedProcessName
const std::string & usedProcessName() const
getters - for user access
Definition: TriggerEventWithRefs.h:177
trigger::VRpixtrack
std::vector< reco::IsolatedPixelTrackCandidateRef > VRpixtrack
Definition: TriggerRefsCollections.h:67
trigger::TriggerRefsCollections::electronRefs
const VRelectron & electronRefs() const
Definition: TriggerRefsCollections.h:1194
trigger::TriggerEventWithRefs::TriggerFilterObject::electrons_
size_type electrons_
Definition: TriggerEventWithRefs.h:37
trigger::TriggerEventWithRefs::TriggerFilterObject::composites_
size_type composites_
Definition: TriggerEventWithRefs.h:40
trigger::TriggerRefsCollections::l1etmissRefs
const VRl1etmiss & l1etmissRefs() const
Definition: TriggerRefsCollections.h:1234
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRbasemet &basemets) const
Definition: TriggerEventWithRefs.h:384
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRl1tjet &l1tjet) const
Definition: TriggerEventWithRefs.h:532
dqmdumpme.first
first
Definition: dqmdumpme.py:55
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRl1hfrings &l1hfrings) const
Definition: TriggerEventWithRefs.h:461
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
Definition: TriggerRefsCollections.h:452
trigger::TriggerRefsCollections::l1tjetRefs
const VRl1tjet & l1tjetRefs() const
Definition: TriggerRefsCollections.h:1262
trigger::TriggerRefsCollections::photonRefs
const VRphoton & photonRefs() const
Definition: TriggerRefsCollections.h:1190
end
#define end
Definition: vmac.h:39
trigger::TriggerRefsCollections::electronIds
const Vids & electronIds() const
Definition: TriggerRefsCollections.h:1193
trigger::TriggerRefsCollections::jetRefs
const VRjet & jetRefs() const
Definition: TriggerRefsCollections.h:1202
trigger::TriggerRefsCollections::jetIds
const Vids & jetIds() const
Definition: TriggerRefsCollections.h:1201
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRl1em &l1em) const
Definition: TriggerEventWithRefs.h:417
trigger::VRl1tjet
l1t::JetVectorRef VRl1tjet
Definition: TriggerRefsCollections.h:77
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRpixtrack &pixtracks) const
Definition: TriggerEventWithRefs.h:411
trigger::TriggerRefsCollections::l1tmuonIds
const Vids & l1tmuonIds() const
Definition: TriggerRefsCollections.h:1253
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRcalomet &calomets) const
Definition: TriggerEventWithRefs.h:400
trigger::TriggerEventWithRefs::TriggerFilterObject::l1tjet_
size_type l1tjet_
Definition: TriggerEventWithRefs.h:54
trigger::TriggerEventWithRefs::pixtrackSlice
std::pair< size_type, size_type > pixtrackSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:243
trigger::TriggerEventWithRefs::pftauSlice
std::pair< size_type, size_type > pftauSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:285
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRpfmet &pfmets) const
Definition: TriggerEventWithRefs.h:499
trigger::size_type
uint16_t size_type
Definition: TriggerTypeDefs.h:18
trigger::TriggerRefsCollections::compositeRefs
const VRcomposite & compositeRefs() const
Definition: TriggerRefsCollections.h:1206
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRphoton &photons) const
Definition: TriggerEventWithRefs.h:334
trigger::TriggerEventWithRefs::calometSlice
std::pair< size_type, size_type > calometSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:237
trigger::TriggerEventWithRefs::TriggerEventWithRefs
TriggerEventWithRefs()
methods
Definition: TriggerEventWithRefs.h:140
trigger::TriggerEventWithRefs::filterTag
const edm::InputTag filterTag(size_type filterIndex) const
tag from index
Definition: TriggerEventWithRefs.h:183
trigger::TriggerRefsCollections::l1jetIds
const Vids & l1jetIds() const
Definition: TriggerRefsCollections.h:1229
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRl1tmuon &l1tmuon) const
Definition: TriggerEventWithRefs.h:505
trigger::TriggerEventWithRefs::TriggerFilterObject::TriggerFilterObject
TriggerFilterObject(const edm::InputTag &filterTag, size_type np, size_type ne, size_type nm, size_type nj, size_type nc, size_type nB, size_type nC, size_type nt, size_type l1em, size_type l1muon, size_type l1jet, size_type l1etmiss, size_type l1hfrings, size_type pfjets, size_type pftaus, size_type pfmets, size_type l1tmuon, size_type l1tegamma, size_type l1tjet, size_type l1ttau, size_type l1tetsum)
Definition: TriggerEventWithRefs.h:84
trigger::TriggerEventWithRefs::TriggerFilterObject::l1hfrings_
size_type l1hfrings_
Definition: TriggerEventWithRefs.h:48
trigger::TriggerEventWithRefs::TriggerFilterObject::l1etmiss_
size_type l1etmiss_
Definition: TriggerEventWithRefs.h:47
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRpfjet &pfjets) const
Definition: TriggerEventWithRefs.h:472
trigger::TriggerEventWithRefs::l1jetSlice
std::pair< size_type, size_type > l1jetSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:261
trigger::TriggerRefsCollections::l1jetRefs
const VRl1jet & l1jetRefs() const
Definition: TriggerRefsCollections.h:1230
trigger::TriggerEventWithRefs::l1tjetSlice
std::pair< size_type, size_type > l1tjetSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:309
trigger::VRl1etmiss
std::vector< l1extra::L1EtMissParticleRef > VRl1etmiss
Definition: TriggerRefsCollections.h:72
trigger::TriggerEventWithRefs::TriggerFilterObject::pfjets_
size_type pfjets_
Definition: TriggerEventWithRefs.h:49
trigger::TriggerEventWithRefs::l1tegammaSlice
std::pair< size_type, size_type > l1tegammaSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:303
trigger::TriggerRefsCollections::l1hfringsRefs
const VRl1hfrings & l1hfringsRefs() const
Definition: TriggerRefsCollections.h:1238
trigger::VRl1muon
std::vector< l1extra::L1MuonParticleRef > VRl1muon
Definition: TriggerRefsCollections.h:70
ALCARECOTkAlBeamHalo_cff.filter
filter
Definition: ALCARECOTkAlBeamHalo_cff.py:27
trigger::TriggerEventWithRefs::filterIndex
size_type filterIndex(const edm::InputTag &filterTag) const
index from tag
Definition: TriggerEventWithRefs.h:188
trigger::TriggerRefsCollections::pfmetIds
const Vids & pfmetIds() const
Definition: TriggerRefsCollections.h:1249
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
trigger::TriggerEventWithRefs::filterObjects_
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
Definition: TriggerEventWithRefs.h:135
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRcalomet &calomets) const
Definition: TriggerEventWithRefs.h:395
trigger::TriggerEventWithRefs::TriggerFilterObject::muons_
size_type muons_
Definition: TriggerEventWithRefs.h:38
trigger::TriggerEventWithRefs::muonSlice
std::pair< size_type, size_type > muonSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:213
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRl1muon &l1muon) const
Definition: TriggerEventWithRefs.h:433
trigger::TriggerEventWithRefs::TriggerFilterObject::pfmets_
size_type pfmets_
Definition: TriggerEventWithRefs.h:51
trigger::TriggerEventWithRefs::TriggerFilterObject::TriggerFilterObject
TriggerFilterObject()
constructor
Definition: TriggerEventWithRefs.h:59
trigger::TriggerEventWithRefs::TriggerFilterObject::l1tetsum_
size_type l1tetsum_
Definition: TriggerEventWithRefs.h:56
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRphoton &refs)
Definition: TriggerRefsCollections.h:322
HLT_2018_cff.InputTag
InputTag
Definition: HLT_2018_cff.py:79016
trigger::TriggerEventWithRefs::pfjetSlice
std::pair< size_type, size_type > pfjetSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:279
trigger::TriggerEventWithRefs::electronSlice
std::pair< size_type, size_type > electronSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:207
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRpftau &pftaus) const
Definition: TriggerEventWithRefs.h:488
trigger::TriggerRefsCollections::l1tegammaIds
const Vids & l1tegammaIds() const
Definition: TriggerRefsCollections.h:1257
trigger::VRpfjet
std::vector< reco::PFJetRef > VRpfjet
Definition: TriggerRefsCollections.h:81
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRelectron &electrons) const
Definition: TriggerEventWithRefs.h:345
trigger::TriggerEventWithRefs::TriggerEventWithRefs
TriggerEventWithRefs(const std::string &usedProcessName, size_type n)
Definition: TriggerEventWithRefs.h:141
trigger::TriggerEventWithRefs::TriggerFilterObject::pixtracks_
size_type pixtracks_
Definition: TriggerEventWithRefs.h:43
trigger::TriggerRefsCollections::calometIds
const Vids & calometIds() const
Definition: TriggerRefsCollections.h:1213
trigger::VRl1em
std::vector< l1extra::L1EmParticleRef > VRl1em
Definition: TriggerRefsCollections.h:69
trigger::TriggerRefsCollections::pixtrackIds
const Vids & pixtrackIds() const
Definition: TriggerRefsCollections.h:1217
trigger::TriggerEventWithRefs::pfmetSlice
std::pair< size_type, size_type > pfmetSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:291
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRl1tetsum &l1tetsum) const
Definition: TriggerEventWithRefs.h:549
trigger::TriggerRefsCollections
Definition: TriggerRefsCollections.h:85
edm::InputTag::encode
std::string encode() const
Definition: InputTag.cc:159
BPHMonitor_cfi.photons
photons
Definition: BPHMonitor_cfi.py:91
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRl1etmiss &l1etmiss) const
Definition: TriggerEventWithRefs.h:455
trigger::TriggerRefsCollections::l1etmissIds
const Vids & l1etmissIds() const
Definition: TriggerRefsCollections.h:1233
trigger::TriggerEventWithRefs::TriggerFilterObject::basemets_
size_type basemets_
Definition: TriggerEventWithRefs.h:41
trigger::TriggerEventWithRefs::TriggerFilterObject::filterTag_
std::string filterTag_
encoded InputTag of filter product
Definition: TriggerEventWithRefs.h:33
trigger::TriggerRefsCollections::muonIds
const Vids & muonIds() const
Definition: TriggerRefsCollections.h:1197
edm::DoNotRecordParents
Definition: traits.h:95
trigger::TriggerEventWithRefs::l1hfringsSlice
std::pair< size_type, size_type > l1hfringsSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:273
trigger::TriggerRefsCollections::l1muonRefs
const VRl1muon & l1muonRefs() const
Definition: TriggerRefsCollections.h:1226
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRjet &jets) const
Definition: TriggerEventWithRefs.h:362
trigger::TriggerEventWithRefs::l1emSlice
std::pair< size_type, size_type > l1emSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:249
trigger::TriggerRefsCollections::l1tjetIds
const Vids & l1tjetIds() const
Definition: TriggerRefsCollections.h:1261
InputTag.h
trigger::TriggerRefsCollections::l1ttauIds
const Vids & l1ttauIds() const
Definition: TriggerRefsCollections.h:1265
trigger::VRelectron
std::vector< reco::ElectronRef > VRelectron
Definition: TriggerRefsCollections.h:61
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRl1muon &l1muon) const
Definition: TriggerEventWithRefs.h:428
trigger::TriggerEventWithRefs::size
size_type size() const
number of filters
Definition: TriggerEventWithRefs.h:180
trigger::TriggerRefsCollections::pixtrackRefs
const VRpixtrack & pixtrackRefs() const
Definition: TriggerRefsCollections.h:1218
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRl1ttau &l1ttau) const
Definition: TriggerEventWithRefs.h:538
trigger::TriggerEventWithRefs::TriggerFilterObject::l1tmuon_
size_type l1tmuon_
Definition: TriggerEventWithRefs.h:52
trigger::TriggerRefsCollections::muonRefs
const VRmuon & muonRefs() const
Definition: TriggerRefsCollections.h:1198
trigger::VRjet
std::vector< reco::CaloJetRef > VRjet
Definition: TriggerRefsCollections.h:63
trigger::TriggerEventWithRefs::TriggerFilterObject::calomets_
size_type calomets_
Definition: TriggerEventWithRefs.h:42
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRl1tegamma &l1tegamma) const
Definition: TriggerEventWithRefs.h:521
trigger::TriggerRefsCollections::l1tmuonRefs
const VRl1tmuon & l1tmuonRefs() const
Definition: TriggerRefsCollections.h:1254
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRl1tjet &l1tjet) const
Definition: TriggerEventWithRefs.h:527
trigger::VRcalomet
std::vector< reco::CaloMETRef > VRcalomet
Definition: TriggerRefsCollections.h:66
trigger::TriggerEventWithRefs::TriggerFilterObject::photons_
size_type photons_
Definition: TriggerEventWithRefs.h:36
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRl1tegamma &l1tegamma) const
Definition: TriggerEventWithRefs.h:516
trigger::TriggerEventWithRefs::basemetSlice
std::pair< size_type, size_type > basemetSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:231
trigger::TriggerRefsCollections::basemetRefs
const VRbasemet & basemetRefs() const
Definition: TriggerRefsCollections.h:1210
pwdgSkimBPark_cfi.electrons
electrons
Definition: pwdgSkimBPark_cfi.py:6
trigger::VRl1ttau
l1t::TauVectorRef VRl1ttau
Definition: TriggerRefsCollections.h:78
trigger::TriggerEventWithRefs::TriggerFilterObject::l1muon_
size_type l1muon_
Definition: TriggerEventWithRefs.h:45
trigger::TriggerEventWithRefs::l1ttauSlice
std::pair< size_type, size_type > l1ttauSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:315
trigger::VRcomposite
std::vector< reco::CompositeCandidateRef > VRcomposite
Definition: TriggerRefsCollections.h:64
trigger::VRl1jet
std::vector< l1extra::L1JetParticleRef > VRl1jet
Definition: TriggerRefsCollections.h:71
alcaDQMUpload.encode
def encode(args, files)
Definition: alcaDQMUpload.py:32
trigger::TriggerEventWithRefs::TriggerFilterObject::l1ttau_
size_type l1ttau_
Definition: TriggerEventWithRefs.h:55
trigger::VRmuon
std::vector< reco::RecoChargedCandidateRef > VRmuon
Definition: TriggerRefsCollections.h:62
trigger::VRpfmet
std::vector< reco::PFMETRef > VRpfmet
Definition: TriggerRefsCollections.h:83
trigger::TriggerEventWithRefs::l1muonSlice
std::pair< size_type, size_type > l1muonSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:255
trigger::VRl1tmuon
l1t::MuonVectorRef VRl1tmuon
Definition: TriggerRefsCollections.h:75
TriggerRefsCollections.h
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRl1ttau &l1ttau) const
Definition: TriggerEventWithRefs.h:543
trigger::TriggerRefsCollections::basemetIds
const Vids & basemetIds() const
Definition: TriggerRefsCollections.h:1209
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRelectron &electrons) const
Definition: TriggerEventWithRefs.h:340
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRl1hfrings &l1hfrings) const
Definition: TriggerEventWithRefs.h:466
trigger
Definition: HLTPrescaleTableCond.h:8
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRpftau &pftaus) const
Definition: TriggerEventWithRefs.h:483
trigger::TriggerEventWithRefs::TriggerFilterObject::jets_
size_type jets_
Definition: TriggerEventWithRefs.h:39
trigger::TriggerEventWithRefs::compositeSlice
std::pair< size_type, size_type > compositeSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:225
trigger::VRpftau
std::vector< reco::PFTauRef > VRpftau
Definition: TriggerRefsCollections.h:82
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRl1em &l1em) const
Definition: TriggerEventWithRefs.h:422
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRl1jet &l1jet) const
Definition: TriggerEventWithRefs.h:444
traits.h
trigger::TriggerEventWithRefs::l1tetsumSlice
std::pair< size_type, size_type > l1tetsumSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:321
trigger::TriggerEventWithRefs::addFilterObject
void addFilterObject(const edm::InputTag &filterTag, const TriggerFilterObjectWithRefs &tfowr)
setters - to build EDProduct
Definition: TriggerEventWithRefs.h:147
trigger::TriggerRefsCollections::l1tetsumIds
const Vids & l1tetsumIds() const
Definition: TriggerRefsCollections.h:1269
trigger::TriggerEventWithRefs::TriggerFilterObject::pftaus_
size_type pftaus_
Definition: TriggerEventWithRefs.h:50
trigger::TriggerRefsCollections::pfjetIds
const Vids & pfjetIds() const
Definition: TriggerRefsCollections.h:1241
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRl1jet &l1jet) const
Definition: TriggerEventWithRefs.h:439
trigger::TriggerRefsCollections::l1tetsumRefs
const VRl1tetsum & l1tetsumRefs() const
Definition: TriggerRefsCollections.h:1270
trigger::TriggerRefsCollections::l1emIds
const Vids & l1emIds() const
Definition: TriggerRefsCollections.h:1221
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRpfmet &pfmets) const
Definition: TriggerEventWithRefs.h:494
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRl1etmiss &l1etmiss) const
Definition: TriggerEventWithRefs.h:450
trigger::TriggerRefsCollections::pftauRefs
const VRpftau & pftauRefs() const
Definition: TriggerRefsCollections.h:1246
edm::InputTag
Definition: InputTag.h:15
begin
#define begin
Definition: vmac.h:32
trigger::VRl1tetsum
l1t::EtSumVectorRef VRl1tetsum
Definition: TriggerRefsCollections.h:79
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRjet &jets) const
Definition: TriggerEventWithRefs.h:367
trigger::TriggerRefsCollections::calometRefs
const VRcalomet & calometRefs() const
Definition: TriggerRefsCollections.h:1214