container with all the objects needed More...
Public Types | |
enum | { ELEC = 11, MUON = 13, MUONTRACK = 130000, PFTAU = 15, PHOTON = 22, PFMET = 39, PFJET = 211, CALOJET = 111, _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 () |
void | reset () |
Reset: clear all collections. More... | |
void | set (const reco::MuonCollection *v) |
Setter: multiple overloaded function. More... | |
void | set (const reco::GsfElectronCollection *v) |
void | set (const reco::PhotonCollection *v) |
void | set (const reco::MuonCollection *v) |
Setter: multiple overloaded function. More... | |
void | set (const reco::CaloMETCollection *v) |
void | set (const reco::TrackCollection *v) |
void | set (const reco::PFTauCollection *v) |
void | set (const reco::GsfElectronCollection *v) |
void | set (const reco::PhotonCollection *v) |
void | set (const reco::PFMETCollection *v) |
void | set (const reco::PFTauCollection *v) |
void | set (const reco::PFJetCollection *v) |
void | set (const reco::CaloJetCollection *v) |
Static Public Member Functions | |
static std::string | getTypeString (const unsigned int &objtype) |
static const std::string | getTypeString (const unsigned int &objtype) |
Tranform types into strings. More... | |
Public Attributes | |
const std::vector < reco::CaloJet > * | caloJets |
const std::vector < reco::CaloMET > * | caloMETs |
const std::vector < reco::GsfElectron > * | electrons |
const reco::GenParticleCollection * | genParticles |
const std::vector< reco::Muon > * | muons |
const std::vector< reco::Track > * | muonTracks |
int | nInitialized |
int | nOfCollections |
const std::vector< reco::PFJet > * | pfJets |
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 36 of file EVTColContainer.cc.
anonymous enum |
Enumerator | |
---|---|
ELEC | |
MUON | |
MUONTRACK | |
PFTAU | |
PHOTON | |
PFMET | |
PFJET | |
CALOJET | |
_nMAX |
Definition at line 37 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 61 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 146 of file EVTColContainer.cc.
References CALOJET, caloJets, ELEC, electrons, MUON, muons, MUONTRACK, muonTracks, PFJET, pfJets, PFMET, pfMETs, PFTAU, pfTaus, PHOTON, photons, and findQualityFiles::size.
|
inlinestatic |
Definition at line 152 of file EVTColContainer.cc.
References CALOMET, ELEC, MUON, PFTAU, PHOTON, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlinestatic |
Tranform types into strings.
Definition at line 171 of file EVTColContainer.cc.
References CALOJET, ELEC, MUON, MUONTRACK, PFJET, 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().
|
inline |
|
inline |
|
inline |
Definition at line 77 of file EVTColContainer.cc.
References rawTriggerEvent.
|
inline |
Definition at line 82 of file EVTColContainer.cc.
Referenced by HLTExoticaSubAnalysis::getHandlesToObjects(), and HLTHiggsSubAnalysis::initobjects().
|
inline |
Definition at line 82 of file EVTColContainer.cc.
References caloMETs, electrons, genParticles, muons, nInitialized, pfTaus, photons, rawTriggerEvent, and triggerResults.
|
inline |
Reset: clear all collections.
Definition at line 88 of file EVTColContainer.cc.
References caloJets, electrons, genParticles, muons, muonTracks, nInitialized, pfJets, pfMETs, pfTaus, photons, and triggerResults.
Referenced by HLTHiggsValidator::analyze(), and HLTExoticaValidator::analyze().
|
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 |
Definition at line 96 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 |
Setter: multiple overloaded function.
Definition at line 104 of file EVTColContainer.cc.
References muons, nInitialized, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral(), HLTExoticaSubAnalysis::getHandlesToObjects(), and HLTHiggsSubAnalysis::initobjects().
|
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 muonTracks, nInitialized, 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 electrons, nInitialized, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 119 of file EVTColContainer.cc.
References nInitialized, photons, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 124 of file EVTColContainer.cc.
References nInitialized, pfMETs, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 129 of file EVTColContainer.cc.
References nInitialized, pfTaus, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 134 of file EVTColContainer.cc.
References nInitialized, pfJets, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 139 of file EVTColContainer.cc.
References caloJets, nInitialized, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
const std::vector<reco::CaloJet>* EVTColContainer::caloJets |
Definition at line 59 of file EVTColContainer.cc.
Referenced by getSize(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
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 54 of file EVTColContainer.cc.
Referenced by getSize(), HLTHiggsSubAnalysis::insertcandidates(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const reco::GenParticleCollection * EVTColContainer::genParticles |
Definition at line 51 of file EVTColContainer.cc.
Referenced by HLTHiggsSubAnalysis::analyze(), HLTExoticaSubAnalysis::analyze(), HLTExoticaSubAnalysis::getHandlesToObjects(), HLTHiggsSubAnalysis::initobjects(), and reset().
const std::vector< reco::Muon > * EVTColContainer::muons |
Definition at line 52 of file EVTColContainer.cc.
Referenced by getSize(), HLTHiggsSubAnalysis::insertcandidates(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const std::vector<reco::Track>* EVTColContainer::muonTracks |
Definition at line 53 of file EVTColContainer.cc.
Referenced by getSize(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
int EVTColContainer::nInitialized |
Definition at line 50 of file EVTColContainer.cc.
Referenced by isAllInit(), reset(), and set().
int EVTColContainer::nOfCollections |
Definition at line 49 of file EVTColContainer.cc.
Referenced by isAllInit().
const std::vector<reco::PFJet>* EVTColContainer::pfJets |
Definition at line 58 of file EVTColContainer.cc.
Referenced by getSize(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const std::vector<reco::PFMET>* EVTColContainer::pfMETs |
Definition at line 56 of file EVTColContainer.cc.
Referenced by getSize(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const std::vector< reco::PFTau > * EVTColContainer::pfTaus |
Definition at line 57 of file EVTColContainer.cc.
Referenced by getSize(), HLTHiggsSubAnalysis::insertcandidates(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const std::vector< reco::Photon > * EVTColContainer::photons |
Definition at line 55 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 60 of file EVTColContainer.cc.
Referenced by HLTHiggsSubAnalysis::analyze(), HLTExoticaSubAnalysis::analyze(), HLTExoticaSubAnalysis::getHandlesToObjects(), HLTHiggsSubAnalysis::initobjects(), and reset().