1 #ifndef HLTRIGGEROFFLINE_EXOTICA_EVTCOLCONTAINER_CC
2 #define HLTRIGGEROFFLINE_EXOTICA_EVTCOLCONTAINER_CC
71 const std::vector<reco::Muon> *
muons;
72 const std::vector<reco::Track> *
tracks;
75 const std::vector<reco::MET> *
METs;
76 const std::vector<reco::PFMET> *
pfMETs;
77 const std::vector<reco::PFMET> *
pfMHTs;
81 const std::vector<l1extra::L1EtMissParticle> *
l1METs;
82 const std::vector<reco::PFTau> *
pfTaus;
83 const std::vector<reco::PFJet> *
pfJets;
194 const unsigned int getSize(
const unsigned int &objtype)
const {
195 unsigned int size = 0;
197 size =
muons->size();
238 objTypestr =
"refittedStandAloneMuons";
240 objTypestr =
"Track";
244 objTypestr =
"Photon";
248 objTypestr =
"PFMET";
250 objTypestr =
"PFMHT";
252 objTypestr =
"GenMET";
254 objTypestr =
"CaloMET";
256 objTypestr =
"CaloMHT";
258 objTypestr =
"l1MET";
260 objTypestr =
"PFTau";
262 objTypestr =
"PFJet";
264 objTypestr =
"CaloJet";
266 edm::LogError(
"ExoticaValidations") <<
"EVTColContainer::getTypeString, "
267 <<
"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
void set(const reco::TrackCollection *v)
const std::vector< reco::CaloMET > * caloMETs
std::vector< reco::GenMET > GenMETCollection
collection of GenMET objects
void set(const reco::GsfElectronCollection *v)
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
void set(const reco::CaloMETCollection *v)
void set(const reco::GenMETCollection *v)
Log< level::Error, false > LogError
const unsigned int getSize(const unsigned int &objtype) const
Get size of collections.
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 set(const reco::PFTauCollection *v)
void setPFMHT(const reco::PFMETCollection *v)
void set(const reco::MuonCollection *v)
Setter: multiple overloaded function.
const std::vector< reco::PFMET > * pfMHTs
const std::vector< reco::GenMET > * genMETs
void set(const l1extra::L1EtMissParticleCollection *v)
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.
void set(const reco::PFMETCollection *v)
const std::vector< l1extra::L1EtMissParticle > * l1METs
std::vector< reco::CaloMET > CaloMETCollection
collection of CaloMET objects
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
void set(const reco::CaloJetCollection *v)
const std::vector< reco::CaloMET > * caloMHTs
const std::vector< reco::PFMET > * pfMETs
void set(const reco::METCollection *v)
static const std::string getTypeString(const unsigned int &objtype)
Tranform types into strings.
const edm::TriggerResults * triggerResults
tuple size
Write out results.
void setCaloMHT(const reco::CaloMETCollection *v)
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects
Computes the MET from a collection of PFCandidates. HF missing!