CMS 3D CMS Logo

ElectronMcMiniAODSignalPostValidator.cc
Go to the documentation of this file.
1 
5 
8  // histos bining and limits
9 
10  edm::ParameterSet histosSet = conf.getParameter<edm::ParameterSet>("histosCfg");
11 
12  set_EfficiencyFlag = histosSet.getParameter<bool>("EfficiencyFlag");
13  set_StatOverflowFlag = histosSet.getParameter<bool>("StatOverflowFlag");
14 }
15 
17 
19  setBookIndex(-1);
20  setBookPrefix("h_ele");
23 
24  // profiles from 2D histos
25  profileX(iBooker, iGetter, "PoPtrueVsEta", "mean ele momentum / gen momentum vs eta", "#eta", "<P/P_{gen}>");
26  profileX(iBooker, iGetter, "sigmaIetaIetaVsPt", "SigmaIetaIeta vs pt", "p_{T} (GeV/c)", "SigmaIetaIeta");
27  profileX(iBooker, iGetter, "foundHitsVsEta", "mean ele track # found hits vs eta", "#eta", "<N_{hits}>");
28  profileX(iBooker, iGetter, "foundHitsVsEta_mAOD", "mean ele track # found hits vs eta", "#eta", "<N_{hits}>");
29 
30 }
ElectronDqmHarvesterBase::setBookEfficiencyFlag
void setBookEfficiencyFlag(const bool &)
Definition: ElectronDqmHarvesterBase.cc:34
ElectronDqmHarvesterBase::setBookPrefix
void setBookPrefix(const std::string &)
Definition: ElectronDqmHarvesterBase.cc:30
MessageLogger.h
ElectronMcSignalPostValidatorMiniAOD::set_EfficiencyFlag
bool set_EfficiencyFlag
Definition: ElectronMcMiniAODSignalPostValidator.h:22
DQMStore.h
ElectronDqmHarvesterBase
Definition: ElectronDqmHarvesterBase.h:16
ElectronDqmHarvesterBase::profileX
MonitorElement * profileX(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, MonitorElement *me2d, const std::string &title="", const std::string &titleX="", const std::string &titleY="", Double_t minimum=-1111, Double_t maximum=-1111)
Definition: ElectronDqmHarvesterBase.cc:407
edm::ParameterSet
Definition: ParameterSet.h:36
ElectronMcSignalPostValidatorMiniAOD::finalize
void finalize(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter) override
Definition: ElectronMcMiniAODSignalPostValidator.cc:18
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
ElectronDqmHarvesterBase::setBookStatOverflowFlag
void setBookStatOverflowFlag(const bool &)
Definition: ElectronDqmHarvesterBase.cc:36
dqm::implementation::IGetter
Definition: DQMStore.h:484
ElectronMcSignalPostValidatorMiniAOD::set_StatOverflowFlag
bool set_StatOverflowFlag
Definition: ElectronMcMiniAODSignalPostValidator.h:23
ElectronMcMiniAODSignalPostValidator.h
ElectronDqmHarvesterBase::setBookIndex
void setBookIndex(short)
Definition: ElectronDqmHarvesterBase.cc:32
dqm::implementation::IBooker
Definition: DQMStore.h:43
ElectronMcSignalPostValidatorMiniAOD::ElectronMcSignalPostValidatorMiniAOD
ElectronMcSignalPostValidatorMiniAOD(const edm::ParameterSet &conf)
Definition: ElectronMcMiniAODSignalPostValidator.cc:6
ElectronMcSignalPostValidatorMiniAOD::~ElectronMcSignalPostValidatorMiniAOD
~ElectronMcSignalPostValidatorMiniAOD() override
Definition: ElectronMcMiniAODSignalPostValidator.cc:16