CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
ElectronMcFakePostValidator Class Reference

#include <ElectronMcFakePostValidator.h>

Inheritance diagram for ElectronMcFakePostValidator:
ElectronDqmHarvesterBase DQMEDHarvester edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 ElectronMcFakePostValidator (const edm::ParameterSet &conf)
 
void finalize (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter) override
 
 ~ElectronMcFakePostValidator () override
 
- Public Member Functions inherited from DQMEDHarvester
void accumulate (edm::Event const &ev, edm::EventSetup const &es) final
 
void beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final
 
void beginRun (edm::Run const &, edm::EventSetup const &) override
 
 DQMEDHarvester ()
 
void endJob () final
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final
 
void endLuminosityBlockProduce (edm::LuminosityBlock &, edm::EventSetup const &) final
 
void endRun (edm::Run const &, edm::EventSetup const &) override
 
void endRunProduce (edm::Run &run, edm::EventSetup const &setup) override
 
 ~DQMEDHarvester () override=default
 
- Public Member Functions inherited from edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources >
 EDProducer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Attributes

MonitorElementh1_ele_xOverX0VsEta
 
std::string inputFile_
 
std::string inputInternalPath_
 
std::string outputFile_
 
std::string outputInternalPath_
 
bool set_EfficiencyFlag
 
bool set_StatOverflowFlag
 

Additional Inherited Members

- Public Types inherited from DQMEDHarvester
typedef dqm::harvesting::DQMStore DQMStore
 
typedef dqm::harvesting::MonitorElement MonitorElement
 
- Public Types inherited from edm::one::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >>
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from ElectronDqmHarvesterBase
void beginJob () override
 
MonitorElementbookH1 (DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, const std::string &titleX="", const std::string &titleY="Events", Option_t *option="E1 P")
 
MonitorElementbookH1andDivide (DQMStore::IBooker &iBooker, DQMStore::IGetter &, const std::string &name, MonitorElement *num, MonitorElement *denom, const std::string &titleX, const std::string &titleY, const std::string &title="")
 
MonitorElementbookH1andDivide (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, const std::string &name, const std::string &num, const std::string &denom, const std::string &titleX, const std::string &titleY, const std::string &title="")
 
MonitorElementbookH1withSumw2 (DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, const std::string &titleX="", const std::string &titleY="Events", Option_t *option="E1 P")
 
MonitorElementbookH2 (DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const std::string &titleX="", const std::string &titleY="", Option_t *option="COLZ")
 
MonitorElementbookH2andDivide (DQMStore::IBooker &iBooker, DQMStore::IGetter &, const std::string &name, MonitorElement *num, MonitorElement *denom, const std::string &titleX, const std::string &titleY, const std::string &title="")
 
MonitorElementbookH2andDivide (DQMStore::IBooker &iBooker, DQMStore::IGetter &, const std::string &name, const std::string &num, const std::string &denom, const std::string &titleX, const std::string &titleY, const std::string &title="")
 
MonitorElementbookH2withSumw2 (DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const std::string &titleX="", const std::string &titleY="", Option_t *option="COLZ")
 
MonitorElementbookP1 (DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, double lowY, double highY, const std::string &titleX="", const std::string &titleY="", Option_t *option="E1 P")
 
MonitorElementcloneH1 (DQMStore::IBooker &iBooker, DQMStore::IGetter &, const std::string &name, MonitorElement *original, const std::string &title="")
 
MonitorElementcloneH1 (DQMStore::IBooker &iBooker, DQMStore::IGetter &, const std::string &name, const std::string &original, const std::string &title="")
 
void dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) override
 
void dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
 
 ElectronDqmHarvesterBase (const edm::ParameterSet &conf)
 
bool finalStepDone ()
 
MonitorElementget (DQMStore::IGetter &iGetter, const std::string &name)
 
MonitorElementprofileX (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)
 
MonitorElementprofileX (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, const std::string &me2d, const std::string &title="", const std::string &titleX="", const std::string &titleY="", Double_t minimum=-1111, Double_t maximum=-1111)
 
MonitorElementprofileY (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)
 
MonitorElementprofileY (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, const std::string &me2d, const std::string &title="", const std::string &titleX="", const std::string &titleY="", Double_t minimum=-1111, Double_t maximum=-1111)
 
void remove (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, const std::string &name)
 
void setBookEfficiencyFlag (const bool &)
 
void setBookIndex (short)
 
void setBookPrefix (const std::string &)
 
void setBookStatOverflowFlag (const bool &)
 
int verbosity ()
 
 ~ElectronDqmHarvesterBase () override
 
- Protected Member Functions inherited from edm::ProducerBase
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
- Protected Attributes inherited from DQMEDHarvester
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 

Detailed Description

Definition at line 7 of file ElectronMcFakePostValidator.h.

Constructor & Destructor Documentation

ElectronMcFakePostValidator::ElectronMcFakePostValidator ( const edm::ParameterSet conf)
explicit

Definition at line 6 of file ElectronMcFakePostValidator.cc.

References edm::ParameterSet::getParameter(), set_EfficiencyFlag, and set_StatOverflowFlag.

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 }
T getParameter(std::string const &) const
ElectronDqmHarvesterBase(const edm::ParameterSet &conf)
ElectronMcFakePostValidator::~ElectronMcFakePostValidator ( )
override

Definition at line 16 of file ElectronMcFakePostValidator.cc.

16 {}

Member Function Documentation

void ElectronMcFakePostValidator::finalize ( DQMStore::IBooker iBooker,
DQMStore::IGetter iGetter 
)
overridevirtual

Reimplemented from ElectronDqmHarvesterBase.

Definition at line 18 of file ElectronMcFakePostValidator.cc.

References ElectronDqmHarvesterBase::bookH1andDivide(), ElectronDqmHarvesterBase::bookH1withSumw2(), dqm::impl::MonitorElement::getBinContent(), dqm::legacy::MonitorElement::getTH1F(), dqm::legacy::MonitorElement::getTProfile(), h1_ele_xOverX0VsEta, dqm-mbProfile::log, ElectronDqmHarvesterBase::profileX(), set_EfficiencyFlag, set_StatOverflowFlag, dqm::impl::MonitorElement::setBinContent(), ElectronDqmHarvesterBase::setBookEfficiencyFlag(), ElectronDqmHarvesterBase::setBookIndex(), ElectronDqmHarvesterBase::setBookPrefix(), and ElectronDqmHarvesterBase::setBookStatOverflowFlag().

18  {
19  setBookIndex(-1);
20  setBookPrefix("h_ele");
23 
24  edm::LogInfo("ElectronMcFakePostValidator::finalize") << "efficiency calculation ";
26  iBooker, iGetter, "etaEff", "matchingObjectEta_matched", "matchingObject_eta", "#eta", "Efficiency", "");
27  bookH1andDivide(iBooker, iGetter, "zEff", "matchingObjectZ_matched", "matchingObject_z", "z (cm)", "Efficiency", "");
28  bookH1andDivide(iBooker,
29  iGetter,
30  "absetaEff",
31  "matchingObjectAbsEta_matched",
32  "matchingObject_abseta",
33  "|#eta|",
34  "Efficiency",
35  "");
37  iBooker, iGetter, "ptEff", "matchingObjectPt_matched", "matchingObject_Pt", "p_{T} (GeV/c)", "Efficiency", "");
39  iBooker, iGetter, "phiEff", "matchingObjectPhi_matched", "matchingObject_phi", "#phi (rad)", "Efficiency", "");
40  // bookH2andDivide(iBooker,iGetter, "ptEtaEff","matchingObjectPtEta_matched","matchingObjectPtEta","#eta","p_{T} (GeV/c)","");
41  //
42  // bookH1andDivide(iBooker,iGetter, "etaQmisid","matchingObjectEta_matched_qmisid","h_simEta","#eta","q misId","");
43  // bookH1andDivide(iBooker,iGetter, "zQmisid","matchingObjectZ_matched_qmisid","h_simZ","z (cm)","q misId","");
44  // bookH1andDivide(iBooker,iGetter, "absetaQmisid","matchingObjectAbsEta_matched_qmisid","h_simAbsEta","|#eta|","q misId","");
45  // bookH1andDivide(iBooker,iGetter, "ptQmisid","matchingObjectPt_matched_qmisid","h_simPt","p_{T} (GeV/c)","q misId","");
46 
47  edm::LogInfo("ElectronMcFakePostValidator::finalize") << "all reco electrons ";
48  bookH1andDivide(iBooker, iGetter, "etaEff_all", "vertexEta_all", "matchingObject_eta", "#eta", "N_{rec}/N_{gen}", "");
50  iBooker, iGetter, "ptEff_all", "vertexPt_all", "matchingObject_Pt", "p_{T} (GeV/c)", "N_{rec}/N_{gen}", "");
51 
52  edm::LogInfo("ElectronMcFakePostValidator::finalize") << "classes";
53  bookH1andDivide(iBooker,
54  iGetter,
55  "eta_goldenFrac",
56  "eta_golden",
57  "h_ele_eta",
58  "|#eta|",
59  "Fraction of electrons",
60  "fraction of golden electrons vs eta");
61  bookH1andDivide(iBooker,
62  iGetter,
63  "eta_bbremFrac",
64  "eta_bbrem",
65  "h_ele_eta",
66  "|#eta|",
67  "Fraction of electrons",
68  "fraction of big brem electrons vs eta");
69  // bookH1andDivide(iBooker,iGetter, "eta_narrowFrac","eta_narrow","h_ele_eta","|#eta|","Fraction of electrons","fraction of narrow electrons vs eta");
70  bookH1andDivide(iBooker,
71  iGetter,
72  "eta_showerFrac",
73  "eta_shower",
74  "h_ele_eta",
75  "|#eta|",
76  "Fraction of electrons",
77  "fraction of showering electrons vs eta");
78 
79  // fbrem
80  MonitorElement* p1_ele_fbremVsEta_mean = get(iGetter, "fbremvsEtamean");
81  TAxis* etaAxis = p1_ele_fbremVsEta_mean->getTProfile()->GetXaxis();
83  iBooker, "xOverx0VsEta", "mean X/X_0 vs eta", etaAxis->GetNbins(), etaAxis->GetXmin(), etaAxis->GetXmax());
84  for (int ibin = 1; ibin < etaAxis->GetNbins() + 1; ibin++) {
85  double xOverX0 = 0.;
86  if (p1_ele_fbremVsEta_mean->getBinContent(ibin) > 0.) {
87  xOverX0 = -log(p1_ele_fbremVsEta_mean->getBinContent(ibin));
88  }
89  h1_ele_xOverX0VsEta->setBinContent(ibin, xOverX0);
90  }
91 
92 
93  MonitorElement* h1_ele_provenance = get(iGetter, "provenance");
94  if (h1_ele_provenance->getBinContent(3) > 0) {
95  h1_ele_provenance->getTH1F()->Scale(1. / h1_ele_provenance->getBinContent(3));
96  }
97  MonitorElement* h1_ele_provenance_barrel = get(iGetter, "provenance_barrel");
98  if (h1_ele_provenance_barrel->getBinContent(3) > 0) {
99  h1_ele_provenance_barrel->getTH1F()->Scale(1. / h1_ele_provenance_barrel->getBinContent(3));
100  }
101  MonitorElement* h1_ele_provenance_endcaps = get(iGetter, "provenance_endcaps");
102  if (h1_ele_provenance_endcaps->getBinContent(3) > 0) {
103  h1_ele_provenance_endcaps->getTH1F()->Scale(1. / h1_ele_provenance_endcaps->getBinContent(3));
104  }
105 
106  // profiles from 2D histos
107  profileX(iBooker, iGetter, "PoPmatchingObjectVsEta", "", "#eta", "<P/P_{gen}>");
108  profileX(iBooker, iGetter, "PoPmatchingObjectVsPhi", "", "#phi (rad)", "<P/P_{gen}>");
109  profileX(iBooker, iGetter, "EtaMnEtamatchingObjectVsEta", "", "#eta", "<#eta_{rec} - #eta_{gen}>");
110  profileX(iBooker, iGetter, "EtaMnEtamatchingObjectVsPhi", "", "#phi (rad)", "<#eta_{rec} - #eta_{gen}>");
111  profileX(iBooker, iGetter, "PhiMnPhimatchingObjectVsEta", "", "#eta", "<#phi_{rec} - #phi_{gen}> (rad)");
112  profileX(iBooker, iGetter, "PhiMnPhimatchingObjectVsPhi", "", "#phi (rad)", "");
113  profileX(iBooker, iGetter, "vertexPtVsEta", "mean ele transverse momentum vs eta", "#eta", "<p_{T}> (GeV/c)");
114  profileX(iBooker, iGetter, "vertexPtVsPhi", "mean ele transverse momentum vs phi", "#phi (rad)", "<p_{T}> (GeV/c)");
115  profileX(iBooker, iGetter, "EoPVsEta", "mean ele E/p vs eta", "#eta", "<E/P_{vertex}>");
116  profileX(iBooker, iGetter, "EoPVsPhi", "mean ele E/p vs phi", "#phi (rad)", "<E/P_{vertex}>");
117  profileX(iBooker, iGetter, "EoPoutVsEta", "mean ele E/pout vs eta", "#eta", "<E_{seed}/P_{out}>");
118  profileX(iBooker, iGetter, "EoPoutVsPhi", "mean ele E/pout vs phi", "#phi (rad)", "<E_{seed}/P_{out}>");
119  profileX(iBooker, iGetter, "EeleOPoutVsEta", "mean ele Eele/pout vs eta", "#eta", "<E_{ele}/P_{out}>");
120  profileX(iBooker, iGetter, "EeleOPoutVsPhi", "mean ele Eele/pout vs phi", "#phi (rad)", "<E_{ele}/P_{out}>");
121  profileX(iBooker, iGetter, "HoEVsEta", "mean ele H/E vs eta", "#eta", "<H/E>");
122  profileX(iBooker, iGetter, "HoEVsPhi", "mean ele H/E vs phi", "#phi (rad)", "<H/E>");
123  profileX(iBooker, iGetter, "chi2VsEta", "mean ele track chi2 vs eta", "#eta", "<#Chi^{2}>");
124  profileX(iBooker, iGetter, "chi2VsPhi", "mean ele track chi2 vs phi", "#phi (rad)", "<#Chi^{2}>");
125  profileX(iBooker, iGetter, "foundHitsVsEta", "mean ele track # found hits vs eta", "#eta", "<N_{hits}>");
126  profileX(iBooker, iGetter, "foundHitsVsPhi", "mean ele track # found hits vs phi", "#phi (rad)", "<N_{hits}>");
127  profileX(iBooker, iGetter, "lostHitsVsEta", "mean ele track # lost hits vs eta", "#eta", "<N_{hits}>");
128  profileX(iBooker, iGetter, "lostHitsVsPhi", "mean ele track # lost hits vs phi", "#phi (rad)", "<N_{hits}>");
129  profileX(iBooker, iGetter, "vertexTIPVsEta", "mean tip (wrt gen vtx) vs eta", "#eta", "<TIP> (cm)");
130  profileX(iBooker, iGetter, "vertexTIPVsPhi", "mean tip (wrt gen vtx) vs phi", "#phi", "<TIP> (cm)");
131  profileX(iBooker, iGetter, "vertexTIPVsPt", "mean tip (wrt gen vtx) vs phi", "p_{T} (GeV/c)", "<TIP> (cm)");
132  profileX(iBooker,
133  iGetter,
134  "seedDphi2_VsEta",
135  "mean ele seed dphi 2nd layer vs eta",
136  "#eta",
137  "<#phi_{pred} - #phi_{hit}, 2nd layer> (rad)",
138  -0.004,
139  0.004);
140  profileX(iBooker,
141  iGetter,
142  "seedDphi2_VsPt",
143  "mean ele seed dphi 2nd layer vs pt",
144  "p_{T} (GeV/c)",
145  "<#phi_{pred} - #phi_{hit}, 2nd layer> (rad)",
146  -0.004,
147  0.004);
148  profileX(iBooker,
149  iGetter,
150  "seedDrz2_VsEta",
151  "mean ele seed dr(dz) 2nd layer vs eta",
152  "#eta",
153  "<r(z)_{pred} - r(z)_{hit}, 2nd layer> (cm)",
154  -0.15,
155  0.15);
156  profileX(iBooker,
157  iGetter,
158  "seedDrz2_VsPt",
159  "mean ele seed dr(dz) 2nd layer vs pt",
160  "p_{T} (GeV/c)",
161  "<r(z)_{pred} - r(z)_{hit}, 2nd layer> (cm)",
162  -0.15,
163  0.15);
164  profileX(iBooker,
165  iGetter,
166  "seedDphi2Pos_VsEta",
167  "mean ele seed dphi 2nd layer positron vs eta",
168  "#eta",
169  "<#phi_{pred} - #phi_{hit}, 2nd layer> (rad)",
170  -0.004,
171  0.004);
172  profileX(iBooker,
173  iGetter,
174  "seedDphi2Pos_VsPt",
175  "mean ele seed dphi 2nd layer positron vs pt",
176  "p_{T} (GeV/c)",
177  "<#phi_{pred} - #phi_{hit}, 2nd layer> (rad)",
178  -0.004,
179  0.004);
180  profileX(iBooker,
181  iGetter,
182  "seedDrz2Pos_VsEta",
183  "mean ele seed dr(dz) 2nd layer positron vs eta",
184  "#eta",
185  "<r(z)_{pred} - r(z)_{hit}, 2nd layer> (cm)",
186  -0.15,
187  0.15);
188  profileX(iBooker,
189  iGetter,
190  "seedDrz2Pos_VsPt",
191  "mean ele seed dr(dz) 2nd layer positron vs pt",
192  "p_{T} (GeV/c)",
193  "<r(z)_{pred} - r(z)_{hit}, 2nd layer> (cm)",
194  -0.15,
195  0.15);
196 
197 }
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)
MonitorElement * bookH1withSumw2(DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, const std::string &titleX="", const std::string &titleY="Events", Option_t *option="E1 P")
virtual TH1F * getTH1F() const
void setBookPrefix(const std::string &)
MonitorElement * bookH1andDivide(DQMStore::IBooker &iBooker, DQMStore::IGetter &, const std::string &name, MonitorElement *num, MonitorElement *denom, const std::string &titleX, const std::string &titleY, const std::string &title="")
void setBookStatOverflowFlag(const bool &)
void setBookEfficiencyFlag(const bool &)
virtual double getBinContent(int binx) const
get content of bin (1-D)
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
virtual TProfile * getTProfile() const

Member Data Documentation

MonitorElement* ElectronMcFakePostValidator::h1_ele_xOverX0VsEta
private

Definition at line 25 of file ElectronMcFakePostValidator.h.

Referenced by finalize().

std::string ElectronMcFakePostValidator::inputFile_
private

Definition at line 15 of file ElectronMcFakePostValidator.h.

std::string ElectronMcFakePostValidator::inputInternalPath_
private

Definition at line 17 of file ElectronMcFakePostValidator.h.

std::string ElectronMcFakePostValidator::outputFile_
private

Definition at line 16 of file ElectronMcFakePostValidator.h.

std::string ElectronMcFakePostValidator::outputInternalPath_
private

Definition at line 18 of file ElectronMcFakePostValidator.h.

bool ElectronMcFakePostValidator::set_EfficiencyFlag
private

Definition at line 21 of file ElectronMcFakePostValidator.h.

Referenced by ElectronMcFakePostValidator(), and finalize().

bool ElectronMcFakePostValidator::set_StatOverflowFlag
private

Definition at line 22 of file ElectronMcFakePostValidator.h.

Referenced by ElectronMcFakePostValidator(), and finalize().