container with all the objects needed More...
Public Types | |
enum | { ELEC = 11, MUON = 13, PFTAU = 15, PHOTON = 22, PFMET = 39, JET = 211, _nMAX } |
enum | { MUON = 13, ELEC = 11, PHOTON = 22, CALOMET, PFTAU = 15, _nMAX } |
Public Member Functions | |
EVTColContainer () | |
EVTColContainer () | |
const unsigned int | getSize (const unsigned int &objtype) const |
const unsigned int | getSize (const unsigned int &objtype) const |
Get size of collections. More... | |
bool | isAllInit () |
bool | isAllInit () |
bool | isCommonInit () |
bool | isCommonInit () |
void | reset () |
Reset: clear all collections. More... | |
void | reset () |
void | set (const reco::MuonCollection *v) |
Setter: multiple overloaded function. More... | |
void | set (const reco::MuonCollection *v) |
Setter: multiple overloaded function. More... | |
void | set (const reco::GsfElectronCollection *v) |
void | set (const reco::GsfElectronCollection *v) |
void | set (const reco::PhotonCollection *v) |
void | set (const reco::PhotonCollection *v) |
void | set (const reco::CaloMETCollection *v) |
void | set (const reco::PFMETCollection *v) |
void | set (const reco::PFTauCollection *v) |
void | set (const reco::PFTauCollection *v) |
void | set (const reco::PFJetCollection *v) |
Static Public Member Functions | |
static const std::string | getTypeString (const unsigned int &objtype) |
Tranform types into strings. More... | |
static std::string | getTypeString (const unsigned int &objtype) |
Public Attributes | |
const std::vector < reco::CaloMET > * | caloMETs |
const std::vector < reco::GsfElectron > * | electrons |
const reco::GenParticleCollection * | genParticles |
const std::vector< reco::PFJet > * | jets |
const std::vector< reco::Muon > * | muons |
int | nInitialized |
int | nOfCollections |
const std::vector< reco::PFMET > * | pfMETs |
const std::vector< reco::PFTau > * | pfTaus |
const std::vector< reco::Photon > * | photons |
const trigger::TriggerEventWithRefs * | rawTriggerEvent |
const edm::TriggerResults * | triggerResults |
container with all the objects needed
Container with all the objects needed Notice that I have "more or less" followed the pdgIds of the particles involved.
Class to manage all the object collections in the Exotica Validation package.
Generate histograms for trigger efficiencies Higgs related Documentation available on the CMS TWiki: https://twiki.cern.ch/twiki/bin/view/CMS/HiggsWGHLTValidate
Definition at line 34 of file EVTColContainer.cc.
anonymous enum |
Enumerator | |
---|---|
ELEC | |
MUON | |
PFTAU | |
PHOTON | |
PFMET | |
JET | |
_nMAX |
Definition at line 35 of file EVTColContainer.cc.
anonymous enum |
Enumerator | |
---|---|
MUON | |
ELEC | |
PHOTON | |
CALOMET | |
PFTAU | |
_nMAX |
Definition at line 35 of file EVTColContainer.cc.
|
inline |
Definition at line 55 of file EVTColContainer.cc.
|
inline |
Definition at line 57 of file EVTColContainer.cc.
|
inline |
Definition at line 121 of file EVTColContainer.cc.
References CALOMET, caloMETs, ELEC, electrons, MUON, muons, PFTAU, pfTaus, PHOTON, photons, and findQualityFiles::size.
|
inline |
Get size of collections.
Definition at line 126 of file EVTColContainer.cc.
References ELEC, electrons, JET, jets, MUON, muons, PFMET, pfMETs, PFTAU, pfTaus, PHOTON, photons, and findQualityFiles::size.
|
inlinestatic |
Tranform types into strings.
Definition at line 147 of file EVTColContainer.cc.
References ELEC, JET, MUON, PFMET, PFTAU, PHOTON, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by HLTExoticaPlotter::analyze(), HLTHiggsPlotter::analyze(), HLTHiggsSubAnalysis::analyze(), HLTExoticaSubAnalysis::analyze(), HLTHiggsSubAnalysis::beginRun(), HLTHiggsPlotter::bookHistograms(), HLTHiggsSubAnalysis::bookHistograms(), HLTHiggsSubAnalysis::getObjectsType(), HLTExoticaSubAnalysis::getObjectsType(), HLTExoticaSubAnalysis::HLTExoticaSubAnalysis(), HLTHiggsPlotter::HLTHiggsPlotter(), HLTHiggsSubAnalysis::HLTHiggsSubAnalysis(), HLTExoticaPlotter::plotterBookHistos(), and HLTExoticaSubAnalysis::subAnalysisBookHistos().
|
inlinestatic |
Definition at line 152 of file EVTColContainer.cc.
References CALOMET, ELEC, MUON, PFTAU, PHOTON, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
|
inline |
|
inline |
Definition at line 74 of file EVTColContainer.cc.
Referenced by HLTExoticaSubAnalysis::getHandlesToObjects(), and HLTHiggsSubAnalysis::initobjects().
|
inline |
Definition at line 77 of file EVTColContainer.cc.
References rawTriggerEvent.
|
inline |
Reset: clear all collections.
Definition at line 80 of file EVTColContainer.cc.
References electrons, genParticles, jets, muons, nInitialized, pfMETs, pfTaus, photons, and triggerResults.
Referenced by HLTHiggsValidator::analyze(), and HLTExoticaValidator::analyze().
|
inline |
Definition at line 82 of file EVTColContainer.cc.
References caloMETs, electrons, genParticles, muons, nInitialized, pfTaus, photons, rawTriggerEvent, and triggerResults.
|
inline |
Setter: multiple overloaded function.
Definition at line 91 of file EVTColContainer.cc.
References muons, nInitialized, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Setter: multiple overloaded function.
Definition at line 94 of file EVTColContainer.cc.
References muons, nInitialized, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral(), HLTExoticaSubAnalysis::getHandlesToObjects(), and HLTHiggsSubAnalysis::initobjects().
|
inline |
Definition at line 96 of file EVTColContainer.cc.
References electrons, nInitialized, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 99 of file EVTColContainer.cc.
References electrons, nInitialized, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 101 of file EVTColContainer.cc.
References nInitialized, photons, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 104 of file EVTColContainer.cc.
References nInitialized, photons, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 106 of file EVTColContainer.cc.
References caloMETs, nInitialized, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 109 of file EVTColContainer.cc.
References nInitialized, pfMETs, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 111 of file EVTColContainer.cc.
References nInitialized, pfTaus, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 114 of file EVTColContainer.cc.
References nInitialized, pfTaus, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 119 of file EVTColContainer.cc.
References jets, nInitialized, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
const std::vector<reco::CaloMET>* EVTColContainer::caloMETs |
Definition at line 52 of file EVTColContainer.cc.
Referenced by getSize(), HLTHiggsSubAnalysis::insertcandidates(), reset(), and set().
const std::vector< reco::GsfElectron > * EVTColContainer::electrons |
Definition at line 49 of file EVTColContainer.cc.
Referenced by getSize(), HLTHiggsSubAnalysis::insertcandidates(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const reco::GenParticleCollection * EVTColContainer::genParticles |
Definition at line 47 of file EVTColContainer.cc.
Referenced by HLTHiggsSubAnalysis::analyze(), HLTExoticaSubAnalysis::analyze(), HLTExoticaSubAnalysis::getHandlesToObjects(), HLTHiggsSubAnalysis::initobjects(), and reset().
const std::vector<reco::PFJet>* EVTColContainer::jets |
Definition at line 53 of file EVTColContainer.cc.
Referenced by getSize(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const std::vector< reco::Muon > * EVTColContainer::muons |
Definition at line 48 of file EVTColContainer.cc.
Referenced by getSize(), HLTHiggsSubAnalysis::insertcandidates(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
int EVTColContainer::nInitialized |
Definition at line 46 of file EVTColContainer.cc.
Referenced by isAllInit(), reset(), and set().
int EVTColContainer::nOfCollections |
Definition at line 45 of file EVTColContainer.cc.
Referenced by isAllInit().
const std::vector<reco::PFMET>* EVTColContainer::pfMETs |
Definition at line 51 of file EVTColContainer.cc.
Referenced by getSize(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const std::vector< reco::PFTau > * EVTColContainer::pfTaus |
Definition at line 52 of file EVTColContainer.cc.
Referenced by getSize(), HLTHiggsSubAnalysis::insertcandidates(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const std::vector< reco::Photon > * EVTColContainer::photons |
Definition at line 50 of file EVTColContainer.cc.
Referenced by getSize(), HLTHiggsSubAnalysis::insertcandidates(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const trigger::TriggerEventWithRefs* EVTColContainer::rawTriggerEvent |
Definition at line 55 of file EVTColContainer.cc.
Referenced by isCommonInit(), and reset().
const edm::TriggerResults * EVTColContainer::triggerResults |
Definition at line 54 of file EVTColContainer.cc.
Referenced by HLTHiggsSubAnalysis::analyze(), HLTExoticaSubAnalysis::analyze(), HLTExoticaSubAnalysis::getHandlesToObjects(), HLTHiggsSubAnalysis::initobjects(), and reset().