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
 
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_typemuonSlice (size_type filter) const
 
std::pair< size_type, size_typepfjetSlice (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 reco::PFJetRef &ref)
 
void addObject (int id, const reco::PFTauRef &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 VRl1hfrings &refs)
 
size_type addObjects (const Vids &ids, const VRpfjet &refs)
 
size_type addObjects (const Vids &ids, const VRpftau &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, 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
 
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 VidsmuonIds () const
 
const VRmuonmuonRefs () const
 
size_type muonSize () const
 
const VidspfjetIds () const
 
const VRpfjetpfjetRefs () const
 
size_type pfjetSize () 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 78 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 79 of file TriggerEventWithRefs.h.

References filterObjects_.

79  :
83  {
84  filterObjects_.reserve(n);
85  }
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 88 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::muonIds(), trigger::TriggerRefsCollections::muonRefs(), trigger::TriggerRefsCollections::pfjetIds(), trigger::TriggerRefsCollections::pfjetRefs(), trigger::TriggerRefsCollections::pftauIds(), trigger::TriggerRefsCollections::pftauRefs(), trigger::TriggerRefsCollections::photonIds(), trigger::TriggerRefsCollections::photonRefs(), trigger::TriggerRefsCollections::pixtrackIds(), and trigger::TriggerRefsCollections::pixtrackRefs().

88  {
89  filterObjects_.push_back(
90  TriggerFilterObject(filterTag,
91  addObjects(tfowr.photonIds(),tfowr.photonRefs()),
92  addObjects(tfowr.electronIds(),tfowr.electronRefs()),
93  addObjects(tfowr.muonIds(),tfowr.muonRefs()),
94  addObjects(tfowr.jetIds(),tfowr.jetRefs()),
95  addObjects(tfowr.compositeIds(),tfowr.compositeRefs()),
96  addObjects(tfowr.basemetIds(),tfowr.basemetRefs()),
97  addObjects(tfowr.calometIds(),tfowr.calometRefs()),
98  addObjects(tfowr.pixtrackIds(),tfowr.pixtrackRefs()),
99  addObjects(tfowr.l1emIds(),tfowr.l1emRefs()),
100  addObjects(tfowr.l1muonIds(),tfowr.l1muonRefs()),
101  addObjects(tfowr.l1jetIds(),tfowr.l1jetRefs()),
102  addObjects(tfowr.l1etmissIds(),tfowr.l1etmissRefs()),
103  addObjects(tfowr.l1hfringsIds(),tfowr.l1hfringsRefs()),
104  addObjects(tfowr.pfjetIds(),tfowr.pfjetRefs()),
105  addObjects(tfowr.pftauIds(),tfowr.pftauRefs())
106  )
107  );
108  }
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 163 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

163  {
164  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).basemets_);
165  const size_type end(filterObjects_.at(filter).basemets_);
166  return std::pair<size_type,size_type>(begin,end);
167  }
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 169 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

169  {
170  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).calomets_);
171  const size_type end(filterObjects_.at(filter).calomets_);
172  return std::pair<size_type,size_type>(begin,end);
173  }
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 157 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

157  {
158  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).composites_);
159  const size_type end(filterObjects_.at(filter).composites_);
160  return std::pair<size_type,size_type>(begin,end);
161  }
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 139 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

139  {
140  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).electrons_);
141  const size_type end(filterObjects_.at(filter).electrons_);
142  return std::pair<size_type,size_type>(begin,end);
143  }
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 122 of file TriggerEventWithRefs.h.

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

122  {
123  const std::string encodedFilterTag (filterTag.encode());
124  const size_type n(filterObjects_.size());
125  for (size_type i=0; i!=n; ++i) {
126  if (encodedFilterTag==filterObjects_[i].filterTag_) {return i;}
127  }
128  return n;
129  }
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:164
const edm::InputTag trigger::TriggerEventWithRefs::filterTag ( size_type  filterIndex) const
inline

tag from index

Definition at line 117 of file TriggerEventWithRefs.h.

References filterObjects_, and HLT_25ns14e33_v1_cff::InputTag.

117  {
118  return edm::InputTag(filterObjects_.at(filterIndex).filterTag_);
119  }
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 226 of file TriggerEventWithRefs.h.

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

226  {
230  }
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 231 of file TriggerEventWithRefs.h.

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

231  {
235  }
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 237 of file TriggerEventWithRefs.h.

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

237  {
241  }
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 242 of file TriggerEventWithRefs.h.

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

242  {
246  }
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 248 of file TriggerEventWithRefs.h.

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

248  {
252  }
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 253 of file TriggerEventWithRefs.h.

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

253  {
257  }
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 259 of file TriggerEventWithRefs.h.

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

259  {
263  }
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 264 of file TriggerEventWithRefs.h.

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

264  {
268  }
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 270 of file TriggerEventWithRefs.h.

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

270  {
274  }
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 275 of file TriggerEventWithRefs.h.

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

275  {
279  }
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 281 of file TriggerEventWithRefs.h.

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

281  {
285  }
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 286 of file TriggerEventWithRefs.h.

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

286  {
290  }
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 292 of file TriggerEventWithRefs.h.

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

292  {
296  }
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 297 of file TriggerEventWithRefs.h.

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

297  {
301  }
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 303 of file TriggerEventWithRefs.h.

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

303  {
307  }
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 308 of file TriggerEventWithRefs.h.

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

308  {
312  }
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 314 of file TriggerEventWithRefs.h.

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

314  {
318  }
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 319 of file TriggerEventWithRefs.h.

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

319  {
323  }
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 325 of file TriggerEventWithRefs.h.

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

325  {
329  }
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 330 of file TriggerEventWithRefs.h.

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

330  {
334  }
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 336 of file TriggerEventWithRefs.h.

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

336  {
340  }
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 341 of file TriggerEventWithRefs.h.

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

341  {
345  }
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 347 of file TriggerEventWithRefs.h.

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

347  {
351  }
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 352 of file TriggerEventWithRefs.h.

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

352  {
356  }
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 358 of file TriggerEventWithRefs.h.

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

358  {
362  }
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 363 of file TriggerEventWithRefs.h.

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

363  {
367  }
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 369 of file TriggerEventWithRefs.h.

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

369  {
373  }
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 374 of file TriggerEventWithRefs.h.

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

374  {
378  }
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 380 of file TriggerEventWithRefs.h.

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

380  {
384  }
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 385 of file TriggerEventWithRefs.h.

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

385  {
389  }
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
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::jetSlice ( size_type  filter) const
inline

Definition at line 151 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

151  {
152  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).jets_);
153  const size_type end(filterObjects_.at(filter).jets_);
154  return std::pair<size_type,size_type>(begin,end);
155  }
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 181 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

181  {
182  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).l1em_);
183  const size_type end(filterObjects_.at(filter).l1em_);
184  return std::pair<size_type,size_type>(begin,end);
185  }
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 199 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

199  {
200  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).l1etmiss_);
201  const size_type end(filterObjects_.at(filter).l1etmiss_);
202  return std::pair<size_type,size_type>(begin,end);
203  }
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 205 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

205  {
206  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).l1hfrings_);
207  const size_type end(filterObjects_.at(filter).l1hfrings_);
208  return std::pair<size_type,size_type>(begin,end);
209  }
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 193 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

193  {
194  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).l1jet_);
195  const size_type end(filterObjects_.at(filter).l1jet_);
196  return std::pair<size_type,size_type>(begin,end);
197  }
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 187 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

187  {
188  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).l1muon_);
189  const size_type end(filterObjects_.at(filter).l1muon_);
190  return std::pair<size_type,size_type>(begin,end);
191  }
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 145 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

145  {
146  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).muons_);
147  const size_type end(filterObjects_.at(filter).muons_);
148  return std::pair<size_type,size_type>(begin,end);
149  }
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 211 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

211  {
212  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).pfjets_);
213  const size_type end(filterObjects_.at(filter).pfjets_);
214  return std::pair<size_type,size_type>(begin,end);
215  }
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 217 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

217  {
218  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).pftaus_);
219  const size_type end(filterObjects_.at(filter).pftaus_);
220  return std::pair<size_type,size_type>(begin,end);
221  }
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 133 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

133  {
134  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).photons_);
135  const size_type end(filterObjects_.at(filter).photons_);
136  return std::pair<size_type,size_type>(begin,end);
137  }
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 175 of file TriggerEventWithRefs.h.

References begin, end, and filterObjects_.

Referenced by getObjects().

175  {
176  const size_type begin(filter==0? 0 : filterObjects_.at(filter-1).pixtracks_);
177  const size_type end(filterObjects_.at(filter).pixtracks_);
178  return std::pair<size_type,size_type>(begin,end);
179  }
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 114 of file TriggerEventWithRefs.h.

References filterObjects_.

114 {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 111 of file TriggerEventWithRefs.h.

References usedProcessName_.

111 {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 71 of file TriggerEventWithRefs.h.

Referenced by usedProcessName().