container with all the objects needed More...
Public Types | |
enum | { PHOTON = 22, ELEC = 11, MUON = 13, MUTRK = 130, PFTAU = 15, TRACK = 0, PFMET = 39, PFMHT = 40, MET = 390000, GENMET = 390001, CALOMET = 390002, HLTMET = 390003, L1MET = 390004, PFJET = 211, CALOJET = 111, _nMAX } |
enum | { MUON = 13, ELEC = 11, PHOTON = 22, CALOMET = 390002, PFMET = 39, PFTAU = 15, PFJET = 211, _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::CaloMETCollection *v) |
void | set (const reco::PFMETCollection *v) |
void | set (const reco::PFTauCollection *v) |
void | set (const reco::MuonCollection *v) |
Setter: multiple overloaded function. More... | |
void | set (const reco::PFJetCollection *v) |
void | set (const reco::JetTagCollection *v) |
void | set (const reco::TrackCollection *v) |
void | set (const reco::GsfElectronCollection *v) |
void | set (const reco::PhotonCollection *v) |
void | set (const reco::METCollection *v) |
void | set (const reco::PFMETCollection *v) |
void | set (const reco::GenMETCollection *v) |
void | set (const reco::CaloMETCollection *v) |
void | set (const l1extra::L1EtMissParticleCollection *v) |
void | set (const reco::PFTauCollection *v) |
void | set (const reco::PFJetCollection *v) |
void | set (const reco::CaloJetCollection *v) |
void | setPFMHT (const reco::PFMETCollection *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 reco::BeamSpot * | bs |
const std::vector < reco::CaloJet > * | caloJets |
const std::vector < reco::CaloMET > * | caloMETs |
const std::vector < reco::GsfElectron > * | electrons |
const reco::GenJetCollection * | genJets |
const std::vector< reco::GenMET > * | genMETs |
const reco::GenParticleCollection * | genParticles |
const reco::JetTagCollection * | jetTags |
const std::vector < l1extra::L1EtMissParticle > * | l1METs |
const std::vector< reco::MET > * | METs |
const std::vector< reco::Muon > * | muons |
int | nInitialized |
int | nOfCollections |
const std::vector< reco::PFJet > * | pfJets |
const std::vector< reco::PFMET > * | pfMETs |
const std::vector< reco::PFMET > * | pfMHTs |
const std::vector< reco::PFTau > * | pfTaus |
const std::vector< reco::Photon > * | photons |
const trigger::TriggerEventWithRefs * | rawTriggerEvent |
const std::vector< reco::Track > * | tracks |
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 45 of file EVTColContainer.cc.
anonymous enum |
Enumerator | |
---|---|
PHOTON | |
ELEC | |
MUON | |
MUTRK | |
PFTAU | |
TRACK | |
PFMET | |
PFMHT | |
MET | |
GENMET | |
CALOMET | |
HLTMET | |
L1MET | |
PFJET | |
CALOJET | |
_nMAX |
Definition at line 46 of file EVTColContainer.cc.
anonymous enum |
Enumerator | |
---|---|
MUON | |
ELEC | |
PHOTON | |
CALOMET | |
PFMET | |
PFTAU | |
PFJET | |
_nMAX |
Definition at line 42 of file EVTColContainer.cc.
|
inline |
Definition at line 85 of file EVTColContainer.cc.
|
inline |
Definition at line 70 of file EVTColContainer.cc.
|
inline |
Definition at line 154 of file EVTColContainer.cc.
References CALOMET, caloMETs, ELEC, electrons, MUON, muons, PFJET, pfJets, PFMET, pfMETs, PFTAU, pfTaus, PHOTON, photons, and findQualityFiles::size.
|
inline |
Get size of collections.
Definition at line 207 of file EVTColContainer.cc.
References CALOJET, caloJets, CALOMET, caloMETs, ELEC, electrons, GENMET, genMETs, L1MET, l1METs, MET, METs, MUON, muons, MUTRK, PFJET, pfJets, PFMET, pfMETs, PFMHT, pfMHTs, PFTAU, pfTaus, PHOTON, photons, findQualityFiles::size, TRACK, and tracks.
|
inlinestatic |
Definition at line 193 of file EVTColContainer.cc.
References CALOMET, ELEC, MUON, PFJET, PFMET, PFTAU, PHOTON, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlinestatic |
Tranform types into strings.
Definition at line 244 of file EVTColContainer.cc.
References CALOJET, CALOMET, ELEC, GENMET, L1MET, MET, MUON, MUTRK, PFJET, PFMET, PFMHT, PFTAU, PHOTON, AlCaHLTBitMon_QueryRunRegistry::string, and TRACK.
Referenced by HLTExoticaPlotter::analyze(), HLTHiggsPlotter::analyze(), HLTHiggsSubAnalysis::analyze(), HLTExoticaSubAnalysis::analyze(), HLTHiggsSubAnalysis::beginRun(), HLTHiggsPlotter::bookHist(), HLTHiggsSubAnalysis::bookHist(), 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 94 of file EVTColContainer.cc.
References rawTriggerEvent.
|
inline |
Definition at line 112 of file EVTColContainer.cc.
Referenced by HLTExoticaSubAnalysis::getHandlesToObjects(), and HLTHiggsSubAnalysis::initobjects().
|
inline |
Definition at line 99 of file EVTColContainer.cc.
References caloMETs, electrons, genJets, genParticles, jetTags, muons, nInitialized, pfJets, pfMETs, pfTaus, photons, rawTriggerEvent, and triggerResults.
|
inline |
Reset: clear all collections.
Definition at line 118 of file EVTColContainer.cc.
References bs, caloJets, caloMETs, electrons, genMETs, genParticles, l1METs, METs, muons, nInitialized, pfJets, pfMETs, pfMHTs, pfTaus, photons, tracks, and triggerResults.
Referenced by HLTHiggsValidator::analyze(), and HLTExoticaValidator::analyze().
|
inline |
Setter: multiple overloaded function.
Definition at line 110 of file EVTColContainer.cc.
References muons, nInitialized, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 115 of file EVTColContainer.cc.
References electrons, nInitialized, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 120 of file EVTColContainer.cc.
References nInitialized, photons, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 125 of file EVTColContainer.cc.
References caloMETs, nInitialized, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 130 of file EVTColContainer.cc.
References nInitialized, pfMETs, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 135 of file EVTColContainer.cc.
References nInitialized, pfTaus, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Setter: multiple overloaded function.
Definition at line 140 of file EVTColContainer.cc.
References muons, nInitialized, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral(), HLTExoticaSubAnalysis::getHandlesToObjects(), HLTHiggsSubAnalysis::initAndInsertJets(), and HLTHiggsSubAnalysis::initobjects().
|
inline |
Definition at line 140 of file EVTColContainer.cc.
References nInitialized, pfJets, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 145 of file EVTColContainer.cc.
References nInitialized, tracks, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 145 of file EVTColContainer.cc.
References jetTags, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 150 of file EVTColContainer.cc.
References electrons, nInitialized, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 155 of file EVTColContainer.cc.
References nInitialized, photons, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 160 of file EVTColContainer.cc.
References METs, nInitialized, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 165 of file EVTColContainer.cc.
References nInitialized, pfMETs, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 175 of file EVTColContainer.cc.
References genMETs, nInitialized, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 180 of file EVTColContainer.cc.
References caloMETs, nInitialized, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 185 of file EVTColContainer.cc.
References l1METs, nInitialized, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 190 of file EVTColContainer.cc.
References nInitialized, pfTaus, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 195 of file EVTColContainer.cc.
References nInitialized, pfJets, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 200 of file EVTColContainer.cc.
References caloJets, nInitialized, and findQualityFiles::v.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
Definition at line 170 of file EVTColContainer.cc.
References nInitialized, pfMHTs, and findQualityFiles::v.
Referenced by HLTExoticaSubAnalysis::getHandlesToObjects().
const reco::BeamSpot* EVTColContainer::bs |
Definition at line 83 of file EVTColContainer.cc.
Referenced by HLTExoticaSubAnalysis::analyze(), HLTExoticaSubAnalysis::getHandlesToObjects(), and reset().
const std::vector<reco::CaloJet>* EVTColContainer::caloJets |
Definition at line 81 of file EVTColContainer.cc.
Referenced by getSize(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const std::vector< reco::CaloMET > * EVTColContainer::caloMETs |
Definition at line 77 of file EVTColContainer.cc.
Referenced by getSize(), HLTHiggsSubAnalysis::insertcandidates(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const std::vector< reco::GsfElectron > * EVTColContainer::electrons |
Definition at line 71 of file EVTColContainer.cc.
Referenced by getSize(), HLTHiggsSubAnalysis::insertcandidates(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const reco::GenJetCollection* EVTColContainer::genJets |
Definition at line 58 of file EVTColContainer.cc.
Referenced by HLTHiggsSubAnalysis::analyze(), HLTHiggsSubAnalysis::initobjects(), objects.JetAnalyzer.JetAnalyzer::matchJets(), and reset().
const std::vector<reco::GenMET>* EVTColContainer::genMETs |
Definition at line 76 of file EVTColContainer.cc.
Referenced by getSize(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const reco::GenParticleCollection * EVTColContainer::genParticles |
Definition at line 68 of file EVTColContainer.cc.
Referenced by HLTHiggsSubAnalysis::analyze(), HLTExoticaSubAnalysis::analyze(), HLTExoticaSubAnalysis::getHandlesToObjects(), HLTHiggsSubAnalysis::initobjects(), and reset().
const reco::JetTagCollection* EVTColContainer::jetTags |
Definition at line 66 of file EVTColContainer.cc.
const std::vector<l1extra::L1EtMissParticle>* EVTColContainer::l1METs |
Definition at line 78 of file EVTColContainer.cc.
Referenced by getSize(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const std::vector<reco::MET>* EVTColContainer::METs |
Definition at line 73 of file EVTColContainer.cc.
const std::vector< reco::Muon > * EVTColContainer::muons |
Definition at line 69 of file EVTColContainer.cc.
Referenced by getSize(), HLTHiggsSubAnalysis::insertcandidates(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
int EVTColContainer::nInitialized |
Definition at line 66 of file EVTColContainer.cc.
Referenced by isAllInit(), reset(), set(), and setPFMHT().
int EVTColContainer::nOfCollections |
Definition at line 65 of file EVTColContainer.cc.
Referenced by isAllInit().
const std::vector< reco::PFJet > * EVTColContainer::pfJets |
Definition at line 80 of file EVTColContainer.cc.
Referenced by getSize(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const std::vector< reco::PFMET > * EVTColContainer::pfMETs |
Definition at line 74 of file EVTColContainer.cc.
Referenced by getSize(), HLTHiggsSubAnalysis::insertcandidates(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const std::vector<reco::PFMET>* EVTColContainer::pfMHTs |
Definition at line 75 of file EVTColContainer.cc.
Referenced by getSize(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and setPFMHT().
const std::vector< reco::PFTau > * EVTColContainer::pfTaus |
Definition at line 79 of file EVTColContainer.cc.
Referenced by getSize(), HLTHiggsSubAnalysis::insertcandidates(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const std::vector< reco::Photon > * EVTColContainer::photons |
Definition at line 72 of file EVTColContainer.cc.
Referenced by getSize(), HLTHiggsSubAnalysis::insertcandidates(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const trigger::TriggerEventWithRefs* EVTColContainer::rawTriggerEvent |
Definition at line 68 of file EVTColContainer.cc.
Referenced by isCommonInit(), and reset().
const std::vector<reco::Track>* EVTColContainer::tracks |
Definition at line 70 of file EVTColContainer.cc.
Referenced by getSize(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const edm::TriggerResults * EVTColContainer::triggerResults |
Definition at line 82 of file EVTColContainer.cc.
Referenced by HLTHiggsSubAnalysis::analyze(), HLTExoticaSubAnalysis::analyze(), HLTExoticaSubAnalysis::getHandlesToObjects(), HLTHiggsSubAnalysis::initobjects(), and reset().