1 #ifndef HLTRIGGEROFFLINE_HIGGS_EVTCOLCONTAINER 2 #define HLTRIGGEROFFLINE_HIGGS_EVTCOLCONTAINER 57 const std::vector<reco::Muon>*
muons;
58 const std::vector<reco::GsfElectron>*
electrons;
59 const std::vector<reco::Photon>*
photons;
60 const std::vector<reco::CaloMET>*
caloMETs;
61 const std::vector<reco::PFMET>*
pfMETs;
62 const std::vector<reco::PFTau>*
pfTaus;
63 const std::vector<reco::PFJet>*
pfJets;
85 bool isAllInit() {
return (nInitialized == nOfCollections); }
91 genParticles =
nullptr;
101 rawTriggerEvent =
nullptr;
102 triggerResults =
nullptr;
139 const unsigned int getSize(
const unsigned int& objtype)
const {
140 unsigned int size = 0;
142 size = muons->size();
144 size = electrons->size();
146 size = photons->size();
148 size = caloMETs->size();
150 size = pfMETs->size();
152 size = pfTaus->size();
154 size = pfJets->size();
172 objTypestr =
"Photon";
176 objTypestr =
"PFMET";
178 objTypestr =
"PFTau";
188 edm::LogError(
"HiggsValidations") <<
"EVTColContainer::getTypeString, " 189 <<
"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