1 #ifndef HLTReco_TriggerRefsCollections_h
2 #define HLTReco_TriggerRefsCollections_h
61 typedef std::vector<reco::RecoEcalCandidateRef>
VRphoton;
63 typedef std::vector<reco::RecoChargedCandidateRef>
VRmuon;
64 typedef std::vector<reco::CaloJetRef>
VRjet;
68 typedef std::vector<reco::IsolatedPixelTrackCandidateRef>
VRpixtrack;
70 typedef std::vector<l1extra::L1EmParticleRef>
VRl1em;
71 typedef std::vector<l1extra::L1MuonParticleRef>
VRl1muon;
72 typedef std::vector<l1extra::L1JetParticleRef>
VRl1jet;
73 typedef std::vector<l1extra::L1EtMissParticleRef>
VRl1etmiss;
82 typedef std::vector<reco::PFJetRef>
VRpfjet;
83 typedef std::vector<reco::PFTauRef>
VRpftau;
84 typedef std::vector<reco::PFMETRef>
VRpfmet;
305 assert(ids.size()==refs.size());
311 assert(ids.size()==refs.size());
317 assert(ids.size()==refs.size());
323 assert(ids.size()==refs.size());
329 assert(ids.size()==refs.size());
335 assert(ids.size()==refs.size());
341 assert(ids.size()==refs.size());
347 assert(ids.size()==refs.size());
354 assert(ids.size()==refs.size());
360 assert(ids.size()==refs.size());
366 assert(ids.size()==refs.size());
372 assert(ids.size()==refs.size());
378 assert(ids.size()==refs.size());
384 assert(ids.size()==refs.size());
390 assert(ids.size()==refs.size());
396 assert(ids.size()==refs.size());
402 assert(ids.size()==refs.size());
408 assert(ids.size()==refs.size());
415 assert(ids.size()==refs.size());
421 assert(ids.size()==refs.size());
427 assert(ids.size()==refs.size());
void getObjects(Vids &ids, VRpfjet &refs) const
void getObjects(int id, VRphoton &refs, size_type begin, size_type end) const
size_type basemetSize() const
size_type addObjects(const Vids &ids, const VRl1ttau &refs)
const Vids & l1ttauIds() const
size_type l1ttauSize() const
const Vids & muonIds() const
size_type pfmetSize() const
void getObjects(Vids &ids, VRpfjet &refs, size_type begin, size_type end) const
size_type addObjects(const Vids &ids, const VRphoton &refs)
void getObjects(Vids &ids, VRl1jet &refs) const
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
void getObjects(int id, VRpfmet &refs, size_type begin, size_type end) const
const VRpfmet & pfmetRefs() const
VRcomposite compositeRefs_
void getObjects(int id, VRpixtrack &refs, size_type begin, size_type end) const
void getObjects(Vids &ids, VRpixtrack &refs) const
size_type addObjects(const Vids &ids, const VRbasemet &refs)
const VRjet & jetRefs() const
size_type pfjetSize() const
const VRbasemet & basemetRefs() const
size_type l1tjetSize() const
const VRcalomet & calometRefs() const
size_type addObjects(const Vids &ids, const VRl1muon &refs)
void getObjects(int id, VRcalomet &refs, size_type begin, size_type end) const
const Vids & compositeIds() const
const Vids & pfjetIds() const
size_type pixtrackSize() 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)
size_type electronSize() const
std::vector< JetRef > JetVectorRef
const VRl1tetsum & l1tetsumRefs() const
size_type l1emSize() const
l1t::EGammaVectorRef VRl1tegamma
void getObjects(Vids &ids, VRl1tegamma &refs) const
size_type pftauSize() const
void addObject(int id, const l1t::EtSumRef &ref)
void getObjects(int id, VRl1em &refs) const
void getObjects(int id, VRelectron &refs, size_type begin, size_type end) const
void swap(TriggerRefsCollections &other)
utility
void getObjects(int id, VRl1ttau &refs) const
std::vector< reco::METRef > VRbasemet
size_type addObjects(const Vids &ids, const VRl1tjet &refs)
void addObject(int id, const reco::RecoChargedCandidateRef &ref)
void getObjects(int id, VRl1jet &refs, size_type begin, size_type end) const
void getObjects(int id, VRpfmet &refs) const
void getObjects(int id, VRpfjet &refs) const
void getObjects(Vids &ids, VRbasemet &refs, size_type begin, size_type end) const
void getObjects(int id, VRl1muon &refs, size_type begin, size_type end) const
const Vids & electronIds() const
size_type l1muonSize() const
void getObjects(int id, VRcomposite &refs, size_type begin, size_type end) const
const Vids & l1etmissIds() const
void getObjects(Vids &ids, VRl1tetsum &refs, size_type begin, size_type end) const
void addObject(int id, const reco::PFJetRef &ref)
l1t::JetVectorRef VRl1tjet
void getObjects(int id, VRelectron &refs) const
size_type addObjects(const Vids &ids, const VRpfmet &refs)
void getObjects(Vids &ids, VRl1ttau &refs) const
size_type compositeSize() const
size_type addObjects(const Vids &ids, const VRjet &refs)
size_type jetSize() const
const Vids & basemetIds() const
std::vector< MuonRef > MuonVectorRef
void getObjects(Vids &ids, VRpixtrack &refs, size_type begin, size_type end) const
std::vector< l1extra::L1MuonParticleRef > VRl1muon
size_type l1jetSize() const
VRl1tegamma l1tegammaRefs_
void getObjects(int id, VRl1tjet &refs, size_type begin, size_type end) const
void addObject(int id, const reco::PFTauRef &ref)
void getObjects(Vids &ids, VRl1em &refs) 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>)
U second(std::pair< T, U > const &p)
const VRl1ttau & l1ttauRefs() const
void getObjects(int id, VRpixtrack &refs) const
void getObjects(int id, VRmuon &refs, size_type begin, size_type end) const
std::vector< l1extra::L1HFRingsRef > VRl1hfrings
void getObjects(int id, VRl1hfrings &refs) const
const Vids & pftauIds() const
size_type addObjects(const Vids &ids, const VRl1hfrings &refs)
std::vector< reco::IsolatedPixelTrackCandidateRef > VRpixtrack
const Vids & l1muonIds() const
size_type addObjects(const Vids &ids, const VRl1em &refs)
void addObject(int id, const l1t::TauRef &ref)
size_type addObjects(const Vids &ids, const VRpfjet &refs)
const VRl1muon & l1muonRefs() const
const VRpfjet & pfjetRefs() const
size_type addObjects(const Vids &ids, const VRcalomet &refs)
std::vector< l1extra::L1EtMissParticleRef > VRl1etmiss
size_type addObjects(const Vids &ids, const VRelectron &refs)
void getObjects(Vids &ids, VRcalomet &refs) const
void getObjects(int id, VRl1tmuon &refs) const
const Vids & l1tjetIds() const
const VRl1tegamma & l1tegammaRefs() const
void getObjects(Vids &ids, VRpfmet &refs) const
void getObjects(Vids &ids, VRcomposite &refs) const
void getObjects(Vids &ids, VRl1tjet &refs) const
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
size_type addObjects(const Vids &ids, const VRl1etmiss &refs)
void getObjects(Vids &ids, VRelectron &refs, size_type begin, size_type end) const
size_type addObjects(const Vids &ids, const VRl1tetsum &refs)
const VRmuon & muonRefs() const
void addObject(int id, const l1extra::L1EmParticleRef &ref)
void getObjects(int id, VRl1muon &refs) const
void getObjects(int id, VRl1tetsum &refs, size_type begin, size_type end) const
void getObjects(Vids &ids, VRjet &refs) const
const Vids & l1tetsumIds() const
const VRcomposite & compositeRefs() const
void getObjects(Vids &ids, VRmuon &refs, size_type begin, size_type end) const
void getObjects(Vids &ids, VRpftau &refs) const
void getObjects(Vids &ids, VRcomposite &refs, size_type begin, size_type end) const
void getObjects(Vids &ids, VRl1tetsum &refs) const
void getObjects(Vids &ids, VRl1etmiss &refs, size_type begin, size_type end) const
void getObjects(int id, VRcomposite &refs) const
size_type photonSize() const
low-level getters for data members
void getObjects(Vids &ids, VRcalomet &refs, size_type begin, size_type end) const
void getObjects(Vids &ids, VRelectron &refs) const
const VRl1em & l1emRefs() const
void getObjects(Vids &ids, VRbasemet &refs) const
void getObjects(int id, VRl1jet &refs) const
Vids photonIds_
data members
const Vids & l1hfringsIds() const
std::vector< l1extra::L1EmParticleRef > VRl1em
void addObject(int id, const l1extra::L1EtMissParticleRef &ref)
void addObject(int id, const reco::ElectronRef &ref)
void getObjects(int id, VRpftau &refs, size_type begin, size_type end) const
void getObjects(int id, VRbasemet &refs, size_type begin, size_type end) const
const VRl1hfrings & l1hfringsRefs() const
size_type addObjects(const Vids &ids, const VRl1tmuon &refs)
void addObject(int id, const reco::IsolatedPixelTrackCandidateRef &ref)
void getObjects(int id, VRl1hfrings &refs, size_type begin, size_type end) const
void getObjects(Vids &ids, VRl1tjet &refs, size_type begin, size_type end) const
const Vids & l1jetIds() const
void addObject(int id, const l1t::EGammaRef &ref)
void addObject(int id, const l1extra::L1MuonParticleRef &ref)
const Vids & pixtrackIds() const
void getObjects(Vids &ids, VRpftau &refs, size_type begin, size_type end) const
void getObjects(Vids &ids, VRl1hfrings &refs) const
size_type l1hfringsSize() const
void getObjects(Vids &ids, VRl1tegamma &refs, size_type begin, size_type end) const
void addObject(int id, const l1t::MuonRef &ref)
const VRl1jet & l1jetRefs() const
void getObjects(Vids &ids, VRphoton &refs, size_type begin, size_type end) const
void getObjects(int id, VRl1ttau &refs, size_type begin, size_type end) const
TriggerRefsCollections()
methods
void getObjects(int id, VRmuon &refs) const
void getObjects(Vids &ids, VRl1em &refs, size_type begin, size_type end) const
void getObjects(int id, VRl1etmiss &refs, size_type begin, size_type end) const
void swap(TriggerFilterObjectWithRefs &first, TriggerFilterObjectWithRefs &second)
size_type l1tegammaSize() const
const VRpftau & pftauRefs() const
const VRl1tmuon & l1tmuonRefs() const
void getObjects(int id, VRpfjet &refs, size_type begin, size_type end) const
const VRl1etmiss & l1etmissRefs() const
std::vector< reco::CaloJetRef > VRjet
const VRl1tjet & l1tjetRefs() const
void getObjects(Vids &ids, VRl1tmuon &refs, size_type begin, size_type end) const
size_type addObjects(const Vids &ids, const VRmuon &refs)
std::vector< reco::PFJetRef > VRpfjet
void getObjects(int id, VRl1tetsum &refs) const
void getObjects(Vids &ids, VRl1muon &refs, size_type begin, size_type end) const
size_type calometSize() const
void addObject(int id, const reco::CaloMETRef &ref)
void getObjects(int id, VRl1tegamma &refs, size_type begin, size_type end) const
void getObjects(Vids &ids, VRl1hfrings &refs, size_type begin, size_type end) const
VRl1hfrings l1hfringsRefs_
size_type muonSize() const
void addObject(int id, const l1t::JetRef &ref)
void addObject(int id, const reco::PFMETRef &ref)
std::vector< reco::CompositeCandidateRef > VRcomposite
l1t::MuonVectorRef VRl1tmuon
void getObjects(Vids &ids, VRl1tmuon &refs) const
const VRphoton & photonRefs() const
void getObjects(int id, VRcalomet &refs) const
std::vector< EGammaRef > EGammaVectorRef
void getObjects(int id, VRjet &refs) const
std::vector< reco::RecoChargedCandidateRef > VRmuon
size_type l1tetsumSize() const
const Vids & calometIds() const
void addObject(int id, const l1extra::L1HFRingsRef &ref)
size_type addObjects(const Vids &ids, const VRcomposite &refs)
void getObjects(int id, VRl1tmuon &refs, size_type begin, size_type end) const
size_type addObjects(const Vids &ids, const VRpftau &refs)
const VRelectron & electronRefs() const
void getObjects(int id, VRl1em &refs, size_type begin, size_type end) const
size_type l1tmuonSize() const
const Vids & l1tmuonIds() const
void getObjects(Vids &ids, VRl1ttau &refs, size_type begin, size_type end) const
const Vids & photonIds() const
std::vector< TauRef > TauVectorRef
const Vids & l1emIds() const
size_type addObjects(const Vids &ids, const VRl1jet &refs)
void getObjects(Vids &ids, VRjet &refs, size_type begin, size_type end) const
void getObjects(Vids &ids, VRpfmet &refs, size_type begin, size_type end) const
void getObjects(Vids &ids, VRl1muon &refs) const
const VRpixtrack & pixtrackRefs() const
l1t::TauVectorRef VRl1ttau
std::vector< reco::ElectronRef > VRelectron
void getObjects(Vids &ids, VRmuon &refs) const
void getObjects(int id, VRphoton &refs) const
size_type l1etmissSize() const
std::vector< reco::PFMETRef > VRpfmet
std::vector< EtSumRef > EtSumVectorRef
void addObject(int id, const l1extra::L1JetParticleRef &ref)
void getObjects(int id, VRl1tjet &refs) const
std::vector< reco::CaloMETRef > VRcalomet
void getObjects(Vids &ids, VRl1jet &refs, size_type begin, size_type end) const
void getObjects(int id, VRjet &refs, size_type begin, size_type end) const
const Vids & jetIds() const
void getObjects(int id, VRpftau &refs) const
l1t::EtSumVectorRef VRl1tetsum
std::vector< reco::RecoEcalCandidateRef > VRphoton
std::vector< l1extra::L1JetParticleRef > VRl1jet
void getObjects(int id, VRl1tegamma &refs) const
const Vids & l1tegammaIds() const
const Vids & pfmetIds() const
std::vector< reco::PFTauRef > VRpftau
void getObjects(int id, VRbasemet &refs) const
void addObject(int id, const reco::CaloJetRef &ref)
void getObjects(Vids &ids, VRl1etmiss &refs) const
void getObjects(int id, VRl1etmiss &refs) const