1 #ifndef HLTRIGGEROFFLINE_EXOTICA_EVTCOLCONTAINER_CC 2 #define HLTRIGGEROFFLINE_EXOTICA_EVTCOLCONTAINER_CC 68 const std::vector<reco::Muon> *
muons;
69 const std::vector<reco::Track> *
tracks;
72 const std::vector<reco::MET> *
METs;
73 const std::vector<reco::PFMET> *
pfMETs;
74 const std::vector<reco::PFMET> *
pfMHTs;
78 const std::vector<reco::PFTau> *
pfTaus;
79 const std::vector<reco::PFJet> *
pfJets;
184 const unsigned int getSize(
const unsigned int &objtype)
const {
185 unsigned int size = 0;
226 objTypestr =
"refittedStandAloneMuons";
228 objTypestr =
"Track";
232 objTypestr =
"Photon";
236 objTypestr =
"PFMET";
238 objTypestr =
"PFMHT";
240 objTypestr =
"GenMET";
242 objTypestr =
"CaloMET";
244 objTypestr =
"CaloMHT";
246 objTypestr =
"PFTau";
248 objTypestr =
"PFJet";
250 objTypestr =
"CaloJet";
252 edm::LogError(
"ExoticaValidations") <<
"EVTColContainer::getTypeString, " 253 <<
"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::CaloMET > * caloMETs
std::vector< reco::GenMET > GenMETCollection
collection of GenMET objects
std::vector< Track > TrackCollection
collection of Tracks
const std::vector< reco::MET > * METs
const std::vector< reco::CaloJet > * caloJets
const reco::GenParticleCollection * genParticles
container with all the objects needed
Log< level::Error, false > LogError
std::vector< reco::MET > METCollection
collection of MET objects
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
const std::vector< reco::PFTau > * pfTaus
std::vector< Muon > MuonCollection
collection of Muon objects
void setPFMHT(const reco::PFMETCollection *v)
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
void reset()
Reset: clear all collections.
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::CaloMET > * caloMHTs
const std::vector< reco::PFMET > * pfMETs
static const std::string getTypeString(const unsigned int &objtype)
Tranform types into strings.
const edm::TriggerResults * triggerResults
void setCaloMHT(const reco::CaloMETCollection *v)
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects
const unsigned int getSize(const unsigned int &objtype) const
Get size of collections.
Computes the MET from a collection of PFCandidates. HF missing!