1 #ifndef HLTReco_TriggerRefsCollections_h 2 #define HLTReco_TriggerRefsCollections_h 67 typedef std::vector<reco::RecoEcalCandidateRef>
VRphoton;
69 typedef std::vector<reco::RecoChargedCandidateRef>
VRmuon;
70 typedef std::vector<reco::CaloJetRef>
VRjet;
74 typedef std::vector<reco::IsolatedPixelTrackCandidateRef>
VRpixtrack;
76 typedef std::vector<l1extra::L1EmParticleRef>
VRl1em;
77 typedef std::vector<l1extra::L1MuonParticleRef>
VRl1muon;
78 typedef std::vector<l1extra::L1JetParticleRef>
VRl1jet;
79 typedef std::vector<l1extra::L1EtMissParticleRef>
VRl1etmiss;
442 assert(ids.size() == refs.size());
448 assert(ids.size() == refs.size());
454 assert(ids.size() == refs.size());
460 assert(ids.size() == refs.size());
466 assert(ids.size() == refs.size());
472 assert(ids.size() == refs.size());
478 assert(ids.size() == refs.size());
484 assert(ids.size() == refs.size());
491 assert(ids.size() == refs.size());
497 assert(ids.size() == refs.size());
503 assert(ids.size() == refs.size());
509 assert(ids.size() == refs.size());
515 assert(ids.size() == refs.size());
521 assert(ids.size() == refs.size());
527 assert(ids.size() == refs.size());
533 assert(ids.size() == refs.size());
539 assert(ids.size() == refs.size());
545 assert(ids.size() == refs.size());
551 assert(ids.size() == refs.size());
559 assert(ids.size() == refs.size());
565 assert(ids.size() == refs.size());
571 assert(ids.size() == refs.size());
577 assert(ids.size() == refs.size());
583 assert(ids.size() == refs.size());
589 assert(ids.size() == refs.size());
595 assert(ids.size() == refs.size());
601 assert(ids.size() == refs.size());
608 assert(ids.size() == refs.size());
614 assert(ids.size() == refs.size());
620 assert(ids.size() == refs.size());
const VRcomposite & compositeRefs() const
size_type addObjects(const Vids &ids, const VRl1ttau &refs)
void getObjects(Vids &ids, VRpftau &refs) const
const VRl1tpftrack & l1tpftrackRefs() const
void getObjects(int id, VRl1thpspftau &refs) const
size_type l1thpspftauSize() const
void getObjects(Vids &ids, VRl1hfrings &refs) const
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
void getObjects(int id, VRbasemet &refs) const
size_type basemetSize() const
void getObjects(int id, VRl1tjet &refs) const
void getObjects(int id, VRl1ttkmuon &refs) const
size_type addObjects(const Vids &ids, const VRphoton &refs)
size_type pftauSize() const
size_type l1tegammaSize() const
const Vids & l1tmuonIds() const
void getObjects(Vids &ids, VRphoton &refs, size_type begin, size_type end) const
VRcomposite compositeRefs_
const VRpixtrack & pixtrackRefs() const
size_type addObjects(const Vids &ids, const VRbasemet &refs)
size_type photonSize() const
low-level getters for data members
size_type calometSize() const
std::vector< l1t::PFTauRef > PFTauVectorRef
void getObjects(Vids &ids, VRl1ttau &refs) const
void getObjects(int id, VRcalomet &refs, size_type begin, size_type end) const
const VRl1tmuon & l1tmuonRefs() const
void getObjects(Vids &ids, VRl1em &refs) const
const Vids & l1thpspftauIds() const
void addObject(int id, const l1t::MuonShowerRef &ref)
void getObjects(int id, VRjet &refs, size_type begin, size_type end) const
size_type l1emSize() const
size_type addObjects(const Vids &ids, const VRl1muon &refs)
void getObjects(int id, VRl1tmuon &refs, size_type begin, size_type end) const
void getObjects(Vids &ids, VRcalomet &refs, size_type begin, size_type end) const
void getObjects(int id, VRpfjet &refs, size_type begin, size_type end) const
void getObjects(Vids &ids, VRpftau &refs, size_type begin, size_type end) const
void swap(TriggerRefsCollections &first, TriggerRefsCollections &second)
void getObjects(int id, VRl1etmiss &refs, size_type begin, size_type end) const
size_type addObjects(const Vids &ids, const VRl1tegamma &refs)
void addObject(int id, const reco::CompositeCandidateRef &ref)
void addObject(int id, const reco::METRef &ref)
const Vids & pixtrackIds() const
l1t::EGammaVectorRef VRl1tegamma
size_type addObjects(const Vids &ids, const VRl1ttkmuon &refs)
void addObject(int id, const l1t::EtSumRef &ref)
VRl1tpftrack l1tpftrackRefs_
void getObjects(Vids &ids, VRl1tmuonShower &refs) const
void getObjects(int id, VRl1em &refs, size_type begin, size_type end) const
void getObjects(int id, VRpixtrack &refs) const
void addObject(int id, const l1t::PFTauRef &ref)
void swap(TriggerRefsCollections &other)
utility
std::vector< reco::METRef > VRbasemet
void getObjects(Vids &ids, VRl1tegamma &refs) const
void getObjects(int id, VRl1tjet &refs, size_type begin, size_type end) const
size_type addObjects(const Vids &ids, const VRl1tjet &refs)
const Vids & jetIds() const
void getObjects(Vids &ids, VRcalomet &refs) const
void getObjects(int id, VRcomposite &refs) const
void addObject(int id, const reco::RecoChargedCandidateRef &ref)
size_type l1ttkeleSize() const
size_type l1tpfjetSize() const
size_type addObjects(const Vids &ids, const VRl1tpfjet &refs)
const Vids & l1tpftrackIds() const
size_type l1tpftauSize() const
void getObjects(Vids &ids, VRl1thpspftau &refs) const
void getObjects(int id, VRphoton &refs) const
void getObjects(Vids &ids, VRl1tpfjet &refs, size_type begin, size_type end) const
void getObjects(Vids &ids, VRpixtrack &refs, size_type begin, size_type end) const
void addObject(int id, const reco::PFJetRef &ref)
std::vector< EtSumRef > EtSumVectorRef
l1t::JetVectorRef VRl1tjet
size_type l1tjetSize() const
void getObjects(int id, VRphoton &refs, size_type begin, size_type end) const
void addObject(int id, const l1t::PFJetRef &ref)
void getObjects(int id, VRl1muon &refs, size_type begin, size_type end) const
void getObjects(int id, VRl1tp2etsum &refs, size_type begin, size_type end) const
size_type l1ttauSize() const
void getObjects(Vids &ids, VRl1muon &refs) const
size_type addObjects(const Vids &ids, const VRl1ttkem &refs)
void getObjects(Vids &ids, VRl1etmiss &refs) const
size_type addObjects(const Vids &ids, const VRpfmet &refs)
const VRl1em & l1emRefs() const
const VRpftau & pftauRefs() const
const Vids & l1emIds() const
size_type addObjects(const Vids &ids, const VRl1tmuonShower &refs)
void getObjects(Vids &ids, VRbasemet &refs) const
void getObjects(Vids &ids, VRpfmet &refs, size_type begin, size_type end) const
size_type addObjects(const Vids &ids, const VRjet &refs)
void getObjects(Vids &ids, VRl1tetsum &refs, size_type begin, size_type end) const
void addObject(int id, const l1t::TrackerMuonRef &ref)
std::vector< l1extra::L1MuonParticleRef > VRl1muon
const VRelectron & electronRefs() const
size_type l1hfringsSize() const
void getObjects(int id, VRl1em &refs) const
std::vector< HPSPFTauRef > HPSPFTauVectorRef
VRl1tegamma l1tegammaRefs_
void getObjects(int id, VRl1jet &refs) const
void addObject(int id, const reco::PFTauRef &ref)
std::vector< MuonRef > MuonVectorRef
const Vids & calometIds() const
const VRl1ttkmuon & l1ttkmuonRefs() const
void getObjects(Vids &ids, VRelectron &refs) const
size_type addObjects(const Vids &ids, const VRl1tpftau &refs)
void getObjects(int id, VRl1ttkem &refs, size_type begin, size_type end) const
size_type addObjects(const Vids &ids, const VRpixtrack &refs)
void addObject(int id, const reco::RecoEcalCandidateRef &ref)
setters for L3 collections: (id=physics type, and Ref<C>)
std::vector< TkElectronRef > TkElectronVectorRef
U second(std::pair< T, U > const &p)
void getObjects(int id, VRl1muon &refs) const
VRl1tp2etsum l1tp2etsumRefs_
void getObjects(int id, VRl1tegamma &refs, size_type begin, size_type end) const
std::vector< l1extra::L1HFRingsRef > VRl1hfrings
void getObjects(Vids &ids, VRl1tpftau &refs, size_type begin, size_type end) const
size_type addObjects(const Vids &ids, const VRl1tp2etsum &refs)
const Vids & l1muonIds() const
size_type addObjects(const Vids &ids, const VRl1hfrings &refs)
void getObjects(int id, VRpftau &refs) const
std::vector< reco::IsolatedPixelTrackCandidateRef > VRpixtrack
size_type addObjects(const Vids &ids, const VRl1em &refs)
const VRl1tjet & l1tjetRefs() const
void addObject(int id, const l1t::TauRef &ref)
void getObjects(Vids &ids, VRl1tetsum &refs) const
void getObjects(Vids &ids, VRl1tjet &refs, size_type begin, size_type end) const
void getObjects(Vids &ids, VRpfjet &refs) const
void addObject(int id, const l1t::TkEmRef &ref)
size_type addObjects(const Vids &ids, const VRpfjet &refs)
size_type l1ttkmuonSize() const
size_type addObjects(const Vids &ids, const VRcalomet &refs)
void getObjects(int id, VRl1tpftrack &refs) const
void getObjects(int id, VRbasemet &refs, size_type begin, size_type end) const
std::vector< l1extra::L1EtMissParticleRef > VRl1etmiss
size_type addObjects(const Vids &ids, const VRelectron &refs)
void getObjects(int id, VRl1tpftau &refs, size_type begin, size_type end) const
const VRl1tpfjet & l1tpfjetRefs() const
void getObjects(Vids &ids, VRpixtrack &refs) const
size_type addObjects(const Vids &ids, const VRl1thpspftau &refs)
l1t::PFTrackVectorRef VRl1tpftrack
const Vids & pfmetIds() const
void getObjects(int id, VRl1tegamma &refs) const
void getObjects(Vids &ids, VRl1tpftau &refs) const
const Vids & l1tpftauIds() const
void getObjects(int id, VRcalomet &refs) const
void getObjects(int id, VRl1tp2etsum &refs) const
const VRpfjet & pfjetRefs() const
void getObjects(Vids &ids, VRjet &refs, size_type begin, size_type end) const
l1t::PFTauVectorRef VRl1tpftau
size_type addObjects(const Vids &ids, const VRl1tpftrack &refs)
size_type compositeSize() const
void getObjects(Vids &ids, VRl1tjet &refs) const
const VRl1etmiss & l1etmissRefs() const
void getObjects(int id, VRl1ttau &refs) const
void getObjects(Vids &ids, VRl1tmuon &refs) const
void getObjects(int id, VRl1tetsum &refs) const
void getObjects(Vids &ids, VRl1ttkele &refs, size_type begin, size_type end) const
size_type addObjects(const Vids &ids, const VRl1etmiss &refs)
size_type addObjects(const Vids &ids, const VRl1tetsum &refs)
const Vids & basemetIds() const
void addObject(int id, const l1extra::L1EmParticleRef &ref)
void addObject(int id, const l1t::PFTrackRef &ref)
void getObjects(int id, VRl1ttau &refs, size_type begin, size_type end) const
void addObject(int id, const l1t::HPSPFTauRef &ref)
l1t::TkEmVectorRef VRl1ttkem
void getObjects(int id, VRpfjet &refs) const
size_type l1etmissSize() const
const VRl1tegamma & l1tegammaRefs() const
const VRbasemet & basemetRefs() const
void getObjects(int id, VRl1tpftrack &refs, size_type begin, size_type end) const
const Vids & pftauIds() const
std::vector< TauRef > TauVectorRef
void getObjects(Vids &ids, VRl1jet &refs, size_type begin, size_type end) const
size_type jetSize() const
void getObjects(Vids &ids, VRl1tpftrack &refs, size_type begin, size_type end) const
size_type l1tmuonSize() const
void getObjects(int id, VRmuon &refs) const
void getObjects(Vids &ids, VRl1ttkem &refs) const
l1t::TrackerMuonRefVector VRl1ttkmuon
void getObjects(Vids &ids, VRl1tmuonShower &refs, size_type begin, size_type end) const
VRl1thpspftau l1thpspftauRefs_
const Vids & l1ttkmuonIds() const
size_type l1jetSize() const
const VRl1tmuonShower & l1tmuonShowerRefs() const
Vids photonIds_
data members
const VRl1ttau & l1ttauRefs() const
std::vector< l1extra::L1EmParticleRef > VRl1em
void getObjects(Vids &ids, VRl1tpfjet &refs) const
void addObject(int id, const l1extra::L1EtMissParticleRef &ref)
void addObject(int id, const reco::ElectronRef &ref)
void getObjects(Vids &ids, VRpfmet &refs) const
size_type addObjects(const Vids &ids, const VRl1tmuon &refs)
void getObjects(int id, VRl1hfrings &refs, size_type begin, size_type end) const
void addObject(int id, const reco::IsolatedPixelTrackCandidateRef &ref)
const VRl1muon & l1muonRefs() const
size_type l1muonSize() const
void getObjects(int id, VRelectron &refs, size_type begin, size_type end) const
void getObjects(Vids &ids, VRl1muon &refs, size_type begin, size_type end) const
void addObject(int id, const l1t::EGammaRef &ref)
void addObject(int id, const l1extra::L1MuonParticleRef &ref)
void getObjects(Vids &ids, VRl1tp2etsum &refs, size_type begin, size_type end) const
const VRl1tp2etsum & l1tp2etsumRefs() const
l1t::HPSPFTauVectorRef VRl1thpspftau
const Vids & l1tjetIds() const
size_type muonSize() const
std::vector< TkEmRef > TkEmVectorRef
void addObject(int id, const l1t::MuonRef &ref)
void getObjects(Vids &ids, VRl1tmuon &refs, size_type begin, size_type end) const
void getObjects(int id, VRl1tpfjet &refs, size_type begin, size_type end) const
void getObjects(int id, VRpixtrack &refs, size_type begin, size_type end) const
void getObjects(Vids &ids, VRl1jet &refs) const
TriggerRefsCollections()
methods
void getObjects(int id, VRl1tetsum &refs, size_type begin, size_type end) const
void getObjects(Vids &ids, VRl1tegamma &refs, size_type begin, size_type end) const
void getObjects(int id, VRmuon &refs, size_type begin, size_type end) const
size_type l1ttkemSize() const
const VRl1hfrings & l1hfringsRefs() const
std::vector< l1t::PFTrackRef > PFTrackVectorRef
void getObjects(int id, VRl1tmuonShower &refs, size_type begin, size_type end) const
void getObjects(int id, VRl1ttkele &refs, size_type begin, size_type end) const
void getObjects(int id, VRl1ttkmuon &refs, size_type begin, size_type end) const
void getObjects(Vids &ids, VRl1ttkmuon &refs) const
void getObjects(int id, VRl1tmuonShower &refs) const
void swap(TriggerFilterObjectWithRefs &first, TriggerFilterObjectWithRefs &second)
const Vids & l1tegammaIds() const
void addObject(int id, const l1t::EtSumP2Ref &ref)
void getObjects(int id, VRl1hfrings &refs) const
std::vector< reco::CaloJetRef > VRjet
void getObjects(int id, VRl1tpfjet &refs) const
void getObjects(Vids &ids, VRjet &refs) const
void getObjects(Vids &ids, VRl1hfrings &refs, size_type begin, size_type end) const
const Vids & l1hfringsIds() const
size_type addObjects(const Vids &ids, const VRmuon &refs)
void getObjects(Vids &ids, VRl1ttkem &refs, size_type begin, size_type end) const
std::vector< reco::PFJetRef > VRpfjet
size_type l1tetsumSize() const
void getObjects(int id, VRl1thpspftau &refs, size_type begin, size_type end) const
void getObjects(Vids &ids, VRbasemet &refs, size_type begin, size_type end) const
void getObjects(Vids &ids, VRl1tpftrack &refs) const
size_type pixtrackSize() const
void getObjects(int id, VRelectron &refs) const
void addObject(int id, const reco::CaloMETRef &ref)
const VRl1ttkele & l1ttkeleRefs() const
std::vector< l1t::PFJetRef > PFJetVectorRef
const Vids & l1tetsumIds() const
VRl1hfrings l1hfringsRefs_
l1t::EtSumVectorP2Ref VRl1tp2etsum
void addObject(int id, const l1t::JetRef &ref)
void addObject(int id, const reco::PFMETRef &ref)
std::vector< reco::CompositeCandidateRef > VRcomposite
l1t::MuonVectorRef VRl1tmuon
size_type pfjetSize() const
void getObjects(Vids &ids, VRl1etmiss &refs, size_type begin, size_type end) const
void getObjects(int id, VRl1ttkem &refs) const
void getObjects(Vids &ids, VRl1thpspftau &refs, size_type begin, size_type end) const
std::vector< EGammaRef > EGammaVectorRef
const Vids & l1etmissIds() const
std::vector< reco::RecoChargedCandidateRef > VRmuon
const Vids & l1jetIds() const
const VRjet & jetRefs() const
const Vids & l1tmuonShowerIds() const
const Vids & electronIds() const
const VRl1jet & l1jetRefs() const
void addObject(int id, const l1extra::L1HFRingsRef &ref)
void getObjects(Vids &ids, VRl1ttkele &refs) const
size_type addObjects(const Vids &ids, const VRcomposite &refs)
size_type addObjects(const Vids &ids, const VRpftau &refs)
const VRcalomet & calometRefs() const
void getObjects(Vids &ids, VRl1em &refs, size_type begin, size_type end) const
void getObjects(int id, VRl1ttkele &refs) const
size_type addObjects(const Vids &ids, const VRl1ttkele &refs)
void getObjects(Vids &ids, VRcomposite &refs) const
void getObjects(Vids &ids, VRmuon &refs) const
size_type addObjects(const Vids &ids, const VRl1jet &refs)
void getObjects(Vids &ids, VRl1ttau &refs, size_type begin, size_type end) const
VRl1tmuonShower l1tmuonShowerRefs_
std::vector< JetRef > JetVectorRef
void getObjects(Vids &ids, VRelectron &refs, size_type begin, size_type end) const
void getObjects(int id, VRl1etmiss &refs) const
const VRphoton & photonRefs() const
void getObjects(Vids &ids, VRpfjet &refs, size_type begin, size_type end) const
const VRl1tetsum & l1tetsumRefs() const
const Vids & pfjetIds() const
size_type pfmetSize() const
void getObjects(int id, VRpftau &refs, size_type begin, size_type end) const
l1t::TauVectorRef VRl1ttau
std::vector< reco::ElectronRef > VRelectron
void getObjects(Vids &ids, VRl1tp2etsum &refs) const
const Vids & l1ttkeleIds() const
void getObjects(int id, VRl1tmuon &refs) const
const Vids & photonIds() const
size_type l1tp2etsumSize() const
std::vector< reco::PFMETRef > VRpfmet
const VRl1thpspftau & l1thpspftauRefs() const
const Vids & l1ttauIds() const
void getObjects(int id, VRpfmet &refs) const
const Vids & l1tpfjetIds() const
void addObject(int id, const l1extra::L1JetParticleRef &ref)
void getObjects(int id, VRcomposite &refs, size_type begin, size_type end) const
void getObjects(Vids &ids, VRcomposite &refs, size_type begin, size_type end) const
void getObjects(int id, VRpfmet &refs, size_type begin, size_type end) const
void getObjects(int id, VRl1jet &refs, size_type begin, size_type end) const
size_type electronSize() const
std::vector< reco::CaloMETRef > VRcalomet
l1t::MuonShowerVectorRef VRl1tmuonShower
std::vector< EtSumP2Ref > EtSumVectorP2Ref
VRl1ttkmuon l1ttkmuonRefs_
size_type l1tmuonShowerSize() const
const VRl1tpftau & l1tpftauRefs() const
const VRl1ttkem & l1ttkemRefs() const
l1t::EtSumVectorRef VRl1tetsum
std::vector< reco::RecoEcalCandidateRef > VRphoton
l1t::PFJetVectorRef VRl1tpfjet
const VRmuon & muonRefs() const
const Vids & muonIds() const
const Vids & l1tp2etsumIds() const
std::vector< l1extra::L1JetParticleRef > VRl1jet
const Vids & compositeIds() const
size_type l1tpftrackSize() const
const VRpfmet & pfmetRefs() const
std::vector< MuonShowerRef > MuonShowerVectorRef
std::vector< reco::PFTauRef > VRpftau
std::vector< edm::Ref< TrackerMuonCollection > > TrackerMuonRefVector
void getObjects(Vids &ids, VRmuon &refs, size_type begin, size_type end) const
const Vids & l1ttkemIds() const
void getObjects(int id, VRjet &refs) const
void getObjects(int id, VRl1tpftau &refs) const
void addObject(int id, const reco::CaloJetRef &ref)
void addObject(int id, const l1t::TkElectronRef &ref)
l1t::TkElectronVectorRef VRl1ttkele
void getObjects(Vids &ids, VRl1ttkmuon &refs, size_type begin, size_type end) const