container with all the objects needed More...
#include <EVTColContainer.h>
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, PFJET = 211, CALOJET = 111, CALOMHT = 400002, _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 reco::PFTauCollection *v) |
void | set (const reco::PFJetCollection *v) |
void | set (const reco::CaloJetCollection *v) |
void | setCaloMHT (const reco::CaloMETCollection *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::CaloMET > * | caloMHTs |
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< 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 44 of file EVTColContainer.cc.
anonymous enum |
Enumerator | |
---|---|
PHOTON | |
ELEC | |
MUON | |
MUTRK | |
PFTAU | |
TRACK | |
PFMET | |
PFMHT | |
MET | |
GENMET | |
CALOMET | |
HLTMET | |
PFJET | |
CALOJET | |
CALOMHT | |
_nMAX |
Definition at line 45 of file EVTColContainer.cc.
anonymous enum |
Enumerator | |
---|---|
MUON | |
ELEC | |
PHOTON | |
CALOMET | |
PFMET | |
PFTAU | |
PFJET | |
_nMAX |
Definition at line 42 of file EVTColContainer.h.
|
inline |
Definition at line 84 of file EVTColContainer.cc.
|
inline |
Definition at line 69 of file EVTColContainer.h.
|
inline |
Definition at line 140 of file EVTColContainer.h.
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 184 of file EVTColContainer.cc.
References CALOJET, caloJets, CALOMET, caloMETs, CALOMHT, caloMHTs, ELEC, electrons, GENMET, genMETs, MET, METs, MUON, muons, MUTRK, PFJET, pfJets, PFMET, pfMETs, PFMHT, pfMHTs, PFTAU, pfTaus, PHOTON, photons, findQualityFiles::size, TRACK, and tracks.
|
inlinestatic |
Definition at line 165 of file EVTColContainer.h.
References CALOMET, ELEC, MUON, PFJET, PFMET, PFTAU, PHOTON, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlinestatic |
Tranform types into strings.
Definition at line 220 of file EVTColContainer.cc.
References CALOJET, CALOMET, CALOMHT, ELEC, GENMET, 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 88 of file EVTColContainer.h.
References rawTriggerEvent.
|
inline |
Definition at line 106 of file EVTColContainer.cc.
|
inline |
Definition at line 90 of file EVTColContainer.h.
References caloMETs, electrons, genJets, genParticles, jetTags, muons, nInitialized, pfJets, pfMETs, pfTaus, photons, rawTriggerEvent, and triggerResults.
|
inline |
Reset: clear all collections.
Definition at line 109 of file EVTColContainer.cc.
References bs, caloJets, caloMETs, caloMHTs, electrons, genMETs, genParticles, 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 106 of file EVTColContainer.h.
References muons, nInitialized, and findQualityFiles::v.
|
inline |
Definition at line 110 of file EVTColContainer.h.
References electrons, nInitialized, and findQualityFiles::v.
|
inline |
Definition at line 114 of file EVTColContainer.h.
References nInitialized, photons, and findQualityFiles::v.
|
inline |
Definition at line 118 of file EVTColContainer.h.
References caloMETs, nInitialized, and findQualityFiles::v.
|
inline |
Definition at line 122 of file EVTColContainer.h.
References nInitialized, pfMETs, and findQualityFiles::v.
|
inline |
Definition at line 126 of file EVTColContainer.h.
References nInitialized, pfTaus, and findQualityFiles::v.
|
inline |
Setter: multiple overloaded function.
Definition at line 130 of file EVTColContainer.cc.
References muons, nInitialized, and findQualityFiles::v.
Referenced by HLTHiggsSubAnalysis::initAndInsertJets().
|
inline |
Definition at line 130 of file EVTColContainer.h.
References nInitialized, pfJets, and findQualityFiles::v.
|
inline |
Definition at line 134 of file EVTColContainer.cc.
References nInitialized, tracks, and findQualityFiles::v.
|
inline |
|
inline |
Definition at line 138 of file EVTColContainer.cc.
References electrons, nInitialized, and findQualityFiles::v.
|
inline |
Definition at line 142 of file EVTColContainer.cc.
References nInitialized, photons, and findQualityFiles::v.
|
inline |
Definition at line 146 of file EVTColContainer.cc.
References METs, nInitialized, and findQualityFiles::v.
|
inline |
Definition at line 150 of file EVTColContainer.cc.
References nInitialized, pfMETs, and findQualityFiles::v.
|
inline |
Definition at line 158 of file EVTColContainer.cc.
References genMETs, nInitialized, and findQualityFiles::v.
|
inline |
Definition at line 162 of file EVTColContainer.cc.
References caloMETs, nInitialized, and findQualityFiles::v.
|
inline |
Definition at line 170 of file EVTColContainer.cc.
References nInitialized, pfTaus, and findQualityFiles::v.
|
inline |
Definition at line 174 of file EVTColContainer.cc.
References nInitialized, pfJets, and findQualityFiles::v.
|
inline |
Definition at line 178 of file EVTColContainer.cc.
References caloJets, nInitialized, and findQualityFiles::v.
|
inline |
Definition at line 166 of file EVTColContainer.cc.
References caloMHTs, nInitialized, and findQualityFiles::v.
|
inline |
Definition at line 154 of file EVTColContainer.cc.
References nInitialized, pfMHTs, and findQualityFiles::v.
const reco::BeamSpot* EVTColContainer::bs |
Definition at line 82 of file EVTColContainer.cc.
Referenced by HLTExoticaSubAnalysis::analyze(), and reset().
const std::vector<reco::CaloJet>* EVTColContainer::caloJets |
Definition at line 80 of file EVTColContainer.cc.
Referenced by getSize(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const std::vector< reco::CaloMET > * EVTColContainer::caloMETs |
Definition at line 76 of file EVTColContainer.cc.
Referenced by getSize(), HLTHiggsSubAnalysis::insertcandidates(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const std::vector<reco::CaloMET>* EVTColContainer::caloMHTs |
Definition at line 77 of file EVTColContainer.cc.
Referenced by getSize(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and setCaloMHT().
const std::vector< reco::GsfElectron > * EVTColContainer::electrons |
Definition at line 70 of file EVTColContainer.cc.
Referenced by getSize(), HLTHiggsSubAnalysis::insertcandidates(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const reco::GenJetCollection* EVTColContainer::genJets |
Definition at line 57 of file EVTColContainer.h.
Referenced by HLTHiggsSubAnalysis::analyze(), objects.JetAnalyzer.JetAnalyzer::matchJets(), and reset().
const std::vector<reco::GenMET>* EVTColContainer::genMETs |
Definition at line 75 of file EVTColContainer.cc.
Referenced by getSize(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const reco::GenParticleCollection * EVTColContainer::genParticles |
Definition at line 67 of file EVTColContainer.cc.
Referenced by HLTHiggsSubAnalysis::analyze(), HLTExoticaSubAnalysis::analyze(), and reset().
const reco::JetTagCollection* EVTColContainer::jetTags |
Definition at line 65 of file EVTColContainer.h.
const std::vector<reco::MET>* EVTColContainer::METs |
Definition at line 72 of file EVTColContainer.cc.
const std::vector< reco::Muon > * EVTColContainer::muons |
Definition at line 68 of file EVTColContainer.cc.
Referenced by getSize(), HLTHiggsSubAnalysis::insertcandidates(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
int EVTColContainer::nInitialized |
Definition at line 65 of file EVTColContainer.cc.
Referenced by isAllInit(), reset(), set(), setCaloMHT(), and setPFMHT().
int EVTColContainer::nOfCollections |
Definition at line 64 of file EVTColContainer.cc.
Referenced by isAllInit().
const std::vector< reco::PFJet > * EVTColContainer::pfJets |
Definition at line 79 of file EVTColContainer.cc.
Referenced by getSize(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const std::vector< reco::PFMET > * EVTColContainer::pfMETs |
Definition at line 73 of file EVTColContainer.cc.
Referenced by getSize(), HLTHiggsSubAnalysis::insertcandidates(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const std::vector<reco::PFMET>* EVTColContainer::pfMHTs |
Definition at line 74 of file EVTColContainer.cc.
Referenced by getSize(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and setPFMHT().
const std::vector< reco::PFTau > * EVTColContainer::pfTaus |
Definition at line 78 of file EVTColContainer.cc.
Referenced by getSize(), HLTHiggsSubAnalysis::insertcandidates(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const std::vector< reco::Photon > * EVTColContainer::photons |
Definition at line 71 of file EVTColContainer.cc.
Referenced by getSize(), HLTHiggsSubAnalysis::insertcandidates(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const trigger::TriggerEventWithRefs* EVTColContainer::rawTriggerEvent |
Definition at line 67 of file EVTColContainer.h.
Referenced by isCommonInit(), and reset().
const std::vector<reco::Track>* EVTColContainer::tracks |
Definition at line 69 of file EVTColContainer.cc.
Referenced by getSize(), HLTExoticaSubAnalysis::insertCandidates(), reset(), and set().
const edm::TriggerResults * EVTColContainer::triggerResults |
Definition at line 81 of file EVTColContainer.cc.
Referenced by HLTHiggsSubAnalysis::analyze(), HLTExoticaSubAnalysis::analyze(), and reset().