CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Private Attributes
trigger::TriggerEventWithRefs Class Reference

#include <TriggerEventWithRefs.h>

Inheritance diagram for trigger::TriggerEventWithRefs:
trigger::TriggerRefsCollections edm::DoNotRecordParents

Classes

class  TriggerFilterObject
 Helper class: trigger objects firing a single filter. More...
 

Public Member Functions

void addFilterObject (const edm::InputTag &filterTag, const TriggerFilterObjectWithRefs &tfowr)
 setters - to build EDProduct More...
 
std::pair< size_type, size_typebasemetSlice (size_type filter) const
 
std::pair< size_type, size_typecalometSlice (size_type filter) const
 
std::pair< size_type, size_typecompositeSlice (size_type filter) const
 
std::pair< size_type, size_typeelectronSlice (size_type filter) const
 
size_type filterIndex (const edm::InputTag &filterTag) const
 index from tag More...
 
const edm::InputTag filterTag (size_type filterIndex) const
 tag from index More...
 
void getObjects (size_type filter, Vids &ids, VRphoton &photons) const
 extract Ref<C>s for a specific filter and of specific physics type More...
 
void getObjects (size_type filter, int id, VRphoton &photons) const
 
void getObjects (size_type filter, Vids &ids, VRelectron &electrons) const
 
void getObjects (size_type filter, int id, VRelectron &electrons) const
 
void getObjects (size_type filter, Vids &ids, VRmuon &muons) const
 
void getObjects (size_type filter, int id, VRmuon &muons) const
 
void getObjects (size_type filter, Vids &ids, VRjet &jets) const
 
void getObjects (size_type filter, int id, VRjet &jets) const
 
void getObjects (size_type filter, Vids &ids, VRcomposite &composites) const
 
void getObjects (size_type filter, int id, VRcomposite &composites) const
 
void getObjects (size_type filter, Vids &ids, VRbasemet &basemets) const
 
void getObjects (size_type filter, int id, VRbasemet &basemets) const
 
void getObjects (size_type filter, Vids &ids, VRcalomet &calomets) const
 
void getObjects (size_type filter, int id, VRcalomet &calomets) const
 
void getObjects (size_type filter, Vids &ids, VRpixtrack &pixtracks) const
 
void getObjects (size_type filter, int id, VRpixtrack &pixtracks) const
 
void getObjects (size_type filter, Vids &ids, VRl1em &l1em) const
 
void getObjects (size_type filter, int id, VRl1em &l1em) const
 
void getObjects (size_type filter, Vids &ids, VRl1muon &l1muon) const
 
void getObjects (size_type filter, int id, VRl1muon &l1muon) const
 
void getObjects (size_type filter, Vids &ids, VRl1jet &l1jet) const
 
void getObjects (size_type filter, int id, VRl1jet &l1jet) const
 
void getObjects (size_type filter, Vids &ids, VRl1etmiss &l1etmiss) const
 
void getObjects (size_type filter, int id, VRl1etmiss &l1etmiss) const
 
void getObjects (size_type filter, Vids &ids, VRl1hfrings &l1hfrings) const
 
void getObjects (size_type filter, int id, VRl1hfrings &l1hfrings) const
 
void getObjects (size_type filter, Vids &ids, VRpfjet &pfjets) const
 
void getObjects (size_type filter, int id, VRpfjet &pfjets) const
 
void getObjects (size_type filter, Vids &ids, VRpftau &pftaus) const
 
void getObjects (size_type filter, int id, VRpftau &pftaus) const
 
void getObjects (size_type filter, Vids &ids, VRpfmet &pfmets) const
 
void getObjects (size_type filter, int id, VRpfmet &pfmets) const
 
void getObjects (size_type filter, Vids &ids, VRl1tmuon &l1tmuon) const
 
void getObjects (size_type filter, int id, VRl1tmuon &l1tmuon) const
 
void getObjects (size_type filter, Vids &ids, VRl1tegamma &l1tegamma) const
 
void getObjects (size_type filter, int id, VRl1tegamma &l1tegamma) const
 
void getObjects (size_type filter, Vids &ids, VRl1tjet &l1tjet) const
 
void getObjects (size_type filter, int id, VRl1tjet &l1tjet) const
 
void getObjects (size_type filter, Vids &ids, VRl1ttau &l1ttau) const
 
void getObjects (size_type filter, int id, VRl1ttau &l1ttau) const
 
void getObjects (size_type filter, Vids &ids, VRl1tetsum &l1tetsum) const
 
void getObjects (size_type filter, int id, VRl1tetsum &l1tetsum) const
 
std::pair< size_type, size_typejetSlice (size_type filter) const
 
std::pair< size_type, size_typel1emSlice (size_type filter) const
 
std::pair< size_type, size_typel1etmissSlice (size_type filter) const
 
std::pair< size_type, size_typel1hfringsSlice (size_type filter) const
 
std::pair< size_type, size_typel1jetSlice (size_type filter) const
 
std::pair< size_type, size_typel1muonSlice (size_type filter) const
 
std::pair< size_type, size_typel1tegammaSlice (size_type filter) const
 
std::pair< size_type, size_typel1tetsumSlice (size_type filter) const
 
std::pair< size_type, size_typel1tjetSlice (size_type filter) const
 
std::pair< size_type, size_typel1tmuonSlice (size_type filter) const
 
std::pair< size_type, size_typel1ttauSlice (size_type filter) const
 
std::pair< size_type, size_typemuonSlice (size_type filter) const
 
std::pair< size_type, size_typepfjetSlice (size_type filter) const
 
std::pair< size_type, size_typepfmetSlice (size_type filter) const
 
std::pair< size_type, size_typepftauSlice (size_type filter) const
 
std::pair< size_type, size_typephotonSlice (size_type filter) const
 slices of objects for a specific filter: [begin,end[ More...
 
std::pair< size_type, size_typepixtrackSlice (size_type filter) const
 
size_type size () const
 number of filters More...
 
 TriggerEventWithRefs ()
 methods More...
 
 TriggerEventWithRefs (const std::string &usedProcessName, size_type n)
 
const std::string & usedProcessName () const
 getters - for user access More...
 
- Public Member Functions inherited from trigger::TriggerRefsCollections
void addObject (int id, const reco::RecoEcalCandidateRef &ref)
 setters for L3 collections: (id=physics type, and Ref<C>) More...
 
void addObject (int id, const reco::ElectronRef &ref)
 
void addObject (int id, const reco::RecoChargedCandidateRef &ref)
 
void addObject (int id, const reco::CaloJetRef &ref)
 
void addObject (int id, const reco::CompositeCandidateRef &ref)
 
void addObject (int id, const reco::METRef &ref)
 
void addObject (int id, const reco::CaloMETRef &ref)
 
void addObject (int id, const reco::IsolatedPixelTrackCandidateRef &ref)
 
void addObject (int id, const l1extra::L1EmParticleRef &ref)
 
void addObject (int id, const l1extra::L1MuonParticleRef &ref)
 
void addObject (int id, const l1extra::L1JetParticleRef &ref)
 
void addObject (int id, const l1extra::L1EtMissParticleRef &ref)
 
void addObject (int id, const l1extra::L1HFRingsRef &ref)
 
void addObject (int id, const l1t::MuonRef &ref)
 
void addObject (int id, const l1t::EGammaRef &ref)
 
void addObject (int id, const l1t::JetRef &ref)
 
void addObject (int id, const l1t::TauRef &ref)
 
void addObject (int id, const l1t::EtSumRef &ref)
 
void addObject (int id, const reco::PFJetRef &ref)
 
void addObject (int id, const reco::PFTauRef &ref)
 
void addObject (int id, const reco::PFMETRef &ref)
 
size_type addObjects (const Vids &ids, const VRphoton &refs)
 
size_type addObjects (const Vids &ids, const VRelectron &refs)
 
size_type addObjects (const Vids &ids, const VRmuon &refs)
 
size_type addObjects (const Vids &ids, const VRjet &refs)
 
size_type addObjects (const Vids &ids, const VRcomposite &refs)
 
size_type addObjects (const Vids &ids, const VRbasemet &refs)
 
size_type addObjects (const Vids &ids, const VRcalomet &refs)
 
size_type addObjects (const Vids &ids, const VRpixtrack &refs)
 
size_type addObjects (const Vids &ids, const VRl1em &refs)
 
size_type addObjects (const Vids &ids, const VRl1muon &refs)
 
size_type addObjects (const Vids &ids, const VRl1jet &refs)
 
size_type addObjects (const Vids &ids, const VRl1etmiss &refs)
 
size_type addObjects (const Vids &ids, const VRl1tmuon &refs)
 
size_type addObjects (const Vids &ids, const VRl1tegamma &refs)
 
size_type addObjects (const Vids &ids, const VRl1tjet &refs)
 
size_type addObjects (const Vids &ids, const VRl1ttau &refs)
 
size_type addObjects (const Vids &ids, const VRl1tetsum &refs)
 
size_type addObjects (const Vids &ids, const VRl1hfrings &refs)
 
size_type addObjects (const Vids &ids, const VRpfjet &refs)
 
size_type addObjects (const Vids &ids, const VRpftau &refs)
 
size_type addObjects (const Vids &ids, const VRpfmet &refs)
 
const VidsbasemetIds () const
 
const VRbasemetbasemetRefs () const
 
size_type basemetSize () const
 
const VidscalometIds () const
 
const VRcalometcalometRefs () const
 
size_type calometSize () const
 
const VidscompositeIds () const
 
const VRcompositecompositeRefs () const
 
size_type compositeSize () const
 
const VidselectronIds () const
 
const VRelectronelectronRefs () const
 
size_type electronSize () const
 
void getObjects (Vids &ids, VRphoton &refs) const
 various physics-level getters: More...
 
void getObjects (Vids &ids, VRphoton &refs, size_type begin, size_type end) const
 
void getObjects (int id, VRphoton &refs) const
 
void getObjects (int id, VRphoton &refs, size_type begin, size_type end) const
 
void getObjects (Vids &ids, VRelectron &refs) const
 
void getObjects (Vids &ids, VRelectron &refs, size_type begin, size_type end) const
 
void getObjects (int id, VRelectron &refs) const
 
void getObjects (int id, VRelectron &refs, size_type begin, size_type end) const
 
void getObjects (Vids &ids, VRmuon &refs) const
 
void getObjects (Vids &ids, VRmuon &refs, size_type begin, size_type end) const
 
void getObjects (int id, VRmuon &refs) const
 
void getObjects (int id, VRmuon &refs, size_type begin, size_type end) const
 
void getObjects (Vids &ids, VRjet &refs) const
 
void getObjects (Vids &ids, VRjet &refs, size_type begin, size_type end) const
 
void getObjects (int id, VRjet &refs) const
 
void getObjects (int id, VRjet &refs, size_type begin, size_type end) const
 
void getObjects (Vids &ids, VRcomposite &refs) const
 
void getObjects (Vids &ids, VRcomposite &refs, size_type begin, size_type end) const
 
void getObjects (int id, VRcomposite &refs) const
 
void getObjects (int id, VRcomposite &refs, size_type begin, size_type end) const
 
void getObjects (Vids &ids, VRbasemet &refs) const
 
void getObjects (Vids &ids, VRbasemet &refs, size_type begin, size_type end) const
 
void getObjects (int id, VRbasemet &refs) const
 
void getObjects (int id, VRbasemet &refs, size_type begin, size_type end) const
 
void getObjects (Vids &ids, VRcalomet &refs) const
 
void getObjects (Vids &ids, VRcalomet &refs, size_type begin, size_type end) const
 
void getObjects (int id, VRcalomet &refs) const
 
void getObjects (int id, VRcalomet &refs, size_type begin, size_type end) const
 
void getObjects (Vids &ids, VRpixtrack &refs) const
 
void getObjects (Vids &ids, VRpixtrack &refs, size_type begin, size_type end) const
 
void getObjects (int id, VRpixtrack &refs) const
 
void getObjects (int id, VRpixtrack &refs, size_type begin, size_type end) const
 
void getObjects (Vids &ids, VRl1em &refs) const
 
void getObjects (Vids &ids, VRl1em &refs, size_type begin, size_type end) const
 
void getObjects (int id, VRl1em &refs) const
 
void getObjects (int id, VRl1em &refs, size_type begin, size_type end) const
 
void getObjects (Vids &ids, VRl1muon &refs) const
 
void getObjects (Vids &ids, VRl1muon &refs, size_type begin, size_type end) const
 
void getObjects (int id, VRl1muon &refs) const
 
void getObjects (int id, VRl1muon &refs, size_type begin, size_type end) const
 
void getObjects (Vids &ids, VRl1jet &refs) const
 
void getObjects (Vids &ids, VRl1jet &refs, size_type begin, size_type end) const
 
void getObjects (int id, VRl1jet &refs) const
 
void getObjects (int id, VRl1jet &refs, size_type begin, size_type end) const
 
void getObjects (Vids &ids, VRl1etmiss &refs) const
 
void getObjects (Vids &ids, VRl1etmiss &refs, size_type begin, size_type end) const
 
void getObjects (int id, VRl1etmiss &refs) const
 
void getObjects (int id, VRl1etmiss &refs, size_type begin, size_type end) const
 
void getObjects (Vids &ids, VRl1hfrings &refs) const
 
void getObjects (Vids &ids, VRl1hfrings &refs, size_type begin, size_type end) const
 
void getObjects (int id, VRl1hfrings &refs) const
 
void getObjects (int id, VRl1hfrings &refs, size_type begin, size_type end) const
 
void getObjects (Vids &ids, VRl1tmuon &refs) const
 
void getObjects (Vids &ids, VRl1tmuon &refs, size_type begin, size_type end) const
 
void getObjects (int id, VRl1tmuon &refs) const
 
void getObjects (int id, VRl1tmuon &refs, size_type begin, size_type end) const
 
void getObjects (Vids &ids, VRl1tegamma &refs) const
 
void getObjects (Vids &ids, VRl1tegamma &refs, size_type begin, size_type end) const
 
void getObjects (int id, VRl1tegamma &refs) const
 
void getObjects (int id, VRl1tegamma &refs, size_type begin, size_type end) const
 
void getObjects (Vids &ids, VRl1tjet &refs) const
 
void getObjects (Vids &ids, VRl1tjet &refs, size_type begin, size_type end) const
 
void getObjects (int id, VRl1tjet &refs) const
 
void getObjects (int id, VRl1tjet &refs, size_type begin, size_type end) const
 
void getObjects (Vids &ids, VRl1ttau &refs) const
 
void getObjects (Vids &ids, VRl1ttau &refs, size_type begin, size_type end) const
 
void getObjects (int id, VRl1ttau &refs) const
 
void getObjects (int id, VRl1ttau &refs, size_type begin, size_type end) const
 
void getObjects (Vids &ids, VRl1tetsum &refs) const
 
void getObjects (Vids &ids, VRl1tetsum &refs, size_type begin, size_type end) const
 
void getObjects (int id, VRl1tetsum &refs) const
 
void getObjects (int id, VRl1tetsum &refs, size_type begin, size_type end) const
 
void getObjects (Vids &ids, VRpfjet &refs) const
 
void getObjects (Vids &ids, VRpfjet &refs, size_type begin, size_type end) const
 
void getObjects (int id, VRpfjet &refs) const
 
void getObjects (int id, VRpfjet &refs, size_type begin, size_type end) const
 
void getObjects (Vids &ids, VRpftau &refs) const
 
void getObjects (Vids &ids, VRpftau &refs, size_type begin, size_type end) const
 
void getObjects (int id, VRpftau &refs) const
 
void getObjects (int id, VRpftau &refs, size_type begin, size_type end) const
 
void getObjects (Vids &ids, VRpfmet &refs) const
 
void getObjects (Vids &ids, VRpfmet &refs, size_type begin, size_type end) const
 
void getObjects (int id, VRpfmet &refs) const
 
void getObjects (int id, VRpfmet &refs, size_type begin, size_type end) const
 
const VidsjetIds () const
 
const VRjetjetRefs () const
 
size_type jetSize () const
 
const Vidsl1emIds () const
 
const VRl1eml1emRefs () const
 
size_type l1emSize () const
 
const Vidsl1etmissIds () const
 
const VRl1etmissl1etmissRefs () const
 
size_type l1etmissSize () const
 
const Vidsl1hfringsIds () const
 
const VRl1hfringsl1hfringsRefs () const
 
size_type l1hfringsSize () const
 
const Vidsl1jetIds () const
 
const VRl1jetl1jetRefs () const
 
size_type l1jetSize () const
 
const Vidsl1muonIds () const
 
const VRl1muonl1muonRefs () const
 
size_type l1muonSize () const
 
const Vidsl1tegammaIds () const
 
const VRl1tegammal1tegammaRefs () const
 
size_type l1tegammaSize () const
 
const Vidsl1tetsumIds () const
 
const VRl1tetsuml1tetsumRefs () const
 
size_type l1tetsumSize () const
 
const Vidsl1tjetIds () const
 
const VRl1tjetl1tjetRefs () const
 
size_type l1tjetSize () const
 
const Vidsl1tmuonIds () const
 
const VRl1tmuonl1tmuonRefs () const
 
size_type l1tmuonSize () const
 
const Vidsl1ttauIds () const
 
const VRl1ttaul1ttauRefs () const
 
size_type l1ttauSize () const
 
const VidsmuonIds () const
 
const VRmuonmuonRefs () const
 
size_type muonSize () const
 
const VidspfjetIds () const
 
const VRpfjetpfjetRefs () const
 
size_type pfjetSize () const
 
const VidspfmetIds () const
 
const VRpfmetpfmetRefs () const
 
size_type pfmetSize () const
 
const VidspftauIds () const
 
const VRpftaupftauRefs () const
 
size_type pftauSize () const
 
const VidsphotonIds () const
 
const VRphotonphotonRefs () const
 
size_type photonSize () const
 low-level getters for data members More...
 
const VidspixtrackIds () const
 
const VRpixtrackpixtrackRefs () const
 
size_type pixtrackSize () const
 
void swap (TriggerRefsCollections &other)
 utility More...
 
 TriggerRefsCollections ()
 methods More...
 

Private Attributes

std::vector< TriggerFilterObjectfilterObjects_
 the filters recorded here More...
 
std::string usedProcessName_
 data members More...
 

Detailed Description

The single EDProduct to be saved in addition for each event

The single EDProduct to be saved for events (RAW case) describing the details of the (HLT) trigger table

Author
Martin Grunewald

Definition at line 28 of file TriggerEventWithRefs.h.

Constructor & Destructor Documentation

trigger::TriggerEventWithRefs::TriggerEventWithRefs ( )
inline

methods

constructors

Definition at line 84 of file TriggerEventWithRefs.h.

std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
std::string usedProcessName_
data members
trigger::TriggerEventWithRefs::TriggerEventWithRefs ( const std::string &  usedProcessName,
size_type  n 
)
inline

Definition at line 85 of file TriggerEventWithRefs.h.

References filterObjects_.

85  :
89  {
90  filterObjects_.reserve(n);
91  }
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
const std::string & usedProcessName() const
getters - for user access
std::string usedProcessName_
data members

Member Function Documentation

void trigger::TriggerEventWithRefs::addFilterObject ( const edm::InputTag filterTag,
const TriggerFilterObjectWithRefs tfowr 
)
inline

setters - to build EDProduct

Definition at line 94 of file TriggerEventWithRefs.h.

References trigger::TriggerRefsCollections::addObjects(), trigger::TriggerRefsCollections::basemetIds(), trigger::TriggerRefsCollections::basemetRefs(), trigger::TriggerRefsCollections::calometIds(), trigger::TriggerRefsCollections::calometRefs(), trigger::TriggerRefsCollections::compositeIds(), trigger::TriggerRefsCollections::compositeRefs(), trigger::TriggerRefsCollections::electronIds(), trigger::TriggerRefsCollections::electronRefs(), filterObjects_, trigger::TriggerRefsCollections::jetIds(), trigger::TriggerRefsCollections::jetRefs(), trigger::TriggerRefsCollections::l1emIds(), trigger::TriggerRefsCollections::l1emRefs(), trigger::TriggerRefsCollections::l1etmissIds(), trigger::TriggerRefsCollections::l1etmissRefs(), trigger::TriggerRefsCollections::l1hfringsIds(), trigger::TriggerRefsCollections::l1hfringsRefs(), trigger::TriggerRefsCollections::l1jetIds(), trigger::TriggerRefsCollections::l1jetRefs(), trigger::TriggerRefsCollections::l1muonIds(), trigger::TriggerRefsCollections::l1muonRefs(), trigger::TriggerRefsCollections::l1tegammaIds(), trigger::TriggerRefsCollections::l1tegammaRefs(), trigger::TriggerRefsCollections::l1tetsumIds(), trigger::TriggerRefsCollections::l1tetsumRefs(), trigger::TriggerRefsCollections::l1tjetIds(), trigger::TriggerRefsCollections::l1tjetRefs(), trigger::TriggerRefsCollections::l1tmuonIds(), trigger::TriggerRefsCollections::l1tmuonRefs(), trigger::TriggerRefsCollections::l1ttauIds(), trigger::TriggerRefsCollections::l1ttauRefs(), trigger::TriggerRefsCollections::muonIds(), trigger::TriggerRefsCollections::muonRefs(), trigger::TriggerRefsCollections::pfjetIds(), trigger::TriggerRefsCollections::pfjetRefs(), trigger::TriggerRefsCollections::pfmetIds(), trigger::TriggerRefsCollections::pfmetRefs(), trigger::TriggerRefsCollections::pftauIds(), trigger::TriggerRefsCollections::pftauRefs(), trigger::TriggerRefsCollections::photonIds(), trigger::TriggerRefsCollections::photonRefs(), trigger::TriggerRefsCollections::pixtrackIds(), and trigger::TriggerRefsCollections::pixtrackRefs().

94  {
95 
96  filterObjects_.push_back(
97 
98  TriggerFilterObject(filterTag,
99  addObjects(tfowr.photonIds(),tfowr.photonRefs()),
100  addObjects(tfowr.electronIds(),tfowr.electronRefs()),
101  addObjects(tfowr.muonIds(),tfowr.muonRefs()),
102  addObjects(tfowr.jetIds(),tfowr.jetRefs()),
103  addObjects(tfowr.compositeIds(),tfowr.compositeRefs()),
104  addObjects(tfowr.basemetIds(),tfowr.basemetRefs()),
105  addObjects(tfowr.calometIds(),tfowr.calometRefs()),
106  addObjects(tfowr.pixtrackIds(),tfowr.pixtrackRefs()),
107  addObjects(tfowr.l1emIds(),tfowr.l1emRefs()),
108  addObjects(tfowr.l1muonIds(),tfowr.l1muonRefs()),
109  addObjects(tfowr.l1jetIds(),tfowr.l1jetRefs()),
110  addObjects(tfowr.l1etmissIds(),tfowr.l1etmissRefs()),
111  addObjects(tfowr.l1hfringsIds(),tfowr.l1hfringsRefs()),
112  addObjects(tfowr.pfjetIds(),tfowr.pfjetRefs()),
113  addObjects(tfowr.pftauIds(),tfowr.pftauRefs()),
114  addObjects(tfowr.pfmetIds(),tfowr.pfmetRefs()),
115  addObjects(tfowr.l1tmuonIds(),tfowr.l1tmuonRefs()),
116  addObjects(tfowr.l1tegammaIds(),tfowr.l1tegammaRefs()),
117  addObjects(tfowr.l1tjetIds(),tfowr.l1tjetRefs()),
118  addObjects(tfowr.l1ttauIds(),tfowr.l1ttauRefs()),
119  addObjects(tfowr.l1tetsumIds(),tfowr.l1tetsumRefs())
120  )
121 
122  );
123 
124  }
size_type addObjects(const Vids &ids, const VRphoton &refs)
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::basemetSlice ( size_type  filter) const
inline

Definition at line 179 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

179  {
180  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).basemets_);
181  const size_type end(filterObjects_.at(filter).basemets_);
182  return std::pair<size_type,size_type>(begin,end);
183  }
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
uint16_t size_type
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::calometSlice ( size_type  filter) const
inline

Definition at line 185 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

185  {
186  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).calomets_);
187  const size_type end(filterObjects_.at(filter).calomets_);
188  return std::pair<size_type,size_type>(begin,end);
189  }
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
uint16_t size_type
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::compositeSlice ( size_type  filter) const
inline

Definition at line 173 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

173  {
174  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).composites_);
175  const size_type end(filterObjects_.at(filter).composites_);
176  return std::pair<size_type,size_type>(begin,end);
177  }
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
uint16_t size_type
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::electronSlice ( size_type  filter) const
inline

Definition at line 155 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

155  {
156  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).electrons_);
157  const size_type end(filterObjects_.at(filter).electrons_);
158  return std::pair<size_type,size_type>(begin,end);
159  }
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
uint16_t size_type
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
size_type trigger::TriggerEventWithRefs::filterIndex ( const edm::InputTag filterTag) const
inline

index from tag

Definition at line 138 of file TriggerEventWithRefs.h.

References edm::InputTag::encode(), filterObjects_, i, gen::n, and AlCaHLTBitMon_QueryRunRegistry::string.

138  {
139  const std::string encodedFilterTag (filterTag.encode());
140  const size_type n(filterObjects_.size());
141  for (size_type i=0; i!=n; ++i) {
142  if (encodedFilterTag==filterObjects_[i].filterTag_) {return i;}
143  }
144  return n;
145  }
int i
Definition: DBlmapReader.cc:9
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
uint16_t size_type
std::string encode() const
Definition: InputTag.cc:165
const edm::InputTag trigger::TriggerEventWithRefs::filterTag ( size_type  filterIndex) const
inline

tag from index

Definition at line 133 of file TriggerEventWithRefs.h.

References filterObjects_, and HLT_FULL_cff::InputTag.

133  {
134  return edm::InputTag(filterObjects_.at(filterIndex).filterTag_);
135  }
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
size_type filterIndex(const edm::InputTag &filterTag) const
index from tag
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
Vids ids,
VRphoton photons 
) const
inline

extract Ref<C>s for a specific filter and of specific physics type

Definition at line 278 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), photonSlice(), and edm::second().

278  {
282  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
std::pair< size_type, size_type > photonSlice(size_type filter) const
slices of objects for a specific filter: [begin,end[
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
int  id,
VRphoton photons 
) const
inline

Definition at line 283 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), photonSlice(), and edm::second().

283  {
287  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
std::pair< size_type, size_type > photonSlice(size_type filter) const
slices of objects for a specific filter: [begin,end[
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
Vids ids,
VRelectron electrons 
) const
inline

Definition at line 289 of file TriggerEventWithRefs.h.

References begin, electronSlice(), end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), and edm::second().

289  {
293  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair< size_type, size_type > electronSlice(size_type filter) const
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
int  id,
VRelectron electrons 
) const
inline

Definition at line 294 of file TriggerEventWithRefs.h.

References begin, electronSlice(), end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), and edm::second().

294  {
298  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair< size_type, size_type > electronSlice(size_type filter) const
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
Vids ids,
VRmuon muons 
) const
inline

Definition at line 300 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), muonSlice(), and edm::second().

300  {
304  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
std::pair< size_type, size_type > muonSlice(size_type filter) const
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
tuple muons
Definition: patZpeak.py:38
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
int  id,
VRmuon muons 
) const
inline

Definition at line 305 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), muonSlice(), and edm::second().

305  {
309  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
std::pair< size_type, size_type > muonSlice(size_type filter) const
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
tuple muons
Definition: patZpeak.py:38
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
Vids ids,
VRjet jets 
) const
inline

Definition at line 311 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), jetSlice(), and edm::second().

311  {
315  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
std::pair< size_type, size_type > jetSlice(size_type filter) const
U second(std::pair< T, U > const &p)
vector< PseudoJet > jets
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
int  id,
VRjet jets 
) const
inline

Definition at line 316 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), jetSlice(), and edm::second().

316  {
320  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
std::pair< size_type, size_type > jetSlice(size_type filter) const
U second(std::pair< T, U > const &p)
vector< PseudoJet > jets
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
Vids ids,
VRcomposite composites 
) const
inline

Definition at line 322 of file TriggerEventWithRefs.h.

References begin, compositeSlice(), end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), and edm::second().

322  {
326  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
std::pair< size_type, size_type > compositeSlice(size_type filter) const
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
int  id,
VRcomposite composites 
) const
inline

Definition at line 327 of file TriggerEventWithRefs.h.

References begin, compositeSlice(), end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), and edm::second().

327  {
331  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
std::pair< size_type, size_type > compositeSlice(size_type filter) const
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
Vids ids,
VRbasemet basemets 
) const
inline

Definition at line 333 of file TriggerEventWithRefs.h.

References basemetSlice(), begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), and edm::second().

333  {
337  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair< size_type, size_type > basemetSlice(size_type filter) const
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
int  id,
VRbasemet basemets 
) const
inline

Definition at line 338 of file TriggerEventWithRefs.h.

References basemetSlice(), begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), and edm::second().

338  {
342  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair< size_type, size_type > basemetSlice(size_type filter) const
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
Vids ids,
VRcalomet calomets 
) const
inline

Definition at line 344 of file TriggerEventWithRefs.h.

References begin, calometSlice(), end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), and edm::second().

344  {
348  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
std::pair< size_type, size_type > calometSlice(size_type filter) const
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
int  id,
VRcalomet calomets 
) const
inline

Definition at line 349 of file TriggerEventWithRefs.h.

References begin, calometSlice(), end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), and edm::second().

349  {
353  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
std::pair< size_type, size_type > calometSlice(size_type filter) const
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
Vids ids,
VRpixtrack pixtracks 
) const
inline

Definition at line 355 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), pixtrackSlice(), and edm::second().

355  {
359  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair< size_type, size_type > pixtrackSlice(size_type filter) const
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
int  id,
VRpixtrack pixtracks 
) const
inline

Definition at line 360 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), pixtrackSlice(), and edm::second().

360  {
364  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair< size_type, size_type > pixtrackSlice(size_type filter) const
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
Vids ids,
VRl1em l1em 
) const
inline

Definition at line 366 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), l1emSlice(), and edm::second().

366  {
370  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
std::pair< size_type, size_type > l1emSlice(size_type filter) const
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
int  id,
VRl1em l1em 
) const
inline

Definition at line 371 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), l1emSlice(), and edm::second().

371  {
375  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
std::pair< size_type, size_type > l1emSlice(size_type filter) const
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
Vids ids,
VRl1muon l1muon 
) const
inline

Definition at line 377 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), l1muonSlice(), and edm::second().

377  {
381  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
std::pair< size_type, size_type > l1muonSlice(size_type filter) const
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
int  id,
VRl1muon l1muon 
) const
inline

Definition at line 382 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), l1muonSlice(), and edm::second().

382  {
386  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
std::pair< size_type, size_type > l1muonSlice(size_type filter) const
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
Vids ids,
VRl1jet l1jet 
) const
inline

Definition at line 388 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), l1jetSlice(), and edm::second().

388  {
392  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
std::pair< size_type, size_type > l1jetSlice(size_type filter) const
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
int  id,
VRl1jet l1jet 
) const
inline

Definition at line 393 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), l1jetSlice(), and edm::second().

393  {
397  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
std::pair< size_type, size_type > l1jetSlice(size_type filter) const
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
Vids ids,
VRl1etmiss l1etmiss 
) const
inline

Definition at line 399 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), l1etmissSlice(), and edm::second().

399  {
403  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
std::pair< size_type, size_type > l1etmissSlice(size_type filter) const
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
int  id,
VRl1etmiss l1etmiss 
) const
inline

Definition at line 404 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), l1etmissSlice(), and edm::second().

404  {
408  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
std::pair< size_type, size_type > l1etmissSlice(size_type filter) const
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
Vids ids,
VRl1hfrings l1hfrings 
) const
inline

Definition at line 410 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), l1hfringsSlice(), and edm::second().

410  {
414  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair< size_type, size_type > l1hfringsSlice(size_type filter) const
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
int  id,
VRl1hfrings l1hfrings 
) const
inline

Definition at line 415 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), l1hfringsSlice(), and edm::second().

415  {
419  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair< size_type, size_type > l1hfringsSlice(size_type filter) const
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
Vids ids,
VRpfjet pfjets 
) const
inline

Definition at line 421 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), pfjetSlice(), and edm::second().

421  {
425  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
std::pair< size_type, size_type > pfjetSlice(size_type filter) const
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
int  id,
VRpfjet pfjets 
) const
inline

Definition at line 426 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), pfjetSlice(), and edm::second().

426  {
430  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
std::pair< size_type, size_type > pfjetSlice(size_type filter) const
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
Vids ids,
VRpftau pftaus 
) const
inline

Definition at line 432 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), pftauSlice(), and edm::second().

432  {
436  }
std::pair< size_type, size_type > pftauSlice(size_type filter) const
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
int  id,
VRpftau pftaus 
) const
inline

Definition at line 437 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), pftauSlice(), and edm::second().

437  {
441  }
std::pair< size_type, size_type > pftauSlice(size_type filter) const
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
Vids ids,
VRpfmet pfmets 
) const
inline

Definition at line 443 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), pfmetSlice(), and edm::second().

443  {
447  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
std::pair< size_type, size_type > pfmetSlice(size_type filter) const
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
int  id,
VRpfmet pfmets 
) const
inline

Definition at line 448 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), pfmetSlice(), and edm::second().

448  {
452  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
std::pair< size_type, size_type > pfmetSlice(size_type filter) const
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
Vids ids,
VRl1tmuon l1tmuon 
) const
inline

Definition at line 454 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), l1tmuonSlice(), and edm::second().

454  {
458  }
std::pair< size_type, size_type > l1tmuonSlice(size_type filter) const
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
int  id,
VRl1tmuon l1tmuon 
) const
inline

Definition at line 459 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), l1tmuonSlice(), and edm::second().

459  {
463  }
std::pair< size_type, size_type > l1tmuonSlice(size_type filter) const
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
Vids ids,
VRl1tegamma l1tegamma 
) const
inline

Definition at line 465 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), l1tegammaSlice(), and edm::second().

465  {
469  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
std::pair< size_type, size_type > l1tegammaSlice(size_type filter) const
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
int  id,
VRl1tegamma l1tegamma 
) const
inline

Definition at line 470 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), l1tegammaSlice(), and edm::second().

470  {
474  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
std::pair< size_type, size_type > l1tegammaSlice(size_type filter) const
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
Vids ids,
VRl1tjet l1tjet 
) const
inline

Definition at line 476 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), l1tjetSlice(), and edm::second().

476  {
480  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
std::pair< size_type, size_type > l1tjetSlice(size_type filter) const
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
int  id,
VRl1tjet l1tjet 
) const
inline

Definition at line 481 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), l1tjetSlice(), and edm::second().

481  {
485  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
std::pair< size_type, size_type > l1tjetSlice(size_type filter) const
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
Vids ids,
VRl1ttau l1ttau 
) const
inline

Definition at line 487 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), l1ttauSlice(), and edm::second().

487  {
491  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
std::pair< size_type, size_type > l1ttauSlice(size_type filter) const
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
int  id,
VRl1ttau l1ttau 
) const
inline

Definition at line 492 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), l1ttauSlice(), and edm::second().

492  {
496  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
std::pair< size_type, size_type > l1ttauSlice(size_type filter) const
#define begin
Definition: vmac.h:30
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
Vids ids,
VRl1tetsum l1tetsum 
) const
inline

Definition at line 498 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), l1tetsumSlice(), and edm::second().

498  {
502  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair< size_type, size_type > l1tetsumSlice(size_type filter) const
void trigger::TriggerEventWithRefs::getObjects ( size_type  filter,
int  id,
VRl1tetsum l1tetsum 
) const
inline

Definition at line 503 of file TriggerEventWithRefs.h.

References begin, end, plotBeamSpotDB::first, trigger::TriggerRefsCollections::getObjects(), l1tetsumSlice(), and edm::second().

503  {
507  }
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
uint16_t size_type
U second(std::pair< T, U > const &p)
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair< size_type, size_type > l1tetsumSlice(size_type filter) const
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::jetSlice ( size_type  filter) const
inline

Definition at line 167 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

167  {
168  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).jets_);
169  const size_type end(filterObjects_.at(filter).jets_);
170  return std::pair<size_type,size_type>(begin,end);
171  }
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
uint16_t size_type
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::l1emSlice ( size_type  filter) const
inline

Definition at line 197 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

197  {
198  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).l1em_);
199  const size_type end(filterObjects_.at(filter).l1em_);
200  return std::pair<size_type,size_type>(begin,end);
201  }
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
uint16_t size_type
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::l1etmissSlice ( size_type  filter) const
inline

Definition at line 215 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

215  {
216  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).l1etmiss_);
217  const size_type end(filterObjects_.at(filter).l1etmiss_);
218  return std::pair<size_type,size_type>(begin,end);
219  }
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
uint16_t size_type
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::l1hfringsSlice ( size_type  filter) const
inline

Definition at line 221 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

221  {
222  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).l1hfrings_);
223  const size_type end(filterObjects_.at(filter).l1hfrings_);
224  return std::pair<size_type,size_type>(begin,end);
225  }
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
uint16_t size_type
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::l1jetSlice ( size_type  filter) const
inline

Definition at line 209 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

209  {
210  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).l1jet_);
211  const size_type end(filterObjects_.at(filter).l1jet_);
212  return std::pair<size_type,size_type>(begin,end);
213  }
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
uint16_t size_type
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::l1muonSlice ( size_type  filter) const
inline

Definition at line 203 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

203  {
204  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).l1muon_);
205  const size_type end(filterObjects_.at(filter).l1muon_);
206  return std::pair<size_type,size_type>(begin,end);
207  }
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
uint16_t size_type
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::l1tegammaSlice ( size_type  filter) const
inline

Definition at line 251 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

251  {
252  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).l1tegamma_);
253  const size_type end(filterObjects_.at(filter).l1tegamma_);
254  return std::pair<size_type,size_type>(begin,end);
255  }
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
uint16_t size_type
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::l1tetsumSlice ( size_type  filter) const
inline

Definition at line 269 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

269  {
270  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).l1tetsum_);
271  const size_type end(filterObjects_.at(filter).l1tetsum_);
272  return std::pair<size_type,size_type>(begin,end);
273  }
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
uint16_t size_type
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::l1tjetSlice ( size_type  filter) const
inline

Definition at line 257 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

257  {
258  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).l1tjet_);
259  const size_type end(filterObjects_.at(filter).l1tjet_);
260  return std::pair<size_type,size_type>(begin,end);
261  }
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
uint16_t size_type
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::l1tmuonSlice ( size_type  filter) const
inline

Definition at line 245 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

245  {
246  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).l1tmuon_);
247  const size_type end(filterObjects_.at(filter).l1tmuon_);
248  return std::pair<size_type,size_type>(begin,end);
249  }
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
uint16_t size_type
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::l1ttauSlice ( size_type  filter) const
inline

Definition at line 263 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

263  {
264  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).l1ttau_);
265  const size_type end(filterObjects_.at(filter).l1ttau_);
266  return std::pair<size_type,size_type>(begin,end);
267  }
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
uint16_t size_type
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::muonSlice ( size_type  filter) const
inline

Definition at line 161 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

161  {
162  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).muons_);
163  const size_type end(filterObjects_.at(filter).muons_);
164  return std::pair<size_type,size_type>(begin,end);
165  }
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
uint16_t size_type
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::pfjetSlice ( size_type  filter) const
inline

Definition at line 227 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

227  {
228  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).pfjets_);
229  const size_type end(filterObjects_.at(filter).pfjets_);
230  return std::pair<size_type,size_type>(begin,end);
231  }
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
uint16_t size_type
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::pfmetSlice ( size_type  filter) const
inline

Definition at line 239 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

239  {
240  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).pfmets_);
241  const size_type end(filterObjects_.at(filter).pfmets_);
242  return std::pair<size_type,size_type>(begin,end);
243  }
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
uint16_t size_type
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::pftauSlice ( size_type  filter) const
inline

Definition at line 233 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

233  {
234  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).pftaus_);
235  const size_type end(filterObjects_.at(filter).pftaus_);
236  return std::pair<size_type,size_type>(begin,end);
237  }
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
uint16_t size_type
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::photonSlice ( size_type  filter) const
inline

slices of objects for a specific filter: [begin,end[

Definition at line 149 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

149  {
150  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).photons_);
151  const size_type end(filterObjects_.at(filter).photons_);
152  return std::pair<size_type,size_type>(begin,end);
153  }
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
uint16_t size_type
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::pixtrackSlice ( size_type  filter) const
inline

Definition at line 191 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

191  {
192  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).pixtracks_);
193  const size_type end(filterObjects_.at(filter).pixtracks_);
194  return std::pair<size_type,size_type>(begin,end);
195  }
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
uint16_t size_type
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
size_type trigger::TriggerEventWithRefs::size ( void  ) const
inline

number of filters

Definition at line 130 of file TriggerEventWithRefs.h.

References filterObjects_.

Referenced by ntuple._Collection::__iter__(), and ntuple._Collection::__len__().

130 {return filterObjects_.size();}
std::vector< TriggerFilterObject > filterObjects_
the filters recorded here
const std::string& trigger::TriggerEventWithRefs::usedProcessName ( ) const
inline

getters - for user access

Definition at line 127 of file TriggerEventWithRefs.h.

References usedProcessName_.

127 {return usedProcessName_;}
std::string usedProcessName_
data members

Member Data Documentation

std::vector<TriggerFilterObject> trigger::TriggerEventWithRefs::filterObjects_
private
std::string trigger::TriggerEventWithRefs::usedProcessName_
private

data members

processName used to select products packed up

Definition at line 77 of file TriggerEventWithRefs.h.

Referenced by usedProcessName().