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 
46 
49 
52 
53 #include <cassert>
54 #include <vector>
55 
56 #include <typeinfo>
57 
58 namespace trigger {
59 
60  typedef std::vector<reco::RecoEcalCandidateRef> VRphoton;
61  typedef std::vector<reco::ElectronRef> VRelectron;
62  typedef std::vector<reco::RecoChargedCandidateRef> VRmuon;
63  typedef std::vector<reco::CaloJetRef> VRjet;
64  typedef std::vector<reco::CompositeCandidateRef> VRcomposite;
65  typedef std::vector<reco::METRef> VRbasemet;
66  typedef std::vector<reco::CaloMETRef> VRcalomet;
67  typedef std::vector<reco::IsolatedPixelTrackCandidateRef> VRpixtrack;
68 
69  typedef std::vector<l1extra::L1EmParticleRef> VRl1em; //deprecate
70  typedef std::vector<l1extra::L1MuonParticleRef> VRl1muon; //deprecate
71  typedef std::vector<l1extra::L1JetParticleRef> VRl1jet; //deprecate
72  typedef std::vector<l1extra::L1EtMissParticleRef> VRl1etmiss; //deprecate
73  typedef std::vector<l1extra::L1HFRingsRef> VRl1hfrings; //deprecate
74 
80 
81  typedef std::vector<reco::PFJetRef> VRpfjet;
82  typedef std::vector<reco::PFTauRef> VRpftau;
83  typedef std::vector<reco::PFMETRef> VRpfmet;
84 
87  private:
105 
116 
127 
134 
136  public:
139  : photonIds_(),
140  photonRefs_(),
141  electronIds_(),
142  electronRefs_(),
143  muonIds_(),
144  muonRefs_(),
145  jetIds_(),
146  jetRefs_(),
147  compositeIds_(),
148  compositeRefs_(),
149  basemetIds_(),
150  basemetRefs_(),
151  calometIds_(),
152  calometRefs_(),
153  pixtrackIds_(),
154  pixtrackRefs_(),
155 
156  l1emIds_(),
157  l1emRefs_(),
158  l1muonIds_(),
159  l1muonRefs_(),
160  l1jetIds_(),
161  l1jetRefs_(),
162  l1etmissIds_(),
163  l1etmissRefs_(),
164  l1hfringsIds_(),
165  l1hfringsRefs_(),
166 
167  l1tmuonIds_(),
168  l1tmuonRefs_(),
169  l1tegammaIds_(),
170  l1tegammaRefs_(),
171  l1tjetIds_(),
172  l1tjetRefs_(),
173  l1ttauIds_(),
174  l1ttauRefs_(),
175  l1tetsumIds_(),
176  l1tetsumRefs_(),
177 
178  pfjetIds_(),
179  pfjetRefs_(),
180  pftauIds_(),
181  pftauRefs_(),
182  pfmetIds_(),
183  pfmetRefs_() {}
184 
187  std::swap(photonIds_, other.photonIds_);
188  std::swap(photonRefs_, other.photonRefs_);
189  std::swap(electronIds_, other.electronIds_);
190  std::swap(electronRefs_, other.electronRefs_);
191  std::swap(muonIds_, other.muonIds_);
192  std::swap(muonRefs_, other.muonRefs_);
193  std::swap(jetIds_, other.jetIds_);
194  std::swap(jetRefs_, other.jetRefs_);
195  std::swap(compositeIds_, other.compositeIds_);
196  std::swap(compositeRefs_, other.compositeRefs_);
197  std::swap(basemetIds_, other.basemetIds_);
198  std::swap(basemetRefs_, other.basemetRefs_);
199  std::swap(calometIds_, other.calometIds_);
200  std::swap(calometRefs_, other.calometRefs_);
201  std::swap(pixtrackIds_, other.pixtrackIds_);
202  std::swap(pixtrackRefs_, other.pixtrackRefs_);
203 
204  std::swap(l1emIds_, other.l1emIds_);
205  std::swap(l1emRefs_, other.l1emRefs_);
206  std::swap(l1muonIds_, other.l1muonIds_);
207  std::swap(l1muonRefs_, other.l1muonRefs_);
208  std::swap(l1jetIds_, other.l1jetIds_);
209  std::swap(l1jetRefs_, other.l1jetRefs_);
210  std::swap(l1etmissIds_, other.l1etmissIds_);
211  std::swap(l1etmissRefs_, other.l1etmissRefs_);
212  std::swap(l1hfringsIds_, other.l1hfringsIds_);
213  std::swap(l1hfringsRefs_, other.l1hfringsRefs_);
214 
215  std::swap(l1tmuonIds_, other.l1tmuonIds_);
216  std::swap(l1tmuonRefs_, other.l1tmuonRefs_);
217  std::swap(l1tegammaIds_, other.l1tegammaIds_);
218  std::swap(l1tegammaRefs_, other.l1tegammaRefs_);
219  std::swap(l1tjetIds_, other.l1tjetIds_);
220  std::swap(l1tjetRefs_, other.l1tjetRefs_);
221  std::swap(l1ttauIds_, other.l1ttauIds_);
222  std::swap(l1ttauRefs_, other.l1ttauRefs_);
223  std::swap(l1tetsumIds_, other.l1tetsumIds_);
224  std::swap(l1tetsumRefs_, other.l1tetsumRefs_);
225 
226  std::swap(pfjetIds_, other.pfjetIds_);
227  std::swap(pfjetRefs_, other.pfjetRefs_);
228  std::swap(pftauIds_, other.pftauIds_);
229  std::swap(pftauRefs_, other.pftauRefs_);
230  std::swap(pfmetIds_, other.pfmetIds_);
231  std::swap(pfmetRefs_, other.pfmetRefs_);
232  }
233 
235  void addObject(int id, const reco::RecoEcalCandidateRef& ref) {
236  photonIds_.push_back(id);
237  photonRefs_.push_back(ref);
238  }
239  void addObject(int id, const reco::ElectronRef& ref) {
240  electronIds_.push_back(id);
241  electronRefs_.push_back(ref);
242  }
243  void addObject(int id, const reco::RecoChargedCandidateRef& ref) {
244  muonIds_.push_back(id);
245  muonRefs_.push_back(ref);
246  }
247  void addObject(int id, const reco::CaloJetRef& ref) {
248  jetIds_.push_back(id);
249  jetRefs_.push_back(ref);
250  }
251  void addObject(int id, const reco::CompositeCandidateRef& ref) {
252  compositeIds_.push_back(id);
253  compositeRefs_.push_back(ref);
254  }
255  void addObject(int id, const reco::METRef& ref) {
256  basemetIds_.push_back(id);
257  basemetRefs_.push_back(ref);
258  }
259  void addObject(int id, const reco::CaloMETRef& ref) {
260  calometIds_.push_back(id);
261  calometRefs_.push_back(ref);
262  }
264  pixtrackIds_.push_back(id);
265  pixtrackRefs_.push_back(ref);
266  }
267 
268  void addObject(int id, const l1extra::L1EmParticleRef& ref) {
269  l1emIds_.push_back(id);
270  l1emRefs_.push_back(ref);
271  }
272  void addObject(int id, const l1extra::L1MuonParticleRef& ref) {
273  l1muonIds_.push_back(id);
274  l1muonRefs_.push_back(ref);
275  }
276  void addObject(int id, const l1extra::L1JetParticleRef& ref) {
277  l1jetIds_.push_back(id);
278  l1jetRefs_.push_back(ref);
279  }
280  void addObject(int id, const l1extra::L1EtMissParticleRef& ref) {
281  l1etmissIds_.push_back(id);
282  l1etmissRefs_.push_back(ref);
283  }
284  void addObject(int id, const l1extra::L1HFRingsRef& ref) {
285  l1hfringsIds_.push_back(id);
286  l1hfringsRefs_.push_back(ref);
287  }
288  void addObject(int id, const l1t::MuonRef& ref) {
289  l1tmuonIds_.push_back(id);
290  l1tmuonRefs_.push_back(ref);
291  }
292  void addObject(int id, const l1t::EGammaRef& ref) {
293  l1tegammaIds_.push_back(id);
294  l1tegammaRefs_.push_back(ref);
295  }
296  void addObject(int id, const l1t::JetRef& ref) {
297  l1tjetIds_.push_back(id);
298  l1tjetRefs_.push_back(ref);
299  }
300  void addObject(int id, const l1t::TauRef& ref) {
301  l1ttauIds_.push_back(id);
302  l1ttauRefs_.push_back(ref);
303  }
304  void addObject(int id, const l1t::EtSumRef& ref) {
305  l1tetsumIds_.push_back(id);
306  l1tetsumRefs_.push_back(ref);
307  }
308  void addObject(int id, const reco::PFJetRef& ref) {
309  pfjetIds_.push_back(id);
310  pfjetRefs_.push_back(ref);
311  }
312  void addObject(int id, const reco::PFTauRef& ref) {
313  pftauIds_.push_back(id);
314  pftauRefs_.push_back(ref);
315  }
316  void addObject(int id, const reco::PFMETRef& ref) {
317  pfmetIds_.push_back(id);
318  pfmetRefs_.push_back(ref);
319  }
320 
322  size_type addObjects(const Vids& ids, const VRphoton& refs) {
323  assert(ids.size() == refs.size());
324  photonIds_.insert(photonIds_.end(), ids.begin(), ids.end());
325  photonRefs_.insert(photonRefs_.end(), refs.begin(), refs.end());
326  return photonIds_.size();
327  }
328  size_type addObjects(const Vids& ids, const VRelectron& refs) {
329  assert(ids.size() == refs.size());
330  electronIds_.insert(electronIds_.end(), ids.begin(), ids.end());
331  electronRefs_.insert(electronRefs_.end(), refs.begin(), refs.end());
332  return electronIds_.size();
333  }
334  size_type addObjects(const Vids& ids, const VRmuon& refs) {
335  assert(ids.size() == refs.size());
336  muonIds_.insert(muonIds_.end(), ids.begin(), ids.end());
337  muonRefs_.insert(muonRefs_.end(), refs.begin(), refs.end());
338  return muonIds_.size();
339  }
340  size_type addObjects(const Vids& ids, const VRjet& refs) {
341  assert(ids.size() == refs.size());
342  jetIds_.insert(jetIds_.end(), ids.begin(), ids.end());
343  jetRefs_.insert(jetRefs_.end(), refs.begin(), refs.end());
344  return jetIds_.size();
345  }
346  size_type addObjects(const Vids& ids, const VRcomposite& refs) {
347  assert(ids.size() == refs.size());
348  compositeIds_.insert(compositeIds_.end(), ids.begin(), ids.end());
349  compositeRefs_.insert(compositeRefs_.end(), refs.begin(), refs.end());
350  return compositeIds_.size();
351  }
352  size_type addObjects(const Vids& ids, const VRbasemet& refs) {
353  assert(ids.size() == refs.size());
354  basemetIds_.insert(basemetIds_.end(), ids.begin(), ids.end());
355  basemetRefs_.insert(basemetRefs_.end(), refs.begin(), refs.end());
356  return basemetIds_.size();
357  }
358  size_type addObjects(const Vids& ids, const VRcalomet& refs) {
359  assert(ids.size() == refs.size());
360  calometIds_.insert(calometIds_.end(), ids.begin(), ids.end());
361  calometRefs_.insert(calometRefs_.end(), refs.begin(), refs.end());
362  return calometIds_.size();
363  }
364  size_type addObjects(const Vids& ids, const VRpixtrack& refs) {
365  assert(ids.size() == refs.size());
366  pixtrackIds_.insert(pixtrackIds_.end(), ids.begin(), ids.end());
367  pixtrackRefs_.insert(pixtrackRefs_.end(), refs.begin(), refs.end());
368  return pixtrackIds_.size();
369  }
370 
371  size_type addObjects(const Vids& ids, const VRl1em& refs) {
372  assert(ids.size() == refs.size());
373  l1emIds_.insert(l1emIds_.end(), ids.begin(), ids.end());
374  l1emRefs_.insert(l1emRefs_.end(), refs.begin(), refs.end());
375  return l1emIds_.size();
376  }
377  size_type addObjects(const Vids& ids, const VRl1muon& refs) {
378  assert(ids.size() == refs.size());
379  l1muonIds_.insert(l1muonIds_.end(), ids.begin(), ids.end());
380  l1muonRefs_.insert(l1muonRefs_.end(), refs.begin(), refs.end());
381  return l1muonIds_.size();
382  }
383  size_type addObjects(const Vids& ids, const VRl1jet& refs) {
384  assert(ids.size() == refs.size());
385  l1jetIds_.insert(l1jetIds_.end(), ids.begin(), ids.end());
386  l1jetRefs_.insert(l1jetRefs_.end(), refs.begin(), refs.end());
387  return l1jetIds_.size();
388  }
389  size_type addObjects(const Vids& ids, const VRl1etmiss& refs) {
390  assert(ids.size() == refs.size());
391  l1etmissIds_.insert(l1etmissIds_.end(), ids.begin(), ids.end());
392  l1etmissRefs_.insert(l1etmissRefs_.end(), refs.begin(), refs.end());
393  return l1etmissIds_.size();
394  }
395  size_type addObjects(const Vids& ids, const VRl1tmuon& refs) {
396  assert(ids.size() == refs.size());
397  l1tmuonIds_.insert(l1tmuonIds_.end(), ids.begin(), ids.end());
398  l1tmuonRefs_.insert(l1tmuonRefs_.end(), refs.begin(), refs.end());
399  return l1tmuonIds_.size();
400  }
401  size_type addObjects(const Vids& ids, const VRl1tegamma& refs) {
402  assert(ids.size() == refs.size());
403  l1tegammaIds_.insert(l1tegammaIds_.end(), ids.begin(), ids.end());
404  l1tegammaRefs_.insert(l1tegammaRefs_.end(), refs.begin(), refs.end());
405  return l1tegammaIds_.size();
406  }
407  size_type addObjects(const Vids& ids, const VRl1tjet& refs) {
408  assert(ids.size() == refs.size());
409  l1tjetIds_.insert(l1tjetIds_.end(), ids.begin(), ids.end());
410  l1tjetRefs_.insert(l1tjetRefs_.end(), refs.begin(), refs.end());
411  return l1tjetIds_.size();
412  }
413  size_type addObjects(const Vids& ids, const VRl1ttau& refs) {
414  assert(ids.size() == refs.size());
415  l1ttauIds_.insert(l1ttauIds_.end(), ids.begin(), ids.end());
416  l1ttauRefs_.insert(l1ttauRefs_.end(), refs.begin(), refs.end());
417  return l1ttauIds_.size();
418  }
419  size_type addObjects(const Vids& ids, const VRl1tetsum& refs) {
420  assert(ids.size() == refs.size());
421  l1tetsumIds_.insert(l1tetsumIds_.end(), ids.begin(), ids.end());
422  l1tetsumRefs_.insert(l1tetsumRefs_.end(), refs.begin(), refs.end());
423  return l1tetsumIds_.size();
424  }
425  size_type addObjects(const Vids& ids, const VRl1hfrings& refs) {
426  assert(ids.size() == refs.size());
427  l1hfringsIds_.insert(l1hfringsIds_.end(), ids.begin(), ids.end());
428  l1hfringsRefs_.insert(l1hfringsRefs_.end(), refs.begin(), refs.end());
429  return l1hfringsIds_.size();
430  }
431 
432  size_type addObjects(const Vids& ids, const VRpfjet& refs) {
433  assert(ids.size() == refs.size());
434  pfjetIds_.insert(pfjetIds_.end(), ids.begin(), ids.end());
435  pfjetRefs_.insert(pfjetRefs_.end(), refs.begin(), refs.end());
436  return pfjetIds_.size();
437  }
438  size_type addObjects(const Vids& ids, const VRpftau& refs) {
439  assert(ids.size() == refs.size());
440  pftauIds_.insert(pftauIds_.end(), ids.begin(), ids.end());
441  pftauRefs_.insert(pftauRefs_.end(), refs.begin(), refs.end());
442  return pftauIds_.size();
443  }
444  size_type addObjects(const Vids& ids, const VRpfmet& refs) {
445  assert(ids.size() == refs.size());
446  pfmetIds_.insert(pfmetIds_.end(), ids.begin(), ids.end());
447  pfmetRefs_.insert(pfmetRefs_.end(), refs.begin(), refs.end());
448  return pfmetIds_.size();
449  }
450 
452  void getObjects(Vids& ids, VRphoton& refs) const { getObjects(ids, refs, 0, photonIds_.size()); }
453  void getObjects(Vids& ids, VRphoton& refs, size_type begin, size_type end) const {
454  assert(begin <= end);
455  assert(end <= photonIds_.size());
456  const size_type n(end - begin);
457  ids.resize(n);
458  refs.resize(n);
459  size_type j(0);
460  for (size_type i = begin; i != end; ++i) {
461  ids[j] = photonIds_[i];
462  refs[j] = photonRefs_[i];
463  ++j;
464  }
465  }
466  void getObjects(int id, VRphoton& refs) const { getObjects(id, refs, 0, photonIds_.size()); }
467  void getObjects(int id, VRphoton& refs, size_type begin, size_type end) const {
468  assert(begin <= end);
469  assert(end <= photonIds_.size());
470  size_type n(0);
471  for (size_type i = begin; i != end; ++i) {
472  if (id == photonIds_[i]) {
473  ++n;
474  }
475  }
476  refs.resize(n);
477  size_type j(0);
478  for (size_type i = begin; i != end; ++i) {
479  if (id == photonIds_[i]) {
480  refs[j] = photonRefs_[i];
481  ++j;
482  }
483  }
484  return;
485  }
486 
487  void getObjects(Vids& ids, VRelectron& refs) const { getObjects(ids, refs, 0, electronIds_.size()); }
488  void getObjects(Vids& ids, VRelectron& refs, size_type begin, size_type end) const {
489  assert(begin <= end);
490  assert(end <= electronIds_.size());
491  const size_type n(end - begin);
492  ids.resize(n);
493  refs.resize(n);
494  size_type j(0);
495  for (size_type i = begin; i != end; ++i) {
496  ids[j] = electronIds_[i];
497  refs[j] = electronRefs_[i];
498  ++j;
499  }
500  }
501  void getObjects(int id, VRelectron& refs) const { getObjects(id, refs, 0, electronIds_.size()); }
502  void getObjects(int id, VRelectron& refs, size_type begin, size_type end) const {
503  assert(begin <= end);
504  assert(end <= electronIds_.size());
505  size_type n(0);
506  for (size_type i = begin; i != end; ++i) {
507  if (id == electronIds_[i]) {
508  ++n;
509  }
510  }
511  refs.resize(n);
512  size_type j(0);
513  for (size_type i = begin; i != end; ++i) {
514  if (id == electronIds_[i]) {
515  refs[j] = electronRefs_[i];
516  ++j;
517  }
518  }
519  return;
520  }
521 
522  void getObjects(Vids& ids, VRmuon& refs) const { getObjects(ids, refs, 0, muonIds_.size()); }
523  void getObjects(Vids& ids, VRmuon& refs, size_type begin, size_type end) const {
524  assert(begin <= end);
525  assert(end <= muonIds_.size());
526  const size_type n(end - begin);
527  ids.resize(n);
528  refs.resize(n);
529  size_type j(0);
530  for (size_type i = begin; i != end; ++i) {
531  ids[j] = muonIds_[i];
532  refs[j] = muonRefs_[i];
533  ++j;
534  }
535  }
536  void getObjects(int id, VRmuon& refs) const { getObjects(id, refs, 0, muonIds_.size()); }
537  void getObjects(int id, VRmuon& refs, size_type begin, size_type end) const {
538  assert(begin <= end);
539  assert(end <= muonIds_.size());
540  size_type n(0);
541  for (size_type i = begin; i != end; ++i) {
542  if (id == muonIds_[i]) {
543  ++n;
544  }
545  }
546  refs.resize(n);
547  size_type j(0);
548  for (size_type i = begin; i != end; ++i) {
549  if (id == muonIds_[i]) {
550  refs[j] = muonRefs_[i];
551  ++j;
552  }
553  }
554  return;
555  }
556 
557  void getObjects(Vids& ids, VRjet& refs) const { getObjects(ids, refs, 0, jetIds_.size()); }
558  void getObjects(Vids& ids, VRjet& refs, size_type begin, size_type end) const {
559  assert(begin <= end);
560  assert(end <= jetIds_.size());
561  const size_type n(end - begin);
562  ids.resize(n);
563  refs.resize(n);
564  size_type j(0);
565  for (size_type i = begin; i != end; ++i) {
566  ids[j] = jetIds_[i];
567  refs[j] = jetRefs_[i];
568  ++j;
569  }
570  }
571  void getObjects(int id, VRjet& refs) const { getObjects(id, refs, 0, jetIds_.size()); }
572  void getObjects(int id, VRjet& refs, size_type begin, size_type end) const {
573  assert(begin <= end);
574  assert(end <= jetIds_.size());
575  size_type n(0);
576  for (size_type i = begin; i != end; ++i) {
577  if (id == jetIds_[i]) {
578  ++n;
579  }
580  }
581  refs.resize(n);
582  size_type j(0);
583  for (size_type i = begin; i != end; ++i) {
584  if (id == jetIds_[i]) {
585  refs[j] = jetRefs_[i];
586  ++j;
587  }
588  }
589  return;
590  }
591 
592  void getObjects(Vids& ids, VRcomposite& refs) const { getObjects(ids, refs, 0, compositeIds_.size()); }
593  void getObjects(Vids& ids, VRcomposite& refs, size_type begin, size_type end) const {
594  assert(begin <= end);
595  assert(end <= compositeIds_.size());
596  const size_type n(end - begin);
597  ids.resize(n);
598  refs.resize(n);
599  size_type j(0);
600  for (size_type i = begin; i != end; ++i) {
601  ids[j] = compositeIds_[i];
602  refs[j] = compositeRefs_[i];
603  ++j;
604  }
605  }
606  void getObjects(int id, VRcomposite& refs) const { getObjects(id, refs, 0, compositeIds_.size()); }
607  void getObjects(int id, VRcomposite& refs, size_type begin, size_type end) const {
608  assert(begin <= end);
609  assert(end <= compositeIds_.size());
610  size_type n(0);
611  for (size_type i = begin; i != end; ++i) {
612  if (id == compositeIds_[i]) {
613  ++n;
614  }
615  }
616  refs.resize(n);
617  size_type j(0);
618  for (size_type i = begin; i != end; ++i) {
619  if (id == compositeIds_[i]) {
620  refs[j] = compositeRefs_[i];
621  ++j;
622  }
623  }
624  return;
625  }
626 
627  void getObjects(Vids& ids, VRbasemet& refs) const { getObjects(ids, refs, 0, basemetIds_.size()); }
628  void getObjects(Vids& ids, VRbasemet& refs, size_type begin, size_type end) const {
629  assert(begin <= end);
630  assert(end <= basemetIds_.size());
631  const size_type n(end - begin);
632  ids.resize(n);
633  refs.resize(n);
634  size_type j(0);
635  for (size_type i = begin; i != end; ++i) {
636  ids[j] = basemetIds_[i];
637  refs[j] = basemetRefs_[i];
638  ++j;
639  }
640  }
641  void getObjects(int id, VRbasemet& refs) const { getObjects(id, refs, 0, basemetIds_.size()); }
642  void getObjects(int id, VRbasemet& refs, size_type begin, size_type end) const {
643  assert(begin <= end);
644  assert(end <= basemetIds_.size());
645  size_type n(0);
646  for (size_type i = begin; i != end; ++i) {
647  if (id == basemetIds_[i]) {
648  ++n;
649  }
650  }
651  refs.resize(n);
652  size_type j(0);
653  for (size_type i = begin; i != end; ++i) {
654  if (id == basemetIds_[i]) {
655  refs[j] = basemetRefs_[i];
656  ++j;
657  }
658  }
659  return;
660  }
661 
662  void getObjects(Vids& ids, VRcalomet& refs) const { getObjects(ids, refs, 0, calometIds_.size()); }
663  void getObjects(Vids& ids, VRcalomet& refs, size_type begin, size_type end) const {
664  assert(begin <= end);
665  assert(end <= calometIds_.size());
666  const size_type n(end - begin);
667  ids.resize(n);
668  refs.resize(n);
669  size_type j(0);
670  for (size_type i = begin; i != end; ++i) {
671  ids[j] = calometIds_[i];
672  refs[j] = calometRefs_[i];
673  ++j;
674  }
675  }
676  void getObjects(int id, VRcalomet& refs) const { getObjects(id, refs, 0, calometIds_.size()); }
677  void getObjects(int id, VRcalomet& refs, size_type begin, size_type end) const {
678  assert(begin <= end);
679  assert(end <= calometIds_.size());
680  size_type n(0);
681  for (size_type i = begin; i != end; ++i) {
682  if (id == calometIds_[i]) {
683  ++n;
684  }
685  }
686  refs.resize(n);
687  size_type j(0);
688  for (size_type i = begin; i != end; ++i) {
689  if (id == calometIds_[i]) {
690  refs[j] = calometRefs_[i];
691  ++j;
692  }
693  }
694  return;
695  }
696 
697  void getObjects(Vids& ids, VRpixtrack& refs) const { getObjects(ids, refs, 0, pixtrackIds_.size()); }
698  void getObjects(Vids& ids, VRpixtrack& refs, size_type begin, size_type end) const {
699  assert(begin <= end);
700  assert(end <= pixtrackIds_.size());
701  const size_type n(end - begin);
702  ids.resize(n);
703  refs.resize(n);
704  size_type j(0);
705  for (size_type i = begin; i != end; ++i) {
706  ids[j] = pixtrackIds_[i];
707  refs[j] = pixtrackRefs_[i];
708  ++j;
709  }
710  }
711  void getObjects(int id, VRpixtrack& refs) const { getObjects(id, refs, 0, pixtrackIds_.size()); }
712  void getObjects(int id, VRpixtrack& refs, size_type begin, size_type end) const {
713  assert(begin <= end);
714  assert(end <= pixtrackIds_.size());
715  size_type n(0);
716  for (size_type i = begin; i != end; ++i) {
717  if (id == pixtrackIds_[i]) {
718  ++n;
719  }
720  }
721  refs.resize(n);
722  size_type j(0);
723  for (size_type i = begin; i != end; ++i) {
724  if (id == pixtrackIds_[i]) {
725  refs[j] = pixtrackRefs_[i];
726  ++j;
727  }
728  }
729  return;
730  }
731 
732  void getObjects(Vids& ids, VRl1em& refs) const { getObjects(ids, refs, 0, l1emIds_.size()); }
733  void getObjects(Vids& ids, VRl1em& refs, size_type begin, size_type end) const {
734  assert(begin <= end);
735  assert(end <= l1emIds_.size());
736  const size_type n(end - begin);
737  ids.resize(n);
738  refs.resize(n);
739  size_type j(0);
740  for (size_type i = begin; i != end; ++i) {
741  ids[j] = l1emIds_[i];
742  refs[j] = l1emRefs_[i];
743  ++j;
744  }
745  }
746  void getObjects(int id, VRl1em& refs) const { getObjects(id, refs, 0, l1emIds_.size()); }
747  void getObjects(int id, VRl1em& refs, size_type begin, size_type end) const {
748  assert(begin <= end);
749  assert(end <= l1emIds_.size());
750  size_type n(0);
751  for (size_type i = begin; i != end; ++i) {
752  if (id == l1emIds_[i]) {
753  ++n;
754  }
755  }
756  refs.resize(n);
757  size_type j(0);
758  for (size_type i = begin; i != end; ++i) {
759  if (id == l1emIds_[i]) {
760  refs[j] = l1emRefs_[i];
761  ++j;
762  }
763  }
764  return;
765  }
766 
767  void getObjects(Vids& ids, VRl1muon& refs) const { getObjects(ids, refs, 0, l1muonIds_.size()); }
768  void getObjects(Vids& ids, VRl1muon& refs, size_type begin, size_type end) const {
769  assert(begin <= end);
770  assert(end <= l1muonIds_.size());
771  const size_type n(end - begin);
772  ids.resize(n);
773  refs.resize(n);
774  size_type j(0);
775  for (size_type i = begin; i != end; ++i) {
776  ids[j] = l1muonIds_[i];
777  refs[j] = l1muonRefs_[i];
778  ++j;
779  }
780  }
781  void getObjects(int id, VRl1muon& refs) const { getObjects(id, refs, 0, l1muonIds_.size()); }
782  void getObjects(int id, VRl1muon& refs, size_type begin, size_type end) const {
783  assert(begin <= end);
784  assert(end <= l1muonIds_.size());
785  size_type n(0);
786  for (size_type i = begin; i != end; ++i) {
787  if (id == l1muonIds_[i]) {
788  ++n;
789  }
790  }
791  refs.resize(n);
792  size_type j(0);
793  for (size_type i = begin; i != end; ++i) {
794  if (id == l1muonIds_[i]) {
795  refs[j] = l1muonRefs_[i];
796  ++j;
797  }
798  }
799  return;
800  }
801 
802  void getObjects(Vids& ids, VRl1jet& refs) const { getObjects(ids, refs, 0, l1jetIds_.size()); }
803  void getObjects(Vids& ids, VRl1jet& refs, size_type begin, size_type end) const {
804  assert(begin <= end);
805  assert(end <= l1jetIds_.size());
806  const size_type n(end - begin);
807  ids.resize(n);
808  refs.resize(n);
809  size_type j(0);
810  for (size_type i = begin; i != end; ++i) {
811  ids[j] = l1jetIds_[i];
812  refs[j] = l1jetRefs_[i];
813  ++j;
814  }
815  }
816  void getObjects(int id, VRl1jet& refs) const { getObjects(id, refs, 0, l1jetIds_.size()); }
817  void getObjects(int id, VRl1jet& refs, size_type begin, size_type end) const {
818  assert(begin <= end);
819  assert(end <= l1jetIds_.size());
820  size_type n(0);
821  for (size_type i = begin; i != end; ++i) {
822  if (id == l1jetIds_[i]) {
823  ++n;
824  }
825  }
826  refs.resize(n);
827  size_type j(0);
828  for (size_type i = begin; i != end; ++i) {
829  if (id == l1jetIds_[i]) {
830  refs[j] = l1jetRefs_[i];
831  ++j;
832  }
833  }
834  return;
835  }
836 
837  void getObjects(Vids& ids, VRl1etmiss& refs) const { getObjects(ids, refs, 0, l1etmissIds_.size()); }
838  void getObjects(Vids& ids, VRl1etmiss& refs, size_type begin, size_type end) const {
839  assert(begin <= end);
840  assert(end <= l1etmissIds_.size());
841  const size_type n(end - begin);
842  ids.resize(n);
843  refs.resize(n);
844  size_type j(0);
845  for (size_type i = begin; i != end; ++i) {
846  ids[j] = l1etmissIds_[i];
847  refs[j] = l1etmissRefs_[i];
848  ++j;
849  }
850  }
851  void getObjects(int id, VRl1etmiss& refs) const { getObjects(id, refs, 0, l1etmissIds_.size()); }
852  void getObjects(int id, VRl1etmiss& refs, size_type begin, size_type end) const {
853  assert(begin <= end);
854  assert(end <= l1etmissIds_.size());
855  size_type n(0);
856  for (size_type i = begin; i != end; ++i) {
857  if (id == l1etmissIds_[i]) {
858  ++n;
859  }
860  }
861  refs.resize(n);
862  size_type j(0);
863  for (size_type i = begin; i != end; ++i) {
864  if (id == l1etmissIds_[i]) {
865  refs[j] = l1etmissRefs_[i];
866  ++j;
867  }
868  }
869  return;
870  }
871 
872  void getObjects(Vids& ids, VRl1hfrings& refs) const { getObjects(ids, refs, 0, l1hfringsIds_.size()); }
873  void getObjects(Vids& ids, VRl1hfrings& refs, size_type begin, size_type end) const {
874  assert(begin <= end);
875  assert(end <= l1hfringsIds_.size());
876  const size_type n(end - begin);
877  ids.resize(n);
878  refs.resize(n);
879  size_type j(0);
880  for (size_type i = begin; i != end; ++i) {
881  ids[j] = l1hfringsIds_[i];
882  refs[j] = l1hfringsRefs_[i];
883  ++j;
884  }
885  }
886  void getObjects(int id, VRl1hfrings& refs) const { getObjects(id, refs, 0, l1hfringsIds_.size()); }
887  void getObjects(int id, VRl1hfrings& refs, size_type begin, size_type end) const {
888  assert(begin <= end);
889  assert(end <= l1hfringsIds_.size());
890  size_type n(0);
891  for (size_type i = begin; i != end; ++i) {
892  if (id == l1hfringsIds_[i]) {
893  ++n;
894  }
895  }
896  refs.resize(n);
897  size_type j(0);
898  for (size_type i = begin; i != end; ++i) {
899  if (id == l1hfringsIds_[i]) {
900  refs[j] = l1hfringsRefs_[i];
901  ++j;
902  }
903  }
904  return;
905  }
906 
907  void getObjects(Vids& ids, VRl1tmuon& refs) const { getObjects(ids, refs, 0, l1tmuonIds_.size()); }
908  void getObjects(Vids& ids, VRl1tmuon& refs, size_type begin, size_type end) const {
909  assert(begin <= end);
910  assert(end <= l1tmuonIds_.size());
911  const size_type n(end - begin);
912  ids.resize(n);
913  refs.resize(n);
914  size_type j(0);
915  for (size_type i = begin; i != end; ++i) {
916  ids[j] = l1tmuonIds_[i];
917  refs[j] = l1tmuonRefs_[i];
918  ++j;
919  }
920  }
921  void getObjects(int id, VRl1tmuon& refs) const { getObjects(id, refs, 0, l1tmuonIds_.size()); }
922  void getObjects(int id, VRl1tmuon& refs, size_type begin, size_type end) const {
923  assert(begin <= end);
924  assert(end <= l1tmuonIds_.size());
925  size_type n(0);
926  for (size_type i = begin; i != end; ++i) {
927  if (id == l1tmuonIds_[i]) {
928  ++n;
929  }
930  }
931  refs.resize(n);
932  size_type j(0);
933  for (size_type i = begin; i != end; ++i) {
934  if (id == l1tmuonIds_[i]) {
935  refs[j] = l1tmuonRefs_[i];
936  ++j;
937  }
938  }
939  return;
940  }
941 
942  void getObjects(Vids& ids, VRl1tegamma& refs) const { getObjects(ids, refs, 0, l1tegammaIds_.size()); }
943  void getObjects(Vids& ids, VRl1tegamma& refs, size_type begin, size_type end) const {
944  assert(begin <= end);
945  assert(end <= l1tegammaIds_.size());
946  const size_type n(end - begin);
947  ids.resize(n);
948  refs.resize(n);
949  size_type j(0);
950  for (size_type i = begin; i != end; ++i) {
951  ids[j] = l1tegammaIds_[i];
952  refs[j] = l1tegammaRefs_[i];
953  ++j;
954  }
955  }
956  void getObjects(int id, VRl1tegamma& refs) const { getObjects(id, refs, 0, l1tegammaIds_.size()); }
957  void getObjects(int id, VRl1tegamma& refs, size_type begin, size_type end) const {
958  assert(begin <= end);
959  assert(end <= l1tegammaIds_.size());
960  size_type n(0);
961  for (size_type i = begin; i != end; ++i) {
962  if (id == l1tegammaIds_[i]) {
963  ++n;
964  }
965  }
966  refs.resize(n);
967  size_type j(0);
968  for (size_type i = begin; i != end; ++i) {
969  if (id == l1tegammaIds_[i]) {
970  refs[j] = l1tegammaRefs_[i];
971  ++j;
972  }
973  }
974  return;
975  }
976 
977  void getObjects(Vids& ids, VRl1tjet& refs) const { getObjects(ids, refs, 0, l1tjetIds_.size()); }
978  void getObjects(Vids& ids, VRl1tjet& refs, size_type begin, size_type end) const {
979  assert(begin <= end);
980  assert(end <= l1tjetIds_.size());
981  const size_type n(end - begin);
982  ids.resize(n);
983  refs.resize(n);
984  size_type j(0);
985  for (size_type i = begin; i != end; ++i) {
986  ids[j] = l1tjetIds_[i];
987  refs[j] = l1tjetRefs_[i];
988  ++j;
989  }
990  }
991  void getObjects(int id, VRl1tjet& refs) const { getObjects(id, refs, 0, l1tjetIds_.size()); }
992  void getObjects(int id, VRl1tjet& refs, size_type begin, size_type end) const {
993  assert(begin <= end);
994  assert(end <= l1tjetIds_.size());
995  size_type n(0);
996  for (size_type i = begin; i != end; ++i) {
997  if (id == l1tjetIds_[i]) {
998  ++n;
999  }
1000  }
1001  refs.resize(n);
1002  size_type j(0);
1003  for (size_type i = begin; i != end; ++i) {
1004  if (id == l1tjetIds_[i]) {
1005  refs[j] = l1tjetRefs_[i];
1006  ++j;
1007  }
1008  }
1009  return;
1010  }
1011 
1012  void getObjects(Vids& ids, VRl1ttau& refs) const { getObjects(ids, refs, 0, l1ttauIds_.size()); }
1013  void getObjects(Vids& ids, VRl1ttau& refs, size_type begin, size_type end) const {
1014  assert(begin <= end);
1015  assert(end <= l1ttauIds_.size());
1016  const size_type n(end - begin);
1017  ids.resize(n);
1018  refs.resize(n);
1019  size_type j(0);
1020  for (size_type i = begin; i != end; ++i) {
1021  ids[j] = l1ttauIds_[i];
1022  refs[j] = l1ttauRefs_[i];
1023  ++j;
1024  }
1025  }
1026  void getObjects(int id, VRl1ttau& refs) const { getObjects(id, refs, 0, l1ttauIds_.size()); }
1027  void getObjects(int id, VRl1ttau& refs, size_type begin, size_type end) const {
1028  assert(begin <= end);
1029  assert(end <= l1ttauIds_.size());
1030  size_type n(0);
1031  for (size_type i = begin; i != end; ++i) {
1032  if (id == l1ttauIds_[i]) {
1033  ++n;
1034  }
1035  }
1036  refs.resize(n);
1037  size_type j(0);
1038  for (size_type i = begin; i != end; ++i) {
1039  if (id == l1ttauIds_[i]) {
1040  refs[j] = l1ttauRefs_[i];
1041  ++j;
1042  }
1043  }
1044  return;
1045  }
1046 
1047  void getObjects(Vids& ids, VRl1tetsum& refs) const { getObjects(ids, refs, 0, l1tetsumIds_.size()); }
1048  void getObjects(Vids& ids, VRl1tetsum& refs, size_type begin, size_type end) const {
1049  assert(begin <= end);
1050  assert(end <= l1tetsumIds_.size());
1051  const size_type n(end - begin);
1052  ids.resize(n);
1053  refs.resize(n);
1054  size_type j(0);
1055  for (size_type i = begin; i != end; ++i) {
1056  ids[j] = l1tetsumIds_[i];
1057  refs[j] = l1tetsumRefs_[i];
1058  ++j;
1059  }
1060  }
1061  void getObjects(int id, VRl1tetsum& refs) const { getObjects(id, refs, 0, l1tetsumIds_.size()); }
1062  void getObjects(int id, VRl1tetsum& refs, size_type begin, size_type end) const {
1063  assert(begin <= end);
1064  assert(end <= l1tetsumIds_.size());
1065  size_type n(0);
1066  for (size_type i = begin; i != end; ++i) {
1067  if (id == l1tetsumIds_[i]) {
1068  ++n;
1069  }
1070  }
1071  refs.resize(n);
1072  size_type j(0);
1073  for (size_type i = begin; i != end; ++i) {
1074  if (id == l1tetsumIds_[i]) {
1075  refs[j] = l1tetsumRefs_[i];
1076  ++j;
1077  }
1078  }
1079  return;
1080  }
1081 
1082  void getObjects(Vids& ids, VRpfjet& refs) const { getObjects(ids, refs, 0, pfjetIds_.size()); }
1083  void getObjects(Vids& ids, VRpfjet& refs, size_type begin, size_type end) const {
1084  assert(begin <= end);
1085  assert(end <= pfjetIds_.size());
1086  const size_type n(end - begin);
1087  ids.resize(n);
1088  refs.resize(n);
1089  size_type j(0);
1090  for (size_type i = begin; i != end; ++i) {
1091  ids[j] = pfjetIds_[i];
1092  refs[j] = pfjetRefs_[i];
1093  ++j;
1094  }
1095  }
1096  void getObjects(int id, VRpfjet& refs) const { getObjects(id, refs, 0, pfjetIds_.size()); }
1097  void getObjects(int id, VRpfjet& refs, size_type begin, size_type end) const {
1098  assert(begin <= end);
1099  assert(end <= pfjetIds_.size());
1100  size_type n(0);
1101  for (size_type i = begin; i != end; ++i) {
1102  if (id == pfjetIds_[i]) {
1103  ++n;
1104  }
1105  }
1106  refs.resize(n);
1107  size_type j(0);
1108  for (size_type i = begin; i != end; ++i) {
1109  if (id == pfjetIds_[i]) {
1110  refs[j] = pfjetRefs_[i];
1111  ++j;
1112  }
1113  }
1114  return;
1115  }
1116 
1117  void getObjects(Vids& ids, VRpftau& refs) const { getObjects(ids, refs, 0, pftauIds_.size()); }
1118  void getObjects(Vids& ids, VRpftau& refs, size_type begin, size_type end) const {
1119  assert(begin <= end);
1120  assert(end <= pftauIds_.size());
1121  const size_type n(end - begin);
1122  ids.resize(n);
1123  refs.resize(n);
1124  size_type j(0);
1125  for (size_type i = begin; i != end; ++i) {
1126  ids[j] = pftauIds_[i];
1127  refs[j] = pftauRefs_[i];
1128  ++j;
1129  }
1130  }
1131  void getObjects(int id, VRpftau& refs) const { getObjects(id, refs, 0, pftauIds_.size()); }
1132  void getObjects(int id, VRpftau& refs, size_type begin, size_type end) const {
1133  assert(begin <= end);
1134  assert(end <= pftauIds_.size());
1135  size_type n(0);
1136  for (size_type i = begin; i != end; ++i) {
1137  if (id == pftauIds_[i]) {
1138  ++n;
1139  }
1140  }
1141  refs.resize(n);
1142  size_type j(0);
1143  for (size_type i = begin; i != end; ++i) {
1144  if (id == pftauIds_[i]) {
1145  refs[j] = pftauRefs_[i];
1146  ++j;
1147  }
1148  }
1149  return;
1150  }
1151 
1152  void getObjects(Vids& ids, VRpfmet& refs) const { getObjects(ids, refs, 0, pfmetIds_.size()); }
1153  void getObjects(Vids& ids, VRpfmet& refs, size_type begin, size_type end) const {
1154  assert(begin <= end);
1155  assert(end <= pfmetIds_.size());
1156  const size_type n(end - begin);
1157  ids.resize(n);
1158  refs.resize(n);
1159  size_type j(0);
1160  for (size_type i = begin; i != end; ++i) {
1161  ids[j] = pfmetIds_[i];
1162  refs[j] = pfmetRefs_[i];
1163  ++j;
1164  }
1165  }
1166  void getObjects(int id, VRpfmet& refs) const { getObjects(id, refs, 0, pfmetIds_.size()); }
1167  void getObjects(int id, VRpfmet& refs, size_type begin, size_type end) const {
1168  assert(begin <= end);
1169  assert(end <= pfmetIds_.size());
1170  size_type n(0);
1171  for (size_type i = begin; i != end; ++i) {
1172  if (id == pfmetIds_[i]) {
1173  ++n;
1174  }
1175  }
1176  refs.resize(n);
1177  size_type j(0);
1178  for (size_type i = begin; i != end; ++i) {
1179  if (id == pfmetIds_[i]) {
1180  refs[j] = pfmetRefs_[i];
1181  ++j;
1182  }
1183  }
1184  return;
1185  }
1186 
1188  size_type photonSize() const { return photonIds_.size(); }
1189  const Vids& photonIds() const { return photonIds_; }
1190  const VRphoton& photonRefs() const { return photonRefs_; }
1191 
1192  size_type electronSize() const { return electronIds_.size(); }
1193  const Vids& electronIds() const { return electronIds_; }
1194  const VRelectron& electronRefs() const { return electronRefs_; }
1195 
1196  size_type muonSize() const { return muonIds_.size(); }
1197  const Vids& muonIds() const { return muonIds_; }
1198  const VRmuon& muonRefs() const { return muonRefs_; }
1199 
1200  size_type jetSize() const { return jetIds_.size(); }
1201  const Vids& jetIds() const { return jetIds_; }
1202  const VRjet& jetRefs() const { return jetRefs_; }
1203 
1204  size_type compositeSize() const { return compositeIds_.size(); }
1205  const Vids& compositeIds() const { return compositeIds_; }
1206  const VRcomposite& compositeRefs() const { return compositeRefs_; }
1207 
1208  size_type basemetSize() const { return basemetIds_.size(); }
1209  const Vids& basemetIds() const { return basemetIds_; }
1210  const VRbasemet& basemetRefs() const { return basemetRefs_; }
1211 
1212  size_type calometSize() const { return calometIds_.size(); }
1213  const Vids& calometIds() const { return calometIds_; }
1214  const VRcalomet& calometRefs() const { return calometRefs_; }
1215 
1216  size_type pixtrackSize() const { return pixtrackIds_.size(); }
1217  const Vids& pixtrackIds() const { return pixtrackIds_; }
1218  const VRpixtrack& pixtrackRefs() const { return pixtrackRefs_; }
1219 
1220  size_type l1emSize() const { return l1emIds_.size(); }
1221  const Vids& l1emIds() const { return l1emIds_; }
1222  const VRl1em& l1emRefs() const { return l1emRefs_; }
1223 
1224  size_type l1muonSize() const { return l1muonIds_.size(); }
1225  const Vids& l1muonIds() const { return l1muonIds_; }
1226  const VRl1muon& l1muonRefs() const { return l1muonRefs_; }
1227 
1228  size_type l1jetSize() const { return l1jetIds_.size(); }
1229  const Vids& l1jetIds() const { return l1jetIds_; }
1230  const VRl1jet& l1jetRefs() const { return l1jetRefs_; }
1231 
1232  size_type l1etmissSize() const { return l1etmissIds_.size(); }
1233  const Vids& l1etmissIds() const { return l1etmissIds_; }
1234  const VRl1etmiss& l1etmissRefs() const { return l1etmissRefs_; }
1235 
1236  size_type l1hfringsSize() const { return l1hfringsIds_.size(); }
1237  const Vids& l1hfringsIds() const { return l1hfringsIds_; }
1238  const VRl1hfrings& l1hfringsRefs() const { return l1hfringsRefs_; }
1239 
1240  size_type pfjetSize() const { return pfjetIds_.size(); }
1241  const Vids& pfjetIds() const { return pfjetIds_; }
1242  const VRpfjet& pfjetRefs() const { return pfjetRefs_; }
1243 
1244  size_type pftauSize() const { return pftauIds_.size(); }
1245  const Vids& pftauIds() const { return pftauIds_; }
1246  const VRpftau& pftauRefs() const { return pftauRefs_; }
1247 
1248  size_type pfmetSize() const { return pfmetIds_.size(); }
1249  const Vids& pfmetIds() const { return pfmetIds_; }
1250  const VRpfmet& pfmetRefs() const { return pfmetRefs_; }
1251 
1252  size_type l1tmuonSize() const { return l1tmuonIds_.size(); }
1253  const Vids& l1tmuonIds() const { return l1tmuonIds_; }
1254  const VRl1tmuon& l1tmuonRefs() const { return l1tmuonRefs_; }
1255 
1256  size_type l1tegammaSize() const { return l1tegammaIds_.size(); }
1257  const Vids& l1tegammaIds() const { return l1tegammaIds_; }
1258  const VRl1tegamma& l1tegammaRefs() const { return l1tegammaRefs_; }
1259 
1260  size_type l1tjetSize() const { return l1tjetIds_.size(); }
1261  const Vids& l1tjetIds() const { return l1tjetIds_; }
1262  const VRl1tjet& l1tjetRefs() const { return l1tjetRefs_; }
1263 
1264  size_type l1ttauSize() const { return l1ttauIds_.size(); }
1265  const Vids& l1ttauIds() const { return l1ttauIds_; }
1266  const VRl1ttau& l1ttauRefs() const { return l1ttauRefs_; }
1267 
1268  size_type l1tetsumSize() const { return l1tetsumIds_.size(); }
1269  const Vids& l1tetsumIds() const { return l1tetsumIds_; }
1270  const VRl1tetsum& l1tetsumRefs() const { return l1tetsumRefs_; }
1271  };
1272 
1273  // picked up via argument dependent lookup, e-g- by boost::swap()
1275 
1276 } // namespace trigger
1277 
1278 #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:235
RefProd.h
trigger::VRl1tegamma
l1t::EGammaVectorRef VRl1tegamma
Definition: TriggerRefsCollections.h:76
trigger::TriggerRefsCollections::pfmetRefs_
VRpfmet pfmetRefs_
Definition: TriggerRefsCollections.h:133
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1tetsum &refs) const
Definition: TriggerRefsCollections.h:1047
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRpfjet &refs)
Definition: TriggerRefsCollections.h:432
trigger::TriggerRefsCollections::l1emRefs
const VRl1em & l1emRefs() const
Definition: TriggerRefsCollections.h:1222
CaloJetCollection.h
trigger::TriggerRefsCollections::l1muonIds
const Vids & l1muonIds() const
Definition: TriggerRefsCollections.h:1225
trigger::TriggerRefsCollections::addObject
void addObject(int id, const reco::ElectronRef &ref)
Definition: TriggerRefsCollections.h:239
trigger::TriggerRefsCollections::pftauIds
const Vids & pftauIds() const
Definition: TriggerRefsCollections.h:1245
trigger::TriggerRefsCollections::pfmetRefs
const VRpfmet & pfmetRefs() const
Definition: TriggerRefsCollections.h:1250
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1hfrings &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:887
mps_fire.i
i
Definition: mps_fire.py:428
trigger::TriggerRefsCollections::addObject
void addObject(int id, const reco::CompositeCandidateRef &ref)
Definition: TriggerRefsCollections.h:251
trigger::TriggerRefsCollections::l1tetsumIds_
Vids l1tetsumIds_
Definition: TriggerRefsCollections.h:125
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRbasemet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:642
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1hfrings &refs) const
Definition: TriggerRefsCollections.h:886
trigger::TriggerRefsCollections::photonIds
const Vids & photonIds() const
Definition: TriggerRefsCollections.h:1189
PFTauFwd.h
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRpfmet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1153
L1HFRingsFwd.h
MessageLogger.h
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
trigger::TriggerRefsCollections::l1tegammaIds_
Vids l1tegammaIds_
Definition: TriggerRefsCollections.h:119
trigger::TriggerRefsCollections::compositeIds_
Vids compositeIds_
Definition: TriggerRefsCollections.h:97
trigger::VRphoton
std::vector< reco::RecoEcalCandidateRef > VRphoton
Definition: TriggerRefsCollections.h:60
trigger::TriggerRefsCollections::l1tegammaRefs_
VRl1tegamma l1tegammaRefs_
Definition: TriggerRefsCollections.h:120
L1MuonParticleFwd.h
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRphoton &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:467
trigger::TriggerRefsCollections::pfjetRefs
const VRpfjet & pfjetRefs() const
Definition: TriggerRefsCollections.h:1242
trigger::Vids
std::vector< int > Vids
Definition: TriggerTypeDefs.h:21
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRl1tmuon &refs)
Definition: TriggerRefsCollections.h:395
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1etmiss &refs) const
Definition: TriggerRefsCollections.h:837
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRmuon &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:537
trigger::TriggerRefsCollections::jetRefs_
VRjet jetRefs_
Definition: TriggerRefsCollections.h:96
trigger::TriggerRefsCollections::l1etmissIds_
Vids l1etmissIds_
Definition: TriggerRefsCollections.h:112
trigger::TriggerRefsCollections::pftauSize
size_type pftauSize() const
Definition: TriggerRefsCollections.h:1244
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:1027
trigger::TriggerRefsCollections::l1etmissSize
size_type l1etmissSize() const
Definition: TriggerRefsCollections.h:1232
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRjet &refs)
Definition: TriggerRefsCollections.h:340
Muon.h
trigger::TriggerRefsCollections::photonSize
size_type photonSize() const
low-level getters for data members
Definition: TriggerRefsCollections.h:1188
trigger::TriggerRefsCollections::l1hfringsSize
size_type l1hfringsSize() const
Definition: TriggerRefsCollections.h:1236
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1hfrings &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:873
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1tmuon &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:908
trigger::TriggerRefsCollections::muonRefs_
VRmuon muonRefs_
Definition: TriggerRefsCollections.h:94
PFJetCollection.h
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRcomposite &refs) const
Definition: TriggerRefsCollections.h:592
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRpfjet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1083
trigger::TriggerRefsCollections::pfmetSize
size_type pfmetSize() const
Definition: TriggerRefsCollections.h:1248
trigger::TriggerRefsCollections::l1ttauRefs
const VRl1ttau & l1ttauRefs() const
Definition: TriggerRefsCollections.h:1266
trigger::TriggerRefsCollections::compositeIds
const Vids & compositeIds() const
Definition: TriggerRefsCollections.h:1205
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:131
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1tmuon &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:922
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1tetsum &refs) const
Definition: TriggerRefsCollections.h:1061
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRcalomet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:663
trigger::TriggerRefsCollections::l1muonRefs_
VRl1muon l1muonRefs_
Definition: TriggerRefsCollections.h:109
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1tjet &refs) const
Definition: TriggerRefsCollections.h:991
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRl1etmiss &refs)
Definition: TriggerRefsCollections.h:389
trigger::VRbasemet
std::vector< reco::METRef > VRbasemet
Definition: TriggerRefsCollections.h:65
trigger::TriggerRefsCollections::addObject
void addObject(int id, const reco::IsolatedPixelTrackCandidateRef &ref)
Definition: TriggerRefsCollections.h:263
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRl1muon &refs)
Definition: TriggerRefsCollections.h:377
trigger::TriggerRefsCollections::addObject
void addObject(int id, const l1extra::L1EmParticleRef &ref)
Definition: TriggerRefsCollections.h:268
trigger::TriggerRefsCollections::addObject
void addObject(int id, const reco::METRef &ref)
Definition: TriggerRefsCollections.h:255
trigger::TriggerRefsCollections::l1hfringsIds
const Vids & l1hfringsIds() const
Definition: TriggerRefsCollections.h:1237
trigger::TriggerRefsCollections::l1muonSize
size_type l1muonSize() const
Definition: TriggerRefsCollections.h:1224
trigger::VRl1hfrings
std::vector< l1extra::L1HFRingsRef > VRl1hfrings
Definition: TriggerRefsCollections.h:73
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRcomposite &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:593
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1etmiss &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:852
trigger::TriggerRefsCollections::l1tegammaRefs
const VRl1tegamma & l1tegammaRefs() const
Definition: TriggerRefsCollections.h:1258
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRelectron &refs) const
Definition: TriggerRefsCollections.h:501
trigger::VRpixtrack
std::vector< reco::IsolatedPixelTrackCandidateRef > VRpixtrack
Definition: TriggerRefsCollections.h:67
trigger::TriggerRefsCollections::compositeRefs_
VRcomposite compositeRefs_
Definition: TriggerRefsCollections.h:98
trigger::TriggerRefsCollections::electronRefs
const VRelectron & electronRefs() const
Definition: TriggerRefsCollections.h:1194
trigger::TriggerRefsCollections::basemetRefs_
VRbasemet basemetRefs_
Definition: TriggerRefsCollections.h:100
trigger::TriggerRefsCollections::pftauIds_
Vids pftauIds_
Definition: TriggerRefsCollections.h:130
trigger::TriggerRefsCollections::l1tegammaSize
size_type l1tegammaSize() const
Definition: TriggerRefsCollections.h:1256
l1t::EGammaVectorRef
std::vector< EGammaRef > EGammaVectorRef
Definition: TkEGTau.h:36
trigger::TriggerRefsCollections::electronSize
size_type electronSize() const
Definition: TriggerRefsCollections.h:1192
trigger::TriggerRefsCollections::l1etmissRefs
const VRl1etmiss & l1etmissRefs() const
Definition: TriggerRefsCollections.h:1234
trigger::TriggerRefsCollections::jetIds_
Vids jetIds_
Definition: TriggerRefsCollections.h:95
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1tegamma &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:943
dqmdumpme.first
first
Definition: dqmdumpme.py:55
trigger::TriggerRefsCollections::pixtrackRefs_
VRpixtrack pixtrackRefs_
Definition: TriggerRefsCollections.h:104
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRpixtrack &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:712
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
Definition: TriggerRefsCollections.h:452
trigger::TriggerRefsCollections::TriggerRefsCollections
TriggerRefsCollections()
methods
Definition: TriggerRefsCollections.h:138
trigger::TriggerRefsCollections::l1tjetRefs
const VRl1tjet & l1tjetRefs() const
Definition: TriggerRefsCollections.h:1262
CaloMETFwd.h
trigger::TriggerRefsCollections::photonRefs
const VRphoton & photonRefs() const
Definition: TriggerRefsCollections.h:1190
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1ttau &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1013
trigger::TriggerRefsCollections::electronIds
const Vids & electronIds() const
Definition: TriggerRefsCollections.h:1193
trigger::TriggerRefsCollections::jetRefs
const VRjet & jetRefs() const
Definition: TriggerRefsCollections.h:1202
trigger::TriggerRefsCollections::jetIds
const Vids & jetIds() const
Definition: TriggerRefsCollections.h:1201
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRpfjet &refs) const
Definition: TriggerRefsCollections.h:1082
edm::Ref
Definition: AssociativeIterator.h:58
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1em &refs) const
Definition: TriggerRefsCollections.h:732
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRpfjet &refs) const
Definition: TriggerRefsCollections.h:1096
trigger::VRl1tjet
l1t::JetVectorRef VRl1tjet
Definition: TriggerRefsCollections.h:77
trigger::TriggerRefsCollections::pfjetIds_
Vids pfjetIds_
Definition: TriggerRefsCollections.h:128
trigger::TriggerRefsCollections::l1tmuonIds
const Vids & l1tmuonIds() const
Definition: TriggerRefsCollections.h:1253
trigger::TriggerRefsCollections::pfjetRefs_
VRpfjet pfjetRefs_
Definition: TriggerRefsCollections.h:129
trigger::TriggerRefsCollections::addObject
void addObject(int id, const l1t::EGammaRef &ref)
Definition: TriggerRefsCollections.h:292
trigger::TriggerRefsCollections::l1tetsumSize
size_type l1tetsumSize() const
Definition: TriggerRefsCollections.h:1268
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRmuon &refs) const
Definition: TriggerRefsCollections.h:536
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1jet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:817
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1muon &refs) const
Definition: TriggerRefsCollections.h:767
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRcalomet &refs) const
Definition: TriggerRefsCollections.h:676
trigger::TriggerRefsCollections::l1etmissRefs_
VRl1etmiss l1etmissRefs_
Definition: TriggerRefsCollections.h:113
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1tjet &refs) const
Definition: TriggerRefsCollections.h:977
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1em &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:747
trigger::size_type
uint16_t size_type
Definition: TriggerTypeDefs.h:18
trigger::TriggerRefsCollections::compositeRefs
const VRcomposite & compositeRefs() const
Definition: TriggerRefsCollections.h:1206
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1tjet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:992
trigger::TriggerRefsCollections::l1tmuonIds_
Vids l1tmuonIds_
Definition: TriggerRefsCollections.h:117
trigger::TriggerRefsCollections::addObject
void addObject(int id, const reco::RecoChargedCandidateRef &ref)
Definition: TriggerRefsCollections.h:243
std::swap
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
Definition: DataFrameContainer.h:209
trigger::TriggerRefsCollections::pfjetSize
size_type pfjetSize() const
Definition: TriggerRefsCollections.h:1240
trigger::TriggerRefsCollections::l1jetIds
const Vids & l1jetIds() const
Definition: TriggerRefsCollections.h:1229
EGamma.h
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRcalomet &refs) const
Definition: TriggerRefsCollections.h:662
trigger::TriggerRefsCollections::addObject
void addObject(int id, const l1extra::L1MuonParticleRef &ref)
Definition: TriggerRefsCollections.h:272
mps_fire.end
end
Definition: mps_fire.py:242
trigger::TriggerRefsCollections::l1jetRefs
const VRl1jet & l1jetRefs() const
Definition: TriggerRefsCollections.h:1230
trigger::TriggerRefsCollections::l1tmuonSize
size_type l1tmuonSize() const
Definition: TriggerRefsCollections.h:1252
trigger::TriggerRefsCollections::calometIds_
Vids calometIds_
Definition: TriggerRefsCollections.h:101
trigger::TriggerRefsCollections::l1emRefs_
VRl1em l1emRefs_
Definition: TriggerRefsCollections.h:107
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1jet &refs) const
Definition: TriggerRefsCollections.h:802
trigger::VRl1etmiss
std::vector< l1extra::L1EtMissParticleRef > VRl1etmiss
Definition: TriggerRefsCollections.h:72
trigger::TriggerRefsCollections::photonRefs_
VRphoton photonRefs_
Definition: TriggerRefsCollections.h:90
trigger::TriggerRefsCollections::addObject
void addObject(int id, const reco::PFTauRef &ref)
Definition: TriggerRefsCollections.h:312
trigger::TriggerRefsCollections::l1ttauSize
size_type l1ttauSize() const
Definition: TriggerRefsCollections.h:1264
trackingPlots.other
other
Definition: trackingPlots.py:1467
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1em &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:733
trigger::TriggerRefsCollections::photonIds_
Vids photonIds_
data members
Definition: TriggerRefsCollections.h:89
trigger::TriggerRefsCollections::l1hfringsRefs
const VRl1hfrings & l1hfringsRefs() const
Definition: TriggerRefsCollections.h:1238
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRl1hfrings &refs)
Definition: TriggerRefsCollections.h:425
trigger::VRl1muon
std::vector< l1extra::L1MuonParticleRef > VRl1muon
Definition: TriggerRefsCollections.h:70
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRcomposite &refs) const
Definition: TriggerRefsCollections.h:606
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1etmiss &refs) const
Definition: TriggerRefsCollections.h:851
trigger::TriggerRefsCollections::l1hfringsRefs_
VRl1hfrings l1hfringsRefs_
Definition: TriggerRefsCollections.h:115
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRphoton &refs) const
Definition: TriggerRefsCollections.h:466
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRmuon &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:523
trigger::TriggerRefsCollections::electronIds_
Vids electronIds_
Definition: TriggerRefsCollections.h:91
trigger::TriggerRefsCollections::pfmetIds
const Vids & pfmetIds() const
Definition: TriggerRefsCollections.h:1249
L1EmParticleFwd.h
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1tjet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:978
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1tegamma &refs) const
Definition: TriggerRefsCollections.h:956
trigger::TriggerRefsCollections::l1tjetSize
size_type l1tjetSize() const
Definition: TriggerRefsCollections.h:1260
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1tetsum &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1048
trigger::TriggerRefsCollections::addObject
void addObject(int id, const reco::CaloMETRef &ref)
Definition: TriggerRefsCollections.h:259
trigger::TriggerRefsCollections::l1hfringsIds_
Vids l1hfringsIds_
Definition: TriggerRefsCollections.h:114
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRcomposite &refs)
Definition: TriggerRefsCollections.h:346
trigger::TriggerRefsCollections::addObject
void addObject(int id, const l1t::EtSumRef &ref)
Definition: TriggerRefsCollections.h:304
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRphoton &refs)
Definition: TriggerRefsCollections.h:322
CompositeCandidateFwd.h
ElectronFwd.h
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1em &refs) const
Definition: TriggerRefsCollections.h:746
trigger::TriggerRefsCollections::l1tjetRefs_
VRl1tjet l1tjetRefs_
Definition: TriggerRefsCollections.h:122
L1JetParticleFwd.h
MessageDrop.h
trigger::TriggerRefsCollections::l1ttauIds_
Vids l1ttauIds_
Definition: TriggerRefsCollections.h:123
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1etmiss &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:838
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1ttau &refs) const
Definition: TriggerRefsCollections.h:1026
L1EtMissParticleFwd.h
trigger::TriggerRefsCollections::swap
void swap(TriggerRefsCollections &other)
utility
Definition: TriggerRefsCollections.h:186
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1tegamma &refs) const
Definition: TriggerRefsCollections.h:942
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRmuon &refs) const
Definition: TriggerRefsCollections.h:522
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRl1tetsum &refs)
Definition: TriggerRefsCollections.h:419
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRl1jet &refs)
Definition: TriggerRefsCollections.h:383
trigger::TriggerRefsCollections::l1tegammaIds
const Vids & l1tegammaIds() const
Definition: TriggerRefsCollections.h:1257
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1tegamma &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:957
trigger::VRpfjet
std::vector< reco::PFJetRef > VRpfjet
Definition: TriggerRefsCollections.h:81
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRbasemet &refs) const
Definition: TriggerRefsCollections.h:627
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRelectron &refs)
Definition: TriggerRefsCollections.h:328
trigger::TriggerRefsCollections::addObject
void addObject(int id, const l1t::TauRef &ref)
Definition: TriggerRefsCollections.h:300
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRpixtrack &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:698
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRpftau &refs)
Definition: TriggerRefsCollections.h:438
trigger::TriggerRefsCollections::addObject
void addObject(int id, const l1extra::L1HFRingsRef &ref)
Definition: TriggerRefsCollections.h:284
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRbasemet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:628
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRphoton &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:453
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRjet &refs) const
Definition: TriggerRefsCollections.h:557
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRpixtrack &refs) const
Definition: TriggerRefsCollections.h:697
trigger::TriggerRefsCollections::calometIds
const Vids & calometIds() const
Definition: TriggerRefsCollections.h:1213
trigger::VRl1em
std::vector< l1extra::L1EmParticleRef > VRl1em
Definition: TriggerRefsCollections.h:69
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1jet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:803
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRjet &refs) const
Definition: TriggerRefsCollections.h:571
trigger::TriggerRefsCollections::pixtrackIds
const Vids & pixtrackIds() const
Definition: TriggerRefsCollections.h:1217
trigger::TriggerRefsCollections::calometRefs_
VRcalomet calometRefs_
Definition: TriggerRefsCollections.h:102
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRpfmet &refs)
Definition: TriggerRefsCollections.h:444
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRl1ttau &refs)
Definition: TriggerRefsCollections.h:413
trigger::TriggerRefsCollections
Definition: TriggerRefsCollections.h:85
trigger::TriggerRefsCollections::addObject
void addObject(int id, const reco::PFMETRef &ref)
Definition: TriggerRefsCollections.h:316
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRpfmet &refs) const
Definition: TriggerRefsCollections.h:1152
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1tmuon &refs) const
Definition: TriggerRefsCollections.h:907
trigger::TriggerRefsCollections::pixtrackIds_
Vids pixtrackIds_
Definition: TriggerRefsCollections.h:103
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRelectron &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:488
trigger::TriggerRefsCollections::l1muonIds_
Vids l1muonIds_
Definition: TriggerRefsCollections.h:108
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRpftau &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1132
trigger::TriggerRefsCollections::l1etmissIds
const Vids & l1etmissIds() const
Definition: TriggerRefsCollections.h:1233
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRpfjet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1097
trigger::TriggerRefsCollections::l1tetsumRefs_
VRl1tetsum l1tetsumRefs_
Definition: TriggerRefsCollections.h:126
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1muon &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:768
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1hfrings &refs) const
Definition: TriggerRefsCollections.h:872
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRl1tegamma &refs)
Definition: TriggerRefsCollections.h:401
trigger::TriggerRefsCollections::l1tjetIds_
Vids l1tjetIds_
Definition: TriggerRefsCollections.h:121
trigger::TriggerRefsCollections::muonIds
const Vids & muonIds() const
Definition: TriggerRefsCollections.h:1197
trigger::TriggerRefsCollections::l1muonRefs
const VRl1muon & l1muonRefs() const
Definition: TriggerRefsCollections.h:1226
trigger::TriggerRefsCollections::l1tjetIds
const Vids & l1tjetIds() const
Definition: TriggerRefsCollections.h:1261
trigger::TriggerRefsCollections::l1ttauIds
const Vids & l1ttauIds() const
Definition: TriggerRefsCollections.h:1265
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRbasemet &refs)
Definition: TriggerRefsCollections.h:352
trigger::swap
void swap(TriggerFilterObjectWithRefs &first, TriggerFilterObjectWithRefs &second)
Definition: TriggerFilterObjectWithRefs.h:78
trigger::VRelectron
std::vector< reco::ElectronRef > VRelectron
Definition: TriggerRefsCollections.h:61
trigger::TriggerRefsCollections::l1jetIds_
Vids l1jetIds_
Definition: TriggerRefsCollections.h:110
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRl1ttau &refs) const
Definition: TriggerRefsCollections.h:1012
trigger::TriggerRefsCollections::addObject
void addObject(int id, const reco::PFJetRef &ref)
Definition: TriggerRefsCollections.h:308
trigger::TriggerRefsCollections::addObject
void addObject(int id, const reco::CaloJetRef &ref)
Definition: TriggerRefsCollections.h:247
trigger::TriggerRefsCollections::pixtrackRefs
const VRpixtrack & pixtrackRefs() const
Definition: TriggerRefsCollections.h:1218
trigger::TriggerRefsCollections::jetSize
size_type jetSize() const
Definition: TriggerRefsCollections.h:1200
trigger::TriggerRefsCollections::muonRefs
const VRmuon & muonRefs() const
Definition: TriggerRefsCollections.h:1198
PFMETFwd.h
trigger::VRjet
std::vector< reco::CaloJetRef > VRjet
Definition: TriggerRefsCollections.h:63
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRpftau &refs) const
Definition: TriggerRefsCollections.h:1131
trigger::TriggerRefsCollections::l1tmuonRefs
const VRl1tmuon & l1tmuonRefs() const
Definition: TriggerRefsCollections.h:1254
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRl1em &refs)
Definition: TriggerRefsCollections.h:371
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRjet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:572
trigger::VRcalomet
std::vector< reco::CaloMETRef > VRcalomet
Definition: TriggerRefsCollections.h:66
Ref.h
trigger::TriggerRefsCollections::l1emSize
size_type l1emSize() const
Definition: TriggerRefsCollections.h:1220
trigger::TriggerRefsCollections::addObject
void addObject(int id, const l1extra::L1EtMissParticleRef &ref)
Definition: TriggerRefsCollections.h:280
trigger::TriggerRefsCollections::pfmetIds_
Vids pfmetIds_
Definition: TriggerRefsCollections.h:132
trigger::TriggerRefsCollections::basemetRefs
const VRbasemet & basemetRefs() const
Definition: TriggerRefsCollections.h:1210
trigger::TriggerRefsCollections::l1ttauRefs_
VRl1ttau l1ttauRefs_
Definition: TriggerRefsCollections.h:124
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRpftau &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1118
trigger::VRl1ttau
l1t::TauVectorRef VRl1ttau
Definition: TriggerRefsCollections.h:78
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRelectron &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:502
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRpfmet &refs) const
Definition: TriggerRefsCollections.h:1166
trigger::TriggerRefsCollections::addObject
void addObject(int id, const l1extra::L1JetParticleRef &ref)
Definition: TriggerRefsCollections.h:276
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1tmuon &refs) const
Definition: TriggerRefsCollections.h:921
trigger::VRcomposite
std::vector< reco::CompositeCandidateRef > VRcomposite
Definition: TriggerRefsCollections.h:64
trigger::VRl1jet
std::vector< l1extra::L1JetParticleRef > VRl1jet
Definition: TriggerRefsCollections.h:71
trigger::VRmuon
std::vector< reco::RecoChargedCandidateRef > VRmuon
Definition: TriggerRefsCollections.h:62
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRmuon &refs)
Definition: TriggerRefsCollections.h:334
trigger::TriggerRefsCollections::addObject
void addObject(int id, const l1t::MuonRef &ref)
Definition: TriggerRefsCollections.h:288
trigger::VRpfmet
std::vector< reco::PFMETRef > VRpfmet
Definition: TriggerRefsCollections.h:83
METFwd.h
trigger::TriggerRefsCollections::basemetIds_
Vids basemetIds_
Definition: TriggerRefsCollections.h:99
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1muon &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:782
trigger::TriggerRefsCollections::l1jetSize
size_type l1jetSize() const
Definition: TriggerRefsCollections.h:1228
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRjet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:558
trigger::TriggerRefsCollections::pixtrackSize
size_type pixtrackSize() const
Definition: TriggerRefsCollections.h:1216
trigger::TriggerRefsCollections::electronRefs_
VRelectron electronRefs_
Definition: TriggerRefsCollections.h:92
trigger::VRl1tmuon
l1t::MuonVectorRef VRl1tmuon
Definition: TriggerRefsCollections.h:75
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRl1tjet &refs)
Definition: TriggerRefsCollections.h:407
trigger::TriggerRefsCollections::calometSize
size_type calometSize() const
Definition: TriggerRefsCollections.h:1212
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRpftau &refs) const
Definition: TriggerRefsCollections.h:1117
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRelectron &refs) const
Definition: TriggerRefsCollections.h:487
l1t::TauVectorRef
std::vector< TauRef > TauVectorRef
Definition: Tau.h:14
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1muon &refs) const
Definition: TriggerRefsCollections.h:781
trigger::TriggerRefsCollections::basemetIds
const Vids & basemetIds() const
Definition: TriggerRefsCollections.h:1209
trigger::TriggerRefsCollections::compositeSize
size_type compositeSize() const
Definition: TriggerRefsCollections.h:1204
l1t::MuonVectorRef
std::vector< MuonRef > MuonVectorRef
Definition: Muon.h:15
RecoEcalCandidateFwd.h
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRbasemet &refs) const
Definition: TriggerRefsCollections.h:641
trigger
Definition: HLTPrescaleTableCond.h:8
trigger::TriggerRefsCollections::l1tmuonRefs_
VRl1tmuon l1tmuonRefs_
Definition: TriggerRefsCollections.h:118
trigger::TriggerRefsCollections::l1jetRefs_
VRl1jet l1jetRefs_
Definition: TriggerRefsCollections.h:111
trigger::TriggerRefsCollections::l1emIds_
Vids l1emIds_
Definition: TriggerRefsCollections.h:106
trigger::VRpftau
std::vector< reco::PFTauRef > VRpftau
Definition: TriggerRefsCollections.h:82
trigger::TriggerRefsCollections::muonIds_
Vids muonIds_
Definition: TriggerRefsCollections.h:93
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRpixtrack &refs)
Definition: TriggerRefsCollections.h:364
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1tetsum &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1062
EtSum.h
trigger::TriggerRefsCollections::l1tetsumIds
const Vids & l1tetsumIds() const
Definition: TriggerRefsCollections.h:1269
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRcalomet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:677
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
trigger::TriggerRefsCollections::pfjetIds
const Vids & pfjetIds() const
Definition: TriggerRefsCollections.h:1241
trigger::TriggerRefsCollections::l1tetsumRefs
const VRl1tetsum & l1tetsumRefs() const
Definition: TriggerRefsCollections.h:1270
RecoChargedCandidateFwd.h
trigger::TriggerRefsCollections::addObjects
size_type addObjects(const Vids &ids, const VRcalomet &refs)
Definition: TriggerRefsCollections.h:358
trigger::TriggerRefsCollections::l1emIds
const Vids & l1emIds() const
Definition: TriggerRefsCollections.h:1221
trigger::TriggerRefsCollections::addObject
void addObject(int id, const l1t::JetRef &ref)
Definition: TriggerRefsCollections.h:296
l1t::EtSumVectorRef
std::vector< EtSumRef > EtSumVectorRef
Definition: EtSum.h:14
IsolatedPixelTrackCandidateFwd.h
trigger::TriggerRefsCollections::pftauRefs
const VRpftau & pftauRefs() const
Definition: TriggerRefsCollections.h:1246
trigger::VRl1tetsum
l1t::EtSumVectorRef VRl1tetsum
Definition: TriggerRefsCollections.h:79
trigger::TriggerRefsCollections::basemetSize
size_type basemetSize() const
Definition: TriggerRefsCollections.h:1208
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRl1jet &refs) const
Definition: TriggerRefsCollections.h:816
trigger::TriggerRefsCollections::muonSize
size_type muonSize() const
Definition: TriggerRefsCollections.h:1196
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRcomposite &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:607
Tau.h
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRpfmet &refs, size_type begin, size_type end) const
Definition: TriggerRefsCollections.h:1167
trigger::TriggerRefsCollections::calometRefs
const VRcalomet & calometRefs() const
Definition: TriggerRefsCollections.h:1214
trigger::TriggerRefsCollections::getObjects
void getObjects(int id, VRpixtrack &refs) const
Definition: TriggerRefsCollections.h:711