CMS 3D CMS Logo

ElectronMcMiniAODSignalPostValidator.cc
Go to the documentation of this file.
1 
5 
8  {
9  // histos bining and limits
10 
11  edm::ParameterSet histosSet = conf.getParameter<edm::ParameterSet>("histosCfg") ;
12 
13  set_EfficiencyFlag=histosSet.getParameter<bool>("EfficiencyFlag");
14  set_StatOverflowFlag=histosSet.getParameter<bool>("StatOverflowFlag");
15  }
16 
18  {}
19 
21  {
22 
23  setBookIndex(-1) ;
24  setBookPrefix("h_ele") ;
27 
28  // profiles from 2D histos
29  profileX(iBooker, iGetter, "PoPtrueVsEta","mean ele momentum / gen momentum vs eta","#eta","<P/P_{gen}>");
30  profileX(iBooker, iGetter, "sigmaIetaIetaVsPt","SigmaIetaIeta vs pt","p_{T} (GeV/c)","SigmaIetaIeta");
31  profileX(iBooker, iGetter, "foundHitsVsEta","mean ele track # found hits vs eta","#eta","<N_{hits}>");
32  profileX(iBooker, iGetter, "foundHitsVsEta_mAOD","mean ele track # found hits vs eta","#eta","<N_{hits}>");
33 
34 
35 
36 
37 }
38 
39 
T getParameter(std::string const &) const
void setBookPrefix(const std::string &)
ElectronMcSignalPostValidatorMiniAOD(const edm::ParameterSet &conf)
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)
void setBookStatOverflowFlag(const bool &)
void setBookEfficiencyFlag(const bool &)
virtual void finalize(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter)