1 #ifndef HLTRIGGEROFFLINE_EXOTICA_EVTCOLCONTAINER_CC
2 #define HLTRIGGEROFFLINE_EXOTICA_EVTCOLCONTAINER_CC
48 const std::vector<reco::Muon> *
muons;
50 const std::vector<reco::Photon> *
photons;
51 const std::vector<reco::PFMET> *
pfMETs;
52 const std::vector<reco::PFTau> *
pfTaus;
53 const std::vector<reco::PFJet> *
jets;
126 const unsigned int getSize(
const unsigned int & objtype)
const
128 unsigned int size = 0;
130 size =
muons->size();
156 objTypestr =
"Photon";
160 objTypestr =
"PFTau";
164 edm::LogError(
"ExoticaValidations") <<
"EVTColContainer::getTypeString, "
165 <<
"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
const std::vector< reco::PFJet > * jets
void set(const reco::GsfElectronCollection *v)
const reco::GenParticleCollection * genParticles
container with all the objects needed
const unsigned int getSize(const unsigned int &objtype) const
Get size of collections.
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
const std::vector< reco::PFTau > * pfTaus
std::vector< Muon > MuonCollection
collection of Muon objects
void set(const reco::PFTauCollection *v)
void set(const reco::MuonCollection *v)
Setter: multiple overloaded function.
const std::vector< reco::Photon > * photons
void reset()
Reset: clear all collections.
void set(const reco::PFMETCollection *v)
std::vector< Photon > PhotonCollection
collectin of Photon objects
const std::vector< reco::GsfElectron > * electrons
void set(const reco::PFJetCollection *v)
void set(const reco::PhotonCollection *v)
std::vector< PFJet > PFJetCollection
collection of PFJet objects
std::vector< reco::PFMET > PFMETCollection
collection of PFMET objects
const std::vector< reco::PFMET > * pfMETs
static const std::string getTypeString(const unsigned int &objtype)
Tranform types into strings.
const edm::TriggerResults * triggerResults
tuple size
Write out results.
Computes the MET from a collection of PFCandidates. HF missing!