1 #ifndef HLTReco_TriggerEventWithRefs_h
2 #define HLTReco_TriggerEventWithRefs_h
60 photons_(0),
electrons_(0),
muons_(0),
jets_(0),
composites_(0),
basemets_(0),
calomets_(0),
pixtracks_(0),
l1em_(0),
l1muon_(0),
l1jet_(0),
l1etmiss_(0),
l1hfrings_(0),
pfjets_(0),
pftaus_(0),
pfmets_(0) {
64 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) :
66 photons_(np),
electrons_(ne),
muons_(nm),
jets_(nj),
composites_(nc),
basemets_(nB),
calomets_(nC),
pixtracks_(nt),
l1em_(l1em),
l1muon_(l1muon),
l1jet_(l1jet),
l1etmiss_(l1etmiss),
l1hfrings_(l1hfrings),
pfjets_(pfjets),
pftaus_(pftaus),
pfmets_(pfmets) { }
138 return std::pair<size_type,size_type>(
begin,
end);
144 return std::pair<size_type,size_type>(
begin,
end);
150 return std::pair<size_type,size_type>(
begin,
end);
156 return std::pair<size_type,size_type>(
begin,
end);
162 return std::pair<size_type,size_type>(
begin,
end);
168 return std::pair<size_type,size_type>(
begin,
end);
174 return std::pair<size_type,size_type>(
begin,
end);
180 return std::pair<size_type,size_type>(
begin,
end);
186 return std::pair<size_type,size_type>(
begin,
end);
192 return std::pair<size_type,size_type>(
begin,
end);
198 return std::pair<size_type,size_type>(
begin,
end);
204 return std::pair<size_type,size_type>(
begin,
end);
210 return std::pair<size_type,size_type>(
begin,
end);
216 return std::pair<size_type,size_type>(
begin,
end);
222 return std::pair<size_type,size_type>(
begin,
end);
228 return std::pair<size_type,size_type>(
begin,
end);
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)
void getObjects(size_type filter, int id, VRelectron &electrons) const
void getObjects(size_type filter, Vids &ids, VRl1em &l1em) const
std::pair< size_type, size_type > pftauSlice(size_type filter) const
const Vids & muonIds() const
size_type addObjects(const Vids &ids, const VRphoton &refs)
void getObjects(size_type filter, int id, VRpfjet &pfjets) const
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
const VRpfmet & pfmetRefs() const
const VRjet & jetRefs() const
void getObjects(size_type filter, Vids &ids, VRl1jet &l1jet) const
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
void getObjects(size_type filter, int id, VRpftau &pftaus) const
const VRbasemet & basemetRefs() const
std::pair< size_type, size_type > compositeSlice(size_type filter) const
void addFilterObject(const edm::InputTag &filterTag, const TriggerFilterObjectWithRefs &tfowr)
setters - to build EDProduct
std::pair< size_type, size_type > l1etmissSlice(size_type filter) const
const VRcalomet & calometRefs() const
const Vids & compositeIds() const
const Vids & pfjetIds() const
TriggerEventWithRefs()
methods
void getObjects(size_type filter, Vids &ids, VRpfmet &pfmets) const
std::vector< reco::METRef > VRbasemet
void getObjects(size_type filter, Vids &ids, VRbasemet &basemets) const
void getObjects(size_type filter, int id, VRpfmet &pfmets) const
std::pair< size_type, size_type > pfmetSlice(size_type filter) const
const std::string & usedProcessName() const
getters - for user access
const Vids & electronIds() const
void getObjects(size_type filter, Vids &ids, VRjet &jets) const
const edm::InputTag filterTag(size_type filterIndex) const
tag from index
const Vids & l1etmissIds() const
std::string usedProcessName_
data members
std::pair< size_type, size_type > calometSlice(size_type filter) const
const Vids & basemetIds() const
std::vector< l1extra::L1MuonParticleRef > VRl1muon
std::pair< size_type, size_type > jetSlice(size_type filter) const
U second(std::pair< T, U > const &p)
void getObjects(size_type filter, Vids &ids, VRpftau &pftaus) const
std::vector< l1extra::L1HFRingsRef > VRl1hfrings
const Vids & pftauIds() const
void getObjects(size_type filter, int id, VRl1etmiss &l1etmiss) const
std::vector< reco::IsolatedPixelTrackCandidateRef > VRpixtrack
const Vids & l1muonIds() const
void getObjects(size_type filter, Vids &ids, VRmuon &muons) const
void getObjects(size_type filter, int id, VRbasemet &basemets) const
const VRl1muon & l1muonRefs() const
const VRpfjet & pfjetRefs() const
std::vector< l1extra::L1EtMissParticleRef > VRl1etmiss
std::pair< size_type, size_type > l1muonSlice(size_type filter) const
std::pair< size_type, size_type > muonSlice(size_type filter) const
void getObjects(size_type filter, int id, VRcalomet &calomets) const
const VRmuon & muonRefs() const
void getObjects(size_type filter, int id, VRl1em &l1em) const
void getObjects(size_type filter, Vids &ids, VRl1muon &l1muon) const
const VRcomposite & compositeRefs() const
TriggerFilterObject()
constructor
void getObjects(size_type filter, Vids &ids, VRcalomet &calomets) const
void getObjects(size_type filter, int id, VRl1hfrings &l1hfrings) const
const VRl1em & l1emRefs() const
std::pair< size_type, size_type > l1jetSlice(size_type filter) const
const Vids & l1hfringsIds() const
std::vector< l1extra::L1EmParticleRef > VRl1em
void getObjects(size_type filter, Vids &ids, VRcomposite &composites) const
const VRl1hfrings & l1hfringsRefs() const
void getObjects(size_type filter, int id, VRjet &jets) const
const Vids & l1jetIds() const
const Vids & pixtrackIds() const
void getObjects(size_type filter, Vids &ids, VRpfjet &pfjets) const
size_type filterIndex(const edm::InputTag &filterTag) const
index from tag
void getObjects(size_type filter, int id, VRl1jet &l1jet) const
const VRl1jet & l1jetRefs() const
void getObjects(size_type filter, int id, VRpixtrack &pixtracks) const
std::pair< size_type, size_type > pfjetSlice(size_type filter) const
const VRpftau & pftauRefs() const
const VRl1etmiss & l1etmissRefs() const
std::vector< reco::CaloJetRef > VRjet
void getObjects(size_type filter, Vids &ids, VRl1etmiss &l1etmiss) const
void getObjects(size_type filter, Vids &ids, VRl1hfrings &l1hfrings) const
std::vector< reco::PFJetRef > VRpfjet
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, int id, VRmuon &muons) const
size_type size() const
number of filters
std::vector< reco::CompositeCandidateRef > VRcomposite
const VRphoton & photonRefs() const
std::vector< reco::RecoChargedCandidateRef > VRmuon
const Vids & calometIds() const
std::pair< size_type, size_type > photonSlice(size_type filter) const
slices of objects for a specific filter: [begin,end[
void getObjects(size_type filter, Vids &ids, VRelectron &electrons) const
std::pair< size_type, size_type > l1emSlice(size_type filter) const
const VRelectron & electronRefs() const
void getObjects(size_type filter, int id, VRcomposite &composites) const
const Vids & photonIds() const
const Vids & l1emIds() const
TriggerEventWithRefs(const std::string &usedProcessName, size_type n)
std::pair< size_type, size_type > pixtrackSlice(size_type filter) const
const VRpixtrack & pixtrackRefs() const
void getObjects(size_type filter, Vids &ids, VRpixtrack &pixtracks) const
std::vector< reco::ElectronRef > VRelectron
std::pair< size_type, size_type > l1hfringsSlice(size_type filter) const
std::vector< reco::PFMETRef > VRpfmet
std::vector< reco::CaloMETRef > VRcalomet
Helper class: trigger objects firing a single filter.
const Vids & jetIds() const
std::vector< reco::RecoEcalCandidateRef > VRphoton
void getObjects(size_type filter, int id, VRphoton &photons) const
std::vector< l1extra::L1JetParticleRef > VRl1jet
const Vids & pfmetIds() const
std::vector< reco::PFTauRef > VRpftau
void getObjects(size_type filter, int id, VRl1muon &l1muon) const
std::pair< size_type, size_type > basemetSlice(size_type filter) const
std::pair< size_type, size_type > electronSlice(size_type filter) const
std::string filterTag_
encoded InputTag of filter product