CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes
EVTColContainer Class Reference

container with all the objects needed More...

#include <EVTColContainer.h>

Public Types

enum  {
  PHOTON = 22, ELEC = 11, MUON = 13, MUTRK = 130,
  PFTAU = 15, TRACK = 0, PFMET = 39, PFMHT = 40,
  MET = 390000, GENMET = 390001, CALOMET = 390002, HLTMET = 390003,
  L1MET = 390004, PFJET = 211, CALOJET = 111, CALOMHT = 400002,
  _nMAX
}
 
enum  {
  MUON = 13, ELEC = 11, PHOTON = 22, CALOMET = 390002,
  PFMET = 39, PFTAU = 15, PFJET = 211, _nMAX
}
 

Public Member Functions

 EVTColContainer ()
 
 EVTColContainer ()
 
const unsigned int getSize (const unsigned int &objtype) const
 
const unsigned int getSize (const unsigned int &objtype) const
 Get size of collections. More...
 
bool isAllInit ()
 
bool isAllInit ()
 
bool isCommonInit ()
 
bool isCommonInit ()
 
void reset ()
 
void reset ()
 Reset: clear all collections. More...
 
void set (const reco::MuonCollection *v)
 Setter: multiple overloaded function. More...
 
void set (const reco::GsfElectronCollection *v)
 
void set (const reco::PhotonCollection *v)
 
void set (const reco::CaloMETCollection *v)
 
void set (const reco::PFMETCollection *v)
 
void set (const reco::PFTauCollection *v)
 
void set (const reco::PFJetCollection *v)
 
void set (const reco::JetTagCollection *v)
 
void set (const reco::MuonCollection *v)
 Setter: multiple overloaded function. More...
 
void set (const reco::TrackCollection *v)
 
void set (const reco::GsfElectronCollection *v)
 
void set (const reco::PhotonCollection *v)
 
void set (const reco::METCollection *v)
 
void set (const reco::PFMETCollection *v)
 
void set (const reco::GenMETCollection *v)
 
void set (const reco::CaloMETCollection *v)
 
void set (const l1extra::L1EtMissParticleCollection *v)
 
void set (const reco::PFTauCollection *v)
 
void set (const reco::PFJetCollection *v)
 
void set (const reco::CaloJetCollection *v)
 
void setCaloMHT (const reco::CaloMETCollection *v)
 
void setPFMHT (const reco::PFMETCollection *v)
 

Static Public Member Functions

static std::string getTypeString (const unsigned int &objtype)
 
static const std::string getTypeString (const unsigned int &objtype)
 Tranform types into strings. More...
 

Public Attributes

const reco::BeamSpotbs
 
const std::vector
< reco::CaloJet > * 
caloJets
 
const std::vector
< reco::CaloMET > * 
caloMETs
 
const std::vector
< reco::CaloMET > * 
caloMHTs
 
const std::vector
< reco::GsfElectron > * 
electrons
 
const reco::GenJetCollectiongenJets
 
const std::vector< reco::GenMET > * genMETs
 
const reco::GenParticleCollectiongenParticles
 
const reco::JetTagCollectionjetTags
 
const std::vector
< l1extra::L1EtMissParticle > * 
l1METs
 
const std::vector< reco::MET > * METs
 
const std::vector< reco::Muon > * muons
 
int nInitialized
 
int nOfCollections
 
const std::vector< reco::PFJet > * pfJets
 
const std::vector< reco::PFMET > * pfMETs
 
const std::vector< reco::PFMET > * pfMHTs
 
const std::vector< reco::PFTau > * pfTaus
 
const std::vector< reco::Photon > * photons
 
const
trigger::TriggerEventWithRefs
rawTriggerEvent
 
const std::vector< reco::Track > * tracks
 
const edm::TriggerResultstriggerResults
 

Detailed Description

container with all the objects needed

Container with all the objects needed Notice that I have "more or less" followed the pdgIds of the particles involved.

Class to manage all the object collections in the Exotica Validation package.

Author
J. Duarte Campderros

Generate histograms for trigger efficiencies Higgs related Documentation available on the CMS TWiki: https://twiki.cern.ch/twiki/bin/view/CMS/HiggsWGHLTValidate

Author
J. Duarte Campderros

Definition at line 46 of file EVTColContainer.cc.

Member Enumeration Documentation

anonymous enum
Enumerator
PHOTON 
ELEC 
MUON 
MUTRK 
PFTAU 
TRACK 
PFMET 
PFMHT 
MET 
GENMET 
CALOMET 
HLTMET 
L1MET 
PFJET 
CALOJET 
CALOMHT 
_nMAX 

Definition at line 47 of file EVTColContainer.cc.

47  {
48  PHOTON = 22,
49  ELEC = 11,
50  MUON = 13,
51  MUTRK = 130,
52  PFTAU = 15,
53  TRACK = 0,
54  PFMET = 39,
55  PFMHT = 40,
56  MET = 390000,
57  GENMET = 390001,
58  CALOMET = 390002,
59  HLTMET = 390003,
60  L1MET = 390004,
61  PFJET = 211,
62  CALOJET = 111,
63  CALOMHT = 400002,
64  _nMAX
65  };
Computes the MET from a collection of PFCandidates. HF missing!
Definition: PFMET.cc:26
anonymous enum
Enumerator
MUON 
ELEC 
PHOTON 
CALOMET 
PFMET 
PFTAU 
PFJET 
_nMAX 

Definition at line 42 of file EVTColContainer.h.

Constructor & Destructor Documentation

EVTColContainer::EVTColContainer ( )
inline

Definition at line 88 of file EVTColContainer.cc.

89  : nOfCollections(6),
90  nInitialized(0),
91  genParticles(nullptr),
92  muons(nullptr),
93  tracks(nullptr),
94  electrons(nullptr),
95  photons(nullptr),
96  METs(nullptr),
97  pfMETs(nullptr),
98  pfMHTs(nullptr),
99  genMETs(nullptr),
100  caloMETs(nullptr),
101  caloMHTs(nullptr),
102  l1METs(nullptr),
103  pfTaus(nullptr),
104  pfJets(nullptr),
105  caloJets(nullptr),
106  triggerResults(nullptr),
107  bs(nullptr) {}
const std::vector< reco::Muon > * muons
const std::vector< reco::CaloMET > * caloMETs
const std::vector< reco::MET > * METs
const std::vector< reco::CaloJet > * caloJets
const reco::GenParticleCollection * genParticles
const std::vector< reco::PFTau > * pfTaus
const std::vector< reco::PFMET > * pfMHTs
const std::vector< reco::GenMET > * genMETs
const reco::BeamSpot * bs
const std::vector< reco::PFJet > * pfJets
const std::vector< reco::Track > * tracks
const std::vector< reco::Photon > * photons
const std::vector< l1extra::L1EtMissParticle > * l1METs
const std::vector< reco::GsfElectron > * electrons
const std::vector< reco::CaloMET > * caloMHTs
const std::vector< reco::PFMET > * pfMETs
const edm::TriggerResults * triggerResults
EVTColContainer::EVTColContainer ( )
inline

Definition at line 69 of file EVTColContainer.h.

70  : nOfCollections(7),
71  nInitialized(0),
72  genParticles(nullptr),
73  genJets(nullptr),
74  muons(nullptr),
75  electrons(nullptr),
76  photons(nullptr),
77  caloMETs(nullptr),
78  pfMETs(nullptr),
79  pfTaus(nullptr),
80  pfJets(nullptr),
81  jetTags(nullptr),
82  //tracks(0),
83  rawTriggerEvent(nullptr),
84  triggerResults(nullptr) {}
const std::vector< reco::Muon > * muons
const trigger::TriggerEventWithRefs * rawTriggerEvent
const std::vector< reco::CaloMET > * caloMETs
const reco::GenParticleCollection * genParticles
const std::vector< reco::PFTau > * pfTaus
const reco::GenJetCollection * genJets
const reco::JetTagCollection * jetTags
const std::vector< reco::PFJet > * pfJets
const std::vector< reco::Photon > * photons
const std::vector< reco::GsfElectron > * electrons
const std::vector< reco::PFMET > * pfMETs
const edm::TriggerResults * triggerResults

Member Function Documentation

const unsigned int EVTColContainer::getSize ( const unsigned int &  objtype) const
inline

Definition at line 140 of file EVTColContainer.h.

References CALOMET, caloMETs, ELEC, electrons, MUON, muons, PFJET, pfJets, PFMET, pfMETs, PFTAU, pfTaus, PHOTON, photons, and findQualityFiles::size.

140  {
141  unsigned int size = 0;
142  if (objtype == EVTColContainer::MUON && muons != nullptr) {
143  size = muons->size();
144  } else if (objtype == EVTColContainer::ELEC && electrons != nullptr) {
145  size = electrons->size();
146  } else if (objtype == EVTColContainer::PHOTON && photons != nullptr) {
147  size = photons->size();
148  } else if (objtype == EVTColContainer::CALOMET && caloMETs != nullptr) {
149  size = caloMETs->size();
150  } else if (objtype == EVTColContainer::PFMET && pfMETs != nullptr) {
151  size = pfMETs->size();
152  } else if (objtype == EVTColContainer::PFTAU && pfTaus != nullptr) {
153  size = pfTaus->size();
154  } else if (objtype == EVTColContainer::PFJET && pfJets != nullptr) {
155  size = pfJets->size();
156  }
157  /*else if( objtype == EVTColContainer::TRACK && tracks != 0 )
158  {
159  size = tracks->size();
160  }*/
161 
162  return size;
163  }
const std::vector< reco::Muon > * muons
const std::vector< reco::CaloMET > * caloMETs
const std::vector< reco::PFTau > * pfTaus
const std::vector< reco::PFJet > * pfJets
const std::vector< reco::Photon > * photons
const std::vector< reco::GsfElectron > * electrons
const std::vector< reco::PFMET > * pfMETs
tuple size
Write out results.
const unsigned int EVTColContainer::getSize ( const unsigned int &  objtype) const
inline

Get size of collections.

Definition at line 194 of file EVTColContainer.cc.

References CALOJET, caloJets, CALOMET, caloMETs, CALOMHT, caloMHTs, ELEC, electrons, GENMET, genMETs, L1MET, l1METs, MET, METs, MUON, muons, MUTRK, PFJET, pfJets, PFMET, pfMETs, PFMHT, pfMHTs, PFTAU, pfTaus, PHOTON, photons, findQualityFiles::size, TRACK, and tracks.

194  {
195  unsigned int size = 0;
196  if (objtype == EVTColContainer::MUON && muons != nullptr) {
197  size = muons->size();
198  } else if (objtype == EVTColContainer::MUTRK && tracks != nullptr) {
199  size = tracks->size();
200  } else if (objtype == EVTColContainer::TRACK && tracks != nullptr) {
201  size = tracks->size();
202  } else if (objtype == EVTColContainer::ELEC && electrons != nullptr) {
203  size = electrons->size();
204  } else if (objtype == EVTColContainer::PHOTON && photons != nullptr) {
205  size = photons->size();
206  } else if (objtype == EVTColContainer::MET && METs != nullptr) {
207  size = METs->size();
208  } else if (objtype == EVTColContainer::PFMET && pfMETs != nullptr) {
209  size = pfMETs->size();
210  } else if (objtype == EVTColContainer::PFMHT && pfMHTs != nullptr) {
211  size = pfMHTs->size();
212  } else if (objtype == EVTColContainer::GENMET && genMETs != nullptr) {
213  size = genMETs->size();
214  } else if (objtype == EVTColContainer::CALOMET && caloMETs != nullptr) {
215  size = caloMETs->size();
216  } else if (objtype == EVTColContainer::CALOMHT && caloMHTs != nullptr) {
217  size = caloMHTs->size();
218  } else if (objtype == EVTColContainer::L1MET && l1METs != nullptr) {
219  size = l1METs->size();
220  } else if (objtype == EVTColContainer::PFTAU && pfTaus != nullptr) {
221  size = pfTaus->size();
222  } else if (objtype == EVTColContainer::PFJET && pfJets != nullptr) {
223  size = pfJets->size();
224  } else if (objtype == EVTColContainer::CALOJET && caloJets != nullptr) {
225  size = caloJets->size();
226  }
227 
228  return size;
229  }
const std::vector< reco::Muon > * muons
const std::vector< reco::CaloMET > * caloMETs
const std::vector< reco::MET > * METs
const std::vector< reco::CaloJet > * caloJets
const std::vector< reco::PFTau > * pfTaus
const std::vector< reco::PFMET > * pfMHTs
const std::vector< reco::GenMET > * genMETs
const std::vector< reco::PFJet > * pfJets
const std::vector< reco::Track > * tracks
const std::vector< reco::Photon > * photons
const std::vector< l1extra::L1EtMissParticle > * l1METs
const std::vector< reco::GsfElectron > * electrons
const std::vector< reco::CaloMET > * caloMHTs
const std::vector< reco::PFMET > * pfMETs
tuple size
Write out results.
static std::string EVTColContainer::getTypeString ( const unsigned int &  objtype)
inlinestatic

Definition at line 165 of file EVTColContainer.h.

References CALOMET, ELEC, MUON, PFJET, PFMET, PFTAU, PHOTON, and AlCaHLTBitMon_QueryRunRegistry::string.

165  {
166  std::string objTypestr;
167 
168  if (objtype == EVTColContainer::MUON) {
169  objTypestr = "Mu";
170  } else if (objtype == EVTColContainer::ELEC) {
171  objTypestr = "Ele";
172  } else if (objtype == EVTColContainer::PHOTON) {
173  objTypestr = "Photon";
174  } else if (objtype == EVTColContainer::CALOMET) {
175  objTypestr = "MET";
176  } else if (objtype == EVTColContainer::PFMET) {
177  objTypestr = "PFMET";
178  } else if (objtype == EVTColContainer::PFTAU) {
179  objTypestr = "PFTau";
180  } else if (objtype == EVTColContainer::PFJET) {
181  objTypestr = "Jet";
182  }
183  /*else if( objtype == EVTColContainer::TRACK )
184  {
185  // FIXME: decide what to do! Just a patch
186  objTypestr = "TkMu";
187  }*/
188  else {
189  edm::LogError("HiggsValidations") << "EVTColContainer::getTypeString, "
190  << "NOT Implemented error (object type id='" << objtype << "')" << std::endl;
191  ;
192  }
193 
194  return objTypestr;
195  }
Log< level::Error, false > LogError
static const std::string EVTColContainer::getTypeString ( const unsigned int &  objtype)
inlinestatic

Tranform types into strings.

Definition at line 232 of file EVTColContainer.cc.

References CALOJET, CALOMET, CALOMHT, ELEC, GENMET, L1MET, MET, MUON, MUTRK, PFJET, PFMET, PFMHT, PFTAU, PHOTON, AlCaHLTBitMon_QueryRunRegistry::string, and TRACK.

Referenced by HLTExoticaPlotter::analyze(), HLTHiggsPlotter::analyze(), HLTHiggsSubAnalysis::analyze(), HLTExoticaSubAnalysis::analyze(), HLTHiggsSubAnalysis::beginRun(), HLTHiggsPlotter::bookHist(), HLTHiggsSubAnalysis::bookHist(), HLTHiggsPlotter::bookHistograms(), HLTHiggsSubAnalysis::bookHistograms(), HLTHiggsSubAnalysis::getObjectsType(), HLTExoticaSubAnalysis::getObjectsType(), HLTExoticaSubAnalysis::HLTExoticaSubAnalysis(), HLTHiggsPlotter::HLTHiggsPlotter(), HLTHiggsSubAnalysis::HLTHiggsSubAnalysis(), HLTExoticaPlotter::plotterBookHistos(), and HLTExoticaSubAnalysis::subAnalysisBookHistos().

232  {
233  std::string objTypestr;
234 
235  if (objtype == EVTColContainer::MUON) {
236  objTypestr = "Mu";
237  } else if (objtype == EVTColContainer::MUTRK) {
238  objTypestr = "refittedStandAloneMuons";
239  } else if (objtype == EVTColContainer::TRACK) {
240  objTypestr = "Track";
241  } else if (objtype == EVTColContainer::ELEC) {
242  objTypestr = "Ele";
243  } else if (objtype == EVTColContainer::PHOTON) {
244  objTypestr = "Photon";
245  } else if (objtype == EVTColContainer::MET) {
246  objTypestr = "MET";
247  } else if (objtype == EVTColContainer::PFMET) {
248  objTypestr = "PFMET";
249  } else if (objtype == EVTColContainer::PFMHT) {
250  objTypestr = "PFMHT";
251  } else if (objtype == EVTColContainer::GENMET) {
252  objTypestr = "GenMET";
253  } else if (objtype == EVTColContainer::CALOMET) {
254  objTypestr = "CaloMET";
255  } else if (objtype == EVTColContainer::CALOMHT) {
256  objTypestr = "CaloMHT";
257  } else if (objtype == EVTColContainer::L1MET) {
258  objTypestr = "l1MET";
259  } else if (objtype == EVTColContainer::PFTAU) {
260  objTypestr = "PFTau";
261  } else if (objtype == EVTColContainer::PFJET) {
262  objTypestr = "PFJet";
263  } else if (objtype == EVTColContainer::CALOJET) {
264  objTypestr = "CaloJet";
265  } else {
266  edm::LogError("ExoticaValidations") << "EVTColContainer::getTypeString, "
267  << "NOT Implemented error (object type id='" << objtype << "')" << std::endl;
268  ;
269  }
270 
271  return objTypestr;
272  }
Log< level::Error, false > LogError
bool EVTColContainer::isAllInit ( )
inline

Definition at line 86 of file EVTColContainer.h.

References nInitialized, and nOfCollections.

bool EVTColContainer::isAllInit ( )
inline

Definition at line 109 of file EVTColContainer.cc.

References nInitialized, and nOfCollections.

bool EVTColContainer::isCommonInit ( )
inline

Definition at line 88 of file EVTColContainer.h.

References rawTriggerEvent.

88 { return (rawTriggerEvent != nullptr); }
const trigger::TriggerEventWithRefs * rawTriggerEvent
bool EVTColContainer::isCommonInit ( )
inline

Definition at line 111 of file EVTColContainer.cc.

Referenced by HLTExoticaSubAnalysis::getHandlesToObjects(), and HLTHiggsSubAnalysis::initobjects().

111 { return false; }
void EVTColContainer::reset ( void  )
inline

Definition at line 90 of file EVTColContainer.h.

References caloMETs, electrons, genJets, genParticles, jetTags, muons, nInitialized, pfJets, pfMETs, pfTaus, photons, rawTriggerEvent, and triggerResults.

90  {
91  nInitialized = 0;
92  genParticles = nullptr;
93  genJets = nullptr;
94  muons = nullptr;
95  electrons = nullptr;
96  photons = nullptr;
97  pfTaus = nullptr;
98  caloMETs = nullptr;
99  pfMETs = nullptr;
100  pfJets = nullptr; //tracks=0;
101  jetTags = nullptr;
102  rawTriggerEvent = nullptr;
103  triggerResults = nullptr;
104  }
const std::vector< reco::Muon > * muons
const trigger::TriggerEventWithRefs * rawTriggerEvent
const std::vector< reco::CaloMET > * caloMETs
const reco::GenParticleCollection * genParticles
const std::vector< reco::PFTau > * pfTaus
const reco::GenJetCollection * genJets
const reco::JetTagCollection * jetTags
const std::vector< reco::PFJet > * pfJets
const std::vector< reco::Photon > * photons
const std::vector< reco::GsfElectron > * electrons
const std::vector< reco::PFMET > * pfMETs
const edm::TriggerResults * triggerResults
void EVTColContainer::reset ( void  )
inline

Reset: clear all collections.

Definition at line 114 of file EVTColContainer.cc.

References bs, caloJets, caloMETs, caloMHTs, electrons, genMETs, genParticles, l1METs, METs, muons, nInitialized, pfJets, pfMETs, pfMHTs, pfTaus, photons, tracks, and triggerResults.

Referenced by HLTHiggsValidator::analyze(), and HLTExoticaValidator::analyze().

114  {
115  nInitialized = 0;
116  genParticles = nullptr;
117  muons = nullptr;
118  tracks = nullptr;
119  electrons = nullptr;
120  photons = nullptr;
121  METs = nullptr;
122  pfMETs = nullptr;
123  pfMHTs = nullptr;
124  genMETs = nullptr;
125  caloMETs = nullptr;
126  caloMHTs = nullptr;
127  l1METs = nullptr;
128  pfTaus = nullptr;
129  pfJets = nullptr;
130  caloJets = nullptr;
131  triggerResults = nullptr;
132  bs = nullptr;
133  }
const std::vector< reco::Muon > * muons
const std::vector< reco::CaloMET > * caloMETs
const std::vector< reco::MET > * METs
const std::vector< reco::CaloJet > * caloJets
const reco::GenParticleCollection * genParticles
const std::vector< reco::PFTau > * pfTaus
const std::vector< reco::PFMET > * pfMHTs
const std::vector< reco::GenMET > * genMETs
const reco::BeamSpot * bs
const std::vector< reco::PFJet > * pfJets
const std::vector< reco::Track > * tracks
const std::vector< reco::Photon > * photons
const std::vector< l1extra::L1EtMissParticle > * l1METs
const std::vector< reco::GsfElectron > * electrons
const std::vector< reco::CaloMET > * caloMHTs
const std::vector< reco::PFMET > * pfMETs
const edm::TriggerResults * triggerResults
void EVTColContainer::set ( const reco::MuonCollection v)
inline

Setter: multiple overloaded function.

Definition at line 106 of file EVTColContainer.h.

References muons, nInitialized, and findQualityFiles::v.

106  {
107  muons = v;
108  ++nInitialized;
109  }
const std::vector< reco::Muon > * muons
void EVTColContainer::set ( const reco::GsfElectronCollection v)
inline

Definition at line 110 of file EVTColContainer.h.

References electrons, nInitialized, and findQualityFiles::v.

110  {
111  electrons = v;
112  ++nInitialized;
113  }
const std::vector< reco::GsfElectron > * electrons
void EVTColContainer::set ( const reco::PhotonCollection v)
inline

Definition at line 114 of file EVTColContainer.h.

References nInitialized, photons, and findQualityFiles::v.

114  {
115  photons = v;
116  ++nInitialized;
117  }
const std::vector< reco::Photon > * photons
void EVTColContainer::set ( const reco::CaloMETCollection v)
inline

Definition at line 118 of file EVTColContainer.h.

References caloMETs, nInitialized, and findQualityFiles::v.

118  {
119  caloMETs = v;
120  ++nInitialized;
121  }
const std::vector< reco::CaloMET > * caloMETs
void EVTColContainer::set ( const reco::PFMETCollection v)
inline

Definition at line 122 of file EVTColContainer.h.

References nInitialized, pfMETs, and findQualityFiles::v.

122  {
123  pfMETs = v;
124  ++nInitialized;
125  }
const std::vector< reco::PFMET > * pfMETs
void EVTColContainer::set ( const reco::PFTauCollection v)
inline

Definition at line 126 of file EVTColContainer.h.

References nInitialized, pfTaus, and findQualityFiles::v.

126  {
127  pfTaus = v;
128  ++nInitialized;
129  }
const std::vector< reco::PFTau > * pfTaus
void EVTColContainer::set ( const reco::PFJetCollection v)
inline

Definition at line 130 of file EVTColContainer.h.

References nInitialized, pfJets, and findQualityFiles::v.

130  {
131  pfJets = v;
132  ++nInitialized;
133  }
const std::vector< reco::PFJet > * pfJets
void EVTColContainer::set ( const reco::JetTagCollection v)
inline

Definition at line 134 of file EVTColContainer.h.

References jetTags, and findQualityFiles::v.

134 { jetTags = v; }
const reco::JetTagCollection * jetTags
void EVTColContainer::set ( const reco::MuonCollection v)
inline

Setter: multiple overloaded function.

Definition at line 136 of file EVTColContainer.cc.

References muons, nInitialized, and findQualityFiles::v.

Referenced by HLTExoticaSubAnalysis::getHandlesToObjects(), HLTHiggsSubAnalysis::initAndInsertJets(), and HLTHiggsSubAnalysis::initobjects().

136  {
137  muons = v;
138  ++nInitialized;
139  }
const std::vector< reco::Muon > * muons
void EVTColContainer::set ( const reco::TrackCollection v)
inline

Definition at line 140 of file EVTColContainer.cc.

References nInitialized, tracks, and findQualityFiles::v.

140  {
141  tracks = v;
142  ++nInitialized;
143  }
const std::vector< reco::Track > * tracks
void EVTColContainer::set ( const reco::GsfElectronCollection v)
inline

Definition at line 144 of file EVTColContainer.cc.

References electrons, nInitialized, and findQualityFiles::v.

144  {
145  electrons = v;
146  ++nInitialized;
147  }
const std::vector< reco::GsfElectron > * electrons
void EVTColContainer::set ( const reco::PhotonCollection v)
inline

Definition at line 148 of file EVTColContainer.cc.

References nInitialized, photons, and findQualityFiles::v.

148  {
149  photons = v;
150  ++nInitialized;
151  }
const std::vector< reco::Photon > * photons
void EVTColContainer::set ( const reco::METCollection v)
inline

Definition at line 152 of file EVTColContainer.cc.

References METs, nInitialized, and findQualityFiles::v.

152  {
153  METs = v;
154  ++nInitialized;
155  }
const std::vector< reco::MET > * METs
void EVTColContainer::set ( const reco::PFMETCollection v)
inline

Definition at line 156 of file EVTColContainer.cc.

References nInitialized, pfMETs, and findQualityFiles::v.

156  {
157  pfMETs = v;
158  ++nInitialized;
159  }
const std::vector< reco::PFMET > * pfMETs
void EVTColContainer::set ( const reco::GenMETCollection v)
inline

Definition at line 164 of file EVTColContainer.cc.

References genMETs, nInitialized, and findQualityFiles::v.

164  {
165  genMETs = v;
166  ++nInitialized;
167  }
const std::vector< reco::GenMET > * genMETs
void EVTColContainer::set ( const reco::CaloMETCollection v)
inline

Definition at line 168 of file EVTColContainer.cc.

References caloMETs, nInitialized, and findQualityFiles::v.

168  {
169  caloMETs = v;
170  ++nInitialized;
171  }
const std::vector< reco::CaloMET > * caloMETs
void EVTColContainer::set ( const l1extra::L1EtMissParticleCollection v)
inline

Definition at line 176 of file EVTColContainer.cc.

References l1METs, nInitialized, and findQualityFiles::v.

176  {
177  l1METs = v;
178  ++nInitialized;
179  }
const std::vector< l1extra::L1EtMissParticle > * l1METs
void EVTColContainer::set ( const reco::PFTauCollection v)
inline

Definition at line 180 of file EVTColContainer.cc.

References nInitialized, pfTaus, and findQualityFiles::v.

180  {
181  pfTaus = v;
182  ++nInitialized;
183  }
const std::vector< reco::PFTau > * pfTaus
void EVTColContainer::set ( const reco::PFJetCollection v)
inline

Definition at line 184 of file EVTColContainer.cc.

References nInitialized, pfJets, and findQualityFiles::v.

184  {
185  pfJets = v;
186  ++nInitialized;
187  }
const std::vector< reco::PFJet > * pfJets
void EVTColContainer::set ( const reco::CaloJetCollection v)
inline

Definition at line 188 of file EVTColContainer.cc.

References caloJets, nInitialized, and findQualityFiles::v.

188  {
189  caloJets = v;
190  ++nInitialized;
191  }
const std::vector< reco::CaloJet > * caloJets
void EVTColContainer::setCaloMHT ( const reco::CaloMETCollection v)
inline

Definition at line 172 of file EVTColContainer.cc.

References caloMHTs, nInitialized, and findQualityFiles::v.

Referenced by HLTExoticaSubAnalysis::getHandlesToObjects().

172  {
173  caloMHTs = v;
174  ++nInitialized;
175  }
const std::vector< reco::CaloMET > * caloMHTs
void EVTColContainer::setPFMHT ( const reco::PFMETCollection v)
inline

Definition at line 160 of file EVTColContainer.cc.

References nInitialized, pfMHTs, and findQualityFiles::v.

Referenced by HLTExoticaSubAnalysis::getHandlesToObjects().

160  {
161  pfMHTs = v;
162  ++nInitialized;
163  }
const std::vector< reco::PFMET > * pfMHTs

Member Data Documentation

const reco::BeamSpot* EVTColContainer::bs
const std::vector<reco::CaloJet>* EVTColContainer::caloJets

Definition at line 84 of file EVTColContainer.cc.

Referenced by getSize(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().

const std::vector< reco::CaloMET > * EVTColContainer::caloMETs
const std::vector<reco::CaloMET>* EVTColContainer::caloMHTs
const std::vector< reco::GsfElectron > * EVTColContainer::electrons
const reco::GenJetCollection* EVTColContainer::genJets
const std::vector<reco::GenMET>* EVTColContainer::genMETs

Definition at line 78 of file EVTColContainer.cc.

Referenced by getSize(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().

const reco::GenParticleCollection * EVTColContainer::genParticles
const reco::JetTagCollection* EVTColContainer::jetTags

Definition at line 65 of file EVTColContainer.h.

Referenced by reset(), and set().

const std::vector<l1extra::L1EtMissParticle>* EVTColContainer::l1METs

Definition at line 81 of file EVTColContainer.cc.

Referenced by getSize(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().

const std::vector<reco::MET>* EVTColContainer::METs

Definition at line 75 of file EVTColContainer.cc.

Referenced by getSize(), reset(), and set().

const std::vector< reco::Muon > * EVTColContainer::muons
int EVTColContainer::nInitialized

Definition at line 68 of file EVTColContainer.cc.

Referenced by isAllInit(), reset(), set(), setCaloMHT(), and setPFMHT().

int EVTColContainer::nOfCollections

Definition at line 67 of file EVTColContainer.cc.

Referenced by isAllInit().

const std::vector< reco::PFJet > * EVTColContainer::pfJets

Definition at line 83 of file EVTColContainer.cc.

Referenced by getSize(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().

const std::vector< reco::PFMET > * EVTColContainer::pfMETs
const std::vector<reco::PFMET>* EVTColContainer::pfMHTs
const std::vector< reco::PFTau > * EVTColContainer::pfTaus
const std::vector< reco::Photon > * EVTColContainer::photons
const trigger::TriggerEventWithRefs* EVTColContainer::rawTriggerEvent

Definition at line 67 of file EVTColContainer.h.

Referenced by isCommonInit(), and reset().

const std::vector<reco::Track>* EVTColContainer::tracks

Definition at line 72 of file EVTColContainer.cc.

Referenced by getSize(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().

const edm::TriggerResults * EVTColContainer::triggerResults