24 edm::LogInfo(
"ElectronMcSignalPostValidator::finalize") <<
"efficiency calculation";
25 bookH1andDivide(iBooker, iGetter,
"etaEff",
"mc_Eta_matched",
"mc_Eta",
"#eta",
"Efficiency",
"");
26 bookH1andDivide(iBooker, iGetter,
"zEff",
"mc_Z_matched",
"mc_Z",
"z (cm)",
"Efficiency",
"");
27 bookH1andDivide(iBooker, iGetter,
"absetaEff",
"mc_AbsEta_matched",
"mc_AbsEta",
"|#eta|",
"Efficiency",
"");
28 bookH1andDivide(iBooker, iGetter,
"ptEff",
"mc_Pt_matched",
"mc_Pt",
"p_{T} (GeV/c)",
"Efficiency",
"");
29 bookH1andDivide(iBooker, iGetter,
"phiEff",
"mc_Phi_matched",
"mc_Phi",
"#phi (rad)",
"Efficiency",
"");
32 edm::LogInfo(
"ElectronMcSignalPostValidator::finalize") <<
"q-misid calculation";
33 bookH1andDivide(iBooker, iGetter,
"etaQmisid",
"mc_Eta_matched_qmisid",
"mc_Eta",
"#eta",
"q misId",
"");
34 bookH1andDivide(iBooker, iGetter,
"zQmisid",
"mc_Z_matched_qmisid",
"mc_Z",
"z (cm)",
"q misId",
"");
35 bookH1andDivide(iBooker, iGetter,
"absetaQmisid",
"mc_AbsEta_matched_qmisid",
"mc_AbsEta",
"|#eta|",
"q misId",
"");
36 bookH1andDivide(iBooker, iGetter,
"ptQmisid",
"mc_Pt_matched_qmisid",
"mc_Pt",
"p_{T} (GeV/c)",
"q misId",
"");
38 edm::LogInfo(
"ElectronMcSignalPostValidator::finalize") <<
"all reco electrons";
39 bookH1andDivide(iBooker, iGetter,
"etaEff_all",
"vertexEta_all",
"h_mc_Eta",
"#eta",
"N_{rec}/N_{gen}",
"");
40 bookH1andDivide(iBooker, iGetter,
"ptEff_all",
"vertexPt_all",
"h_mc_Pt",
"p_{T} (GeV/c)",
"N_{rec}/N_{gen}",
"");
42 edm::LogInfo(
"ElectronMcSignalPostValidator::finalize") <<
"classes";
49 "Fraction of electrons",
50 "fraction of golden electrons vs eta");
57 "Fraction of electrons",
58 "fraction of big brem electrons vs eta");
65 "Fraction of electrons",
66 "fraction of showering electrons vs eta");
69 MonitorElement* p1_ele_fbremVsEta_mean =
get(iGetter,
"fbremvsEtamean");
70 TAxis* etaAxis = p1_ele_fbremVsEta_mean->
getTProfile()->GetXaxis();
72 iBooker,
"xOverx0VsEta",
"mean X/X_0 vs eta", etaAxis->GetNbins(), etaAxis->GetXmin(), etaAxis->GetXmax());
73 for (
int ibin = 1; ibin < etaAxis->GetNbins() + 1; ibin++) {
85 MonitorElement* h1_ele_provenance_barrel =
get(iGetter,
"provenance_barrel");
89 MonitorElement* h1_ele_provenance_endcaps =
get(iGetter,
"provenance_endcaps");
97 "scl_EoEtrueVsrecOfflineVertices",
98 "E/Etrue vs number of primary vertices",
99 "N_{primary vertices}",
104 "scl_EoEtrueVsrecOfflineVertices_barrel",
105 "E/Etrue vs number of primary vertices , barrel",
106 "N_{primary vertices}",
111 "scl_EoEtrueVsrecOfflineVertices_endcaps",
112 "E/Etrue vs number of primary vertices , endcaps",
113 "N_{primary vertices}",
117 profileX(iBooker, iGetter,
"PoPtrueVsEta",
"mean ele momentum / gen momentum vs eta",
"#eta",
"<P/P_{gen}>");
118 profileX(iBooker, iGetter,
"PoPtrueVsPhi",
"mean ele momentum / gen momentum vs phi",
"#phi (rad)",
"<P/P_{gen}>");
119 profileX(iBooker, iGetter,
"sigmaIetaIetaVsPt",
"SigmaIetaIeta vs pt",
"p_{T} (GeV/c)",
"SigmaIetaIeta");
123 "mean mustache SC/true energy vs final SC/true energy",
124 "E_{final SC}/E_{gen}",
125 "E_{mustache}/E_{gen}");
129 "mean mustache SC/true energy vs final SC/true energy",
130 "E_{final SC}/E_{gen}",
131 "E_{mustache}/E_{gen}");
132 profileX(iBooker, iGetter,
"EtaMnEtaTrueVsEta",
"mean ele eta - gen eta vs eta",
"#eta",
"<#eta_{rec} - #eta_{gen}>");
134 iBooker, iGetter,
"EtaMnEtaTrueVsPhi",
"mean ele eta - gen eta vs phi",
"#phi (rad)",
"<#eta_{rec} - #eta_{gen}>");
136 iBooker, iGetter,
"PhiMnPhiTrueVsEta",
"mean ele phi - gen phi vs eta",
"#eta",
"<#phi_{rec} - #phi_{gen}> (rad)");
137 profileX(iBooker, iGetter,
"PhiMnPhiTrueVsPhi",
"mean ele phi - gen phi vs phi",
"#phi (rad)",
"");
138 profileX(iBooker, iGetter,
"vertexPtVsEta",
"mean ele transverse momentum vs eta",
"#eta",
"<p_{T}> (GeV/c)");
139 profileX(iBooker, iGetter,
"vertexPtVsPhi",
"mean ele transverse momentum vs phi",
"#phi (rad)",
"<p_{T}> (GeV/c)");
140 profileX(iBooker, iGetter,
"EoPVsEta",
"mean ele E/p vs eta",
"#eta",
"<E/P_{vertex}>");
141 profileX(iBooker, iGetter,
"EoPVsEtaExtended",
"mean ele E/p vs eta",
"#eta",
"<E/P_{vertex}>");
142 profileX(iBooker, iGetter,
"EoPVsPhi",
"mean ele E/p vs phi",
"#phi (rad)",
"<E/P_{vertex}>");
143 profileX(iBooker, iGetter,
"EoPoutVsEta",
"mean ele E/pout vs eta",
"#eta",
"<E_{seed}/P_{out}>");
144 profileX(iBooker, iGetter,
"EoPoutVsPhi",
"mean ele E/pout vs phi",
"#phi (rad)",
"<E_{seed}/P_{out}>");
145 profileX(iBooker, iGetter,
"EeleOPoutVsEta",
"mean ele Eele/pout vs eta",
"#eta",
"<E_{ele}/P_{out}>");
146 profileX(iBooker, iGetter,
"EeleOPoutVsPhi",
"mean ele Eele/pout vs phi",
"#phi (rad)",
"<E_{ele}/P_{out}>");
147 profileX(iBooker, iGetter,
"HoEVsEta",
"mean ele H/E vs eta",
"#eta",
"<H/E>");
148 profileX(iBooker, iGetter,
"HoEVsPhi",
"mean ele H/E vs phi",
"#phi (rad)",
"<H/E>");
149 profileX(iBooker, iGetter,
"chi2VsEta",
"mean ele track chi2 vs eta",
"#eta",
"<#Chi^{2}>");
150 profileX(iBooker, iGetter,
"chi2VsPhi",
"mean ele track chi2 vs phi",
"#phi (rad)",
"<#Chi^{2}>");
151 profileX(iBooker, iGetter,
"ambiguousTracksVsEta",
"mean ele # ambiguous tracks vs eta",
"#eta",
"<N_{ambiguous}>");
152 profileX(iBooker, iGetter,
"foundHitsVsEta",
"mean ele track # found hits vs eta",
"#eta",
"<N_{hits}>");
153 profileX(iBooker, iGetter,
"foundHitsVsEta_mAOD",
"mean ele track # found hits vs eta",
"#eta",
"<N_{hits}>");
154 profileX(iBooker, iGetter,
"foundHitsVsPhi",
"mean ele track # found hits vs phi",
"#phi (rad)",
"<N_{hits}>");
155 profileX(iBooker, iGetter,
"lostHitsVsEta",
"mean ele track # lost hits vs eta",
"#eta",
"<N_{hits}>");
156 profileX(iBooker, iGetter,
"lostHitsVsPhi",
"mean ele track # lost hits vs phi",
"#phi (rad)",
"<N_{hits}>");
157 profileX(iBooker, iGetter,
"vertexTIPVsEta",
"mean tip (wrt gen vtx) vs eta",
"#eta",
"<TIP> (cm)");
158 profileX(iBooker, iGetter,
"vertexTIPVsPhi",
"mean tip (wrt gen vtx) vs phi",
"#phi",
"<TIP> (cm)");
159 profileX(iBooker, iGetter,
"vertexTIPVsPt",
"mean tip (wrt gen vtx) vs phi",
"p_{T} (GeV/c)",
"<TIP> (cm)");
163 "mean ele seed dphi 2nd layer vs eta",
165 "<#phi_{pred} - #phi_{hit}, 2nd layer> (rad)",
171 "mean ele seed dphi 2nd layer vs pt",
173 "<#phi_{pred} - #phi_{hit}, 2nd layer> (rad)",
179 "mean ele seed dr(dz) 2nd layer vs eta",
181 "<r(z)_{pred} - r(z)_{hit}, 2nd layer> (cm)",
187 "mean ele seed dr(dz) 2nd layer vs pt",
189 "<r(z)_{pred} - r(z)_{hit}, 2nd layer> (cm)",
194 "seedDphi2Pos_VsEta",
195 "mean ele seed dphi 2nd layer positron vs eta",
197 "<#phi_{pred} - #phi_{hit}, 2nd layer> (rad)",
203 "mean ele seed dphi 2nd layer positron vs pt",
205 "<#phi_{pred} - #phi_{hit}, 2nd layer> (rad)",
211 "mean ele seed dr(dz) 2nd layer positron vs eta",
213 "<r(z)_{pred} - r(z)_{hit}, 2nd layer> (cm)",
219 "mean ele seed dr(dz) 2nd layer positron vs pt",
221 "<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
~ElectronMcSignalPostValidator() override
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")
void setBookPrefix(const std::string &)
ElectronMcSignalPostValidator(const edm::ParameterSet &conf)
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 finalize(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter) override
MonitorElement * profileY(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 &)
Log< level::Info, false > LogInfo
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
virtual TH1F * getTH1F() const
MonitorElement * h1_ele_xOverX0VsEta
bool set_StatOverflowFlag
virtual double getBinContent(int binx) const
get content of bin (1-D)