22 {
23
24 const char* fN =
m_name.c_str();
25
26 if (!reducedHistSet) {
27 histoMap[
"deltaPhi2"] =
new TH1D(Form(
"%s_deltaPhi2",fN),
";deltaPhi2; Events", 40, -0.06, 0.06);
28 histoMap[
"deltaEta2"] =
new TH1D(Form(
"%s_deltaEta2",fN),
";deltaEta2; Events", 40, -0.04, 0.04);
29 histoMap[
"deltaPhiRescaled2"] =
new TH1D(Form(
"%s_deltaPhiRescaled2",fN),
";deltaPhiRescaled2; Events", 40, -0.04, 0.04);
30
31 histoMap[
"d0Oversigmad0"] =
new TH1D(Form(
"%s_d0Oversigmad0",fN),
"; d0Oversigmad0; Events", 40, -10, 10);
32 histoMap[
"qOverp_resolution"] =
new TH1D(Form(
"%s_qOverp_resolution",fN),
";(q/P reco - q/P truth)/ q/p truth; Events", 60, -1, 1.5);
33
39
40
41 if (
m_name ==
"truthPromptElectronWithRecoTrack") {
42 histoMap2D[
"eta_deltaPhi2"] =
new TH2D(Form(
"%s_eta_deltaPhi2",fN),
43 ";#eta;#Delta#phi_{2}; Events", 90, -4.5, 4.5, 40, -0.06, 0.06);
44 histoMap2D[
"eta_deltaEta2"] =
new TH2D(Form(
"%s_eta_deltaEta2",fN),
45 ";#eta;#Delta#eta_{2}; Events", 90, -4.5, 4.5, 40, -0.06, 0.06);
46 histoMap2D[
"eta_deltaPhiRescaled2"] =
new TH2D(Form(
"%s_eta_deltaPhiRescaled2",fN),
47 ";#eta;#Delta#phi_{2}^{Rescaled}; Events", 90, -4.5, 4.5, 40, -0.06, 0.06);
48 histoMap2D[
"eta_d0Oversigmad0"] =
new TH2D(Form(
"%s_eta_d0Oversigmad0",fN),
49 ";#eta;d_{0}/#sigma_{d_{0}}; Events", 90, -4.5, 4.5, 40, -10, 10);
50 histoMap2D[
"eta_qOverp_resolution"] =
new TH2D(Form(
"%s_eta_qOverp_resolution",fN),
51 ";#eta;(q/P_{reco})/(q/P_{truth}) -1; Events", 90, -4.5, 4.5, 60, -1, 1.5);
52
55 }
56 }
57 }
58
60
62
63 return StatusCode::SUCCESS;
64
65}
#define ATH_CHECK
Evaluate an expression and check for errors.
StatusCode initializePlots()