24 edm::LogInfo(
"ElectronMcFakePostValidator::finalize") <<
"efficiency calculation ";
28 "matchingObjectEta_Extended_matched",
29 "matchingObject_eta_Extended",
36 "matchingObjectAbsEta_Extended_matched",
37 "matchingObject_abseta_Extended",
41 bookH1andDivide(iBooker, iGetter,
"zEff",
"matchingObjectZ_matched",
"matchingObject_z",
"z (cm)",
"Efficiency",
"");
43 iBooker, iGetter,
"ptEff",
"matchingObjectPt_matched",
"matchingObject_Pt",
"p_{T} (GeV/c)",
"Efficiency",
"");
45 iBooker, iGetter,
"phiEff",
"matchingObjectPhi_matched",
"matchingObject_phi",
"#phi (rad)",
"Efficiency",
"");
53 edm::LogInfo(
"ElectronMcFakePostValidator::finalize") <<
"all reco electrons ";
54 bookH1andDivide(iBooker, iGetter,
"etaEff_all",
"vertexEta_all",
"matchingObject_eta",
"#eta",
"N_{rec}/N_{gen}",
"");
56 iBooker, iGetter,
"ptEff_all",
"vertexPt_all",
"matchingObject_Pt",
"p_{T} (GeV/c)",
"N_{rec}/N_{gen}",
"");
58 edm::LogInfo(
"ElectronMcFakePostValidator::finalize") <<
"classes";
65 "Fraction of electrons",
66 "fraction of golden electrons vs eta");
73 "Fraction of electrons",
74 "fraction of big brem electrons vs eta");
82 "Fraction of electrons",
83 "fraction of showering electrons vs eta");
86 MonitorElement* p1_ele_fbremVsEta_mean =
get(iGetter,
"fbremvsEtamean");
87 TAxis* etaAxis = p1_ele_fbremVsEta_mean->
getTProfile()->GetXaxis();
89 iBooker,
"xOverx0VsEta",
"mean X/X_0 vs eta", etaAxis->GetNbins(), etaAxis->GetXmin(), etaAxis->GetXmax());
90 for (
int ibin = 1; ibin < etaAxis->GetNbins() + 1; ibin++) {
103 MonitorElement* h1_ele_provenance_barrel =
get(iGetter,
"provenance_barrel");
107 MonitorElement* h1_ele_provenance_endcaps =
get(iGetter,
"provenance_endcaps");
111 MonitorElement* h1_ele_provenance_Extended =
get(iGetter,
"provenance_Extended");
113 h1_ele_provenance_Extended->
getTH1F()->Scale(1. / h1_ele_provenance_Extended->
getBinContent(3));
117 profileX(iBooker, iGetter,
"PoPmatchingObjectVsEta",
"",
"#eta",
"<P/P_{gen}>");
118 profileX(iBooker, iGetter,
"PoPmatchingObjectVsPhi",
"",
"#phi (rad)",
"<P/P_{gen}>");
119 profileX(iBooker, iGetter,
"EtaMnEtamatchingObjectVsEta",
"",
"#eta",
"<#eta_{rec} - #eta_{gen}>");
120 profileX(iBooker, iGetter,
"EtaMnEtamatchingObjectVsPhi",
"",
"#phi (rad)",
"<#eta_{rec} - #eta_{gen}>");
121 profileX(iBooker, iGetter,
"PhiMnPhimatchingObjectVsEta",
"",
"#eta",
"<#phi_{rec} - #phi_{gen}> (rad)");
122 profileX(iBooker, iGetter,
"PhiMnPhimatchingObjectVsPhi",
"",
"#phi (rad)",
"");
123 profileX(iBooker, iGetter,
"vertexPtVsEta",
"mean ele transverse momentum vs eta",
"#eta",
"<p_{T}> (GeV/c)");
124 profileX(iBooker, iGetter,
"vertexPtVsPhi",
"mean ele transverse momentum vs phi",
"#phi (rad)",
"<p_{T}> (GeV/c)");
125 profileX(iBooker, iGetter,
"EoPVsEta_Extended",
"mean ele E/p vs eta",
"#eta",
"<E/P_{vertex}>");
126 profileX(iBooker, iGetter,
"EoPVsPhi",
"mean ele E/p vs phi",
"#phi (rad)",
"<E/P_{vertex}>");
127 profileX(iBooker, iGetter,
"EoPoutVsEta",
"mean ele E/pout vs eta",
"#eta",
"<E_{seed}/P_{out}>");
128 profileX(iBooker, iGetter,
"EoPoutVsPhi",
"mean ele E/pout vs phi",
"#phi (rad)",
"<E_{seed}/P_{out}>");
129 profileX(iBooker, iGetter,
"EeleOPoutVsEta",
"mean ele Eele/pout vs eta",
"#eta",
"<E_{ele}/P_{out}>");
130 profileX(iBooker, iGetter,
"EeleOPoutVsPhi",
"mean ele Eele/pout vs phi",
"#phi (rad)",
"<E_{ele}/P_{out}>");
131 profileX(iBooker, iGetter,
"HoEVsEta",
"mean ele H/E vs eta",
"#eta",
"<H/E>");
132 profileX(iBooker, iGetter,
"HoEVsPhi",
"mean ele H/E vs phi",
"#phi (rad)",
"<H/E>");
133 profileX(iBooker, iGetter,
"chi2VsEta",
"mean ele track chi2 vs eta",
"#eta",
"<#Chi^{2}>");
134 profileX(iBooker, iGetter,
"chi2VsPhi",
"mean ele track chi2 vs phi",
"#phi (rad)",
"<#Chi^{2}>");
135 profileX(iBooker, iGetter,
"foundHitsVsEta_Extended",
"mean ele track # found hits vs eta",
"#eta",
"<N_{hits}>");
136 profileX(iBooker, iGetter,
"foundHitsVsPhi",
"mean ele track # found hits vs phi",
"#phi (rad)",
"<N_{hits}>");
137 profileX(iBooker, iGetter,
"lostHitsVsEta",
"mean ele track # lost hits vs eta",
"#eta",
"<N_{hits}>");
138 profileX(iBooker, iGetter,
"lostHitsVsPhi",
"mean ele track # lost hits vs phi",
"#phi (rad)",
"<N_{hits}>");
139 profileX(iBooker, iGetter,
"vertexTIPVsEta",
"mean tip (wrt gen vtx) vs eta",
"#eta",
"<TIP> (cm)");
140 profileX(iBooker, iGetter,
"vertexTIPVsPhi",
"mean tip (wrt gen vtx) vs phi",
"#phi",
"<TIP> (cm)");
141 profileX(iBooker, iGetter,
"vertexTIPVsPt",
"mean tip (wrt gen vtx) vs phi",
"p_{T} (GeV/c)",
"<TIP> (cm)");
145 "mean ele seed dphi 2nd layer vs eta",
147 "<#phi_{pred} - #phi_{hit}, 2nd layer> (rad)",
153 "mean ele seed dphi 2nd layer vs pt",
155 "<#phi_{pred} - #phi_{hit}, 2nd layer> (rad)",
161 "mean ele seed dr(dz) 2nd layer vs eta",
163 "<r(z)_{pred} - r(z)_{hit}, 2nd layer> (cm)",
169 "mean ele seed dr(dz) 2nd layer vs pt",
171 "<r(z)_{pred} - r(z)_{hit}, 2nd layer> (cm)",
176 "seedDphi2Pos_VsEta",
177 "mean ele seed dphi 2nd layer positron vs eta",
179 "<#phi_{pred} - #phi_{hit}, 2nd layer> (rad)",
185 "mean ele seed dphi 2nd layer positron vs pt",
187 "<#phi_{pred} - #phi_{hit}, 2nd layer> (rad)",
193 "mean ele seed dr(dz) 2nd layer positron vs eta",
195 "<r(z)_{pred} - r(z)_{hit}, 2nd layer> (cm)",
201 "mean ele seed dr(dz) 2nd layer positron vs pt",
203 "<r(z)_{pred} - r(z)_{hit}, 2nd layer> (cm)",
T getParameter(std::string const &) const
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)
virtual TProfile * getTProfile() const
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")
ElectronMcFakePostValidator(const edm::ParameterSet &conf)
bool set_StatOverflowFlag
void setBookPrefix(const std::string &)
void finalize(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter) override
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 &)
Log< level::Info, false > LogInfo
~ElectronMcFakePostValidator() override
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
virtual TH1F * getTH1F() const
MonitorElement * h1_ele_xOverX0VsEta
virtual double getBinContent(int binx) const
get content of bin (1-D)