|
|
Go to the documentation of this file. 1 #ifndef HLTRIGGEROFFLINE_EXOTICA_EVTCOLCONTAINER_CC
2 #define HLTRIGGEROFFLINE_EXOTICA_EVTCOLCONTAINER_CC
70 const std::vector<reco::Muon> *
muons;
71 const std::vector<reco::Track> *
tracks;
74 const std::vector<reco::MET> *
METs;
75 const std::vector<reco::PFMET> *
pfMETs;
76 const std::vector<reco::PFMET> *
pfMHTs;
80 const std::vector<l1extra::L1EtMissParticle> *
l1METs;
81 const std::vector<reco::PFTau> *
pfTaus;
82 const std::vector<reco::PFJet> *
pfJets;
193 const unsigned int getSize(
const unsigned int &objtype)
const {
194 unsigned int size = 0;
237 objTypestr =
"refittedStandAloneMuons";
239 objTypestr =
"Track";
243 objTypestr =
"Photon";
247 objTypestr =
"PFMET";
249 objTypestr =
"PFMHT";
251 objTypestr =
"GenMET";
253 objTypestr =
"CaloMET";
255 objTypestr =
"CaloMHT";
257 objTypestr =
"l1MET";
259 objTypestr =
"PFTau";
261 objTypestr =
"PFJet";
263 objTypestr =
"CaloJet";
265 edm::LogError(
"ExoticaValidations") <<
"EVTColContainer::getTypeString, "
266 <<
"NOT Implemented error (object type id='" << objtype <<
"')" << std::endl;
const static std::string getTypeString(const unsigned int &objtype)
Tranform types into strings.
void set(const reco::PFMETCollection *v)
std::vector< reco::PFMET > PFMETCollection
collection of PFMET objects
const std::vector< reco::GsfElectron > * electrons
const std::vector< reco::MET > * METs
void setPFMHT(const reco::PFMETCollection *v)
void set(const reco::PFTauCollection *v)
void set(const reco::PFJetCollection *v)
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
const std::vector< reco::Track > * tracks
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
void set(const l1extra::L1EtMissParticleCollection *v)
void set(const reco::METCollection *v)
const reco::BeamSpot * bs
void set(const reco::CaloMETCollection *v)
std::vector< reco::MET > METCollection
collection of MET objects
const edm::TriggerResults * triggerResults
std::vector< reco::GenMET > GenMETCollection
collection of GenMET objects
const std::vector< reco::CaloMET > * caloMHTs
std::vector< Muon > MuonCollection
collection of Muon objects
std::vector< PFTau > PFTauCollection
collection of PFTau objects
const reco::GenParticleCollection * genParticles
void set(const reco::PhotonCollection *v)
const std::vector< reco::PFMET > * pfMETs
void setCaloMHT(const reco::CaloMETCollection *v)
Computes the MET from a collection of PFCandidates. HF missing!
const std::vector< l1extra::L1EtMissParticle > * l1METs
void set(const reco::GenMETCollection *v)
const std::vector< reco::CaloJet > * caloJets
void set(const reco::CaloJetCollection *v)
const std::vector< reco::CaloMET > * caloMETs
const std::vector< reco::Muon > * muons
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects
void set(const reco::GsfElectronCollection *v)
void set(const reco::TrackCollection *v)
const std::vector< reco::GenMET > * genMETs
void set(const reco::MuonCollection *v)
Setter: multiple overloaded function.
const unsigned int getSize(const unsigned int &objtype) const
Get size of collections.
const std::vector< reco::PFJet > * pfJets
const std::vector< reco::PFTau > * pfTaus
std::vector< PFJet > PFJetCollection
collection of PFJet objects
const std::vector< reco::Photon > * photons
std::vector< Photon > PhotonCollection
collectin of Photon objects
void reset()
Reset: clear all collections.
std::vector< reco::CaloMET > CaloMETCollection
collection of CaloMET objects
const std::vector< reco::PFMET > * pfMHTs
container with all the objects needed
std::vector< Track > TrackCollection
collection of Tracks