CMS 3D CMS Logo

TriggerRefsCollections.h
Go to the documentation of this file.
1 #ifndef HLTReco_TriggerRefsCollections_h
2 #define HLTReco_TriggerRefsCollections_h
3 
21 
24 
34 
40 
56 
59 
60 #include <cassert>
61 #include <vector>
62 
63 #include <typeinfo>
64 
65 namespace trigger {
66 
67  typedef std::vector<reco::RecoEcalCandidateRef> VRphoton;
68  typedef std::vector<reco::ElectronRef> VRelectron;
69  typedef std::vector<reco::RecoChargedCandidateRef> VRmuon;
70  typedef std::vector<reco::CaloJetRef> VRjet;
71  typedef std::vector<reco::CompositeCandidateRef> VRcomposite;
72  typedef std::vector<reco::METRef> VRbasemet;
73  typedef std::vector<reco::CaloMETRef> VRcalomet;
74  typedef std::vector<reco::IsolatedPixelTrackCandidateRef> VRpixtrack;
75 
76  typedef std::vector<l1extra::L1EmParticleRef> VRl1em; //deprecate
77  typedef std::vector<l1extra::L1MuonParticleRef> VRl1muon; //deprecate
78  typedef std::vector<l1extra::L1JetParticleRef> VRl1jet; //deprecate
79  typedef std::vector<l1extra::L1EtMissParticleRef> VRl1etmiss; //deprecate
80  typedef std::vector<l1extra::L1HFRingsRef> VRl1hfrings; //deprecate
81 
87 
88  /* Phase-2 */
96 
97  typedef std::vector<reco::PFJetRef> VRpfjet;
98  typedef std::vector<reco::PFTauRef> VRpftau;
99  typedef std::vector<reco::PFMETRef> VRpfmet;
100 
103  private:
121 
132 
143 
144  /* Phase-2 */
159 
166 
168  public:
171  : photonIds_(),
172  photonRefs_(),
173  electronIds_(),
174  electronRefs_(),
175  muonIds_(),
176  muonRefs_(),
177  jetIds_(),
178  jetRefs_(),
179  compositeIds_(),
180  compositeRefs_(),
181  basemetIds_(),
182  basemetRefs_(),
183  calometIds_(),
184  calometRefs_(),
185  pixtrackIds_(),
186  pixtrackRefs_(),
187 
188  l1emIds_(),
189  l1emRefs_(),
190  l1muonIds_(),
191  l1muonRefs_(),
192  l1jetIds_(),
193  l1jetRefs_(),
194  l1etmissIds_(),
195  l1etmissRefs_(),
196  l1hfringsIds_(),
197  l1hfringsRefs_(),
198 
199  l1tmuonIds_(),
200  l1tmuonRefs_(),
201  l1tegammaIds_(),
202  l1tegammaRefs_(),
203  l1tjetIds_(),
204  l1tjetRefs_(),
205  l1ttauIds_(),
206  l1ttauRefs_(),
207  l1tetsumIds_(),
208  l1tetsumRefs_(),
209 
210  /* Phase-2 */
211  l1ttkmuonIds_(),
212  l1ttkmuonRefs_(),
213  l1ttkeleIds_(),
214  l1ttkeleRefs_(),
215  l1ttkemIds_(),
216  l1ttkemRefs_(),
217  l1tpfjetIds_(),
218  l1tpfjetRefs_(),
219  l1tpftauIds_(),
220  l1tpftauRefs_(),
221  l1thpspftauIds_(),
223  l1tpftrackIds_(),
224  l1tpftrackRefs_(),
225 
226  pfjetIds_(),
227  pfjetRefs_(),
228  pftauIds_(),
229  pftauRefs_(),
230  pfmetIds_(),
231  pfmetRefs_() {}
232 
235  std::swap(photonIds_, other.photonIds_);
236  std::swap(photonRefs_, other.photonRefs_);
237  std::swap(electronIds_, other.electronIds_);
238  std::swap(electronRefs_, other.electronRefs_);
239  std::swap(muonIds_, other.muonIds_);
240  std::swap(muonRefs_, other.muonRefs_);
241  std::swap(jetIds_, other.jetIds_);
242  std::swap(jetRefs_, other.jetRefs_);
243  std::swap(compositeIds_, other.compositeIds_);
244  std::swap(compositeRefs_, other.compositeRefs_);
245  std::swap(basemetIds_, other.basemetIds_);
246  std::swap(basemetRefs_, other.basemetRefs_);
247  std::swap(calometIds_, other.calometIds_);
248  std::swap(calometRefs_, other.calometRefs_);
249  std::swap(pixtrackIds_, other.pixtrackIds_);
250  std::swap(pixtrackRefs_, other.pixtrackRefs_);
251 
252  std::swap(l1emIds_, other.l1emIds_);
253  std::swap(l1emRefs_, other.l1emRefs_);
254  std::swap(l1muonIds_, other.l1muonIds_);
255  std::swap(l1muonRefs_, other.l1muonRefs_);
256  std::swap(l1jetIds_, other.l1jetIds_);
257  std::swap(l1jetRefs_, other.l1jetRefs_);
258  std::swap(l1etmissIds_, other.l1etmissIds_);
259  std::swap(l1etmissRefs_, other.l1etmissRefs_);
260  std::swap(l1hfringsIds_, other.l1hfringsIds_);
261  std::swap(l1hfringsRefs_, other.l1hfringsRefs_);
262 
263  std::swap(l1tmuonIds_, other.l1tmuonIds_);
264  std::swap(l1tmuonRefs_, other.l1tmuonRefs_);
265  std::swap(l1tegammaIds_, other.l1tegammaIds_);
266  std::swap(l1tegammaRefs_, other.l1tegammaRefs_);
267  std::swap(l1tjetIds_, other.l1tjetIds_);
268  std::swap(l1tjetRefs_, other.l1tjetRefs_);
269  std::swap(l1ttauIds_, other.l1ttauIds_);
270  std::swap(l1ttauRefs_, other.l1ttauRefs_);
271  std::swap(l1tetsumIds_, other.l1tetsumIds_);
272  std::swap(l1tetsumRefs_, other.l1tetsumRefs_);
273 
274  /* Phase-2 */
275  std::swap(l1ttkmuonIds_, other.l1ttkmuonIds_);
276  std::swap(l1ttkmuonRefs_, other.l1ttkmuonRefs_);
277  std::swap(l1ttkeleIds_, other.l1ttkeleIds_);
278  std::swap(l1ttkeleRefs_, other.l1ttkeleRefs_);
279  std::swap(l1ttkemIds_, other.l1ttkemIds_);
280  std::swap(l1ttkemRefs_, other.l1ttkemRefs_);
281  std::swap(l1tpfjetIds_, other.l1tpfjetIds_);
282  std::swap(l1tpfjetRefs_, other.l1tpfjetRefs_);
283  std::swap(l1tpftauIds_, other.l1tpftauIds_);
284  std::swap(l1tpftauRefs_, other.l1tpftauRefs_);
285  std::swap(l1thpspftauIds_, other.l1thpspftauIds_);
286  std::swap(l1thpspftauRefs_, other.l1thpspftauRefs_);
287  std::swap(l1tpftrackIds_, other.l1tpftrackIds_);
288  std::swap(l1tpftrackRefs_, other.l1tpftrackRefs_);
289 
290  std::swap(pfjetIds_, other.pfjetIds_);
291  std::swap(pfjetRefs_, other.pfjetRefs_);
292  std::swap(pftauIds_, other.pftauIds_);
293  std::swap(pftauRefs_, other.pftauRefs_);
294  std::swap(pfmetIds_, other.pfmetIds_);
295  std::swap(pfmetRefs_, other.pfmetRefs_);
296  }
297 
299  void addObject(int id, const reco::RecoEcalCandidateRef& ref) {
300  photonIds_.push_back(id);
301  photonRefs_.push_back(ref);
302  }
303  void addObject(int id, const reco::ElectronRef& ref) {
304  electronIds_.push_back(id);
305  electronRefs_.push_back(ref);
306  }
307  void addObject(int id, const reco::RecoChargedCandidateRef& ref) {
308  muonIds_.push_back(id);
309  muonRefs_.push_back(ref);
310  }
311  void addObject(int id, const reco::CaloJetRef& ref) {
312  jetIds_.push_back(id);
313  jetRefs_.push_back(ref);
314  }
315  void addObject(int id, const reco::CompositeCandidateRef& ref) {
316  compositeIds_.push_back(id);
317  compositeRefs_.push_back(ref);
318  }
319  void addObject(int id, const reco::METRef& ref) {
320  basemetIds_.push_back(id);
321  basemetRefs_.push_back(ref);
322  }
323  void addObject(int id, const reco::CaloMETRef& ref) {
324  calometIds_.push_back(id);
325  calometRefs_.push_back(ref);
326  }
328  pixtrackIds_.push_back(id);
329  pixtrackRefs_.push_back(ref);
330  }
331 
332  void addObject(int id, const l1extra::L1EmParticleRef& ref) {
333  l1emIds_.push_back(id);
334  l1emRefs_.push_back(ref);
335  }
336  void addObject(int id, const l1extra::L1MuonParticleRef& ref) {
337  l1muonIds_.push_back(id);
338  l1muonRefs_.push_back(ref);
339  }
340  void addObject(int id, const l1extra::L1JetParticleRef& ref) {
341  l1jetIds_.push_back(id);
342  l1jetRefs_.push_back(ref);
343  }
344  void addObject(int id, const l1extra::L1EtMissParticleRef& ref) {
345  l1etmissIds_.push_back(id);
346  l1etmissRefs_.push_back(ref);
347  }
348  void addObject(int id, const l1extra::L1HFRingsRef& ref) {
349  l1hfringsIds_.push_back(id);
350  l1hfringsRefs_.push_back(ref);
351  }
352  void addObject(int id, const l1t::MuonRef& ref) {
353  l1tmuonIds_.push_back(id);
354  l1tmuonRefs_.push_back(ref);
355  }
356  void addObject(int id, const l1t::EGammaRef& ref) {
357  l1tegammaIds_.push_back(id);
358  l1tegammaRefs_.push_back(ref);
359  }
360  void addObject(int id, const l1t::JetRef& ref) {
361  l1tjetIds_.push_back(id);
362  l1tjetRefs_.push_back(ref);
363  }
364  void addObject(int id, const l1t::TauRef& ref) {
365  l1ttauIds_.push_back(id);
366  l1ttauRefs_.push_back(ref);
367  }
368  void addObject(int id, const l1t::EtSumRef& ref) {
369  l1tetsumIds_.push_back(id);
370  l1tetsumRefs_.push_back(ref);
371  }
372 
373  /* Phase-2 */
374  void addObject(int id, const l1t::TkMuonRef& ref) {
375  l1ttkmuonIds_.push_back(id);
376  l1ttkmuonRefs_.push_back(ref);
377  }
378  void addObject(int id, const l1t::TkElectronRef& ref) {
379  l1ttkeleIds_.push_back(id);
380  l1ttkeleRefs_.push_back(ref);
381  }
382  void addObject(int id, const l1t::TkEmRef& ref) {
383  l1ttkemIds_.push_back(id);
384  l1ttkemRefs_.push_back(ref);
385  }
386  void addObject(int id, const l1t::PFJetRef& ref) {
387  l1tpfjetIds_.push_back(id);
388  l1tpfjetRefs_.push_back(ref);
389  }
390  void addObject(int id, const l1t::PFTauRef& ref) {
391  l1tpftauIds_.push_back(id);
392  l1tpftauRefs_.push_back(ref);
393  }
394  void addObject(int id, const l1t::HPSPFTauRef& ref) {
395  l1thpspftauIds_.push_back(id);
396  l1thpspftauRefs_.push_back(ref);
397  }
398  void addObject(int id, const l1t::PFTrackRef& ref) {
399  l1tpftrackIds_.push_back(id);
400  l1tpftrackRefs_.push_back(ref);
401  }
402  void addObject(int id, const reco::PFJetRef& ref) {
403  pfjetIds_.push_back(id);
404  pfjetRefs_.push_back(ref);
405  }
406  void addObject(int id, const reco::PFTauRef& ref) {
407  pftauIds_.push_back(id);
408  pftauRefs_.push_back(ref);
409  }
410  void addObject(int id, const reco::PFMETRef& ref) {
411  pfmetIds_.push_back(id);
412  pfmetRefs_.push_back(ref);
413  }
414 
416  size_type addObjects(const Vids& ids, const VRphoton& refs) {
417  assert(ids.size() == refs.size());
418  photonIds_.insert(photonIds_.end(), ids.begin(), ids.end());
419  photonRefs_.insert(photonRefs_.end(), refs.begin(), refs.end());
420  return photonIds_.size();
421  }
422  size_type addObjects(const Vids& ids, const VRelectron& refs) {
423  assert(ids.size() == refs.size());
424  electronIds_.insert(electronIds_.end(), ids.begin(), ids.end());
425  electronRefs_.insert(electronRefs_.end(), refs.begin(), refs.end());
426  return electronIds_.size();
427  }
428  size_type addObjects(const Vids& ids, const VRmuon& refs) {
429  assert(ids.size() == refs.size());
430  muonIds_.insert(muonIds_.end(), ids.begin(), ids.end());
431  muonRefs_.insert(muonRefs_.end(), refs.begin(), refs.end());
432  return muonIds_.size();
433  }
434  size_type addObjects(const Vids& ids, const VRjet& refs) {
435  assert(ids.size() == refs.size());
436  jetIds_.insert(jetIds_.end(), ids.begin(), ids.end());
437  jetRefs_.insert(jetRefs_.end(), refs.begin(), refs.end());
438  return jetIds_.size();
439  }
440  size_type addObjects(const Vids& ids, const VRcomposite& refs) {
441  assert(ids.size() == refs.size());
442  compositeIds_.insert(compositeIds_.end(), ids.begin(), ids.end());
443  compositeRefs_.insert(compositeRefs_.end(), refs.begin(), refs.end());
444  return compositeIds_.size();
445  }
446  size_type addObjects(const Vids& ids, const VRbasemet& refs) {
447  assert(ids.size() == refs.size());
448  basemetIds_.insert(basemetIds_.end(), ids.begin(), ids.end());
449  basemetRefs_.insert(basemetRefs_.end(), refs.begin(), refs.end());
450  return basemetIds_.size();
451  }
452  size_type addObjects(const Vids& ids, const VRcalomet& refs) {
453  assert(ids.size() == refs.size());
454  calometIds_.insert(calometIds_.end(), ids.begin(), ids.end());
455  calometRefs_.insert(calometRefs_.end(), refs.begin(), refs.end());
456  return calometIds_.size();
457  }
458  size_type addObjects(const Vids& ids, const VRpixtrack& refs) {
459  assert(ids.size() == refs.size());
460  pixtrackIds_.insert(pixtrackIds_.end(), ids.begin(), ids.end());
461  pixtrackRefs_.insert(pixtrackRefs_.end(), refs.begin(), refs.end());
462  return pixtrackIds_.size();
463  }
464 
465  size_type addObjects(const Vids& ids, const VRl1em& refs) {
466  assert(ids.size() == refs.size());
467  l1emIds_.insert(l1emIds_.end(), ids.begin(), ids.end());
468  l1emRefs_.insert(l1emRefs_.end(), refs.begin(), refs.end());
469  return l1emIds_.size();
470  }
471  size_type addObjects(const Vids& ids, const VRl1muon& refs) {
472  assert(ids.size() == refs.size());
473  l1muonIds_.insert(l1muonIds_.end(), ids.begin(), ids.end());
474  l1muonRefs_.insert(l1muonRefs_.end(), refs.begin(), refs.end());
475  return l1muonIds_.size();
476  }
477  size_type addObjects(const Vids& ids, const VRl1jet& refs) {
478  assert(ids.size() == refs.size());
479  l1jetIds_.insert(l1jetIds_.end(), ids.begin(), ids.end());
480  l1jetRefs_.insert(l1jetRefs_.end(), refs.begin(), refs.end());
481  return l1jetIds_.size();
482  }
483  size_type addObjects(const Vids& ids, const VRl1etmiss& refs) {
484  assert(ids.size() == refs.size());
485  l1etmissIds_.insert(l1etmissIds_.end(), ids.begin(), ids.end());
486  l1etmissRefs_.insert(l1etmissRefs_.end(), refs.begin(), refs.end());
487  return l1etmissIds_.size();
488  }
489  size_type addObjects(const Vids& ids, const VRl1tmuon& refs) {
490  assert(ids.size() == refs.size());
491  l1tmuonIds_.insert(l1tmuonIds_.end(), ids.begin(), ids.end());
492  l1tmuonRefs_.insert(l1tmuonRefs_.end(), refs.begin(), refs.end());
493  return l1tmuonIds_.size();
494  }
495  size_type addObjects(const Vids& ids, const VRl1tegamma& refs) {
496  assert(ids.size() == refs.size());
497  l1tegammaIds_.insert(l1tegammaIds_.end(), ids.begin(), ids.end());
498  l1tegammaRefs_.insert(l1tegammaRefs_.end(), refs.begin(), refs.end());
499  return l1tegammaIds_.size();
500  }
501  size_type addObjects(const Vids& ids, const VRl1tjet& refs) {
502  assert(ids.size() == refs.size());
503  l1tjetIds_.insert(l1tjetIds_.end(), ids.begin(), ids.end());
504  l1tjetRefs_.insert(l1tjetRefs_.end(), refs.begin(), refs.end());
505  return l1tjetIds_.size();
506  }
507  size_type addObjects(const Vids& ids, const VRl1ttau& refs) {
508  assert(ids.size() == refs.size());
509  l1ttauIds_.insert(l1ttauIds_.end(), ids.begin(), ids.end());
510  l1ttauRefs_.insert(l1ttauRefs_.end(), refs.begin(), refs.end());
511  return l1ttauIds_.size();
512  }
513  size_type addObjects(const Vids& ids, const VRl1tetsum& refs) {
514  assert(ids.size() == refs.size());
515  l1tetsumIds_.insert(l1tetsumIds_.end(), ids.begin(), ids.end());
516  l1tetsumRefs_.insert(l1tetsumRefs_.end(), refs.begin(), refs.end());
517  return l1tetsumIds_.size();
518  }
519  size_type addObjects(const Vids& ids, const VRl1hfrings& refs) {
520  assert(ids.size() == refs.size());
521  l1hfringsIds_.insert(l1hfringsIds_.end(), ids.begin(), ids.end());
522  l1hfringsRefs_.insert(l1hfringsRefs_.end(), refs.begin(), refs.end());
523  return l1hfringsIds_.size();
524  }
525 
526  /* Phase-2 */
527  size_type addObjects(const Vids& ids, const VRl1ttkmuon& refs) {
528  assert(ids.size() == refs.size());
529  l1ttkmuonIds_.insert(l1ttkmuonIds_.end(), ids.begin(), ids.end());
530  l1ttkmuonRefs_.insert(l1ttkmuonRefs_.end(), refs.begin(), refs.end());
531  return l1ttkmuonIds_.size();
532  }
533  size_type addObjects(const Vids& ids, const VRl1ttkele& refs) {
534  assert(ids.size() == refs.size());
535  l1ttkeleIds_.insert(l1ttkeleIds_.end(), ids.begin(), ids.end());
536  l1ttkeleRefs_.insert(l1ttkeleRefs_.end(), refs.begin(), refs.end());
537  return l1ttkeleIds_.size();
538  }
539  size_type addObjects(const Vids& ids, const VRl1ttkem& refs) {
540  assert(ids.size() == refs.size());
541  l1ttkemIds_.insert(l1ttkemIds_.end(), ids.begin(), ids.end());
542  l1ttkemRefs_.insert(l1ttkemRefs_.end(), refs.begin(), refs.end());
543  return l1ttkemIds_.size();
544  }
545  size_type addObjects(const Vids& ids, const VRl1tpfjet& refs) {
546  assert(ids.size() == refs.size());
547  l1tpfjetIds_.insert(l1tpfjetIds_.end(), ids.begin(), ids.end());
548  l1tpfjetRefs_.insert(l1tpfjetRefs_.end(), refs.begin(), refs.end());
549  return l1tpfjetIds_.size();
550  }
551  size_type addObjects(const Vids& ids, const VRl1tpftau& refs) {
552  assert(ids.size() == refs.size());
553  l1tpftauIds_.insert(l1tpftauIds_.end(), ids.begin(), ids.end());
554  l1tpftauRefs_.insert(l1tpftauRefs_.end(), refs.begin(), refs.end());
555  return l1tpftauIds_.size();
556  }
557  size_type addObjects(const Vids& ids, const VRl1thpspftau& refs) {
558  assert(ids.size() == refs.size());
559  l1thpspftauIds_.insert(l1thpspftauIds_.end(), ids.begin(), ids.end());
560  l1thpspftauRefs_.insert(l1thpspftauRefs_.end(), refs.begin(), refs.end());
561  return l1thpspftauIds_.size();
562  }
563  size_type addObjects(const Vids& ids, const VRl1tpftrack& refs) {
564  assert(ids.size() == refs.size());
565  l1tpftrackIds_.insert(l1tpftrackIds_.end(), ids.begin(), ids.end());
566  l1tpftrackRefs_.insert(l1tpftrackRefs_.end(), refs.begin(), refs.end());
567  return l1tpftrackIds_.size();
568  }
569 
570  size_type addObjects(const Vids& ids, const VRpfjet& refs) {
571  assert(ids.size() == refs.size());
572  pfjetIds_.insert(pfjetIds_.end(), ids.begin(), ids.end());
573  pfjetRefs_.insert(pfjetRefs_.end(), refs.begin(), refs.end());
574  return pfjetIds_.size();
575  }
576  size_type addObjects(const Vids& ids, const VRpftau& refs) {
577  assert(ids.size() == refs.size());
578  pftauIds_.insert(pftauIds_.end(), ids.begin(), ids.end());
579  pftauRefs_.insert(pftauRefs_.end(), refs.begin(), refs.end());
580  return pftauIds_.size();
581  }
582  size_type addObjects(const Vids& ids, const VRpfmet& refs) {
583  assert(ids.size() == refs.size());
584  pfmetIds_.insert(pfmetIds_.end(), ids.begin(), ids.end());
585  pfmetRefs_.insert(pfmetRefs_.end(), refs.begin(), refs.end());
586  return pfmetIds_.size();
587  }
588 
590  void getObjects(Vids& ids, VRphoton& refs) const { getObjects(ids, refs, 0, photonIds_.size()); }
591  void getObjects(Vids& ids, VRphoton& refs, size_type begin, size_type end) const {
592  assert(begin <= end);
593  assert(end <= photonIds_.size());
594  const size_type n(end - begin);
595  ids.resize(n);
596  refs.resize(n);
597  size_type j(0);
598  for (size_type i = begin; i != end; ++i) {
599  ids[j] = photonIds_[i];
600  refs[j] = photonRefs_[i];
601  ++j;
602  }
603  }
604  void getObjects(int id, VRphoton& refs) const { getObjects(id, refs, 0, photonIds_.size()); }
605  void getObjects(int id, VRphoton& refs, size_type begin, size_type end) const {
606  assert(begin <= end);
607  assert(end <= photonIds_.size());
608  size_type n(0);
609  for (size_type i = begin; i != end; ++i) {
610  if (id == photonIds_[i]) {
611  ++n;
612  }
613  }
614  refs.resize(n);
615  size_type j(0);
616  for (size_type i = begin; i != end; ++i) {
617  if (id == photonIds_[i]) {
618  refs[j] = photonRefs_[i];
619  ++j;
620  }
621  }
622  return;
623  }
624 
625  void getObjects(Vids& ids, VRelectron& refs) const { getObjects(ids, refs, 0, electronIds_.size()); }
626  void getObjects(Vids& ids, VRelectron& refs, size_type begin, size_type end) const {
627  assert(begin <= end);
628  assert(end <= electronIds_.size());
629  const size_type n(end - begin);
630  ids.resize(n);
631  refs.resize(n);
632  size_type j(0);
633  for (size_type i = begin; i != end; ++i) {
634  ids[j] = electronIds_[i];
635  refs[j] = electronRefs_[i];
636  ++j;
637  }
638  }
639  void getObjects(int id, VRelectron& refs) const { getObjects(id, refs, 0, electronIds_.size()); }
640  void getObjects(int id, VRelectron& refs, size_type begin, size_type end) const {
641  assert(begin <= end);
642  assert(end <= electronIds_.size());
643  size_type n(0);
644  for (size_type i = begin; i != end; ++i) {
645  if (id == electronIds_[i]) {
646  ++n;
647  }
648  }
649  refs.resize(n);
650  size_type j(0);
651  for (size_type i = begin; i != end; ++i) {
652  if (id == electronIds_[i]) {
653  refs[j] = electronRefs_[i];
654  ++j;
655  }
656  }
657  return;
658  }
659 
660  void getObjects(Vids& ids, VRmuon& refs) const { getObjects(ids, refs, 0, muonIds_.size()); }
661  void getObjects(Vids& ids, VRmuon& refs, size_type begin, size_type end) const {
662  assert(begin <= end);
663  assert(end <= muonIds_.size());
664  const size_type n(end - begin);
665  ids.resize(n);
666  refs.resize(n);
667  size_type j(0);
668  for (size_type i = begin; i != end; ++i) {
669  ids[j] = muonIds_[i];
670  refs[j] = muonRefs_[i];
671  ++j;
672  }
673  }
674  void getObjects(int id, VRmuon& refs) const { getObjects(id, refs, 0, muonIds_.size()); }
675  void getObjects(int id, VRmuon& refs, size_type begin, size_type end) const {
676  assert(begin <= end);
677  assert(end <= muonIds_.size());
678  size_type n(0);
679  for (size_type i = begin; i != end; ++i) {
680  if (id == muonIds_[i]) {
681  ++n;
682  }
683  }
684  refs.resize(n);
685  size_type j(0);
686  for (size_type i = begin; i != end; ++i) {
687  if (id == muonIds_[i]) {
688  refs[j] = muonRefs_[i];
689  ++j;
690  }
691  }
692  return;
693  }
694 
695  void getObjects(Vids& ids, VRjet& refs) const { getObjects(ids, refs, 0, jetIds_.size()); }
696  void getObjects(Vids& ids, VRjet& refs, size_type begin, size_type end) const {
697  assert(begin <= end);
698  assert(end <= jetIds_.size());
699  const size_type n(end - begin);
700  ids.resize(n);
701  refs.resize(n);
702  size_type j(0);
703  for (size_type i = begin; i != end; ++i) {
704  ids[j] = jetIds_[i];
705  refs[j] = jetRefs_[i];
706  ++j;
707  }
708  }
709  void getObjects(int id, VRjet& refs) const { getObjects(id, refs, 0, jetIds_.size()); }
710  void getObjects(int id, VRjet& refs, size_type begin, size_type end) const {
711  assert(begin <= end);
712  assert(end <= jetIds_.size());
713  size_type n(0);
714  for (size_type i = begin; i != end; ++i) {
715  if (id == jetIds_[i]) {
716  ++n;
717  }
718  }
719  refs.resize(n);
720  size_type j(0);
721  for (size_type i = begin; i != end; ++i) {
722  if (id == jetIds_[i]) {
723  refs[j] = jetRefs_[i];
724  ++j;
725  }
726  }
727  return;
728  }
729 
730  void getObjects(Vids& ids, VRcomposite& refs) const { getObjects(ids, refs, 0, compositeIds_.size()); }
731  void getObjects(Vids& ids, VRcomposite& refs, size_type begin, size_type end) const {
732  assert(begin <= end);
733  assert(end <= compositeIds_.size());
734  const size_type n(end - begin);
735  ids.resize(n);
736  refs.resize(n);
737  size_type j(0);
738  for (size_type i = begin; i != end; ++i) {
739  ids[j] = compositeIds_[i];
740  refs[j] = compositeRefs_[i];
741  ++j;
742  }
743  }
744  void getObjects(int id, VRcomposite& refs) const { getObjects(id, refs, 0, compositeIds_.size()); }
745  void getObjects(int id, VRcomposite& refs, size_type begin, size_type end) const {
746  assert(begin <= end);
747  assert(end <= compositeIds_.size());
748  size_type n(0);
749  for (size_type i = begin; i != end; ++i) {
750  if (id == compositeIds_[i]) {
751  ++n;
752  }
753  }
754  refs.resize(n);
755  size_type j(0);
756  for (size_type i = begin; i != end; ++i) {
757  if (id == compositeIds_[i]) {
758  refs[j] = compositeRefs_[i];
759  ++j;
760  }
761  }
762  return;
763  }
764 
765  void getObjects(Vids& ids, VRbasemet& refs) const { getObjects(ids, refs, 0, basemetIds_.size()); }
766  void getObjects(Vids& ids, VRbasemet& refs, size_type begin, size_type end) const {
767  assert(begin <= end);
768  assert(end <= basemetIds_.size());
769  const size_type n(end - begin);
770  ids.resize(n);
771  refs.resize(n);
772  size_type j(0);
773  for (size_type i = begin; i != end; ++i) {
774  ids[j] = basemetIds_[i];
775  refs[j] = basemetRefs_[i];
776  ++j;
777  }
778  }
779  void getObjects(int id, VRbasemet& refs) const { getObjects(id, refs, 0, basemetIds_.size()); }
780  void getObjects(int id, VRbasemet& refs, size_type begin, size_type end) const {
781  assert(begin <= end);
782  assert(end <= basemetIds_.size());
783  size_type n(0);
784  for (size_type i = begin; i != end; ++i) {
785  if (id == basemetIds_[i]) {
786  ++n;
787  }
788  }
789  refs.resize(n);
790  size_type j(0);
791  for (size_type i = begin; i != end; ++i) {
792  if (id == basemetIds_[i]) {
793  refs[j] = basemetRefs_[i];
794  ++j;
795  }
796  }
797  return;
798  }
799 
800  void getObjects(Vids& ids, VRcalomet& refs) const { getObjects(ids, refs, 0, calometIds_.size()); }
801  void getObjects(Vids& ids, VRcalomet& refs, size_type begin, size_type end) const {
802  assert(begin <= end);
803  assert(end <= calometIds_.size());
804  const size_type n(end - begin);
805  ids.resize(n);
806  refs.resize(n);
807  size_type j(0);
808  for (size_type i = begin; i != end; ++i) {
809  ids[j] = calometIds_[i];
810  refs[j] = calometRefs_[i];
811  ++j;
812  }
813  }
814  void getObjects(int id, VRcalomet& refs) const { getObjects(id, refs, 0, calometIds_.size()); }
815  void getObjects(int id, VRcalomet& refs, size_type begin, size_type end) const {
816  assert(begin <= end);
817  assert(end <= calometIds_.size());
818  size_type n(0);
819  for (size_type i = begin; i != end; ++i) {
820  if (id == calometIds_[i]) {
821  ++n;
822  }
823  }
824  refs.resize(n);
825  size_type j(0);
826  for (size_type i = begin; i != end; ++i) {
827  if (id == calometIds_[i]) {
828  refs[j] = calometRefs_[i];
829  ++j;
830  }
831  }
832  return;
833  }
834 
835  void getObjects(Vids& ids, VRpixtrack& refs) const { getObjects(ids, refs, 0, pixtrackIds_.size()); }
836  void getObjects(Vids& ids, VRpixtrack& refs, size_type begin, size_type end) const {
837  assert(begin <= end);
838  assert(end <= pixtrackIds_.size());
839  const size_type n(end - begin);
840  ids.resize(n);
841  refs.resize(n);
842  size_type j(0);
843  for (size_type i = begin; i != end; ++i) {
844  ids[j] = pixtrackIds_[i];
845  refs[j] = pixtrackRefs_[i];
846  ++j;
847  }
848  }
849  void getObjects(int id, VRpixtrack& refs) const { getObjects(id, refs, 0, pixtrackIds_.size()); }
850  void getObjects(int id, VRpixtrack& refs, size_type begin, size_type end) const {
851  assert(begin <= end);
852  assert(end <= pixtrackIds_.size());
853  size_type n(0);
854  for (size_type i = begin; i != end; ++i) {
855  if (id == pixtrackIds_[i]) {
856  ++n;
857  }
858  }
859  refs.resize(n);
860  size_type j(0);
861  for (size_type i = begin; i != end; ++i) {
862  if (id == pixtrackIds_[i]) {
863  refs[j] = pixtrackRefs_[i];
864  ++j;
865  }
866  }
867  return;
868  }
869 
870  void getObjects(Vids& ids, VRl1em& refs) const { getObjects(ids, refs, 0, l1emIds_.size()); }
871  void getObjects(Vids& ids, VRl1em& refs, size_type begin, size_type end) const {
872  assert(begin <= end);
873  assert(end <= l1emIds_.size());
874  const size_type n(end - begin);
875  ids.resize(n);
876  refs.resize(n);
877  size_type j(0);
878  for (size_type i = begin; i != end; ++i) {
879  ids[j] = l1emIds_[i];
880  refs[j] = l1emRefs_[i];
881  ++j;
882  }
883  }
884  void getObjects(int id, VRl1em& refs) const { getObjects(id, refs, 0, l1emIds_.size()); }
885  void getObjects(int id, VRl1em& refs, size_type begin, size_type end) const {
886  assert(begin <= end);
887  assert(end <= l1emIds_.size());
888  size_type n(0);
889  for (size_type i = begin; i != end; ++i) {
890  if (id == l1emIds_[i]) {
891  ++n;
892  }
893  }
894  refs.resize(n);
895  size_type j(0);
896  for (size_type i = begin; i != end; ++i) {
897  if (id == l1emIds_[i]) {
898  refs[j] = l1emRefs_[i];
899  ++j;
900  }
901  }
902  return;
903  }
904 
905  void getObjects(Vids& ids, VRl1muon& refs) const { getObjects(ids, refs, 0, l1muonIds_.size()); }
906  void getObjects(Vids& ids, VRl1muon& refs, size_type begin, size_type end) const {
907  assert(begin <= end);
908  assert(end <= l1muonIds_.size());
909  const size_type n(end - begin);
910  ids.resize(n);
911  refs.resize(n);
912  size_type j(0);
913  for (size_type i = begin; i != end; ++i) {
914  ids[j] = l1muonIds_[i];
915  refs[j] = l1muonRefs_[i];
916  ++j;
917  }
918  }
919  void getObjects(int id, VRl1muon& refs) const { getObjects(id, refs, 0, l1muonIds_.size()); }
920  void getObjects(int id, VRl1muon& refs, size_type begin, size_type end) const {
921  assert(begin <= end);
922  assert(end <= l1muonIds_.size());
923  size_type n(0);
924  for (size_type i = begin; i != end; ++i) {
925  if (id == l1muonIds_[i]) {
926  ++n;
927  }
928  }
929  refs.resize(n);
930  size_type j(0);
931  for (size_type i = begin; i != end; ++i) {
932  if (id == l1muonIds_[i]) {
933  refs[j] = l1muonRefs_[i];
934  ++j;
935  }
936  }
937  return;
938  }
939 
940  void getObjects(Vids& ids, VRl1jet& refs) const { getObjects(ids, refs, 0, l1jetIds_.size()); }
941  void getObjects(Vids& ids, VRl1jet& refs, size_type begin, size_type end) const {
942  assert(begin <= end);
943  assert(end <= l1jetIds_.size());
944  const size_type n(end - begin);
945  ids.resize(n);
946  refs.resize(n);
947  size_type j(0);
948  for (size_type i = begin; i != end; ++i) {
949  ids[j] = l1jetIds_[i];
950  refs[j] = l1jetRefs_[i];
951  ++j;
952  }
953  }
954  void getObjects(int id, VRl1jet& refs) const { getObjects(id, refs, 0, l1jetIds_.size()); }
955  void getObjects(int id, VRl1jet& refs, size_type begin, size_type end) const {
956  assert(begin <= end);
957  assert(end <= l1jetIds_.size());
958  size_type n(0);
959  for (size_type i = begin; i != end; ++i) {
960  if (id == l1jetIds_[i]) {
961  ++n;
962  }
963  }
964  refs.resize(n);
965  size_type j(0);
966  for (size_type i = begin; i != end; ++i) {
967  if (id == l1jetIds_[i]) {
968  refs[j] = l1jetRefs_[i];
969  ++j;
970  }
971  }
972  return;
973  }
974 
975  void getObjects(Vids& ids, VRl1etmiss& refs) const { getObjects(ids, refs, 0, l1etmissIds_.size()); }
976  void getObjects(Vids& ids, VRl1etmiss& refs, size_type begin, size_type end) const {
977  assert(begin <= end);
978  assert(end <= l1etmissIds_.size());
979  const size_type n(end - begin);
980  ids.resize(n);
981  refs.resize(n);
982  size_type j(0);
983  for (size_type i = begin; i != end; ++i) {
984  ids[j] = l1etmissIds_[i];
985  refs[j] = l1etmissRefs_[i];
986  ++j;
987  }
988  }
989  void getObjects(int id, VRl1etmiss& refs) const { getObjects(id, refs, 0, l1etmissIds_.size()); }
990  void getObjects(int id, VRl1etmiss& refs, size_type begin, size_type end) const {
991  assert(begin <= end);
992  assert(end <= l1etmissIds_.size());
993  size_type n(0);
994  for (size_type i = begin; i != end; ++i) {
995  if (id == l1etmissIds_[i]) {
996  ++n;
997  }
998  }
999  refs.resize(n);
1000  size_type j(0);
1001  for (size_type i = begin; i != end; ++i) {
1002  if (id == l1etmissIds_[i]) {
1003  refs[j] = l1etmissRefs_[i];
1004  ++j;
1005  }
1006  }
1007  return;
1008  }
1009 
1010  void getObjects(Vids& ids, VRl1hfrings& refs) const { getObjects(ids, refs, 0, l1hfringsIds_.size()); }
1011  void getObjects(Vids& ids, VRl1hfrings& refs, size_type begin, size_type end) const {
1012  assert(begin <= end);
1013  assert(end <= l1hfringsIds_.size());
1014  const size_type n(end - begin);
1015  ids.resize(n);
1016  refs.resize(n);
1017  size_type j(0);
1018  for (size_type i = begin; i != end; ++i) {
1019  ids[j] = l1hfringsIds_[i];
1020  refs[j] = l1hfringsRefs_[i];
1021  ++j;
1022  }
1023  }
1024  void getObjects(int id, VRl1hfrings& refs) const { getObjects(id, refs, 0, l1hfringsIds_.size()); }
1025  void getObjects(int id, VRl1hfrings& refs, size_type begin, size_type end) const {
1026  assert(begin <= end);
1027  assert(end <= l1hfringsIds_.size());
1028  size_type n(0);
1029  for (size_type i = begin; i != end; ++i) {
1030  if (id == l1hfringsIds_[i]) {
1031  ++n;
1032  }
1033  }
1034  refs.resize(n);
1035  size_type j(0);
1036  for (size_type i = begin; i != end; ++i) {
1037  if (id == l1hfringsIds_[i]) {
1038  refs[j] = l1hfringsRefs_[i];
1039  ++j;
1040  }
1041  }
1042  return;
1043  }
1044 
1045  void getObjects(Vids& ids, VRl1tmuon& refs) const { getObjects(ids, refs, 0, l1tmuonIds_.size()); }
1046  void getObjects(Vids& ids, VRl1tmuon& refs, size_type begin, size_type end) const {
1047  assert(begin <= end);
1048  assert(end <= l1tmuonIds_.size());
1049  const size_type n(end - begin);
1050  ids.resize(n);
1051  refs.resize(n);
1052  size_type j(0);
1053  for (size_type i = begin; i != end; ++i) {
1054  ids[j] = l1tmuonIds_[i];
1055  refs[j] = l1tmuonRefs_[i];
1056  ++j;
1057  }
1058  }
1059  void getObjects(int id, VRl1tmuon& refs) const { getObjects(id, refs, 0, l1tmuonIds_.size()); }
1060  void getObjects(int id, VRl1tmuon& refs, size_type begin, size_type end) const {
1061  assert(begin <= end);
1062  assert(end <= l1tmuonIds_.size());
1063  size_type n(0);
1064  for (size_type i = begin; i != end; ++i) {
1065  if (id == l1tmuonIds_[i]) {
1066  ++n;
1067  }
1068  }
1069  refs.resize(n);
1070  size_type j(0);
1071  for (size_type i = begin; i != end; ++i) {
1072  if (id == l1tmuonIds_[i]) {
1073  refs[j] = l1tmuonRefs_[i];
1074  ++j;
1075  }
1076  }
1077  return;
1078  }
1079 
1080  void getObjects(Vids& ids, VRl1tegamma& refs) const { getObjects(ids, refs, 0, l1tegammaIds_.size()); }
1081  void getObjects(Vids& ids, VRl1tegamma& refs, size_type begin, size_type end) const {
1082  assert(begin <= end);
1083  assert(end <= l1tegammaIds_.size());
1084  const size_type n(end - begin);
1085  ids.resize(n);
1086  refs.resize(n);
1087  size_type j(0);
1088  for (size_type i = begin; i != end; ++i) {
1089  ids[j] = l1tegammaIds_[i];
1090  refs[j] = l1tegammaRefs_[i];
1091  ++j;
1092  }
1093  }
1094  void getObjects(int id, VRl1tegamma& refs) const { getObjects(id, refs, 0, l1tegammaIds_.size()); }
1095  void getObjects(int id, VRl1tegamma& refs, size_type begin, size_type end) const {
1096  assert(begin <= end);
1097  assert(end <= l1tegammaIds_.size());
1098  size_type n(0);
1099  for (size_type i = begin; i != end; ++i) {
1100  if (id == l1tegammaIds_[i]) {
1101  ++n;
1102  }
1103  }
1104  refs.resize(n);
1105  size_type j(0);
1106  for (size_type i = begin; i != end; ++i) {
1107  if (id == l1tegammaIds_[i]) {
1108  refs[j] = l1tegammaRefs_[i];
1109  ++j;
1110  }
1111  }
1112  return;
1113  }
1114 
1115  void getObjects(Vids& ids, VRl1tjet& refs) const { getObjects(ids, refs, 0, l1tjetIds_.size()); }
1116  void getObjects(Vids& ids, VRl1tjet& refs, size_type begin, size_type end) const {
1117  assert(begin <= end);
1118  assert(end <= l1tjetIds_.size());
1119  const size_type n(end - begin);
1120  ids.resize(n);
1121  refs.resize(n);
1122  size_type j(0);
1123  for (size_type i = begin; i != end; ++i) {
1124  ids[j] = l1tjetIds_[i];
1125  refs[j] = l1tjetRefs_[i];
1126  ++j;
1127  }
1128  }
1129  void getObjects(int id, VRl1tjet& refs) const { getObjects(id, refs, 0, l1tjetIds_.size()); }
1130  void getObjects(int id, VRl1tjet& refs, size_type begin, size_type end) const {
1131  assert(begin <= end);
1132  assert(end <= l1tjetIds_.size());
1133  size_type n(0);
1134  for (size_type i = begin; i != end; ++i) {
1135  if (id == l1tjetIds_[i]) {
1136  ++n;
1137  }
1138  }
1139  refs.resize(n);
1140  size_type j(0);
1141  for (size_type i = begin; i != end; ++i) {
1142  if (id == l1tjetIds_[i]) {
1143  refs[j] = l1tjetRefs_[i];
1144  ++j;
1145  }
1146  }
1147  return;
1148  }
1149 
1150  void getObjects(Vids& ids, VRl1ttau& refs) const { getObjects(ids, refs, 0, l1ttauIds_.size()); }
1151  void getObjects(Vids& ids, VRl1ttau& refs, size_type begin, size_type end) const {
1152  assert(begin <= end);
1153  assert(end <= l1ttauIds_.size());
1154  const size_type n(end - begin);
1155  ids.resize(n);
1156  refs.resize(n);
1157  size_type j(0);
1158  for (size_type i = begin; i != end; ++i) {
1159  ids[j] = l1ttauIds_[i];
1160  refs[j] = l1ttauRefs_[i];
1161  ++j;
1162  }
1163  }
1164  void getObjects(int id, VRl1ttau& refs) const { getObjects(id, refs, 0, l1ttauIds_.size()); }
1165  void getObjects(int id, VRl1ttau& refs, size_type begin, size_type end) const {
1166  assert(begin <= end);
1167  assert(end <= l1ttauIds_.size());
1168  size_type n(0);
1169  for (size_type i = begin; i != end; ++i) {
1170  if (id == l1ttauIds_[i]) {
1171  ++n;
1172  }
1173  }
1174  refs.resize(n);
1175  size_type j(0);
1176  for (size_type i = begin; i != end; ++i) {
1177  if (id == l1ttauIds_[i]) {
1178  refs[j] = l1ttauRefs_[i];
1179  ++j;
1180  }
1181  }
1182  return;
1183  }
1184 
1185  void getObjects(Vids& ids, VRl1tetsum& refs) const { getObjects(ids, refs, 0, l1tetsumIds_.size()); }
1186  void getObjects(Vids& ids, VRl1tetsum& refs, size_type begin, size_type end) const {
1187  assert(begin <= end);
1188  assert(end <= l1tetsumIds_.size());
1189  const size_type n(end - begin);
1190  ids.resize(n);
1191  refs.resize(n);
1192  size_type j(0);
1193  for (size_type i = begin; i != end; ++i) {
1194  ids[j] = l1tetsumIds_[i];
1195  refs[j] = l1tetsumRefs_[i];
1196  ++j;
1197  }
1198  }
1199  void getObjects(int id, VRl1tetsum& refs) const { getObjects(id, refs, 0, l1tetsumIds_.size()); }
1200  void getObjects(int id, VRl1tetsum& refs, size_type begin, size_type end) const {
1201  assert(begin <= end);
1202  assert(end <= l1tetsumIds_.size());
1203  size_type n(0);
1204  for (size_type i = begin; i != end; ++i) {
1205  if (id == l1tetsumIds_[i]) {
1206  ++n;
1207  }
1208  }
1209  refs.resize(n);
1210  size_type j(0);
1211  for (size_type i = begin; i != end; ++i) {
1212  if (id == l1tetsumIds_[i]) {
1213  refs[j] = l1tetsumRefs_[i];
1214  ++j;
1215  }
1216  }
1217  return;
1218  }
1219 
1220  /* Phase-2 */
1221  void getObjects(Vids& ids, VRl1ttkmuon& refs) const { getObjects(ids, refs, 0, l1ttkmuonIds_.size()); }
1222  void getObjects(Vids& ids, VRl1ttkmuon& refs, size_type begin, size_type end) const {
1223  assert(begin <= end);
1224  assert(end <= l1ttkmuonIds_.size());
1225  const size_type n(end - begin);
1226  ids.resize(n);
1227  refs.resize(n);
1228  size_type j(0);
1229  for (size_type i = begin; i != end; ++i) {
1230  ids[j] = l1ttkmuonIds_[i];
1231  refs[j] = l1ttkmuonRefs_[i];
1232  ++j;
1233  }
1234  }
1235  void getObjects(int id, VRl1ttkmuon& refs) const { getObjects(id, refs, 0, l1ttkmuonIds_.size()); }
1236  void getObjects(int id, VRl1ttkmuon& refs, size_type begin, size_type end) const {
1237  assert(begin <= end);
1238  assert(end <= l1ttkmuonIds_.size());
1239  size_type n(0);
1240  for (size_type i = begin; i != end; ++i) {
1241  if (id == l1ttkmuonIds_[i]) {
1242  ++n;
1243  }
1244  }
1245  refs.resize(n);
1246  size_type j(0);
1247  for (size_type i = begin; i != end; ++i) {
1248  if (id == l1ttkmuonIds_[i]) {
1249  refs[j] = l1ttkmuonRefs_[i];
1250  ++j;
1251  }
1252  }
1253  return;
1254  }
1255 
1256  void getObjects(Vids& ids, VRl1ttkele& refs) const { getObjects(ids, refs, 0, l1ttkeleIds_.size()); }
1257  void getObjects(Vids& ids, VRl1ttkele& refs, size_type begin, size_type end) const {
1258  assert(begin <= end);
1259  assert(end <= l1ttkeleIds_.size());
1260  const size_type n(end - begin);
1261  ids.resize(n);
1262  refs.resize(n);
1263  size_type j(0);
1264  for (size_type i = begin; i != end; ++i) {
1265  ids[j] = l1ttkeleIds_[i];
1266  refs[j] = l1ttkeleRefs_[i];
1267  ++j;
1268  }
1269  }
1270  void getObjects(int id, VRl1ttkele& refs) const { getObjects(id, refs, 0, l1ttkeleIds_.size()); }
1271  void getObjects(int id, VRl1ttkele& refs, size_type begin, size_type end) const {
1272  assert(begin <= end);
1273  assert(end <= l1ttkeleIds_.size());
1274  size_type n(0);
1275  for (size_type i = begin; i != end; ++i) {
1276  if (id == l1ttkeleIds_[i]) {
1277  ++n;
1278  }
1279  }
1280  refs.resize(n);
1281  size_type j(0);
1282  for (size_type i = begin; i != end; ++i) {
1283  if (id == l1ttkeleIds_[i]) {
1284  refs[j] = l1ttkeleRefs_[i];
1285  ++j;
1286  }
1287  }
1288  return;
1289  }
1290 
1291  void getObjects(Vids& ids, VRl1ttkem& refs) const { getObjects(ids, refs, 0, l1ttkemIds_.size()); }
1292  void getObjects(Vids& ids, VRl1ttkem& refs, size_type begin, size_type end) const {
1293  assert(begin <= end);
1294  assert(end <= l1ttkemIds_.size());
1295  const size_type n(end - begin);
1296  ids.resize(n);
1297  refs.resize(n);
1298  size_type j(0);
1299  for (size_type i = begin; i != end; ++i) {
1300  ids[j] = l1ttkemIds_[i];
1301  refs[j] = l1ttkemRefs_[i];
1302  ++j;
1303  }
1304  }
1305  void getObjects(int id, VRl1ttkem& refs) const { getObjects(id, refs, 0, l1ttkemIds_.size()); }
1306  void getObjects(int id, VRl1ttkem& refs, size_type begin, size_type end) const {
1307  assert(begin <= end);
1308  assert(end <= l1ttkemIds_.size());
1309  size_type n(0);
1310  for (size_type i = begin; i != end; ++i) {
1311  if (id == l1ttkemIds_[i]) {
1312  ++n;
1313  }
1314  }
1315  refs.resize(n);
1316  size_type j(0);
1317  for (size_type i = begin; i != end; ++i) {
1318  if (id == l1ttkemIds_[i]) {
1319  refs[j] = l1ttkemRefs_[i];
1320  ++j;
1321  }
1322  }
1323  return;
1324  }
1325 
1326  void getObjects(Vids& ids, VRl1tpfjet& refs) const { getObjects(ids, refs, 0, l1tpfjetIds_.size()); }
1327  void getObjects(Vids& ids, VRl1tpfjet& refs, size_type begin, size_type end) const {
1328  assert(begin <= end);
1329  assert(end <= l1tpfjetIds_.size());
1330  const size_type n(end - begin);
1331  ids.resize(n);
1332  refs.resize(n);
1333  size_type j(0);
1334  for (size_type i = begin; i != end; ++i) {
1335  ids[j] = l1tpfjetIds_[i];
1336  refs[j] = l1tpfjetRefs_[i];
1337  ++j;
1338  }
1339  }
1340  void getObjects(int id, VRl1tpfjet& refs) const { getObjects(id, refs, 0, l1tpfjetIds_.size()); }
1341  void getObjects(int id, VRl1tpfjet& refs, size_type begin, size_type end) const {
1342  assert(begin <= end);
1343  assert(end <= l1tpfjetIds_.size());
1344  size_type n(0);
1345  for (size_type i = begin; i != end; ++i) {
1346  if (id == l1tpfjetIds_[i]) {
1347  ++n;
1348  }
1349  }
1350  refs.resize(n);
1351  size_type j(0);
1352  for (size_type i = begin; i != end; ++i) {
1353  if (id == l1tpfjetIds_[i]) {
1354  refs[j] = l1tpfjetRefs_[i];
1355  ++j;
1356  }
1357  }
1358  return;
1359  }
1360 
1361  void getObjects(Vids& ids, VRl1tpftau& refs) const { getObjects(ids, refs, 0, l1tpftauIds_.size()); }
1362  void getObjects(Vids& ids, VRl1tpftau& refs, size_type begin, size_type end) const {
1363  assert(begin <= end);
1364  assert(end <= l1tpftauIds_.size());
1365  const size_type n(end - begin);
1366  ids.resize(n);
1367  refs.resize(n);
1368  size_type j(0);
1369  for (size_type i = begin; i != end; ++i) {
1370  ids[j] = l1tpftauIds_[i];
1371  refs[j] = l1tpftauRefs_[i];
1372  ++j;
1373  }
1374  }
1375  void getObjects(int id, VRl1tpftau& refs) const { getObjects(id, refs, 0, l1tpftauIds_.size()); }
1376  void getObjects(int id, VRl1tpftau& refs, size_type begin, size_type end) const {
1377  assert(begin <= end);
1378  assert(end <= l1tpftauIds_.size());
1379  size_type n(0);
1380  for (size_type i = begin; i != end; ++i) {
1381  if (id == l1tpftauIds_[i]) {
1382  ++n;
1383  }
1384  }
1385  refs.resize(n);
1386  size_type j(0);
1387  for (size_type i = begin; i != end; ++i) {
1388  if (id == l1tpftauIds_[i]) {
1389  refs[j] = l1tpftauRefs_[i];
1390  ++j;
1391  }
1392  }
1393  return;
1394  }
1395 
1396  void getObjects(Vids& ids, VRl1thpspftau& refs) const { getObjects(ids, refs, 0, l1thpspftauIds_.size()); }
1397  void getObjects(Vids& ids, VRl1thpspftau& refs, size_type begin, size_type end) const {
1398  assert(begin <= end);
1399  assert(end <= l1thpspftauIds_.size());
1400  const size_type n(end - begin);
1401  ids.resize(n);
1402  refs.resize(n);
1403  size_type j(0);
1404  for (size_type i = begin; i != end; ++i) {
1405  ids[j] = l1thpspftauIds_[i];
1406  refs[j] = l1thpspftauRefs_[i];
1407  ++j;
1408  }
1409  }
1410  void getObjects(int id, VRl1thpspftau& refs) const { getObjects(id, refs, 0, l1thpspftauIds_.size()); }
1411  void getObjects(int id, VRl1thpspftau& refs, size_type begin, size_type end) const {
1412  assert(begin <= end);
1413  assert(end <= l1thpspftauIds_.size());
1414  size_type n(0);
1415  for (size_type i = begin; i != end; ++i) {
1416  if (id == l1thpspftauIds_[i]) {
1417  ++n;
1418  }
1419  }
1420  refs.resize(n);
1421  size_type j(0);
1422  for (size_type i = begin; i != end; ++i) {
1423  if (id == l1thpspftauIds_[i]) {
1424  refs[j] = l1thpspftauRefs_[i];
1425  ++j;
1426  }
1427  }
1428  return;
1429  }
1430 
1431  void getObjects(Vids& ids, VRl1tpftrack& refs) const { getObjects(ids, refs, 0, l1tpftrackIds_.size()); }
1432  void getObjects(Vids& ids, VRl1tpftrack& refs, size_type begin, size_type end) const {
1433  assert(begin <= end);
1434  assert(end <= l1tpftrackIds_.size());
1435  const size_type n(end - begin);
1436  ids.resize(n);
1437  refs.resize(n);
1438  size_type j(0);
1439  for (size_type i = begin; i != end; ++i) {
1440  ids[j] = l1tpftrackIds_[i];
1441  refs[j] = l1tpftrackRefs_[i];
1442  ++j;
1443  }
1444  }
1445  void getObjects(int id, VRl1tpftrack& refs) const { getObjects(id, refs, 0, l1tpftrackIds_.size()); }
1446  void getObjects(int id, VRl1tpftrack& refs, size_type begin, size_type end) const {
1447  assert(begin <= end);
1448  assert(end <= l1tpftrackIds_.size());
1449  size_type n(0);
1450  for (size_type i = begin; i != end; ++i) {
1451  if (id == l1tpftrackIds_[i]) {
1452  ++n;
1453  }
1454  }
1455  refs.resize(n);
1456  size_type j(0);
1457  for (size_type i = begin; i != end; ++i) {
1458  if (id == l1tpftrackIds_[i]) {
1459  refs[j] = l1tpftrackRefs_[i];
1460  ++j;
1461  }
1462  }
1463  return;
1464  }
1465 
1466  void getObjects(Vids& ids, VRpfjet& refs) const { getObjects(ids, refs, 0, pfjetIds_.size()); }
1467  void getObjects(Vids& ids, VRpfjet& refs, size_type begin, size_type end) const {
1468  assert(begin <= end);
1469  assert(end <= pfjetIds_.size());
1470  const size_type n(end - begin);
1471  ids.resize(n);
1472  refs.resize(n);
1473  size_type j(0);
1474  for (size_type i = begin; i != end; ++i) {
1475  ids[j] = pfjetIds_[i];
1476  refs[j] = pfjetRefs_[i];
1477  ++j;
1478  }
1479  }
1480  void getObjects(int id, VRpfjet& refs) const { getObjects(id, refs, 0, pfjetIds_.size()); }
1481  void getObjects(int id, VRpfjet& refs, size_type begin, size_type end) const {
1482  assert(begin <= end);
1483  assert(end <= pfjetIds_.size());
1484  size_type n(0);
1485  for (size_type i = begin; i != end; ++i) {
1486  if (id == pfjetIds_[i]) {
1487  ++n;
1488  }
1489  }
1490  refs.resize(n);
1491  size_type j(0);
1492  for (size_type i = begin; i != end; ++i) {
1493  if (id == pfjetIds_[i]) {
1494  refs[j] = pfjetRefs_[i];
1495  ++j;
1496  }
1497  }
1498  return;
1499  }
1500 
1501  void getObjects(Vids& ids, VRpftau& refs) const { getObjects(ids, refs, 0, pftauIds_.size()); }
1502  void getObjects(Vids& ids, VRpftau& refs, size_type begin, size_type end) const {
1503  assert(begin <= end);
1504  assert(end <= pftauIds_.size());
1505  const size_type n(end - begin);
1506  ids.resize(n);
1507  refs.resize(n);
1508  size_type j(0);
1509  for (size_type i = begin; i != end; ++i) {
1510  ids[j] = pftauIds_[i];
1511  refs[j] = pftauRefs_[i];
1512  ++j;
1513  }
1514  }
1515  void getObjects(int id, VRpftau& refs) const { getObjects(id, refs, 0, pftauIds_.size()); }
1516  void getObjects(int id, VRpftau& refs, size_type begin, size_type end) const {
1517  assert(begin <= end);
1518  assert(end <= pftauIds_.size());
1519  size_type n(0);
1520  for (size_type i = begin; i != end; ++i) {
1521  if (id == pftauIds_[i]) {
1522  ++n;
1523  }
1524  }
1525  refs.resize(n);
1526  size_type j(0);
1527  for (size_type i = begin; i != end; ++i) {
1528  if (id == pftauIds_[i]) {
1529  refs[j] = pftauRefs_[i];
1530  ++j;
1531  }
1532  }
1533  return;
1534  }
1535 
1536  void getObjects(Vids& ids, VRpfmet& refs) const { getObjects(ids, refs, 0, pfmetIds_.size()); }
1537  void getObjects(Vids& ids, VRpfmet& refs, size_type begin, size_type end) const {
1538  assert(begin <= end);
1539  assert(end <= pfmetIds_.size());
1540  const size_type n(end - begin);
1541  ids.resize(n);
1542  refs.resize(n);
1543  size_type j(0);
1544  for (size_type i = begin; i != end; ++i) {
1545  ids[j] = pfmetIds_[i];
1546  refs[j] = pfmetRefs_[i];
1547  ++j;
1548  }
1549  }
1550  void getObjects(int id, VRpfmet& refs) const { getObjects(id, refs, 0, pfmetIds_.size()); }
1551  void getObjects(int id, VRpfmet& refs, size_type begin, size_type end) const {
1552  assert(begin <= end);
1553  assert(end <= pfmetIds_.size());
1554  size_type n(0);
1555  for (size_type i = begin; i != end; ++i) {
1556  if (id == pfmetIds_[i]) {
1557  ++n;
1558  }
1559  }
1560  refs.resize(n);
1561  size_type j(0);
1562  for (size_type i = begin; i != end; ++i) {
1563  if (id == pfmetIds_[i]) {
1564  refs[j] = pfmetRefs_[i];
1565  ++j;
1566  }
1567  }
1568  return;
1569  }
1570 
1572  size_type photonSize() const { return photonIds_.size(); }
1573  const Vids& photonIds() const { return photonIds_; }
1574  const VRphoton& photonRefs() const { return photonRefs_; }
1575 
1576  size_type electronSize() const { return electronIds_.size(); }
1577  const Vids& electronIds() const { return electronIds_; }
1578  const VRelectron& electronRefs() const { return electronRefs_; }
1579 
1580  size_type muonSize() const { return muonIds_.size(); }
1581  const Vids& muonIds() const { return muonIds_; }
1582  const VRmuon& muonRefs() const { return muonRefs_; }
1583 
1584  size_type jetSize() const { return jetIds_.size(); }
1585  const Vids& jetIds() const { return jetIds_; }
1586  const VRjet& jetRefs() const { return jetRefs_; }
1587 
1588  size_type compositeSize() const { return compositeIds_.size(); }
1589  const Vids& compositeIds() const { return compositeIds_; }
1590  const VRcomposite& compositeRefs() const { return compositeRefs_; }
1591 
1592  size_type basemetSize() const { return basemetIds_.size(); }
1593  const Vids& basemetIds() const { return basemetIds_; }
1594  const VRbasemet& basemetRefs() const { return basemetRefs_; }
1595 
1596  size_type calometSize() const { return calometIds_.size(); }
1597  const Vids& calometIds() const { return calometIds_; }
1598  const VRcalomet& calometRefs() const { return calometRefs_; }
1599 
1600  size_type pixtrackSize() const { return pixtrackIds_.size(); }
1601  const Vids& pixtrackIds() const { return pixtrackIds_; }
1602  const VRpixtrack& pixtrackRefs() const { return pixtrackRefs_; }
1603 
1604  size_type l1emSize() const { return l1emIds_.size(); }
1605  const Vids& l1emIds() const { return l1emIds_; }
1606  const VRl1em& l1emRefs() const { return l1emRefs_; }
1607 
1608  size_type l1muonSize() const { return l1muonIds_.size(); }
1609  const Vids& l1muonIds() const { return l1muonIds_; }
1610  const VRl1muon& l1muonRefs() const { return l1muonRefs_; }
1611 
1612  size_type l1jetSize() const { return l1jetIds_.size(); }
1613  const Vids& l1jetIds() const { return l1jetIds_; }
1614  const VRl1jet& l1jetRefs() const { return l1jetRefs_; }
1615 
1616  size_type l1etmissSize() const { return l1etmissIds_.size(); }
1617  const Vids& l1etmissIds() const { return l1etmissIds_; }
1618  const VRl1etmiss& l1etmissRefs() const { return l1etmissRefs_; }
1619 
1620  size_type l1hfringsSize() const { return l1hfringsIds_.size(); }
1621  const Vids& l1hfringsIds() const { return l1hfringsIds_; }
1622  const VRl1hfrings& l1hfringsRefs() const { return l1hfringsRefs_; }
1623 
1624  size_type pfjetSize() const { return pfjetIds_.size(); }
1625  const Vids& pfjetIds() const { return pfjetIds_; }
1626  const VRpfjet& pfjetRefs() const { return pfjetRefs_; }
1627 
1628  size_type pftauSize() const { return pftauIds_.size(); }
1629  const Vids& pftauIds() const { return pftauIds_; }
1630  const VRpftau& pftauRefs() const { return pftauRefs_; }
1631 
1632  size_type pfmetSize() const { return pfmetIds_.size(); }
1633  const Vids& pfmetIds() const { return pfmetIds_; }
1634  const VRpfmet& pfmetRefs() const { return pfmetRefs_; }
1635 
1636  size_type l1tmuonSize() const { return l1tmuonIds_.size(); }
1637  const Vids& l1tmuonIds() const { return l1tmuonIds_; }
1638  const VRl1tmuon& l1tmuonRefs() const { return l1tmuonRefs_; }
1639 
1640  size_type l1tegammaSize() const { return l1tegammaIds_.size(); }
1641  const Vids& l1tegammaIds() const { return l1tegammaIds_; }
1642  const VRl1tegamma& l1tegammaRefs() const { return l1tegammaRefs_; }
1643 
1644  size_type l1tjetSize() const { return l1tjetIds_.size(); }
1645  const Vids& l1tjetIds() const { return l1tjetIds_; }
1646  const VRl1tjet& l1tjetRefs() const { return l1tjetRefs_; }
1647 
1648  /* Phase-2 */
1649 
1650  size_type l1ttkmuonSize() const { return l1ttkmuonIds_.size(); }
1651  const Vids& l1ttkmuonIds() const { return l1ttkmuonIds_; }
1652  const VRl1ttkmuon& l1ttkmuonRefs() const { return l1ttkmuonRefs_; }
1653 
1654  size_type l1ttkeleSize() const { return l1ttkeleIds_.size(); }
1655  const Vids& l1ttkeleIds() const { return l1ttkeleIds_; }
1656  const VRl1ttkele& l1ttkeleRefs() const { return l1ttkeleRefs_; }
1657 
1658  size_type l1ttkemSize() const { return l1ttkemIds_.size(); }
1659  const Vids& l1ttkemIds() const { return l1ttkemIds_; }
1660  const VRl1ttkem& l1ttkemRefs() const { return l1ttkemRefs_; }
1661 
1662  size_type l1tpfjetSize() const { return l1tpfjetIds_.size(); }
1663  const Vids& l1tpfjetIds() const { return l1tpfjetIds_; }
1664  const VRl1tpfjet& l1tpfjetRefs() const { return l1tpfjetRefs_; }
1665 
1666  size_type l1tpftauSize() const { return l1tpftauIds_.size(); }
1667  const Vids& l1tpftauIds() const { return l1tpftauIds_; }
1668  const VRl1tpftau& l1tpftauRefs() const { return l1tpftauRefs_; }
1669 
1670  size_type l1thpspftauSize() const { return l1thpspftauIds_.size(); }
1671  const Vids& l1thpspftauIds() const { return l1thpspftauIds_; }
1673 
1674  size_type l1tpftrackSize() const { return l1tpftrackIds_.size(); }
1675  const Vids& l1tpftrackIds() const { return l1tpftrackIds_; }
1676  const VRl1tpftrack& l1tpftrackRefs() const { return l1tpftrackRefs_; }
1677 
1678  size_type l1ttauSize() const { return l1ttauIds_.size(); }
1679  const Vids& l1ttauIds() const { return l1ttauIds_; }
1680  const VRl1ttau& l1ttauRefs() const { return l1ttauRefs_; }
1681 
1682  size_type l1tetsumSize() const { return l1tetsumIds_.size(); }
1683  const Vids& l1tetsumIds() const { return l1tetsumIds_; }
1684  const VRl1tetsum& l1tetsumRefs() const { return l1tetsumRefs_; }
1685  };
1686 
1687  // picked up via argument dependent lookup, e-g- by boost::swap()
1689 
1690 } // namespace trigger
1691 
1692 #endif
trigger::TriggerRefsCollections::addObject
void addObject(int id, const reco::RecoEcalCandidateRef &ref)
setters for L3 collections: (id=physics type, and Ref<C>)
Definition: TriggerRefsCollections.h:299
trigger::TriggerRefsCollections::addObject
void addObject(int id, const l1t::PFJetRef &ref)
Definition: TriggerRefsCollections.h:386
RefProd.h
trigger::VRl1tegamma
l1t::EGammaVectorRef VRl1tegamma
Definition: TriggerRefsCollections.h:83
TkEmFwd.h
trigger::TriggerRefsCollections::pfmetRefs_
VRpfmet pfmetRefs_
Definition: TriggerRefsCollections.h:165
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1tetsum &refs) const
Definition: TriggerRefsCollections.h:1185
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRpfjet &refs)
Definition: TriggerRefsCollections.h:570
trigger::TriggerRefsCollections::l1emRefs
const VRl1em & l1emRefs() const
Definition: TriggerRefsCollections.h:1606
CaloJetCollection.h
trigger::TriggerRefsCollections::l1ttkeleRefs_
VRl1ttkele l1ttkeleRefs_
Definition: TriggerRefsCollections.h:148
trigger::TriggerRefsCollections::l1muonIds
const Vids & l1muonIds() const
Definition: TriggerRefsCollections.h:1609
trigger::TriggerRefsCollections::addObject
void addObject(int id, const reco::ElectronRef &ref)
Definition: TriggerRefsCollections.h:303
trigger::TriggerRefsCollections::pftauIds
const Vids & pftauIds() const
Definition: TriggerRefsCollections.h:1629
trigger::TriggerRefsCollections::pfmetRefs
const VRpfmet & pfmetRefs() const
Definition: TriggerRefsCollections.h:1634
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1hfrings &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1025
mps_fire.i
i
Definition: mps_fire.py:428
trigger::TriggerRefsCollections::addObject
void addObject(int id, const reco::CompositeCandidateRef &ref)
Definition: TriggerRefsCollections.h:315
trigger::TriggerRefsCollections::l1tetsumIds_
Vids l1tetsumIds_
Definition: TriggerRefsCollections.h:141
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRbasemet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:780
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1hfrings &refs) const
Definition: TriggerRefsCollections.h:1024
trigger::TriggerRefsCollections::photonIds
const Vids & photonIds() const
Definition: TriggerRefsCollections.h:1573
PFTauFwd.h
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRpfmet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1537
L1HFRingsFwd.h
trigger::VRl1ttkele
l1t::TkElectronVectorRef VRl1ttkele
Definition: TriggerRefsCollections.h:90
trigger::TriggerRefsCollections::l1ttkmuonIds
const Vids & l1ttkmuonIds() const
Definition: TriggerRefsCollections.h:1651
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
trigger::TriggerRefsCollections::l1tegammaIds_
Vids l1tegammaIds_
Definition: TriggerRefsCollections.h:135
trigger::TriggerRefsCollections::compositeIds_
Vids compositeIds_
Definition: TriggerRefsCollections.h:113
trigger::VRphoton
std::vector< reco::RecoEcalCandidateRef > VRphoton
Definition: TriggerRefsCollections.h:67
trigger::TriggerRefsCollections::l1tpfjetIds
const Vids & l1tpfjetIds() const
Definition: TriggerRefsCollections.h:1663
trigger::TriggerRefsCollections::l1tegammaRefs_
VRl1tegamma l1tegammaRefs_
Definition: TriggerRefsCollections.h:136
L1MuonParticleFwd.h
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRphoton &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:605
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1tpfjet &refs) const
Definition: TriggerRefsCollections.h:1326
trigger::TriggerRefsCollections::pfjetRefs
const VRpfjet & pfjetRefs() const
Definition: TriggerRefsCollections.h:1626
trigger::Vids
std::vector< int > Vids
Definition: TriggerTypeDefs.h:21
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1ttkele &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1257
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1tpfjet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1341
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRl1tmuon &refs)
Definition: TriggerRefsCollections.h:489
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1etmiss &refs) const
Definition: TriggerRefsCollections.h:975
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRmuon &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:675
PFTau.h
trigger::TriggerRefsCollections::jetRefs_
VRjet jetRefs_
Definition: TriggerRefsCollections.h:112
trigger::TriggerRefsCollections::l1tpftrackRefs
const VRl1tpftrack & l1tpftrackRefs() const
Definition: TriggerRefsCollections.h:1676
trigger::TriggerRefsCollections::l1etmissIds_
Vids l1etmissIds_
Definition: TriggerRefsCollections.h:128
trigger::TriggerRefsCollections::pftauSize
size_type pftauSize() const
Definition: TriggerRefsCollections.h:1628
l1t::JetVectorRef
std::vector< JetRef > JetVectorRef
Definition: Jet.h:14
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1ttau &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1165
trigger::TriggerRefsCollections::l1etmissSize
size_type l1etmissSize() const
Definition: TriggerRefsCollections.h:1616
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRjet &refs)
Definition: TriggerRefsCollections.h:434
trigger::TriggerRefsCollections::l1tpftrackSize
size_type l1tpftrackSize() const
Definition: TriggerRefsCollections.h:1674
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1tpftau &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1376
l1t::PFTrackVectorRef
std::vector< l1t::PFTrackRef > PFTrackVectorRef
Definition: PFTrack.h:87
Muon.h
trigger::TriggerRefsCollections::photonSize
size_type photonSize() const
low-level getters for data members
Definition: TriggerRefsCollections.h:1572
trigger::TriggerRefsCollections::l1hfringsSize
size_type l1hfringsSize() const
Definition: TriggerRefsCollections.h:1620
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1hfrings &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1011
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1tmuon &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1046
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1tpftau &refs) const
Definition: TriggerRefsCollections.h:1361
trigger::TriggerRefsCollections::muonRefs_
VRmuon muonRefs_
Definition: TriggerRefsCollections.h:110
PFJetCollection.h
trigger::TriggerRefsCollections::l1ttkmuonRefs
const VRl1ttkmuon & l1ttkmuonRefs() const
Definition: TriggerRefsCollections.h:1652
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRcomposite &refs) const
Definition: TriggerRefsCollections.h:730
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1ttkmuon &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1236
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRpfjet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1467
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1ttkele &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1271
trigger::TriggerRefsCollections::pfmetSize
size_type pfmetSize() const
Definition: TriggerRefsCollections.h:1632
trigger::TriggerRefsCollections::l1ttauRefs
const VRl1ttau & l1ttauRefs() const
Definition: TriggerRefsCollections.h:1680
trigger::TriggerRefsCollections::compositeIds
const Vids & compositeIds() const
Definition: TriggerRefsCollections.h:1589
cms::cuda::assert
assert(be >=bs)
TriggerTypeDefs.h
Jet.h
edm::second
U second(std::pair< T, U > const &p)
Definition: ParameterSet.cc:222
trigger::TriggerRefsCollections::pftauRefs_
VRpftau pftauRefs_
Definition: TriggerRefsCollections.h:163
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1tmuon &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1060
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1tetsum &refs) const
Definition: TriggerRefsCollections.h:1199
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRcalomet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:801
trigger::TriggerRefsCollections::l1muonRefs_
VRl1muon l1muonRefs_
Definition: TriggerRefsCollections.h:125
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1tjet &refs) const
Definition: TriggerRefsCollections.h:1129
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRl1etmiss &refs)
Definition: TriggerRefsCollections.h:483
trigger::VRbasemet
std::vector< reco::METRef > VRbasemet
Definition: TriggerRefsCollections.h:72
trigger::TriggerRefsCollections::l1thpspftauIds_
Vids l1thpspftauIds_
Definition: TriggerRefsCollections.h:155
trigger::TriggerRefsCollections::addObject
void addObject(int id, const reco::IsolatedPixelTrackCandidateRef &ref)
Definition: TriggerRefsCollections.h:327
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRl1muon &refs)
Definition: TriggerRefsCollections.h:471
trigger::TriggerRefsCollections::addObject
void addObject(int id, const l1extra::L1EmParticleRef &ref)
Definition: TriggerRefsCollections.h:332
trigger::TriggerRefsCollections::l1tpftrackIds_
Vids l1tpftrackIds_
Definition: TriggerRefsCollections.h:157
trigger::TriggerRefsCollections::addObject
void addObject(int id, const reco::METRef &ref)
Definition: TriggerRefsCollections.h:319
trigger::TriggerRefsCollections::l1hfringsIds
const Vids & l1hfringsIds() const
Definition: TriggerRefsCollections.h:1621
l1t::PFJetVectorRef
std::vector< l1t::PFJetRef > PFJetVectorRef
Definition: PFJet.h:46
trigger::TriggerRefsCollections::l1muonSize
size_type l1muonSize() const
Definition: TriggerRefsCollections.h:1608
trigger::VRl1hfrings
std::vector< l1extra::L1HFRingsRef > VRl1hfrings
Definition: TriggerRefsCollections.h:80
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRcomposite &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:731
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1etmiss &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:990
trigger::TriggerRefsCollections::l1tegammaRefs
const VRl1tegamma & l1tegammaRefs() const
Definition: TriggerRefsCollections.h:1642
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRelectron &refs) const
Definition: TriggerRefsCollections.h:639
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1ttkmuon &refs) const
Definition: TriggerRefsCollections.h:1235
trigger::VRpixtrack
std::vector< reco::IsolatedPixelTrackCandidateRef > VRpixtrack
Definition: TriggerRefsCollections.h:74
trigger::TriggerRefsCollections::compositeRefs_
VRcomposite compositeRefs_
Definition: TriggerRefsCollections.h:114
trigger::TriggerRefsCollections::electronRefs
const VRelectron & electronRefs() const
Definition: TriggerRefsCollections.h:1578
trigger::TriggerRefsCollections::basemetRefs_
VRbasemet basemetRefs_
Definition: TriggerRefsCollections.h:116
trigger::TriggerRefsCollections::pftauIds_
Vids pftauIds_
Definition: TriggerRefsCollections.h:162
trigger::TriggerRefsCollections::l1tegammaSize
size_type l1tegammaSize() const
Definition: TriggerRefsCollections.h:1640
trigger::VRl1ttkmuon
l1t::TkMuonVectorRef VRl1ttkmuon
Definition: TriggerRefsCollections.h:89
l1t::EGammaVectorRef
std::vector< EGammaRef > EGammaVectorRef
Definition: TkEGTau.h:36
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRl1ttkmuon &refs)
Definition: TriggerRefsCollections.h:527
trigger::TriggerRefsCollections::electronSize
size_type electronSize() const
Definition: TriggerRefsCollections.h:1576
trigger::TriggerRefsCollections::l1etmissRefs
const VRl1etmiss & l1etmissRefs() const
Definition: TriggerRefsCollections.h:1618
trigger::TriggerRefsCollections::l1ttkemIds_
Vids l1ttkemIds_
Definition: TriggerRefsCollections.h:149
trigger::TriggerRefsCollections::jetIds_
Vids jetIds_
Definition: TriggerRefsCollections.h:111
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1tegamma &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1081
trigger::TriggerRefsCollections::pixtrackRefs_
VRpixtrack pixtrackRefs_
Definition: TriggerRefsCollections.h:120
trigger::TriggerRefsCollections::l1ttkeleSize
size_type l1ttkeleSize() const
Definition: TriggerRefsCollections.h:1654
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRpixtrack &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:850
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
Definition: TriggerRefsCollections.h:590
trigger::TriggerRefsCollections::TriggerRefsCollections
TriggerRefsCollections()
methods
Definition: TriggerRefsCollections.h:170
trigger::TriggerRefsCollections::l1tjetRefs
const VRl1tjet & l1tjetRefs() const
Definition: TriggerRefsCollections.h:1646
CaloMETFwd.h
trigger::TriggerRefsCollections::photonRefs
const VRphoton & photonRefs() const
Definition: TriggerRefsCollections.h:1574
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1ttau &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1151
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::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRpfjet &refs) const
Definition: TriggerRefsCollections.h:1466
edm::Ref
Definition: AssociativeIterator.h:58
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1em &refs) const
Definition: TriggerRefsCollections.h:870
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRpfjet &refs) const
Definition: TriggerRefsCollections.h:1480
TkMuon.h
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRl1tpfjet &refs)
Definition: TriggerRefsCollections.h:545
trigger::VRl1tjet
l1t::JetVectorRef VRl1tjet
Definition: TriggerRefsCollections.h:84
trigger::TriggerRefsCollections::pfjetIds_
Vids pfjetIds_
Definition: TriggerRefsCollections.h:160
trigger::TriggerRefsCollections::l1tmuonIds
const Vids & l1tmuonIds() const
Definition: TriggerRefsCollections.h:1637
trigger::TriggerRefsCollections::pfjetRefs_
VRpfjet pfjetRefs_
Definition: TriggerRefsCollections.h:161
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRl1ttkele &refs)
Definition: TriggerRefsCollections.h:533
trigger::TriggerRefsCollections::addObject
void addObject(int id, const l1t::EGammaRef &ref)
Definition: TriggerRefsCollections.h:356
trigger::TriggerRefsCollections::l1ttkeleRefs
const VRl1ttkele & l1ttkeleRefs() const
Definition: TriggerRefsCollections.h:1656
trigger::TriggerRefsCollections::l1tetsumSize
size_type l1tetsumSize() const
Definition: TriggerRefsCollections.h:1682
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRmuon &refs) const
Definition: TriggerRefsCollections.h:674
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1jet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:955
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1muon &refs) const
Definition: TriggerRefsCollections.h:905
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRcalomet &refs) const
Definition: TriggerRefsCollections.h:814
trigger::TriggerRefsCollections::l1etmissRefs_
VRl1etmiss l1etmissRefs_
Definition: TriggerRefsCollections.h:129
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1tjet &refs) const
Definition: TriggerRefsCollections.h:1115
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1em &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:885
trigger::size_type
uint16_t size_type
Definition: TriggerTypeDefs.h:18
trigger::TriggerRefsCollections::compositeRefs
const VRcomposite & compositeRefs() const
Definition: TriggerRefsCollections.h:1590
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1tjet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1130
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1thpspftau &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1397
trigger::TriggerRefsCollections::l1tmuonIds_
Vids l1tmuonIds_
Definition: TriggerRefsCollections.h:133
trigger::TriggerRefsCollections::addObject
void addObject(int id, const reco::RecoChargedCandidateRef &ref)
Definition: TriggerRefsCollections.h:307
trigger::VRl1tpftrack
l1t::PFTrackVectorRef VRl1tpftrack
Definition: TriggerRefsCollections.h:95
std::swap
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
Definition: DataFrameContainer.h:209
trigger::TriggerRefsCollections::addObject
void addObject(int id, const l1t::PFTrackRef &ref)
Definition: TriggerRefsCollections.h:398
trigger::TriggerRefsCollections::pfjetSize
size_type pfjetSize() const
Definition: TriggerRefsCollections.h:1624
trigger::TriggerRefsCollections::l1jetIds
const Vids & l1jetIds() const
Definition: TriggerRefsCollections.h:1613
EGamma.h
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRcalomet &refs) const
Definition: TriggerRefsCollections.h:800
trigger::TriggerRefsCollections::addObject
void addObject(int id, const l1extra::L1MuonParticleRef &ref)
Definition: TriggerRefsCollections.h:336
trigger::TriggerRefsCollections::l1ttkemSize
size_type l1ttkemSize() const
Definition: TriggerRefsCollections.h:1658
l1t::TkMuonVectorRef
std::vector< TkMuonRef > TkMuonVectorRef
Definition: TkMuonFwd.h:22
mps_fire.end
end
Definition: mps_fire.py:242
trigger::TriggerRefsCollections::l1jetRefs
const VRl1jet & l1jetRefs() const
Definition: TriggerRefsCollections.h:1614
trigger::TriggerRefsCollections::l1tmuonSize
size_type l1tmuonSize() const
Definition: TriggerRefsCollections.h:1636
trigger::TriggerRefsCollections::calometIds_
Vids calometIds_
Definition: TriggerRefsCollections.h:117
trigger::TriggerRefsCollections::l1emRefs_
VRl1em l1emRefs_
Definition: TriggerRefsCollections.h:123
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1ttkele &refs) const
Definition: TriggerRefsCollections.h:1270
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1jet &refs) const
Definition: TriggerRefsCollections.h:940
trigger::VRl1etmiss
std::vector< l1extra::L1EtMissParticleRef > VRl1etmiss
Definition: TriggerRefsCollections.h:79
trigger::TriggerRefsCollections::photonRefs_
VRphoton photonRefs_
Definition: TriggerRefsCollections.h:106
trigger::TriggerRefsCollections::addObject
void addObject(int id, const reco::PFTauRef &ref)
Definition: TriggerRefsCollections.h:406
trigger::TriggerRefsCollections::l1thpspftauRefs_
VRl1thpspftau l1thpspftauRefs_
Definition: TriggerRefsCollections.h:156
trigger::TriggerRefsCollections::l1ttkemRefs
const VRl1ttkem & l1ttkemRefs() const
Definition: TriggerRefsCollections.h:1660
trigger::TriggerRefsCollections::l1ttauSize
size_type l1ttauSize() const
Definition: TriggerRefsCollections.h:1678
trackingPlots.other
other
Definition: trackingPlots.py:1460
trigger::VRl1ttkem
l1t::TkEmVectorRef VRl1ttkem
Definition: TriggerRefsCollections.h:91
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1em &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:871
trigger::TriggerRefsCollections::photonIds_
Vids photonIds_
data members
Definition: TriggerRefsCollections.h:105
trigger::TriggerRefsCollections::l1hfringsRefs
const VRl1hfrings & l1hfringsRefs() const
Definition: TriggerRefsCollections.h:1622
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRl1hfrings &refs)
Definition: TriggerRefsCollections.h:519
trigger::VRl1muon
std::vector< l1extra::L1MuonParticleRef > VRl1muon
Definition: TriggerRefsCollections.h:77
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRcomposite &refs) const
Definition: TriggerRefsCollections.h:744
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1ttkmuon &refs) const
Definition: TriggerRefsCollections.h:1221
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1etmiss &refs) const
Definition: TriggerRefsCollections.h:989
trigger::TriggerRefsCollections::l1hfringsRefs_
VRl1hfrings l1hfringsRefs_
Definition: TriggerRefsCollections.h:131
trigger::TriggerRefsCollections::addObject
void addObject(int id, const l1t::TkEmRef &ref)
Definition: TriggerRefsCollections.h:382
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1tpftrack &refs) const
Definition: TriggerRefsCollections.h:1445
first
auto first
Definition: CAHitNtupletGeneratorKernelsImpl.h:112
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRphoton &refs) const
Definition: TriggerRefsCollections.h:604
trigger::TriggerRefsCollections::l1ttkeleIds
const Vids & l1ttkeleIds() const
Definition: TriggerRefsCollections.h:1655
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1thpspftau &refs) const
Definition: TriggerRefsCollections.h:1396
HPSPFTauFwd.h
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRmuon &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:661
trigger::TriggerRefsCollections::electronIds_
Vids electronIds_
Definition: TriggerRefsCollections.h:107
trigger::TriggerRefsCollections::l1thpspftauRefs
const VRl1thpspftau & l1thpspftauRefs() const
Definition: TriggerRefsCollections.h:1672
trigger::TriggerRefsCollections::pfmetIds
const Vids & pfmetIds() const
Definition: TriggerRefsCollections.h:1633
L1EmParticleFwd.h
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1tjet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1116
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1tegamma &refs) const
Definition: TriggerRefsCollections.h:1094
trigger::TriggerRefsCollections::l1tjetSize
size_type l1tjetSize() const
Definition: TriggerRefsCollections.h:1644
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1tetsum &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1186
trigger::TriggerRefsCollections::addObject
void addObject(int id, const reco::CaloMETRef &ref)
Definition: TriggerRefsCollections.h:323
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1ttkem &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1292
trigger::TriggerRefsCollections::l1hfringsIds_
Vids l1hfringsIds_
Definition: TriggerRefsCollections.h:130
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1ttkele &refs) const
Definition: TriggerRefsCollections.h:1256
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRcomposite &refs)
Definition: TriggerRefsCollections.h:440
trigger::TriggerRefsCollections::addObject
void addObject(int id, const l1t::EtSumRef &ref)
Definition: TriggerRefsCollections.h:368
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRphoton &refs)
Definition: TriggerRefsCollections.h:416
CompositeCandidateFwd.h
ElectronFwd.h
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1em &refs) const
Definition: TriggerRefsCollections.h:884
trigger::TriggerRefsCollections::l1tjetRefs_
VRl1tjet l1tjetRefs_
Definition: TriggerRefsCollections.h:138
L1JetParticleFwd.h
trigger::TriggerRefsCollections::l1ttauIds_
Vids l1ttauIds_
Definition: TriggerRefsCollections.h:139
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRl1ttkem &refs)
Definition: TriggerRefsCollections.h:539
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1etmiss &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:976
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1ttau &refs) const
Definition: TriggerRefsCollections.h:1164
L1EtMissParticleFwd.h
trigger::TriggerRefsCollections::swap
void swap(TriggerRefsCollections &other)
utility
Definition: TriggerRefsCollections.h:234
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1tegamma &refs) const
Definition: TriggerRefsCollections.h:1080
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRmuon &refs) const
Definition: TriggerRefsCollections.h:660
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRl1tpftrack &refs)
Definition: TriggerRefsCollections.h:563
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRl1tetsum &refs)
Definition: TriggerRefsCollections.h:513
trigger::VRl1thpspftau
l1t::HPSPFTauVectorRef VRl1thpspftau
Definition: TriggerRefsCollections.h:93
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRl1jet &refs)
Definition: TriggerRefsCollections.h:477
trigger::TriggerRefsCollections::l1tegammaIds
const Vids & l1tegammaIds() const
Definition: TriggerRefsCollections.h:1641
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1tegamma &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1095
trigger::VRpfjet
std::vector< reco::PFJetRef > VRpfjet
Definition: TriggerRefsCollections.h:97
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRbasemet &refs) const
Definition: TriggerRefsCollections.h:765
trigger::TriggerRefsCollections::l1tpftauSize
size_type l1tpftauSize() const
Definition: TriggerRefsCollections.h:1666
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRelectron &refs)
Definition: TriggerRefsCollections.h:422
trigger::TriggerRefsCollections::addObject
void addObject(int id, const l1t::TkMuonRef &ref)
Definition: TriggerRefsCollections.h:374
trigger::TriggerRefsCollections::addObject
void addObject(int id, const l1t::TauRef &ref)
Definition: TriggerRefsCollections.h:364
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRpixtrack &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:836
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRpftau &refs)
Definition: TriggerRefsCollections.h:576
trigger::TriggerRefsCollections::l1ttkmuonIds_
Vids l1ttkmuonIds_
Definition: TriggerRefsCollections.h:145
trigger::TriggerRefsCollections::addObject
void addObject(int id, const l1extra::L1HFRingsRef &ref)
Definition: TriggerRefsCollections.h:348
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRbasemet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:766
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRphoton &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:591
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRl1tpftau &refs)
Definition: TriggerRefsCollections.h:551
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRjet &refs) const
Definition: TriggerRefsCollections.h:695
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRpixtrack &refs) const
Definition: TriggerRefsCollections.h:835
trigger::TriggerRefsCollections::l1tpfjetIds_
Vids l1tpfjetIds_
Definition: TriggerRefsCollections.h:151
trigger::TriggerRefsCollections::calometIds
const Vids & calometIds() const
Definition: TriggerRefsCollections.h:1597
trigger::VRl1em
std::vector< l1extra::L1EmParticleRef > VRl1em
Definition: TriggerRefsCollections.h:76
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1jet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:941
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRjet &refs) const
Definition: TriggerRefsCollections.h:709
trigger::TriggerRefsCollections::pixtrackIds
const Vids & pixtrackIds() const
Definition: TriggerRefsCollections.h:1601
trigger::TriggerRefsCollections::calometRefs_
VRcalomet calometRefs_
Definition: TriggerRefsCollections.h:118
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRpfmet &refs)
Definition: TriggerRefsCollections.h:582
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1ttkem &refs) const
Definition: TriggerRefsCollections.h:1291
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRl1ttau &refs)
Definition: TriggerRefsCollections.h:507
trigger::TriggerRefsCollections
Definition: TriggerRefsCollections.h:101
trigger::TriggerRefsCollections::l1tpftauIds_
Vids l1tpftauIds_
Definition: TriggerRefsCollections.h:153
trigger::TriggerRefsCollections::addObject
void addObject(int id, const reco::PFMETRef &ref)
Definition: TriggerRefsCollections.h:410
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1ttkmuon &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1222
TkEm.h
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRpfmet &refs) const
Definition: TriggerRefsCollections.h:1536
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1tmuon &refs) const
Definition: TriggerRefsCollections.h:1045
trigger::TriggerRefsCollections::pixtrackIds_
Vids pixtrackIds_
Definition: TriggerRefsCollections.h:119
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRelectron &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:626
trigger::TriggerRefsCollections::l1muonIds_
Vids l1muonIds_
Definition: TriggerRefsCollections.h:124
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRpftau &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1516
trigger::TriggerRefsCollections::l1etmissIds
const Vids & l1etmissIds() const
Definition: TriggerRefsCollections.h:1617
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRpfjet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1481
trigger::TriggerRefsCollections::l1tetsumRefs_
VRl1tetsum l1tetsumRefs_
Definition: TriggerRefsCollections.h:142
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1muon &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:906
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1hfrings &refs) const
Definition: TriggerRefsCollections.h:1010
trigger::TriggerRefsCollections::l1tpfjetSize
size_type l1tpfjetSize() const
Definition: TriggerRefsCollections.h:1662
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1thpspftau &refs) const
Definition: TriggerRefsCollections.h:1410
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRl1thpspftau &refs)
Definition: TriggerRefsCollections.h:557
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRl1tegamma &refs)
Definition: TriggerRefsCollections.h:495
trigger::TriggerRefsCollections::l1tjetIds_
Vids l1tjetIds_
Definition: TriggerRefsCollections.h:137
trigger::TriggerRefsCollections::muonIds
const Vids & muonIds() const
Definition: TriggerRefsCollections.h:1581
trigger::TriggerRefsCollections::l1muonRefs
const VRl1muon & l1muonRefs() const
Definition: TriggerRefsCollections.h:1610
trigger::TriggerRefsCollections::l1tjetIds
const Vids & l1tjetIds() const
Definition: TriggerRefsCollections.h:1645
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1tpftrack &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1432
trigger::TriggerRefsCollections::l1ttauIds
const Vids & l1ttauIds() const
Definition: TriggerRefsCollections.h:1679
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRbasemet &refs)
Definition: TriggerRefsCollections.h:446
trigger::swap
void swap(TriggerFilterObjectWithRefs &first, TriggerFilterObjectWithRefs &second)
Definition: TriggerFilterObjectWithRefs.h:78
trigger::VRelectron
std::vector< reco::ElectronRef > VRelectron
Definition: TriggerRefsCollections.h:68
trigger::TriggerRefsCollections::l1jetIds_
Vids l1jetIds_
Definition: TriggerRefsCollections.h:126
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1ttau &refs) const
Definition: TriggerRefsCollections.h:1150
trigger::TriggerRefsCollections::addObject
void addObject(int id, const reco::PFJetRef &ref)
Definition: TriggerRefsCollections.h:402
trigger::TriggerRefsCollections::addObject
void addObject(int id, const reco::CaloJetRef &ref)
Definition: TriggerRefsCollections.h:311
trigger::TriggerRefsCollections::pixtrackRefs
const VRpixtrack & pixtrackRefs() const
Definition: TriggerRefsCollections.h:1602
trigger::TriggerRefsCollections::jetSize
size_type jetSize() const
Definition: TriggerRefsCollections.h:1584
TkElectron.h
trigger::TriggerRefsCollections::muonRefs
const VRmuon & muonRefs() const
Definition: TriggerRefsCollections.h:1582
PFMETFwd.h
trigger::VRjet
std::vector< reco::CaloJetRef > VRjet
Definition: TriggerRefsCollections.h:70
trigger::TriggerRefsCollections::l1ttkeleIds_
Vids l1ttkeleIds_
Definition: TriggerRefsCollections.h:147
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRpftau &refs) const
Definition: TriggerRefsCollections.h:1515
HPSPFTau.h
trigger::TriggerRefsCollections::l1tmuonRefs
const VRl1tmuon & l1tmuonRefs() const
Definition: TriggerRefsCollections.h:1638
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRl1em &refs)
Definition: TriggerRefsCollections.h:465
trigger::VRl1tpfjet
l1t::PFJetVectorRef VRl1tpfjet
Definition: TriggerRefsCollections.h:92
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRjet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:710
trigger::VRcalomet
std::vector< reco::CaloMETRef > VRcalomet
Definition: TriggerRefsCollections.h:73
trigger::TriggerRefsCollections::l1ttkmuonSize
size_type l1ttkmuonSize() const
Definition: TriggerRefsCollections.h:1650
Ref.h
trigger::TriggerRefsCollections::l1emSize
size_type l1emSize() const
Definition: TriggerRefsCollections.h:1604
trigger::TriggerRefsCollections::addObject
void addObject(int id, const l1extra::L1EtMissParticleRef &ref)
Definition: TriggerRefsCollections.h:344
trigger::TriggerRefsCollections::pfmetIds_
Vids pfmetIds_
Definition: TriggerRefsCollections.h:164
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1tpfjet &refs) const
Definition: TriggerRefsCollections.h:1340
trigger::TriggerRefsCollections::basemetRefs
const VRbasemet & basemetRefs() const
Definition: TriggerRefsCollections.h:1594
TkElectronFwd.h
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1tpfjet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1327
trigger::TriggerRefsCollections::l1ttauRefs_
VRl1ttau l1ttauRefs_
Definition: TriggerRefsCollections.h:140
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRpftau &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1502
trigger::VRl1ttau
l1t::TauVectorRef VRl1ttau
Definition: TriggerRefsCollections.h:85
l1t::PFTauVectorRef
std::vector< l1t::PFTauRef > PFTauVectorRef
Definition: PFTau.h:65
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1thpspftau &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1411
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRelectron &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:640
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRpfmet &refs) const
Definition: TriggerRefsCollections.h:1550
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1tpftau &refs) const
Definition: TriggerRefsCollections.h:1375
trigger::TriggerRefsCollections::addObject
void addObject(int id, const l1extra::L1JetParticleRef &ref)
Definition: TriggerRefsCollections.h:340
trigger::TriggerRefsCollections::l1tpfjetRefs
const VRl1tpfjet & l1tpfjetRefs() const
Definition: TriggerRefsCollections.h:1664
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1tmuon &refs) const
Definition: TriggerRefsCollections.h:1059
trigger::VRcomposite
std::vector< reco::CompositeCandidateRef > VRcomposite
Definition: TriggerRefsCollections.h:71
trigger::VRl1jet
std::vector< l1extra::L1JetParticleRef > VRl1jet
Definition: TriggerRefsCollections.h:78
trigger::VRmuon
std::vector< reco::RecoChargedCandidateRef > VRmuon
Definition: TriggerRefsCollections.h:69
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRmuon &refs)
Definition: TriggerRefsCollections.h:428
trigger::TriggerRefsCollections::addObject
void addObject(int id, const l1t::MuonRef &ref)
Definition: TriggerRefsCollections.h:352
trigger::VRpfmet
std::vector< reco::PFMETRef > VRpfmet
Definition: TriggerRefsCollections.h:99
METFwd.h
trigger::TriggerRefsCollections::basemetIds_
Vids basemetIds_
Definition: TriggerRefsCollections.h:115
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1muon &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:920
trigger::TriggerRefsCollections::l1jetSize
size_type l1jetSize() const
Definition: TriggerRefsCollections.h:1612
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRjet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:696
trigger::TriggerRefsCollections::pixtrackSize
size_type pixtrackSize() const
Definition: TriggerRefsCollections.h:1600
trigger::TriggerRefsCollections::electronRefs_
VRelectron electronRefs_
Definition: TriggerRefsCollections.h:108
trigger::VRl1tmuon
l1t::MuonVectorRef VRl1tmuon
Definition: TriggerRefsCollections.h:82
trigger::TriggerRefsCollections::l1ttkmuonRefs_
VRl1ttkmuon l1ttkmuonRefs_
Definition: TriggerRefsCollections.h:146
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRl1tjet &refs)
Definition: TriggerRefsCollections.h:501
trigger::TriggerRefsCollections::calometSize
size_type calometSize() const
Definition: TriggerRefsCollections.h:1596
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRpftau &refs) const
Definition: TriggerRefsCollections.h:1501
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRelectron &refs) const
Definition: TriggerRefsCollections.h:625
l1t::TauVectorRef
std::vector< TauRef > TauVectorRef
Definition: Tau.h:14
trigger::TriggerRefsCollections::l1tpftauRefs_
VRl1tpftau l1tpftauRefs_
Definition: TriggerRefsCollections.h:154
trigger::TriggerRefsCollections::l1thpspftauSize
size_type l1thpspftauSize() const
Definition: TriggerRefsCollections.h:1670
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1muon &refs) const
Definition: TriggerRefsCollections.h:919
trigger::TriggerRefsCollections::basemetIds
const Vids & basemetIds() const
Definition: TriggerRefsCollections.h:1593
trigger::TriggerRefsCollections::compositeSize
size_type compositeSize() const
Definition: TriggerRefsCollections.h:1588
trigger::TriggerRefsCollections::addObject
void addObject(int id, const l1t::HPSPFTauRef &ref)
Definition: TriggerRefsCollections.h:394
l1t::MuonVectorRef
std::vector< MuonRef > MuonVectorRef
Definition: Muon.h:15
l1t::HPSPFTauVectorRef
std::vector< HPSPFTauRef > HPSPFTauVectorRef
Definition: HPSPFTauFwd.h:16
RecoEcalCandidateFwd.h
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRbasemet &refs) const
Definition: TriggerRefsCollections.h:779
trigger::TriggerRefsCollections::l1thpspftauIds
const Vids & l1thpspftauIds() const
Definition: TriggerRefsCollections.h:1671
trigger
Definition: HLTPrescaleTableCond.h:8
trigger::TriggerRefsCollections::l1tmuonRefs_
VRl1tmuon l1tmuonRefs_
Definition: TriggerRefsCollections.h:134
trigger::TriggerRefsCollections::l1jetRefs_
VRl1jet l1jetRefs_
Definition: TriggerRefsCollections.h:127
trigger::TriggerRefsCollections::l1tpftrackIds
const Vids & l1tpftrackIds() const
Definition: TriggerRefsCollections.h:1675
l1t::TkElectronVectorRef
std::vector< TkElectronRef > TkElectronVectorRef
Definition: TkElectronFwd.h:21
trigger::TriggerRefsCollections::l1emIds_
Vids l1emIds_
Definition: TriggerRefsCollections.h:122
trigger::VRpftau
std::vector< reco::PFTauRef > VRpftau
Definition: TriggerRefsCollections.h:98
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1tpftrack &refs) const
Definition: TriggerRefsCollections.h:1431
trigger::TriggerRefsCollections::l1ttkemIds
const Vids & l1ttkemIds() const
Definition: TriggerRefsCollections.h:1659
trigger::TriggerRefsCollections::addObject
void addObject(int id, const l1t::TkElectronRef &ref)
Definition: TriggerRefsCollections.h:378
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1tpftrack &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1446
trigger::TriggerRefsCollections::muonIds_
Vids muonIds_
Definition: TriggerRefsCollections.h:109
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRpixtrack &refs)
Definition: TriggerRefsCollections.h:458
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1ttkem &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1306
trigger::TriggerRefsCollections::l1tpfjetRefs_
VRl1tpfjet l1tpfjetRefs_
Definition: TriggerRefsCollections.h:152
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1tetsum &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1200
EtSum.h
trigger::TriggerRefsCollections::l1tetsumIds
const Vids & l1tetsumIds() const
Definition: TriggerRefsCollections.h:1683
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRcalomet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:815
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
trigger::TriggerRefsCollections::l1tpftrackRefs_
VRl1tpftrack l1tpftrackRefs_
Definition: TriggerRefsCollections.h:158
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1ttkem &refs) const
Definition: TriggerRefsCollections.h:1305
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1tpftau &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1362
trigger::TriggerRefsCollections::pfjetIds
const Vids & pfjetIds() const
Definition: TriggerRefsCollections.h:1625
trigger::TriggerRefsCollections::l1tetsumRefs
const VRl1tetsum & l1tetsumRefs() const
Definition: TriggerRefsCollections.h:1684
RecoChargedCandidateFwd.h
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRcalomet &refs)
Definition: TriggerRefsCollections.h:452
trigger::TriggerRefsCollections::l1emIds
const Vids & l1emIds() const
Definition: TriggerRefsCollections.h:1605
l1t::TkEmVectorRef
std::vector< TkEmRef > TkEmVectorRef
Definition: TkEmFwd.h:22
trigger::TriggerRefsCollections::addObject
void addObject(int id, const l1t::JetRef &ref)
Definition: TriggerRefsCollections.h:360
TkMuonFwd.h
l1t::EtSumVectorRef
std::vector< EtSumRef > EtSumVectorRef
Definition: EtSum.h:14
IsolatedPixelTrackCandidateFwd.h
trigger::TriggerRefsCollections::pftauRefs
const VRpftau & pftauRefs() const
Definition: TriggerRefsCollections.h:1630
trigger::VRl1tetsum
l1t::EtSumVectorRef VRl1tetsum
Definition: TriggerRefsCollections.h:86
trigger::TriggerRefsCollections::basemetSize
size_type basemetSize() const
Definition: TriggerRefsCollections.h:1592
PFJet.h
trigger::TriggerRefsCollections::l1tpftauIds
const Vids & l1tpftauIds() const
Definition: TriggerRefsCollections.h:1667
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1jet &refs) const
Definition: TriggerRefsCollections.h:954
trigger::TriggerRefsCollections::muonSize
size_type muonSize() const
Definition: TriggerRefsCollections.h:1580
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRcomposite &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:745
Tau.h
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRpfmet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1551
trigger::TriggerRefsCollections::l1ttkemRefs_
VRl1ttkem l1ttkemRefs_
Definition: TriggerRefsCollections.h:150
trigger::TriggerRefsCollections::calometRefs
const VRcalomet & calometRefs() const
Definition: TriggerRefsCollections.h:1598
trigger::TriggerRefsCollections::l1tpftauRefs
const VRl1tpftau & l1tpftauRefs() const
Definition: TriggerRefsCollections.h:1668
trigger::TriggerRefsCollections::addObject
void addObject(int id, const l1t::PFTauRef &ref)
Definition: TriggerRefsCollections.h:390
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRpixtrack &refs) const
Definition: TriggerRefsCollections.h:849