1 #ifndef HLTReco_TriggerEventWithRefs_h 2 #define HLTReco_TriggerEventWithRefs_h 254 return std::pair<size_type, size_type>(begin, end);
260 return std::pair<size_type, size_type>(begin, end);
266 return std::pair<size_type, size_type>(begin, end);
272 return std::pair<size_type, size_type>(begin, end);
278 return std::pair<size_type, size_type>(begin, end);
284 return std::pair<size_type, size_type>(begin, end);
290 return std::pair<size_type, size_type>(begin, end);
296 return std::pair<size_type, size_type>(begin, end);
302 return std::pair<size_type, size_type>(begin, end);
308 return std::pair<size_type, size_type>(begin, end);
314 return std::pair<size_type, size_type>(begin, end);
320 return std::pair<size_type, size_type>(begin, end);
326 return std::pair<size_type, size_type>(begin, end);
332 return std::pair<size_type, size_type>(begin, end);
338 return std::pair<size_type, size_type>(begin, end);
344 return std::pair<size_type, size_type>(begin, end);
350 return std::pair<size_type, size_type>(begin, end);
355 return std::pair<size_type, size_type>(begin, end);
360 return std::pair<size_type, size_type>(begin, end);
365 return std::pair<size_type, size_type>(begin, end);
372 return std::pair<size_type, size_type>(begin, end);
377 return std::pair<size_type, size_type>(begin, end);
382 return std::pair<size_type, size_type>(begin, end);
387 return std::pair<size_type, size_type>(begin, end);
392 return std::pair<size_type, size_type>(begin, end);
397 return std::pair<size_type, size_type>(begin, end);
402 return std::pair<size_type, size_type>(begin, end);
408 return std::pair<size_type, size_type>(begin, end);
414 return std::pair<size_type, size_type>(begin, end);
420 return std::pair<size_type, size_type>(begin, end);
426 return std::pair<size_type, size_type>(begin, end);
const std::string & usedProcessName() const
getters - for user access
const VRcomposite & compositeRefs() const
std::pair< size_type, size_type > l1tp2gtcandSlice(size_type filter) const
const VRl1tpftrack & l1tpftrackRefs() const
void getObjects(size_type filter, Vids &ids, VRl1tp2etsum &l1tp2etsum) const
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
void getObjects(size_type filter, int id, VRl1tjet &l1tjet) const
size_type addObjects(const Vids &ids, const VRphoton &refs)
const VRl1tp2gtcand & l1tp2gtcandRefs() const
const Vids & l1tmuonIds() const
const VRpixtrack & pixtrackRefs() const
void getObjects(size_type filter, Vids &ids, VRpftau &pftaus) const
void getObjects(size_type filter, int id, VRmuon &muons) const
void getObjects(size_type filter, int id, VRl1tmuonShower &l1tmuonShower) const
void getObjects(size_type filter, Vids &ids, VRelectron &electrons) const
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
void getObjects(size_type filter, Vids &ids, VRl1thpspftau &l1thpspftau) const
const VRl1tmuon & l1tmuonRefs() const
void getObjects(size_type filter, int id, VRcalomet &calomets) const
void getObjects(size_type filter, Vids &ids, VRjet &jets) const
std::pair< size_type, size_type > compositeSlice(size_type filter) const
void getObjects(size_type filter, Vids &ids, VRl1tpfjet &l1tpfjet) const
void getObjects(size_type filter, Vids &ids, VRpixtrack &pixtracks) const
void getObjects(size_type filter, int id, VRl1em &l1em) const
const Vids & l1thpspftauIds() const
void addFilterObject(const edm::InputTag &filterTag, const TriggerFilterObjectWithRefs &tfowr)
setters - to build EDProduct
std::pair< size_type, size_type > calometSlice(size_type filter) const
TriggerEventWithRefs()
methods
l1t::P2GTCandidateVectorRef VRl1tp2gtcand
const Vids & pixtrackIds() const
l1t::EGammaVectorRef VRl1tegamma
void getObjects(size_type filter, Vids &ids, VRpfmet &pfmets) const
void getObjects(size_type filter, Vids &ids, VRl1tjet &l1tjet) const
std::pair< size_type, size_type > l1tpftrackSlice(size_type filter) const
void getObjects(size_type filter, Vids &ids, VRl1tmuon &l1tmuon) const
std::vector< reco::METRef > VRbasemet
std::pair< size_type, size_type > l1ttkeleSlice(size_type filter) const
std::pair< size_type, size_type > l1jetSlice(size_type filter) const
const Vids & jetIds() const
std::pair< size_type, size_type > l1thpspftauSlice(size_type filter) const
void getObjects(size_type filter, Vids &ids, VRl1tetsum &l1tetsum) const
const Vids & l1tpftrackIds() const
void getObjects(size_type filter, int id, VRl1tpftau &l1tpftau) const
l1t::JetVectorRef VRl1tjet
std::string usedProcessName_
data members
std::pair< size_type, size_type > l1hfringsSlice(size_type filter) const
void getObjects(size_type filter, int id, VRpixtrack &pixtracks) const
void getObjects(size_type filter, int id, VRl1muon &l1muon) const
const VRl1em & l1emRefs() const
std::pair< size_type, size_type > l1tpftauSlice(size_type filter) const
muons
the two sets of parameters below are mutually exclusive, depending if RECO or ALCARECO is used the us...
void getObjects(size_type filter, Vids &ids, VRl1tmuonShower &l1tmuonShower) const
const VRpftau & pftauRefs() const
std::pair< size_type, size_type > l1tetsumSlice(size_type filter) const
const Vids & l1emIds() const
void getObjects(size_type filter, int id, VRl1tp2gtcand &l1tp2gtcand) const
std::pair< size_type, size_type > pftauSlice(size_type filter) const
void getObjects(size_type filter, int id, VRpfmet &pfmets) const
void getObjects(size_type filter, int id, VRpftau &pftaus) const
void getObjects(size_type filter, int id, VRbasemet &basemets) const
std::vector< l1extra::L1MuonParticleRef > VRl1muon
const VRelectron & electronRefs() const
void getObjects(size_type filter, Vids &ids, VRl1jet &l1jet) const
void getObjects(size_type filter, int id, VRelectron &electrons) const
const Vids & calometIds() const
const VRl1ttkmuon & l1ttkmuonRefs() const
void getObjects(size_type filter, Vids &ids, VRmuon &muons) const
void getObjects(size_type filter, int id, VRl1ttkmuon &l1ttkmuon) const
U second(std::pair< T, U > const &p)
std::pair< size_type, size_type > pixtrackSlice(size_type filter) const
std::vector< l1extra::L1HFRingsRef > VRl1hfrings
const Vids & l1muonIds() const
std::vector< reco::IsolatedPixelTrackCandidateRef > VRpixtrack
const VRl1tjet & l1tjetRefs() const
std::pair< size_type, size_type > l1muonSlice(size_type filter) const
std::vector< l1extra::L1EtMissParticleRef > VRl1etmiss
void getObjects(size_type filter, int id, VRphoton &photons) const
const VRl1tpfjet & l1tpfjetRefs() const
const edm::InputTag filterTag(size_type filterIndex) const
tag from index
l1t::PFTrackVectorRef VRl1tpftrack
const Vids & pfmetIds() const
std::pair< size_type, size_type > l1ttkemSlice(size_type filter) const
const Vids & l1tpftauIds() const
void getObjects(size_type filter, Vids &ids, VRpfjet &pfjets) const
const VRpfjet & pfjetRefs() const
size_type filterIndex(const edm::InputTag &filterTag) const
index from tag
void getObjects(size_type filter, int id, VRl1thpspftau &l1thpspftau) const
l1t::PFTauVectorRef VRl1tpftau
const VRl1etmiss & l1etmissRefs() const
std::pair< size_type, size_type > l1tjetSlice(size_type filter) const
void getObjects(size_type filter, Vids &ids, VRl1muon &l1muon) const
const Vids & basemetIds() const
l1t::TkEmVectorRef VRl1ttkem
const VRl1tegamma & l1tegammaRefs() const
const VRbasemet & basemetRefs() const
std::pair< size_type, size_type > jetSlice(size_type filter) const
const Vids & pftauIds() const
TriggerFilterObject()
constructor
void getObjects(size_type filter, int id, VRl1tetsum &l1tetsum) const
l1t::TrackerMuonRefVector VRl1ttkmuon
const Vids & l1tp2gtcandIds() const
void getObjects(size_type filter, Vids &ids, VRl1em &l1em) const
const Vids & l1ttkmuonIds() const
const VRl1tmuonShower & l1tmuonShowerRefs() const
const VRl1ttau & l1ttauRefs() const
std::vector< l1extra::L1EmParticleRef > VRl1em
void getObjects(size_type filter, int id, VRjet &jets) const
std::pair< size_type, size_type > photonSlice(size_type filter) const
slices of objects for a specific filter: [begin,end[
const VRl1muon & l1muonRefs() const
void getObjects(size_type filter, int id, VRl1tp2etsum &l1tp2etsum) const
void getObjects(size_type filter, Vids &ids, VRcomposite &composites) const
void getObjects(size_type filter, int id, VRl1tmuon &l1tmuon) const
const VRl1tp2etsum & l1tp2etsumRefs() const
l1t::HPSPFTauVectorRef VRl1thpspftau
void getObjects(size_type filter, int id, VRl1ttau &l1ttau) const
const Vids & l1tjetIds() const
void getObjects(size_type filter, Vids &ids, VRl1tp2gtcand &l1tp2gtcand) const
void getObjects(size_type filter, int id, VRl1ttkele &l1ttkele) const
void getObjects(size_type filter, int id, VRl1jet &l1jet) const
void getObjects(size_type filter, Vids &ids, VRl1ttkmuon &l1ttkmuon) const
const VRl1hfrings & l1hfringsRefs() const
void getObjects(size_type filter, int id, VRl1tpfjet &l1tpfjet) const
const Vids & l1tegammaIds() const
std::vector< reco::CaloJetRef > VRjet
std::pair< size_type, size_type > l1tegammaSlice(size_type filter) const
const Vids & l1hfringsIds() const
std::pair< size_type, size_type > l1etmissSlice(size_type filter) const
std::vector< reco::PFJetRef > VRpfjet
void getObjects(size_type filter, Vids &ids, VRl1etmiss &l1etmiss) const
std::pair< size_type, size_type > l1tpfjetSlice(size_type filter) const
const VRl1ttkele & l1ttkeleRefs() const
std::pair< size_type, size_type > l1emSlice(size_type filter) const
const Vids & l1tetsumIds() const
void getObjects(size_type filter, int id, VRl1tpftrack &l1tpftrack) const
std::pair< size_type, size_type > muonSlice(size_type filter) const
l1t::EtSumVectorP2Ref VRl1tp2etsum
void getObjects(size_type filter, Vids &ids, VRcalomet &calomets) const
std::vector< reco::CompositeCandidateRef > VRcomposite
l1t::MuonVectorRef VRl1tmuon
std::pair< size_type, size_type > l1ttauSlice(size_type filter) const
size_type size() const
number of filters
void getObjects(size_type filter, Vids &ids, VRl1ttau &l1ttau) const
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 getObjects(size_type filter, Vids &ids, VRl1ttkem &l1ttkem) const
const VRcalomet & calometRefs() const
TriggerEventWithRefs(const std::string &usedProcessName, size_type n)
const VRphoton & photonRefs() const
const VRl1tetsum & l1tetsumRefs() const
TriggerFilterObject(const edm::InputTag &filterTag, size_type np, size_type ne, size_type nm, size_type nj, size_type nc, size_type nB, size_type nC, size_type nt, size_type l1em, size_type l1muon, size_type l1jet, size_type l1etmiss, size_type l1hfrings, size_type pfjets, size_type pftaus, size_type pfmets, size_type l1tmuon, size_type l1tmuonShower, size_type l1tegamma, size_type l1tjet, size_type l1ttkmuon, size_type l1ttkele, size_type l1ttkem, size_type l1tpfjet, size_type l1tpftau, size_type l1thpspftau, size_type l1tpftrack, size_type l1tp2etsum, size_type l1ttau, size_type l1tetsum, size_type l1tp2gtcand)
const Vids & pfjetIds() const
std::pair< size_type, size_type > l1tmuonSlice(size_type filter) const
std::pair< size_type, size_type > l1ttkmuonSlice(size_type filter) const
l1t::TauVectorRef VRl1ttau
std::vector< reco::ElectronRef > VRelectron
std::pair< size_type, size_type > pfmetSlice(size_type filter) const
const Vids & l1ttkeleIds() const
void getObjects(size_type filter, Vids &ids, VRl1tpftau &l1tpftau) const
void getObjects(size_type filter, Vids &ids, VRbasemet &basemets) const
const Vids & photonIds() const
std::vector< reco::PFMETRef > VRpfmet
void getObjects(size_type filter, Vids &ids, VRl1hfrings &l1hfrings) const
const VRl1thpspftau & l1thpspftauRefs() const
const Vids & l1ttauIds() const
const Vids & l1tpfjetIds() const
void getObjects(size_type filter, int id, VRl1etmiss &l1etmiss) const
void getObjects(size_type filter, int id, VRl1hfrings &l1hfrings) const
std::vector< reco::CaloMETRef > VRcalomet
l1t::MuonShowerVectorRef VRl1tmuonShower
Helper class: trigger objects firing a single filter.
void getObjects(size_type filter, Vids &ids, VRl1tpftrack &l1tpftrack) const
const VRl1tpftau & l1tpftauRefs() const
const VRl1ttkem & l1ttkemRefs() const
std::pair< size_type, size_type > l1tp2etsumSlice(size_type filter) const
l1t::EtSumVectorRef VRl1tetsum
std::vector< reco::RecoEcalCandidateRef > VRphoton
l1t::PFJetVectorRef VRl1tpfjet
void getObjects(size_type filter, int id, VRl1ttkem &l1ttkem) const
const VRmuon & muonRefs() const
const Vids & muonIds() const
const Vids & l1tp2etsumIds() const
std::vector< l1extra::L1JetParticleRef > VRl1jet
void getObjects(size_type filter, int id, VRcomposite &composites) const
const Vids & compositeIds() const
const VRpfmet & pfmetRefs() const
void getObjects(size_type filter, int id, VRl1tegamma &l1tegamma) const
std::vector< reco::PFTauRef > VRpftau
std::pair< size_type, size_type > pfjetSlice(size_type filter) const
const Vids & l1ttkemIds() const
void getObjects(size_type filter, Vids &ids, VRl1ttkele &l1ttkele) const
std::pair< size_type, size_type > electronSlice(size_type filter) const
std::pair< size_type, size_type > l1tmuonShowerSlice(size_type filter) const
void getObjects(size_type filter, Vids &ids, VRphoton &photons) const
extract Ref<C>s for a specific filter and of specific physics type
void getObjects(size_type filter, Vids &ids, VRl1tegamma &l1tegamma) const
std::pair< size_type, size_type > basemetSlice(size_type filter) const
void getObjects(size_type filter, int id, VRpfjet &pfjets) const
l1t::TkElectronVectorRef VRl1ttkele
std::string filterTag_
encoded InputTag of filter product