1 #ifndef HLTRIGGEROFFLINE_HIGGS_EVTCOLCONTAINER 2 #define HLTRIGGEROFFLINE_HIGGS_EVTCOLCONTAINER 59 const std::vector<reco::Muon> *
muons;
60 const std::vector<reco::GsfElectron> *
electrons;
61 const std::vector<reco::Photon> *
photons;
62 const std::vector<reco::CaloMET> *
caloMETs;
63 const std::vector<reco::PFMET> *
pfMETs;
64 const std::vector<reco::PFTau> *
pfTaus;
65 const std::vector<reco::PFJet> *
pfJets;
91 return (nInitialized == nOfCollections);
96 return (rawTriggerEvent !=
nullptr);
102 genParticles =
nullptr;
104 muons =
nullptr; electrons =
nullptr; photons =
nullptr; pfTaus=
nullptr; caloMETs=
nullptr; pfMETs=
nullptr; pfJets=
nullptr;
106 rawTriggerEvent =
nullptr;
107 triggerResults =
nullptr;
154 const unsigned int getSize(
const unsigned int & objtype)
const 156 unsigned int size = 0;
159 size = muons->size();
163 size = electrons->size();
167 size = photons->size();
171 size = caloMETs->size();
175 size = pfMETs->size();
179 size = pfTaus->size();
183 size = pfJets->size();
207 objTypestr =
"Photon";
215 objTypestr =
"PFMET";
219 objTypestr =
"PFTau";
232 edm::LogError(
"HiggsValidations") <<
"EVTColContainer::getTypeString, " 233 <<
"NOT Implemented error (object type id='" << objtype <<
"')" << std::endl;;
const std::vector< reco::Muon > * muons
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
std::vector< PFTau > PFTauCollection
collection of PFTau objects
static std::string getTypeString(const unsigned int &objtype)
const trigger::TriggerEventWithRefs * rawTriggerEvent
const std::vector< reco::CaloMET > * caloMETs
std::vector< GenJet > GenJetCollection
collection of GenJet objects
const reco::GenParticleCollection * genParticles
container with all the objects needed
const unsigned int getSize(const unsigned int &objtype) const
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
const std::vector< reco::PFTau > * pfTaus
std::vector< Muon > MuonCollection
collection of Muon objects
const reco::GenJetCollection * genJets
const reco::JetTagCollection * jetTags
const std::vector< reco::PFJet > * pfJets
const std::vector< reco::Photon > * photons
std::vector< reco::CaloMET > CaloMETCollection
collection of CaloMET objects
std::vector< Photon > PhotonCollection
collectin of Photon objects
const std::vector< reco::GsfElectron > * electrons
std::vector< PFJet > PFJetCollection
collection of PFJet objects
std::vector< reco::PFMET > PFMETCollection
collection of PFMET objects
const std::vector< reco::PFMET > * pfMETs
const edm::TriggerResults * triggerResults