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;
24 static constexpr
double minEtaZoom = 0.;
25 static constexpr
double maxEtaZoom = 0.087;
26 static constexpr
double minPhiZoom = 0.;
27 static constexpr
double maxPhiZoom = 0.35;
28 static constexpr
int nbinEtaZoom = 64;
29 static constexpr
int nbinPhiZoom = 20;
34 hmgr->addHistoProf1(
new TProfile(
"10",
"MB prof Eta [Total];#eta;x/X_{0} ", nbinEta,
minEta,
maxEta));
36 hmgr->addHistoProf1(
new TProfile(
"20",
"MB prof Phi [Total];#varphi [rad];x/X_{0} ", nbinPhi,
minPhi,
maxPhi));
38 hmgr->addHistoProf2(
new TProfile2D(
43 hmgr->addHistoProf1(
new TProfile(
"110",
"MB prof Eta [Support];#eta;x/X_{0}", nbinEta,
minEta,
maxEta));
45 hmgr->addHistoProf1(
new TProfile(
"120",
"MB prof Phi [Support];#varphi [rad];x/X_{0}", nbinPhi,
minPhi,
maxPhi));
47 hmgr->addHistoProf2(
new TProfile2D(
52 hmgr->addHistoProf1(
new TProfile(
"210",
"MB prof Eta [Sensitive];#eta;x/X_{0}", nbinEta,
minEta,
maxEta));
53 hmgr->addHisto1(
new TH1F(
"211",
"Eta [Sensitive]", nbinEta,
minEta,
maxEta));
54 hmgr->addHistoProf1(
new TProfile(
"220",
"MB prof Phi [Sensitive];#varphi [rad];x/X_{0}", nbinPhi,
minPhi,
maxPhi));
55 hmgr->addHisto1(
new TH1F(
"221",
"Phi [Sensitive]", nbinPhi,
minPhi,
maxPhi));
56 hmgr->addHistoProf2(
new TProfile2D(
59 hmgr->addHistoProf2(
new TProfile2D(
"10230",
60 "MB prof Eta Phi [Sensitive];#eta;#varphi;x/X_{0}",
71 hmgr->addHistoProf1(
new TProfile(
"310",
"MB prof Eta [Cables];#eta;x/X_{0}", nbinEta,
minEta,
maxEta));
73 hmgr->addHistoProf1(
new TProfile(
"320",
"MB prof Phi [Cables];#varphi [rad];x/X_{0}", nbinPhi,
minPhi,
maxPhi));
75 hmgr->addHistoProf2(
new TProfile2D(
80 hmgr->addHistoProf1(
new TProfile(
"410",
"MB prof Eta [Cooling];#eta;x/X_{0}", nbinEta,
minEta,
maxEta));
82 hmgr->addHistoProf1(
new TProfile(
"420",
"MB prof Phi [Cooling];#varphi [rad];x/X_{0}", nbinPhi,
minPhi,
maxPhi));
84 hmgr->addHistoProf2(
new TProfile2D(
89 hmgr->addHistoProf1(
new TProfile(
"510",
"MB prof Eta [Electronics];#eta;x/X_{0}", nbinEta,
minEta,
maxEta));
90 hmgr->addHisto1(
new TH1F(
"511",
"Eta [Electronics]", nbinEta,
minEta,
maxEta));
91 hmgr->addHistoProf1(
new TProfile(
"520",
"MB prof Phi [Electronics];#varphi [rad];x/X_{0}", nbinPhi,
minPhi,
maxPhi));
92 hmgr->addHisto1(
new TH1F(
"521",
"Phi [Electronics]", nbinPhi,
minPhi,
maxPhi));
93 hmgr->addHistoProf2(
new TProfile2D(
98 hmgr->addHistoProf1(
new TProfile(
"610",
"MB prof Eta [Other];#eta;x/X_{0}", nbinEta,
minEta,
maxEta));
100 hmgr->addHistoProf1(
new TProfile(
"620",
"MB prof Phi [Other];#varphi [rad];x/X_{0}", nbinPhi,
minPhi,
maxPhi));
102 hmgr->addHistoProf2(
new TProfile2D(
108 hmgr->addHistoProf1(
new TProfile(
"1010",
"MB prof Eta [Total];#eta;#lambda/#lambda_{0} ", nbinEta,
minEta,
maxEta));
111 new TProfile(
"1020",
"MB prof Phi [Total];#varphi [rad];#lambda/#lambda_{0} ", nbinPhi,
minPhi,
maxPhi));
113 hmgr->addHistoProf2(
new TProfile2D(
"1030",
114 "MB prof Eta Phi [Total];#eta;#varphi;#lambda/#lambda_{0} ",
124 hmgr->addHistoProf1(
new TProfile(
"1110",
"MB prof Eta [Support];#eta;#lambda/#lambda_{0}", nbinEta,
minEta,
maxEta));
125 hmgr->addHisto1(
new TH1F(
"1111",
"Eta [Support]", nbinEta,
minEta,
maxEta));
127 new TProfile(
"1120",
"MB prof Phi [Support];#varphi [rad];#lambda/#lambda_{0}", nbinPhi,
minPhi,
maxPhi));
128 hmgr->addHisto1(
new TH1F(
"1121",
"Phi [Support]", nbinPhi,
minPhi,
maxPhi));
129 hmgr->addHistoProf2(
new TProfile2D(
"1130",
130 "MB prof Eta Phi [Support];#eta;#varphi;#lambda/#lambda_{0}",
141 new TProfile(
"1210",
"MB prof Eta [Sensitive];#eta;#lambda/#lambda_{0}", nbinEta,
minEta,
maxEta));
142 hmgr->addHisto1(
new TH1F(
"1211",
"Eta [Sensitive]", nbinEta,
minEta,
maxEta));
144 new TProfile(
"1220",
"MB prof Phi [Sensitive];#varphi [rad];#lambda/#lambda_{0}", nbinPhi,
minPhi,
maxPhi));
145 hmgr->addHisto1(
new TH1F(
"1221",
"Phi [Sensitive]", nbinPhi,
minPhi,
maxPhi));
146 hmgr->addHistoProf2(
new TProfile2D(
"1230",
147 "MB prof Eta Phi [Sensitive];#eta;#varphi;#lambda/#lambda_{0}",
157 hmgr->addHistoProf1(
new TProfile(
"1310",
"MB prof Eta [Cables];#eta;#lambda/#lambda_{0}", nbinEta,
minEta,
maxEta));
160 new TProfile(
"1320",
"MB prof Phi [Cables];#varphi [rad];#lambda/#lambda_{0}", nbinPhi,
minPhi,
maxPhi));
162 hmgr->addHistoProf2(
new TProfile2D(
"1330",
163 "MB prof Eta Phi [Cables];#eta;#varphi;#lambda/#lambda_{0}",
173 hmgr->addHistoProf1(
new TProfile(
"1410",
"MB prof Eta [Cooling];#eta;#lambda/#lambda_{0}", nbinEta,
minEta,
maxEta));
174 hmgr->addHisto1(
new TH1F(
"1411",
"Eta [Cooling]", nbinEta,
minEta,
maxEta));
176 new TProfile(
"1420",
"MB prof Phi [Cooling];#varphi [rad];#lambda/#lambda_{0}", nbinPhi,
minPhi,
maxPhi));
177 hmgr->addHisto1(
new TH1F(
"1421",
"Phi [Cooling]", nbinPhi,
minPhi,
maxPhi));
178 hmgr->addHistoProf2(
new TProfile2D(
"1430",
179 "MB prof Eta Phi [Cooling];#eta;#varphi;#lambda/#lambda_{0}",
190 new TProfile(
"1510",
"MB prof Eta [Electronics];#eta;#lambda/#lambda_{0}", nbinEta,
minEta,
maxEta));
191 hmgr->addHisto1(
new TH1F(
"1511",
"Eta [Electronics]", nbinEta,
minEta,
maxEta));
193 new TProfile(
"1520",
"MB prof Phi [Electronics];#varphi [rad];#lambda/#lambda_{0}", nbinPhi,
minPhi,
maxPhi));
194 hmgr->addHisto1(
new TH1F(
"1521",
"Phi [Electronics]", nbinPhi,
minPhi,
maxPhi));
195 hmgr->addHistoProf2(
new TProfile2D(
"1530",
196 "MB prof Eta Phi [Electronics];#eta;#varphi;#lambda/#lambda_{0}",
206 hmgr->addHistoProf1(
new TProfile(
"1610",
"MB prof Eta [Other];#eta;#lambda/#lambda_{0}", nbinEta,
minEta,
maxEta));
209 new TProfile(
"1620",
"MB prof Phi [Other];#varphi [rad];#lambda/#lambda_{0}", nbinPhi,
minPhi,
maxPhi));
211 hmgr->addHistoProf2(
new TProfile2D(
"1630",
212 "MB prof Eta Phi [Other];#eta;#varphi;#lambda/#lambda_{0}",
221 edm::LogInfo(
"MaterialBudget") <<
"MaterialBudgetMtdHistos: booking user histos done";
void fillEndTrack() override
void fillPerStep() override
std::shared_ptr< TestHistoMgr > hmgr
void fillStartTrack() override
Log< level::Info, false > LogInfo
char data[epos_bytes_allocation]
MaterialBudgetMtdHistos(std::shared_ptr< MaterialBudgetData > data, std::shared_ptr< TestHistoMgr > mgr, const std::string &fileName)