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:
64 
67  : filterTag_(),
68  photons_(0),
69  electrons_(0),
70  muons_(0),
71  jets_(0),
72  composites_(0),
73  basemets_(0),
74  calomets_(0),
75  pixtracks_(0),
76  l1em_(0),
77  l1muon_(0),
78  l1jet_(0),
79  l1etmiss_(0),
80  l1hfrings_(0),
81  pfjets_(0),
82  pftaus_(0),
83  pfmets_(0),
84  l1tmuon_(0),
85  l1tegamma_(0),
86  l1tjet_(0),
87  l1ttkmuon_(0),
88  l1ttkele_(0),
89  l1ttkem_(0),
90  l1tpfjet_(0),
91  l1tpftau_(0),
92  l1thpspftau_(0),
93  l1tpftrack_(0),
94  l1ttau_(0),
95  l1tetsum_(0) {
96  filterTag_ = edm::InputTag().encode();
97  }
99  size_type np,
100  size_type ne,
101  size_type nm,
102  size_type nj,
103  size_type nc,
104  size_type nB,
105  size_type nC,
106  size_type nt,
107  size_type l1em,
108  size_type l1muon,
109  size_type l1jet,
110  size_type l1etmiss,
111  size_type l1hfrings,
112  size_type pfjets,
113  size_type pftaus,
114  size_type pfmets,
115  size_type l1tmuon,
116  size_type l1tegamma,
117  size_type l1tjet,
118  size_type l1ttkmuon,
119  size_type l1ttkele,
120  size_type l1ttkem,
121  size_type l1tpfjet,
122  size_type l1tpftau,
123  size_type l1thpspftau,
124  size_type l1tpftrack,
125  size_type l1ttau,
126  size_type l1tetsum)
128  photons_(np),
129  electrons_(ne),
130  muons_(nm),
131  jets_(nj),
132  composites_(nc),
133  basemets_(nB),
134  calomets_(nC),
135  pixtracks_(nt),
136  l1em_(l1em),
137  l1muon_(l1muon),
138  l1jet_(l1jet),
139  l1etmiss_(l1etmiss),
140  l1hfrings_(l1hfrings),
141  pfjets_(pfjets),
142  pftaus_(pftaus),
143  pfmets_(pfmets),
144  l1tmuon_(l1tmuon),
145  l1tegamma_(l1tegamma),
146  l1tjet_(l1tjet),
147  l1ttkmuon_(l1ttkmuon),
148  l1ttkele_(l1ttkele),
149  l1ttkem_(l1ttkem),
150  l1tpfjet_(l1tpfjet),
151  l1tpftau_(l1tpftau),
152  l1thpspftau_(l1thpspftau),
153  l1tpftrack_(l1tpftrack),
154  l1ttau_(l1ttau),
155  l1tetsum_(l1tetsum) {}
156  };
157 
159  private:
163  std::vector<TriggerFilterObject> filterObjects_;
164 
166  public:
171  filterObjects_.reserve(n);
172  }
173 
176  filterObjects_.push_back(
177 
179  addObjects(tfowr.photonIds(), tfowr.photonRefs()),
180  addObjects(tfowr.electronIds(), tfowr.electronRefs()),
181  addObjects(tfowr.muonIds(), tfowr.muonRefs()),
182  addObjects(tfowr.jetIds(), tfowr.jetRefs()),
183  addObjects(tfowr.compositeIds(), tfowr.compositeRefs()),
184  addObjects(tfowr.basemetIds(), tfowr.basemetRefs()),
185  addObjects(tfowr.calometIds(), tfowr.calometRefs()),
186  addObjects(tfowr.pixtrackIds(), tfowr.pixtrackRefs()),
187  addObjects(tfowr.l1emIds(), tfowr.l1emRefs()),
188  addObjects(tfowr.l1muonIds(), tfowr.l1muonRefs()),
189  addObjects(tfowr.l1jetIds(), tfowr.l1jetRefs()),
190  addObjects(tfowr.l1etmissIds(), tfowr.l1etmissRefs()),
191  addObjects(tfowr.l1hfringsIds(), tfowr.l1hfringsRefs()),
192  addObjects(tfowr.pfjetIds(), tfowr.pfjetRefs()),
193  addObjects(tfowr.pftauIds(), tfowr.pftauRefs()),
194  addObjects(tfowr.pfmetIds(), tfowr.pfmetRefs()),
195  addObjects(tfowr.l1tmuonIds(), tfowr.l1tmuonRefs()),
196  addObjects(tfowr.l1tegammaIds(), tfowr.l1tegammaRefs()),
197  addObjects(tfowr.l1tjetIds(), tfowr.l1tjetRefs()),
198  addObjects(tfowr.l1ttkmuonIds(), tfowr.l1ttkmuonRefs()),
199  addObjects(tfowr.l1ttkeleIds(), tfowr.l1ttkeleRefs()),
200  addObjects(tfowr.l1ttkemIds(), tfowr.l1ttkemRefs()),
201  addObjects(tfowr.l1tpfjetIds(), tfowr.l1tpfjetRefs()),
202  addObjects(tfowr.l1tpftauIds(), tfowr.l1tpftauRefs()),
203  addObjects(tfowr.l1thpspftauIds(), tfowr.l1thpspftauRefs()),
204  addObjects(tfowr.l1tpftrackIds(), tfowr.l1tpftrackRefs()),
205  addObjects(tfowr.l1ttauIds(), tfowr.l1ttauRefs()),
206  addObjects(tfowr.l1tetsumIds(), tfowr.l1tetsumRefs()))
207 
208  );
209  }
210 
212  const std::string& usedProcessName() const { return usedProcessName_; }
213 
215  size_type size() const { return filterObjects_.size(); }
216 
219  return edm::InputTag(filterObjects_.at(filterIndex).filterTag_);
220  }
221 
224  const std::string encodedFilterTag(filterTag.encode());
225  const size_type n(filterObjects_.size());
226  for (size_type i = 0; i != n; ++i) {
227  if (encodedFilterTag == filterObjects_[i].filterTag_) {
228  return i;
229  }
230  }
231  return n;
232  }
233 
235 
236  std::pair<size_type, size_type> photonSlice(size_type filter) const {
237  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).photons_);
238  const size_type end(filterObjects_.at(filter).photons_);
239  return std::pair<size_type, size_type>(begin, end);
240  }
241 
242  std::pair<size_type, size_type> electronSlice(size_type filter) const {
243  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).electrons_);
244  const size_type end(filterObjects_.at(filter).electrons_);
245  return std::pair<size_type, size_type>(begin, end);
246  }
247 
248  std::pair<size_type, size_type> muonSlice(size_type filter) const {
249  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).muons_);
250  const size_type end(filterObjects_.at(filter).muons_);
251  return std::pair<size_type, size_type>(begin, end);
252  }
253 
254  std::pair<size_type, size_type> jetSlice(size_type filter) const {
255  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).jets_);
256  const size_type end(filterObjects_.at(filter).jets_);
257  return std::pair<size_type, size_type>(begin, end);
258  }
259 
260  std::pair<size_type, size_type> compositeSlice(size_type filter) const {
261  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).composites_);
262  const size_type end(filterObjects_.at(filter).composites_);
263  return std::pair<size_type, size_type>(begin, end);
264  }
265 
266  std::pair<size_type, size_type> basemetSlice(size_type filter) const {
267  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).basemets_);
268  const size_type end(filterObjects_.at(filter).basemets_);
269  return std::pair<size_type, size_type>(begin, end);
270  }
271 
272  std::pair<size_type, size_type> calometSlice(size_type filter) const {
273  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).calomets_);
274  const size_type end(filterObjects_.at(filter).calomets_);
275  return std::pair<size_type, size_type>(begin, end);
276  }
277 
278  std::pair<size_type, size_type> pixtrackSlice(size_type filter) const {
279  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).pixtracks_);
280  const size_type end(filterObjects_.at(filter).pixtracks_);
281  return std::pair<size_type, size_type>(begin, end);
282  }
283 
284  std::pair<size_type, size_type> l1emSlice(size_type filter) const {
285  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).l1em_);
286  const size_type end(filterObjects_.at(filter).l1em_);
287  return std::pair<size_type, size_type>(begin, end);
288  }
289 
290  std::pair<size_type, size_type> l1muonSlice(size_type filter) const {
291  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).l1muon_);
292  const size_type end(filterObjects_.at(filter).l1muon_);
293  return std::pair<size_type, size_type>(begin, end);
294  }
295 
296  std::pair<size_type, size_type> l1jetSlice(size_type filter) const {
297  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).l1jet_);
298  const size_type end(filterObjects_.at(filter).l1jet_);
299  return std::pair<size_type, size_type>(begin, end);
300  }
301 
302  std::pair<size_type, size_type> l1etmissSlice(size_type filter) const {
303  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).l1etmiss_);
304  const size_type end(filterObjects_.at(filter).l1etmiss_);
305  return std::pair<size_type, size_type>(begin, end);
306  }
307 
308  std::pair<size_type, size_type> l1hfringsSlice(size_type filter) const {
309  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).l1hfrings_);
310  const size_type end(filterObjects_.at(filter).l1hfrings_);
311  return std::pair<size_type, size_type>(begin, end);
312  }
313 
314  std::pair<size_type, size_type> pfjetSlice(size_type filter) const {
315  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).pfjets_);
316  const size_type end(filterObjects_.at(filter).pfjets_);
317  return std::pair<size_type, size_type>(begin, end);
318  }
319 
320  std::pair<size_type, size_type> pftauSlice(size_type filter) const {
321  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).pftaus_);
322  const size_type end(filterObjects_.at(filter).pftaus_);
323  return std::pair<size_type, size_type>(begin, end);
324  }
325 
326  std::pair<size_type, size_type> pfmetSlice(size_type filter) const {
327  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).pfmets_);
328  const size_type end(filterObjects_.at(filter).pfmets_);
329  return std::pair<size_type, size_type>(begin, end);
330  }
331 
332  std::pair<size_type, size_type> l1tmuonSlice(size_type filter) const {
333  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).l1tmuon_);
334  const size_type end(filterObjects_.at(filter).l1tmuon_);
335  return std::pair<size_type, size_type>(begin, end);
336  }
337  std::pair<size_type, size_type> l1tegammaSlice(size_type filter) const {
338  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).l1tegamma_);
339  const size_type end(filterObjects_.at(filter).l1tegamma_);
340  return std::pair<size_type, size_type>(begin, end);
341  }
342  std::pair<size_type, size_type> l1tjetSlice(size_type filter) const {
343  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).l1tjet_);
344  const size_type end(filterObjects_.at(filter).l1tjet_);
345  return std::pair<size_type, size_type>(begin, end);
346  }
347 
348  /* Phase-2 */
349  std::pair<size_type, size_type> l1ttkmuonSlice(size_type filter) const {
350  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).l1ttkmuon_);
351  const size_type end(filterObjects_.at(filter).l1ttkmuon_);
352  return std::pair<size_type, size_type>(begin, end);
353  }
354  std::pair<size_type, size_type> l1ttkeleSlice(size_type filter) const {
355  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).l1ttkele_);
356  const size_type end(filterObjects_.at(filter).l1ttkele_);
357  return std::pair<size_type, size_type>(begin, end);
358  }
359  std::pair<size_type, size_type> l1ttkemSlice(size_type filter) const {
360  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).l1ttkem_);
361  const size_type end(filterObjects_.at(filter).l1ttkem_);
362  return std::pair<size_type, size_type>(begin, end);
363  }
364  std::pair<size_type, size_type> l1tpfjetSlice(size_type filter) const {
365  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).l1tpfjet_);
366  const size_type end(filterObjects_.at(filter).l1tpfjet_);
367  return std::pair<size_type, size_type>(begin, end);
368  }
369  std::pair<size_type, size_type> l1tpftauSlice(size_type filter) const {
370  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).l1tpftau_);
371  const size_type end(filterObjects_.at(filter).l1tpftau_);
372  return std::pair<size_type, size_type>(begin, end);
373  }
374  std::pair<size_type, size_type> l1thpspftauSlice(size_type filter) const {
375  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).l1thpspftau_);
376  const size_type end(filterObjects_.at(filter).l1thpspftau_);
377  return std::pair<size_type, size_type>(begin, end);
378  }
379  std::pair<size_type, size_type> l1tpftrackSlice(size_type filter) const {
380  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).l1tpftrack_);
381  const size_type end(filterObjects_.at(filter).l1tpftrack_);
382  return std::pair<size_type, size_type>(begin, end);
383  }
384 
385  std::pair<size_type, size_type> l1ttauSlice(size_type filter) const {
386  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).l1ttau_);
387  const size_type end(filterObjects_.at(filter).l1ttau_);
388  return std::pair<size_type, size_type>(begin, end);
389  }
390 
391  std::pair<size_type, size_type> l1tetsumSlice(size_type filter) const {
392  const size_type begin(filter == 0 ? 0 : filterObjects_.at(filter - 1).l1tetsum_);
393  const size_type end(filterObjects_.at(filter).l1tetsum_);
394  return std::pair<size_type, size_type>(begin, end);
395  }
396 
398 
400  const size_type begin(photonSlice(filter).first);
403  }
404  void getObjects(size_type filter, int id, VRphoton& photons) const {
405  const size_type begin(photonSlice(filter).first);
408  }
409 
411  const size_type begin(electronSlice(filter).first);
414  }
416  const size_type begin(electronSlice(filter).first);
419  }
420 
421  void getObjects(size_type filter, Vids& ids, VRmuon& muons) const {
422  const size_type begin(muonSlice(filter).first);
425  }
426  void getObjects(size_type filter, int id, VRmuon& muons) const {
427  const size_type begin(muonSlice(filter).first);
430  }
431 
432  void getObjects(size_type filter, Vids& ids, VRjet& jets) const {
433  const size_type begin(jetSlice(filter).first);
436  }
437  void getObjects(size_type filter, int id, VRjet& jets) const {
438  const size_type begin(jetSlice(filter).first);
441  }
442 
443  void getObjects(size_type filter, Vids& ids, VRcomposite& composites) const {
444  const size_type begin(compositeSlice(filter).first);
446  TriggerRefsCollections::getObjects(ids, composites, begin, end);
447  }
448  void getObjects(size_type filter, int id, VRcomposite& composites) const {
449  const size_type begin(compositeSlice(filter).first);
451  TriggerRefsCollections::getObjects(id, composites, begin, end);
452  }
453 
454  void getObjects(size_type filter, Vids& ids, VRbasemet& basemets) const {
455  const size_type begin(basemetSlice(filter).first);
457  TriggerRefsCollections::getObjects(ids, basemets, begin, end);
458  }
459  void getObjects(size_type filter, int id, VRbasemet& basemets) const {
460  const size_type begin(basemetSlice(filter).first);
462  TriggerRefsCollections::getObjects(id, basemets, begin, end);
463  }
464 
465  void getObjects(size_type filter, Vids& ids, VRcalomet& calomets) const {
466  const size_type begin(calometSlice(filter).first);
468  TriggerRefsCollections::getObjects(ids, calomets, begin, end);
469  }
470  void getObjects(size_type filter, int id, VRcalomet& calomets) const {
471  const size_type begin(calometSlice(filter).first);
473  TriggerRefsCollections::getObjects(id, calomets, begin, end);
474  }
475 
476  void getObjects(size_type filter, Vids& ids, VRpixtrack& pixtracks) const {
477  const size_type begin(pixtrackSlice(filter).first);
479  TriggerRefsCollections::getObjects(ids, pixtracks, begin, end);
480  }
481  void getObjects(size_type filter, int id, VRpixtrack& pixtracks) const {
482  const size_type begin(pixtrackSlice(filter).first);
484  TriggerRefsCollections::getObjects(id, pixtracks, begin, end);
485  }
486 
487  void getObjects(size_type filter, Vids& ids, VRl1em& l1em) const {
488  const size_type begin(l1emSlice(filter).first);
490  TriggerRefsCollections::getObjects(ids, l1em, begin, end);
491  }
492  void getObjects(size_type filter, int id, VRl1em& l1em) const {
493  const size_type begin(l1emSlice(filter).first);
495  TriggerRefsCollections::getObjects(id, l1em, begin, end);
496  }
497 
498  void getObjects(size_type filter, Vids& ids, VRl1muon& l1muon) const {
499  const size_type begin(l1muonSlice(filter).first);
501  TriggerRefsCollections::getObjects(ids, l1muon, begin, end);
502  }
503  void getObjects(size_type filter, int id, VRl1muon& l1muon) const {
504  const size_type begin(l1muonSlice(filter).first);
506  TriggerRefsCollections::getObjects(id, l1muon, begin, end);
507  }
508 
509  void getObjects(size_type filter, Vids& ids, VRl1jet& l1jet) const {
510  const size_type begin(l1jetSlice(filter).first);
512  TriggerRefsCollections::getObjects(ids, l1jet, begin, end);
513  }
514  void getObjects(size_type filter, int id, VRl1jet& l1jet) const {
515  const size_type begin(l1jetSlice(filter).first);
517  TriggerRefsCollections::getObjects(id, l1jet, begin, end);
518  }
519 
520  void getObjects(size_type filter, Vids& ids, VRl1etmiss& l1etmiss) const {
521  const size_type begin(l1etmissSlice(filter).first);
523  TriggerRefsCollections::getObjects(ids, l1etmiss, begin, end);
524  }
525  void getObjects(size_type filter, int id, VRl1etmiss& l1etmiss) const {
526  const size_type begin(l1etmissSlice(filter).first);
528  TriggerRefsCollections::getObjects(id, l1etmiss, begin, end);
529  }
530 
531  void getObjects(size_type filter, Vids& ids, VRl1hfrings& l1hfrings) const {
532  const size_type begin(l1hfringsSlice(filter).first);
534  TriggerRefsCollections::getObjects(ids, l1hfrings, begin, end);
535  }
536  void getObjects(size_type filter, int id, VRl1hfrings& l1hfrings) const {
537  const size_type begin(l1hfringsSlice(filter).first);
539  TriggerRefsCollections::getObjects(id, l1hfrings, begin, end);
540  }
541 
542  void getObjects(size_type filter, Vids& ids, VRpfjet& pfjets) const {
543  const size_type begin(pfjetSlice(filter).first);
545  TriggerRefsCollections::getObjects(ids, pfjets, begin, end);
546  }
547  void getObjects(size_type filter, int id, VRpfjet& pfjets) const {
548  const size_type begin(pfjetSlice(filter).first);
550  TriggerRefsCollections::getObjects(id, pfjets, begin, end);
551  }
552 
553  void getObjects(size_type filter, Vids& ids, VRpftau& pftaus) const {
554  const size_type begin(pftauSlice(filter).first);
556  TriggerRefsCollections::getObjects(ids, pftaus, begin, end);
557  }
558  void getObjects(size_type filter, int id, VRpftau& pftaus) const {
559  const size_type begin(pftauSlice(filter).first);
561  TriggerRefsCollections::getObjects(id, pftaus, begin, end);
562  }
563 
564  void getObjects(size_type filter, Vids& ids, VRpfmet& pfmets) const {
565  const size_type begin(pfmetSlice(filter).first);
567  TriggerRefsCollections::getObjects(ids, pfmets, begin, end);
568  }
569  void getObjects(size_type filter, int id, VRpfmet& pfmets) const {
570  const size_type begin(pfmetSlice(filter).first);
572  TriggerRefsCollections::getObjects(id, pfmets, begin, end);
573  }
574 
575  void getObjects(size_type filter, Vids& ids, VRl1tmuon& l1tmuon) const {
576  const size_type begin(l1tmuonSlice(filter).first);
578  TriggerRefsCollections::getObjects(ids, l1tmuon, begin, end);
579  }
580  void getObjects(size_type filter, int id, VRl1tmuon& l1tmuon) const {
581  const size_type begin(l1tmuonSlice(filter).first);
583  TriggerRefsCollections::getObjects(id, l1tmuon, begin, end);
584  }
585 
586  void getObjects(size_type filter, Vids& ids, VRl1tegamma& l1tegamma) const {
587  const size_type begin(l1tegammaSlice(filter).first);
589  TriggerRefsCollections::getObjects(ids, l1tegamma, begin, end);
590  }
591  void getObjects(size_type filter, int id, VRl1tegamma& l1tegamma) const {
592  const size_type begin(l1tegammaSlice(filter).first);
594  TriggerRefsCollections::getObjects(id, l1tegamma, begin, end);
595  }
596 
597  void getObjects(size_type filter, Vids& ids, VRl1tjet& l1tjet) const {
598  const size_type begin(l1tjetSlice(filter).first);
600  TriggerRefsCollections::getObjects(ids, l1tjet, begin, end);
601  }
602  void getObjects(size_type filter, int id, VRl1tjet& l1tjet) const {
603  const size_type begin(l1tjetSlice(filter).first);
605  TriggerRefsCollections::getObjects(id, l1tjet, begin, end);
606  }
607 
608  /* Phase-2 */
609  void getObjects(size_type filter, Vids& ids, VRl1ttkmuon& l1ttkmuon) const {
610  const size_type begin(l1ttkmuonSlice(filter).first);
612  TriggerRefsCollections::getObjects(ids, l1ttkmuon, begin, end);
613  }
614  void getObjects(size_type filter, int id, VRl1ttkmuon& l1ttkmuon) const {
615  const size_type begin(l1ttkmuonSlice(filter).first);
617  TriggerRefsCollections::getObjects(id, l1ttkmuon, begin, end);
618  }
619 
620  void getObjects(size_type filter, Vids& ids, VRl1ttkele& l1ttkele) const {
621  const size_type begin(l1ttkeleSlice(filter).first);
623  TriggerRefsCollections::getObjects(ids, l1ttkele, begin, end);
624  }
625  void getObjects(size_type filter, int id, VRl1ttkele& l1ttkele) const {
626  const size_type begin(l1ttkeleSlice(filter).first);
628  TriggerRefsCollections::getObjects(id, l1ttkele, begin, end);
629  }
630 
631  void getObjects(size_type filter, Vids& ids, VRl1ttkem& l1ttkem) const {
632  const size_type begin(l1ttkemSlice(filter).first);
634  TriggerRefsCollections::getObjects(ids, l1ttkem, begin, end);
635  }
636  void getObjects(size_type filter, int id, VRl1ttkem& l1ttkem) const {
637  const size_type begin(l1ttkemSlice(filter).first);
639  TriggerRefsCollections::getObjects(id, l1ttkem, begin, end);
640  }
641 
642  void getObjects(size_type filter, Vids& ids, VRl1tpfjet& l1tpfjet) const {
643  const size_type begin(l1tpfjetSlice(filter).first);
645  TriggerRefsCollections::getObjects(ids, l1tpfjet, begin, end);
646  }
647  void getObjects(size_type filter, int id, VRl1tpfjet& l1tpfjet) const {
648  const size_type begin(l1tpfjetSlice(filter).first);
650  TriggerRefsCollections::getObjects(id, l1tpfjet, begin, end);
651  }
652 
653  void getObjects(size_type filter, Vids& ids, VRl1tpftau& l1tpftau) const {
654  const size_type begin(l1tpftauSlice(filter).first);
656  TriggerRefsCollections::getObjects(ids, l1tpftau, begin, end);
657  }
658  void getObjects(size_type filter, int id, VRl1tpftau& l1tpftau) const {
659  const size_type begin(l1tpftauSlice(filter).first);
661  TriggerRefsCollections::getObjects(id, l1tpftau, begin, end);
662  }
663 
664  void getObjects(size_type filter, Vids& ids, VRl1thpspftau& l1thpspftau) const {
665  const size_type begin(l1thpspftauSlice(filter).first);
667  TriggerRefsCollections::getObjects(ids, l1thpspftau, begin, end);
668  }
669  void getObjects(size_type filter, int id, VRl1thpspftau& l1thpspftau) const {
670  const size_type begin(l1thpspftauSlice(filter).first);
672  TriggerRefsCollections::getObjects(id, l1thpspftau, begin, end);
673  }
674 
675  void getObjects(size_type filter, Vids& ids, VRl1tpftrack& l1tpftrack) const {
676  const size_type begin(l1tpftrackSlice(filter).first);
678  TriggerRefsCollections::getObjects(ids, l1tpftrack, begin, end);
679  }
680  void getObjects(size_type filter, int id, VRl1tpftrack& l1tpftrack) const {
681  const size_type begin(l1tpftrackSlice(filter).first);
683  TriggerRefsCollections::getObjects(id, l1tpftrack, begin, end);
684  }
685 
686  void getObjects(size_type filter, Vids& ids, VRl1ttau& l1ttau) const {
687  const size_type begin(l1ttauSlice(filter).first);
689  TriggerRefsCollections::getObjects(ids, l1ttau, begin, end);
690  }
691  void getObjects(size_type filter, int id, VRl1ttau& l1ttau) const {
692  const size_type begin(l1ttauSlice(filter).first);
694  TriggerRefsCollections::getObjects(id, l1ttau, begin, end);
695  }
696 
697  void getObjects(size_type filter, Vids& ids, VRl1tetsum& l1tetsum) const {
698  const size_type begin(l1tetsumSlice(filter).first);
700  TriggerRefsCollections::getObjects(ids, l1tetsum, begin, end);
701  }
702  void getObjects(size_type filter, int id, VRl1tetsum& l1tetsum) const {
703  const size_type begin(l1tetsumSlice(filter).first);
705  TriggerRefsCollections::getObjects(id, l1tetsum, begin, end);
706  }
707  };
708 
709 } // namespace trigger
710 
711 #endif
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRl1ttkele &l1ttkele) const
Definition: TriggerEventWithRefs.h:620
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:83
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:1606
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:161
trigger::TriggerRefsCollections::l1muonIds
const Vids & l1muonIds() const
Definition: TriggerRefsCollections.h:1609
trigger::TriggerEventWithRefs::TriggerFilterObject::l1thpspftau_
size_type l1thpspftau_
Definition: TriggerEventWithRefs.h:60
trigger::TriggerRefsCollections::pftauIds
const Vids & pftauIds() const
Definition: TriggerRefsCollections.h:1629
trigger::TriggerRefsCollections::pfmetRefs
const VRpfmet & pfmetRefs() const
Definition: TriggerRefsCollections.h:1634
mps_fire.i
i
Definition: mps_fire.py:428
trigger::TriggerRefsCollections::photonIds
const Vids & photonIds() const
Definition: TriggerRefsCollections.h:1573
trigger::VRl1ttkele
l1t::TkElectronVectorRef VRl1ttkele
Definition: TriggerRefsCollections.h:90
trigger::TriggerEventWithRefs::l1tpftauSlice
std::pair< size_type, size_type > l1tpftauSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:369
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRl1tpfjet &l1tpfjet) const
Definition: TriggerEventWithRefs.h:642
trigger::TriggerRefsCollections::l1ttkmuonIds
const Vids & l1ttkmuonIds() const
Definition: TriggerRefsCollections.h:1651
trigger::TriggerEventWithRefs::l1tmuonSlice
std::pair< size_type, size_type > l1tmuonSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:332
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRpixtrack &pixtracks) const
Definition: TriggerEventWithRefs.h:476
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
trigger::TriggerEventWithRefs::l1ttkmuonSlice
std::pair< size_type, size_type > l1ttkmuonSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:349
trigger::VRphoton
std::vector< reco::RecoEcalCandidateRef > VRphoton
Definition: TriggerRefsCollections.h:67
trigger::TriggerRefsCollections::l1tpfjetIds
const Vids & l1tpfjetIds() const
Definition: TriggerRefsCollections.h:1663
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRl1tpfjet &l1tpfjet) const
Definition: TriggerEventWithRefs.h:647
trigger::TriggerRefsCollections::pfjetRefs
const VRpfjet & pfjetRefs() const
Definition: TriggerRefsCollections.h:1626
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:459
trigger::TriggerEventWithRefs::jetSlice
std::pair< size_type, size_type > jetSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:254
trigger::TriggerEventWithRefs::TriggerFilterObject::l1tpftrack_
size_type l1tpftrack_
Definition: TriggerEventWithRefs.h:61
trigger::TriggerEventWithRefs::l1etmissSlice
std::pair< size_type, size_type > l1etmissSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:302
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRl1tetsum &l1tetsum) const
Definition: TriggerEventWithRefs.h:702
nt
int nt
Definition: AMPTWrapper.h:42
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRmuon &muons) const
Definition: TriggerEventWithRefs.h:426
trigger::TriggerRefsCollections::l1tpftrackRefs
const VRl1tpftrack & l1tpftrackRefs() const
Definition: TriggerRefsCollections.h:1676
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRl1tpftrack &l1tpftrack) const
Definition: TriggerEventWithRefs.h:675
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRmuon &muons) const
Definition: TriggerEventWithRefs.h:421
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRl1ttkmuon &l1ttkmuon) const
Definition: TriggerEventWithRefs.h:614
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRl1tpftrack &l1tpftrack) const
Definition: TriggerEventWithRefs.h:680
trigger::TriggerEventWithRefs::l1ttkeleSlice
std::pair< size_type, size_type > l1ttkeleSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:354
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:236
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRcomposite &composites) const
Definition: TriggerEventWithRefs.h:448
np
int np
Definition: AMPTWrapper.h:43
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89281
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRcomposite &composites) const
Definition: TriggerEventWithRefs.h:443
trigger::TriggerRefsCollections::l1ttkmuonRefs
const VRl1ttkmuon & l1ttkmuonRefs() const
Definition: TriggerRefsCollections.h:1652
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRl1tmuon &l1tmuon) const
Definition: TriggerEventWithRefs.h:580
trigger::TriggerRefsCollections::l1ttauRefs
const VRl1ttau & l1ttauRefs() const
Definition: TriggerRefsCollections.h:1680
trigger::TriggerRefsCollections::compositeIds
const Vids & compositeIds() const
Definition: TriggerRefsCollections.h:1589
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:399
edm::second
U second(std::pair< T, U > const &p)
Definition: ParameterSet.cc:222
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRpfjet &pfjets) const
Definition: TriggerEventWithRefs.h:547
trigger::VRbasemet
std::vector< reco::METRef > VRbasemet
Definition: TriggerRefsCollections.h:72
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:1621
trigger::VRl1hfrings
std::vector< l1extra::L1HFRingsRef > VRl1hfrings
Definition: TriggerRefsCollections.h:80
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRl1thpspftau &l1thpspftau) const
Definition: TriggerEventWithRefs.h:669
singleTopDQM_cfi.jets
jets
Definition: singleTopDQM_cfi.py:42
trigger::TriggerRefsCollections::l1tegammaRefs
const VRl1tegamma & l1tegammaRefs() const
Definition: TriggerRefsCollections.h:1642
trigger::TriggerEventWithRefs::usedProcessName
const std::string & usedProcessName() const
getters - for user access
Definition: TriggerEventWithRefs.h:212
trigger::VRpixtrack
std::vector< reco::IsolatedPixelTrackCandidateRef > VRpixtrack
Definition: TriggerRefsCollections.h:74
trigger::TriggerRefsCollections::electronRefs
const VRelectron & electronRefs() const
Definition: TriggerRefsCollections.h:1578
trigger::TriggerEventWithRefs::TriggerFilterObject::electrons_
size_type electrons_
Definition: TriggerEventWithRefs.h:37
trigger::TriggerEventWithRefs::l1thpspftauSlice
std::pair< size_type, size_type > l1thpspftauSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:374
trigger::VRl1ttkmuon
l1t::TkMuonVectorRef VRl1ttkmuon
Definition: TriggerRefsCollections.h:89
trigger::TriggerEventWithRefs::TriggerFilterObject::composites_
size_type composites_
Definition: TriggerEventWithRefs.h:40
trigger::TriggerRefsCollections::l1etmissRefs
const VRl1etmiss & l1etmissRefs() const
Definition: TriggerRefsCollections.h:1618
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRbasemet &basemets) const
Definition: TriggerEventWithRefs.h:454
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRl1tjet &l1tjet) const
Definition: TriggerEventWithRefs.h:602
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRl1hfrings &l1hfrings) const
Definition: TriggerEventWithRefs.h:531
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
Definition: TriggerRefsCollections.h:590
trigger::TriggerRefsCollections::l1tjetRefs
const VRl1tjet & l1tjetRefs() const
Definition: TriggerRefsCollections.h:1646
trigger::TriggerRefsCollections::photonRefs
const VRphoton & photonRefs() const
Definition: TriggerRefsCollections.h:1574
trigger::TriggerRefsCollections::electronIds
const Vids & electronIds() const
Definition: TriggerRefsCollections.h:1577
trigger::VRl1tpftau
l1t::PFTauVectorRef VRl1tpftau
Definition: TriggerRefsCollections.h:94
trigger::TriggerRefsCollections::jetRefs
const VRjet & jetRefs() const
Definition: TriggerRefsCollections.h:1586
trigger::TriggerRefsCollections::jetIds
const Vids & jetIds() const
Definition: TriggerRefsCollections.h:1585
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRl1em &l1em) const
Definition: TriggerEventWithRefs.h:487
trigger::VRl1tjet
l1t::JetVectorRef VRl1tjet
Definition: TriggerRefsCollections.h:84
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRpixtrack &pixtracks) const
Definition: TriggerEventWithRefs.h:481
trigger::TriggerRefsCollections::l1tmuonIds
const Vids & l1tmuonIds() const
Definition: TriggerRefsCollections.h:1637
trigger::TriggerEventWithRefs::TriggerFilterObject::l1ttkmuon_
size_type l1ttkmuon_
Definition: TriggerEventWithRefs.h:55
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRcalomet &calomets) const
Definition: TriggerEventWithRefs.h:470
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:278
trigger::TriggerRefsCollections::l1ttkeleRefs
const VRl1ttkele & l1ttkeleRefs() const
Definition: TriggerRefsCollections.h:1656
trigger::TriggerEventWithRefs::pftauSlice
std::pair< size_type, size_type > pftauSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:320
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRpfmet &pfmets) const
Definition: TriggerEventWithRefs.h:569
trigger::size_type
uint16_t size_type
Definition: TriggerTypeDefs.h:18
trigger::TriggerRefsCollections::compositeRefs
const VRcomposite & compositeRefs() const
Definition: TriggerRefsCollections.h:1590
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRphoton &photons) const
Definition: TriggerEventWithRefs.h:404
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRl1ttkem &l1ttkem) const
Definition: TriggerEventWithRefs.h:631
trigger::TriggerEventWithRefs::calometSlice
std::pair< size_type, size_type > calometSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:272
trigger::TriggerEventWithRefs::TriggerEventWithRefs
TriggerEventWithRefs()
methods
Definition: TriggerEventWithRefs.h:168
trigger::VRl1tpftrack
l1t::PFTrackVectorRef VRl1tpftrack
Definition: TriggerRefsCollections.h:95
trigger::TriggerEventWithRefs::filterTag
const edm::InputTag filterTag(size_type filterIndex) const
tag from index
Definition: TriggerEventWithRefs.h:218
trigger::TriggerRefsCollections::l1jetIds
const Vids & l1jetIds() const
Definition: TriggerRefsCollections.h:1613
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRl1tmuon &l1tmuon) const
Definition: TriggerEventWithRefs.h:575
trigger::TriggerEventWithRefs::TriggerFilterObject::l1hfrings_
size_type l1hfrings_
Definition: TriggerEventWithRefs.h:48
trigger::TriggerEventWithRefs::TriggerFilterObject::l1etmiss_
size_type l1etmiss_
Definition: TriggerEventWithRefs.h:47
trigger::TriggerEventWithRefs::l1tpftrackSlice
std::pair< size_type, size_type > l1tpftrackSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:379
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRpfjet &pfjets) const
Definition: TriggerEventWithRefs.h:542
trigger::TriggerEventWithRefs::l1jetSlice
std::pair< size_type, size_type > l1jetSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:296
mps_fire.end
end
Definition: mps_fire.py:242
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRl1ttkele &l1ttkele) const
Definition: TriggerEventWithRefs.h:625
trigger::TriggerRefsCollections::l1jetRefs
const VRl1jet & l1jetRefs() const
Definition: TriggerRefsCollections.h:1614
trigger::TriggerEventWithRefs::l1tjetSlice
std::pair< size_type, size_type > l1tjetSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:342
trigger::VRl1etmiss
std::vector< l1extra::L1EtMissParticleRef > VRl1etmiss
Definition: TriggerRefsCollections.h:79
trigger::TriggerEventWithRefs::TriggerFilterObject::pfjets_
size_type pfjets_
Definition: TriggerEventWithRefs.h:49
trigger::TriggerRefsCollections::l1ttkemRefs
const VRl1ttkem & l1ttkemRefs() const
Definition: TriggerRefsCollections.h:1660
trigger::VRl1ttkem
l1t::TkEmVectorRef VRl1ttkem
Definition: TriggerRefsCollections.h:91
trigger::TriggerEventWithRefs::l1tegammaSlice
std::pair< size_type, size_type > l1tegammaSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:337
trigger::TriggerRefsCollections::l1hfringsRefs
const VRl1hfrings & l1hfringsRefs() const
Definition: TriggerRefsCollections.h:1622
trigger::VRl1muon
std::vector< l1extra::L1MuonParticleRef > VRl1muon
Definition: TriggerRefsCollections.h:77
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 l1ttkmuon, size_type l1ttkele, size_type l1ttkem, size_type l1tpfjet, size_type l1tpftau, size_type l1thpspftau, size_type l1tpftrack, size_type l1ttau, size_type l1tetsum)
Definition: TriggerEventWithRefs.h:98
ALCARECOTkAlBeamHalo_cff.filter
filter
Definition: ALCARECOTkAlBeamHalo_cff.py:27
trigger::TriggerEventWithRefs::l1tpfjetSlice
std::pair< size_type, size_type > l1tpfjetSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:364
first
auto first
Definition: CAHitNtupletGeneratorKernelsImpl.h:112
trigger::TriggerRefsCollections::l1ttkeleIds
const Vids & l1ttkeleIds() const
Definition: TriggerRefsCollections.h:1655
trigger::TriggerEventWithRefs::filterIndex
size_type filterIndex(const edm::InputTag &filterTag) const
index from tag
Definition: TriggerEventWithRefs.h:223
trigger::TriggerRefsCollections::l1thpspftauRefs
const VRl1thpspftau & l1thpspftauRefs() const
Definition: TriggerRefsCollections.h:1672
trigger::TriggerRefsCollections::pfmetIds
const Vids & pfmetIds() const
Definition: TriggerRefsCollections.h:1633
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
trigger::TriggerEventWithRefs::filterObjects_
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
Definition: TriggerEventWithRefs.h:163
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRcalomet &calomets) const
Definition: TriggerEventWithRefs.h:465
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:248
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRl1muon &l1muon) const
Definition: TriggerEventWithRefs.h:503
trigger::TriggerEventWithRefs::TriggerFilterObject::pfmets_
size_type pfmets_
Definition: TriggerEventWithRefs.h:51
trigger::TriggerEventWithRefs::TriggerFilterObject::TriggerFilterObject
TriggerFilterObject()
constructor
Definition: TriggerEventWithRefs.h:66
trigger::TriggerEventWithRefs::TriggerFilterObject::l1tetsum_
size_type l1tetsum_
Definition: TriggerEventWithRefs.h:63
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRphoton &refs)
Definition: TriggerRefsCollections.h:416
trigger::TriggerEventWithRefs::pfjetSlice
std::pair< size_type, size_type > pfjetSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:314
trigger::TriggerEventWithRefs::TriggerFilterObject::l1ttkem_
size_type l1ttkem_
Definition: TriggerEventWithRefs.h:57
trigger::TriggerEventWithRefs::electronSlice
std::pair< size_type, size_type > electronSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:242
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRpftau &pftaus) const
Definition: TriggerEventWithRefs.h:558
trigger::VRl1thpspftau
l1t::HPSPFTauVectorRef VRl1thpspftau
Definition: TriggerRefsCollections.h:93
trigger::TriggerRefsCollections::l1tegammaIds
const Vids & l1tegammaIds() const
Definition: TriggerRefsCollections.h:1641
trigger::VRpfjet
std::vector< reco::PFJetRef > VRpfjet
Definition: TriggerRefsCollections.h:97
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRelectron &electrons) const
Definition: TriggerEventWithRefs.h:415
trigger::TriggerEventWithRefs::TriggerEventWithRefs
TriggerEventWithRefs(const std::string &usedProcessName, size_type n)
Definition: TriggerEventWithRefs.h:169
trigger::TriggerEventWithRefs::TriggerFilterObject::pixtracks_
size_type pixtracks_
Definition: TriggerEventWithRefs.h:43
trigger::TriggerRefsCollections::calometIds
const Vids & calometIds() const
Definition: TriggerRefsCollections.h:1597
trigger::VRl1em
std::vector< l1extra::L1EmParticleRef > VRl1em
Definition: TriggerRefsCollections.h:76
trigger::TriggerRefsCollections::pixtrackIds
const Vids & pixtrackIds() const
Definition: TriggerRefsCollections.h:1601
trigger::TriggerEventWithRefs::pfmetSlice
std::pair< size_type, size_type > pfmetSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:326
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRl1tetsum &l1tetsum) const
Definition: TriggerEventWithRefs.h:697
trigger::TriggerRefsCollections
Definition: TriggerRefsCollections.h:101
edm::InputTag::encode
std::string encode() const
Definition: InputTag.cc:159
trigger::TriggerEventWithRefs::l1ttkemSlice
std::pair< size_type, size_type > l1ttkemSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:359
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:525
trigger::TriggerRefsCollections::l1etmissIds
const Vids & l1etmissIds() const
Definition: TriggerRefsCollections.h:1617
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:1581
edm::DoNotRecordParents
Definition: traits.h:95
trigger::TriggerEventWithRefs::l1hfringsSlice
std::pair< size_type, size_type > l1hfringsSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:308
trigger::TriggerRefsCollections::l1muonRefs
const VRl1muon & l1muonRefs() const
Definition: TriggerRefsCollections.h:1610
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRjet &jets) const
Definition: TriggerEventWithRefs.h:432
trigger::TriggerEventWithRefs::l1emSlice
std::pair< size_type, size_type > l1emSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:284
trigger::TriggerRefsCollections::l1tjetIds
const Vids & l1tjetIds() const
Definition: TriggerRefsCollections.h:1645
InputTag.h
trigger::TriggerRefsCollections::l1ttauIds
const Vids & l1ttauIds() const
Definition: TriggerRefsCollections.h:1679
trigger::VRelectron
std::vector< reco::ElectronRef > VRelectron
Definition: TriggerRefsCollections.h:68
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRl1muon &l1muon) const
Definition: TriggerEventWithRefs.h:498
trigger::TriggerEventWithRefs::size
size_type size() const
number of filters
Definition: TriggerEventWithRefs.h:215
trigger::TriggerRefsCollections::pixtrackRefs
const VRpixtrack & pixtrackRefs() const
Definition: TriggerRefsCollections.h:1602
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRl1ttau &l1ttau) const
Definition: TriggerEventWithRefs.h:686
trigger::TriggerEventWithRefs::TriggerFilterObject::l1tmuon_
size_type l1tmuon_
Definition: TriggerEventWithRefs.h:52
trigger::TriggerRefsCollections::muonRefs
const VRmuon & muonRefs() const
Definition: TriggerRefsCollections.h:1582
trigger::VRjet
std::vector< reco::CaloJetRef > VRjet
Definition: TriggerRefsCollections.h:70
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:591
trigger::TriggerRefsCollections::l1tmuonRefs
const VRl1tmuon & l1tmuonRefs() const
Definition: TriggerRefsCollections.h:1638
trigger::VRl1tpfjet
l1t::PFJetVectorRef VRl1tpfjet
Definition: TriggerRefsCollections.h:92
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRl1tjet &l1tjet) const
Definition: TriggerEventWithRefs.h:597
trigger::VRcalomet
std::vector< reco::CaloMETRef > VRcalomet
Definition: TriggerRefsCollections.h:73
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:586
trigger::TriggerEventWithRefs::basemetSlice
std::pair< size_type, size_type > basemetSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:266
trigger::TriggerRefsCollections::basemetRefs
const VRbasemet & basemetRefs() const
Definition: TriggerRefsCollections.h:1594
pwdgSkimBPark_cfi.electrons
electrons
Definition: pwdgSkimBPark_cfi.py:6
trigger::VRl1ttau
l1t::TauVectorRef VRl1ttau
Definition: TriggerRefsCollections.h:85
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:385
trigger::TriggerRefsCollections::l1tpfjetRefs
const VRl1tpfjet & l1tpfjetRefs() const
Definition: TriggerRefsCollections.h:1664
trigger::VRcomposite
std::vector< reco::CompositeCandidateRef > VRcomposite
Definition: TriggerRefsCollections.h:71
trigger::VRl1jet
std::vector< l1extra::L1JetParticleRef > VRl1jet
Definition: TriggerRefsCollections.h:78
alcaDQMUpload.encode
def encode(args, files)
Definition: alcaDQMUpload.py:32
trigger::TriggerEventWithRefs::TriggerFilterObject::l1ttau_
size_type l1ttau_
Definition: TriggerEventWithRefs.h:62
trigger::VRmuon
std::vector< reco::RecoChargedCandidateRef > VRmuon
Definition: TriggerRefsCollections.h:69
trigger::VRpfmet
std::vector< reco::PFMETRef > VRpfmet
Definition: TriggerRefsCollections.h:99
trigger::TriggerEventWithRefs::TriggerFilterObject::l1tpftau_
size_type l1tpftau_
Definition: TriggerEventWithRefs.h:59
trigger::TriggerEventWithRefs::l1muonSlice
std::pair< size_type, size_type > l1muonSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:290
trigger::VRl1tmuon
l1t::MuonVectorRef VRl1tmuon
Definition: TriggerRefsCollections.h:82
TriggerRefsCollections.h
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRl1tpftau &l1tpftau) const
Definition: TriggerEventWithRefs.h:658
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRl1tpftau &l1tpftau) const
Definition: TriggerEventWithRefs.h:653
trigger::TriggerEventWithRefs::TriggerFilterObject::l1tpfjet_
size_type l1tpfjet_
Definition: TriggerEventWithRefs.h:58
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRl1ttau &l1ttau) const
Definition: TriggerEventWithRefs.h:691
trigger::TriggerRefsCollections::basemetIds
const Vids & basemetIds() const
Definition: TriggerRefsCollections.h:1593
trigger::TriggerEventWithRefs::TriggerFilterObject::l1ttkele_
size_type l1ttkele_
Definition: TriggerEventWithRefs.h:56
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRelectron &electrons) const
Definition: TriggerEventWithRefs.h:410
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRl1hfrings &l1hfrings) const
Definition: TriggerEventWithRefs.h:536
trigger::TriggerRefsCollections::l1thpspftauIds
const Vids & l1thpspftauIds() const
Definition: TriggerRefsCollections.h:1671
trigger
Definition: HLTPrescaleTableCond.h:8
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRpftau &pftaus) const
Definition: TriggerEventWithRefs.h:553
trigger::TriggerRefsCollections::l1tpftrackIds
const Vids & l1tpftrackIds() const
Definition: TriggerRefsCollections.h:1675
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRl1ttkmuon &l1ttkmuon) const
Definition: TriggerEventWithRefs.h:609
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:260
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRl1thpspftau &l1thpspftau) const
Definition: TriggerEventWithRefs.h:664
trigger::VRpftau
std::vector< reco::PFTauRef > VRpftau
Definition: TriggerRefsCollections.h:98
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRl1em &l1em) const
Definition: TriggerEventWithRefs.h:492
trigger::TriggerRefsCollections::l1ttkemIds
const Vids & l1ttkemIds() const
Definition: TriggerRefsCollections.h:1659
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRl1jet &l1jet) const
Definition: TriggerEventWithRefs.h:514
traits.h
trigger::TriggerEventWithRefs::l1tetsumSlice
std::pair< size_type, size_type > l1tetsumSlice(size_type filter) const
Definition: TriggerEventWithRefs.h:391
trigger::TriggerEventWithRefs::addFilterObject
void addFilterObject(const edm::InputTag &filterTag, const TriggerFilterObjectWithRefs &tfowr)
setters - to build EDProduct
Definition: TriggerEventWithRefs.h:175
trigger::TriggerRefsCollections::l1tetsumIds
const Vids & l1tetsumIds() const
Definition: TriggerRefsCollections.h:1683
trigger::TriggerEventWithRefs::TriggerFilterObject::pftaus_
size_type pftaus_
Definition: TriggerEventWithRefs.h:50
trigger::TriggerRefsCollections::pfjetIds
const Vids & pfjetIds() const
Definition: TriggerRefsCollections.h:1625
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRl1jet &l1jet) const
Definition: TriggerEventWithRefs.h:509
trigger::TriggerRefsCollections::l1tetsumRefs
const VRl1tetsum & l1tetsumRefs() const
Definition: TriggerRefsCollections.h:1684
trigger::TriggerRefsCollections::l1emIds
const Vids & l1emIds() const
Definition: TriggerRefsCollections.h:1605
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRpfmet &pfmets) const
Definition: TriggerEventWithRefs.h:564
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, Vids &ids, VRl1etmiss &l1etmiss) const
Definition: TriggerEventWithRefs.h:520
trigger::TriggerRefsCollections::pftauRefs
const VRpftau & pftauRefs() const
Definition: TriggerRefsCollections.h:1630
edm::InputTag
Definition: InputTag.h:15
trigger::VRl1tetsum
l1t::EtSumVectorRef VRl1tetsum
Definition: TriggerRefsCollections.h:86
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRl1ttkem &l1ttkem) const
Definition: TriggerEventWithRefs.h:636
trigger::TriggerRefsCollections::l1tpftauIds
const Vids & l1tpftauIds() const
Definition: TriggerRefsCollections.h:1667
trigger::TriggerEventWithRefs::getObjects
void getObjects(size_type filter, int id, VRjet &jets) const
Definition: TriggerEventWithRefs.h:437
trigger::TriggerRefsCollections::calometRefs
const VRcalomet & calometRefs() const
Definition: TriggerRefsCollections.h:1598
trigger::TriggerRefsCollections::l1tpftauRefs
const VRl1tpftau & l1tpftauRefs() const
Definition: TriggerRefsCollections.h:1668