4 #include "CLHEP/Units/GlobalSystemOfUnits.h"
7 std::shared_ptr<TestHistoMgr> mgr,
15 edm::LogInfo(
"MaterialBudget") <<
"MaterialBudgetMtdHistos: Booking user histos";
17 static constexpr
double minEta = -5.;
18 static constexpr
double maxEta = 5.;
19 static constexpr
double minPhi = -3.1416;
20 static constexpr
double maxPhi = 3.1416;
21 static constexpr
int nbinEta = 250;
22 static constexpr
int nbinPhi = 180;
26 hmgr->addHistoProf1(
new TProfile(
"10",
"MB prof Eta [Total];#eta;x/X_{0} ", nbinEta,
minEta,
maxEta));
28 hmgr->addHistoProf1(
new TProfile(
"20",
"MB prof Phi [Total];#varphi [rad];x/X_{0} ", nbinPhi,
minPhi,
maxPhi));
30 hmgr->addHistoProf2(
new TProfile2D(
35 hmgr->addHistoProf1(
new TProfile(
"110",
"MB prof Eta [Support];#eta;x/X_{0}", nbinEta,
minEta,
maxEta));
37 hmgr->addHistoProf1(
new TProfile(
"120",
"MB prof Phi [Support];#varphi [rad];x/X_{0}", nbinPhi,
minPhi,
maxPhi));
39 hmgr->addHistoProf2(
new TProfile2D(
44 hmgr->addHistoProf1(
new TProfile(
"210",
"MB prof Eta [Sensitive];#eta;x/X_{0}", nbinEta,
minEta,
maxEta));
45 hmgr->addHisto1(
new TH1F(
"211",
"Eta [Sensitive]", nbinEta,
minEta,
maxEta));
46 hmgr->addHistoProf1(
new TProfile(
"220",
"MB prof Phi [Sensitive];#varphi [rad];x/X_{0}", nbinPhi,
minPhi,
maxPhi));
47 hmgr->addHisto1(
new TH1F(
"221",
"Phi [Sensitive]", nbinPhi,
minPhi,
maxPhi));
48 hmgr->addHistoProf2(
new TProfile2D(
53 hmgr->addHistoProf1(
new TProfile(
"310",
"MB prof Eta [Cables];#eta;x/X_{0}", nbinEta,
minEta,
maxEta));
55 hmgr->addHistoProf1(
new TProfile(
"320",
"MB prof Phi [Cables];#varphi [rad];x/X_{0}", nbinPhi,
minPhi,
maxPhi));
57 hmgr->addHistoProf2(
new TProfile2D(
62 hmgr->addHistoProf1(
new TProfile(
"410",
"MB prof Eta [Cooling];#eta;x/X_{0}", nbinEta,
minEta,
maxEta));
64 hmgr->addHistoProf1(
new TProfile(
"420",
"MB prof Phi [Cooling];#varphi [rad];x/X_{0}", nbinPhi,
minPhi,
maxPhi));
66 hmgr->addHistoProf2(
new TProfile2D(
71 hmgr->addHistoProf1(
new TProfile(
"510",
"MB prof Eta [Electronics];#eta;x/X_{0}", nbinEta,
minEta,
maxEta));
72 hmgr->addHisto1(
new TH1F(
"511",
"Eta [Electronics]", nbinEta,
minEta,
maxEta));
73 hmgr->addHistoProf1(
new TProfile(
"520",
"MB prof Phi [Electronics];#varphi [rad];x/X_{0}", nbinPhi,
minPhi,
maxPhi));
74 hmgr->addHisto1(
new TH1F(
"521",
"Phi [Electronics]", nbinPhi,
minPhi,
maxPhi));
75 hmgr->addHistoProf2(
new TProfile2D(
80 hmgr->addHistoProf1(
new TProfile(
"610",
"MB prof Eta [Other];#eta;x/X_{0}", nbinEta,
minEta,
maxEta));
82 hmgr->addHistoProf1(
new TProfile(
"620",
"MB prof Phi [Other];#varphi [rad];x/X_{0}", nbinPhi,
minPhi,
maxPhi));
84 hmgr->addHistoProf2(
new TProfile2D(
90 hmgr->addHistoProf1(
new TProfile(
"1010",
"MB prof Eta [Total];#eta;#lambda/#lambda_{0} ", nbinEta,
minEta,
maxEta));
93 new TProfile(
"1020",
"MB prof Phi [Total];#varphi [rad];#lambda/#lambda_{0} ", nbinPhi,
minPhi,
maxPhi));
95 hmgr->addHistoProf2(
new TProfile2D(
"1030",
96 "MB prof Eta Phi [Total];#eta;#varphi;#lambda/#lambda_{0} ",
106 hmgr->addHistoProf1(
new TProfile(
"1110",
"MB prof Eta [Support];#eta;#lambda/#lambda_{0}", nbinEta,
minEta,
maxEta));
107 hmgr->addHisto1(
new TH1F(
"1111",
"Eta [Support]", nbinEta,
minEta,
maxEta));
109 new TProfile(
"1120",
"MB prof Phi [Support];#varphi [rad];#lambda/#lambda_{0}", nbinPhi,
minPhi,
maxPhi));
110 hmgr->addHisto1(
new TH1F(
"1121",
"Phi [Support]", nbinPhi,
minPhi,
maxPhi));
111 hmgr->addHistoProf2(
new TProfile2D(
"1130",
112 "MB prof Eta Phi [Support];#eta;#varphi;#lambda/#lambda_{0}",
123 new TProfile(
"1210",
"MB prof Eta [Sensitive];#eta;#lambda/#lambda_{0}", nbinEta,
minEta,
maxEta));
124 hmgr->addHisto1(
new TH1F(
"1211",
"Eta [Sensitive]", nbinEta,
minEta,
maxEta));
126 new TProfile(
"1220",
"MB prof Phi [Sensitive];#varphi [rad];#lambda/#lambda_{0}", nbinPhi,
minPhi,
maxPhi));
127 hmgr->addHisto1(
new TH1F(
"1221",
"Phi [Sensitive]", nbinPhi,
minPhi,
maxPhi));
128 hmgr->addHistoProf2(
new TProfile2D(
"1230",
129 "MB prof Eta Phi [Sensitive];#eta;#varphi;#lambda/#lambda_{0}",
139 hmgr->addHistoProf1(
new TProfile(
"1310",
"MB prof Eta [Cables];#eta;#lambda/#lambda_{0}", nbinEta,
minEta,
maxEta));
142 new TProfile(
"1320",
"MB prof Phi [Cables];#varphi [rad];#lambda/#lambda_{0}", nbinPhi,
minPhi,
maxPhi));
144 hmgr->addHistoProf2(
new TProfile2D(
"1330",
145 "MB prof Eta Phi [Cables];#eta;#varphi;#lambda/#lambda_{0}",
155 hmgr->addHistoProf1(
new TProfile(
"1410",
"MB prof Eta [Cooling];#eta;#lambda/#lambda_{0}", nbinEta,
minEta,
maxEta));
156 hmgr->addHisto1(
new TH1F(
"1411",
"Eta [Cooling]", nbinEta,
minEta,
maxEta));
158 new TProfile(
"1420",
"MB prof Phi [Cooling];#varphi [rad];#lambda/#lambda_{0}", nbinPhi,
minPhi,
maxPhi));
159 hmgr->addHisto1(
new TH1F(
"1421",
"Phi [Cooling]", nbinPhi,
minPhi,
maxPhi));
160 hmgr->addHistoProf2(
new TProfile2D(
"1430",
161 "MB prof Eta Phi [Cooling];#eta;#varphi;#lambda/#lambda_{0}",
172 new TProfile(
"1510",
"MB prof Eta [Electronics];#eta;#lambda/#lambda_{0}", nbinEta,
minEta,
maxEta));
173 hmgr->addHisto1(
new TH1F(
"1511",
"Eta [Electronics]", nbinEta,
minEta,
maxEta));
175 new TProfile(
"1520",
"MB prof Phi [Electronics];#varphi [rad];#lambda/#lambda_{0}", nbinPhi,
minPhi,
maxPhi));
176 hmgr->addHisto1(
new TH1F(
"1521",
"Phi [Electronics]", nbinPhi,
minPhi,
maxPhi));
177 hmgr->addHistoProf2(
new TProfile2D(
"1530",
178 "MB prof Eta Phi [Electronics];#eta;#varphi;#lambda/#lambda_{0}",
188 hmgr->addHistoProf1(
new TProfile(
"1610",
"MB prof Eta [Other];#eta;#lambda/#lambda_{0}", nbinEta,
minEta,
maxEta));
191 new TProfile(
"1620",
"MB prof Phi [Other];#varphi [rad];#lambda/#lambda_{0}", nbinPhi,
minPhi,
maxPhi));
193 hmgr->addHistoProf2(
new TProfile2D(
"1630",
194 "MB prof Eta Phi [Other];#eta;#varphi;#lambda/#lambda_{0}",
203 edm::LogInfo(
"MaterialBudget") <<
"MaterialBudgetMtdHistos: booking user histos done";