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 minEtaBTLZoom = 0.;
25 static constexpr
double maxEtaBTLZoom = 0.087;
26 static constexpr
double minPhiBTLZoom = 0.;
27 static constexpr
double maxPhiBTLZoom = 0.35;
28 static constexpr
int nbinEtaBTLZoom = 64;
29 static constexpr
int nbinPhiBTLZoom = 20;
31 static constexpr
double minMB = 0.;
32 static constexpr
double maxMBetl = 0.025;
33 static constexpr
double maxMBbtl = 0.5;
34 static constexpr
int nbinMB = 25;
38 hmgr->addHistoProf1(
new TProfile(
"10",
"MB prof Eta [Total];#eta;x/X_{0} ", nbinEta,
minEta,
maxEta));
40 hmgr->addHistoProf1(
new TProfile(
"20",
"MB prof Phi [Total];#varphi [rad];x/X_{0} ", nbinPhi,
minPhi,
maxPhi));
42 hmgr->addHistoProf2(
new TProfile2D(
47 hmgr->addHistoProf1(
new TProfile(
"110",
"MB prof Eta [Support];#eta;x/X_{0}", nbinEta,
minEta,
maxEta));
49 hmgr->addHistoProf1(
new TProfile(
"120",
"MB prof Phi [Support];#varphi [rad];x/X_{0}", nbinPhi,
minPhi,
maxPhi));
51 hmgr->addHistoProf2(
new TProfile2D(
56 hmgr->addHistoProf1(
new TProfile(
"210",
"MB prof Eta [Sensitive];#eta;x/X_{0}", nbinEta,
minEta,
maxEta));
57 hmgr->addHisto1(
new TH1F(
"211",
"Eta [Sensitive]", nbinEta,
minEta,
maxEta));
58 hmgr->addHistoProf1(
new TProfile(
"220",
"MB prof Phi [Sensitive];#varphi [rad];x/X_{0}", nbinPhi,
minPhi,
maxPhi));
59 hmgr->addHisto1(
new TH1F(
"221",
"Phi [Sensitive]", nbinPhi,
minPhi,
maxPhi));
60 hmgr->addHistoProf2(
new TProfile2D(
63 hmgr->addHistoProf2(
new TProfile2D(
"10230",
64 "MB prof Eta Phi [Sensitive];#eta;#varphi;x/X_{0}",
72 new TH2F(
"10234",
"MB vs Eta [Sensitive];#eta;x/X_{0}", nbinEta,
minEta,
maxEta, nbinMB, minMB, maxMBetl));
73 hmgr->addHisto2(
new TH2F(
74 "20234",
"MB along z vs Eta [Sensitive];#eta;x/X_{0}", nbinEta,
minEta,
maxEta, nbinMB, minMB, maxMBetl));
76 new TH2F(
"10235",
"MB vs Eta [Sensitive];#eta;x/X_{0}", nbinEta,
minEta,
maxEta, nbinMB, minMB, maxMBbtl));
81 hmgr->addHistoProf1(
new TProfile(
"310",
"MB prof Eta [Cables];#eta;x/X_{0}", nbinEta,
minEta,
maxEta));
83 hmgr->addHistoProf1(
new TProfile(
"320",
"MB prof Phi [Cables];#varphi [rad];x/X_{0}", nbinPhi,
minPhi,
maxPhi));
85 hmgr->addHistoProf2(
new TProfile2D(
90 hmgr->addHistoProf1(
new TProfile(
"410",
"MB prof Eta [Cooling];#eta;x/X_{0}", nbinEta,
minEta,
maxEta));
92 hmgr->addHistoProf1(
new TProfile(
"420",
"MB prof Phi [Cooling];#varphi [rad];x/X_{0}", nbinPhi,
minPhi,
maxPhi));
94 hmgr->addHistoProf2(
new TProfile2D(
99 hmgr->addHistoProf1(
new TProfile(
"510",
"MB prof Eta [Electronics];#eta;x/X_{0}", nbinEta,
minEta,
maxEta));
100 hmgr->addHisto1(
new TH1F(
"511",
"Eta [Electronics]", nbinEta,
minEta,
maxEta));
101 hmgr->addHistoProf1(
new TProfile(
"520",
"MB prof Phi [Electronics];#varphi [rad];x/X_{0}", nbinPhi,
minPhi,
maxPhi));
102 hmgr->addHisto1(
new TH1F(
"521",
"Phi [Electronics]", nbinPhi,
minPhi,
maxPhi));
103 hmgr->addHistoProf2(
new TProfile2D(
108 hmgr->addHistoProf1(
new TProfile(
"610",
"MB prof Eta [Other];#eta;x/X_{0}", nbinEta,
minEta,
maxEta));
110 hmgr->addHistoProf1(
new TProfile(
"620",
"MB prof Phi [Other];#varphi [rad];x/X_{0}", nbinPhi,
minPhi,
maxPhi));
112 hmgr->addHistoProf2(
new TProfile2D(
118 hmgr->addHistoProf1(
new TProfile(
"1010",
"MB prof Eta [Total];#eta;#lambda/#lambda_{0} ", nbinEta,
minEta,
maxEta));
121 new TProfile(
"1020",
"MB prof Phi [Total];#varphi [rad];#lambda/#lambda_{0} ", nbinPhi,
minPhi,
maxPhi));
123 hmgr->addHistoProf2(
new TProfile2D(
"1030",
124 "MB prof Eta Phi [Total];#eta;#varphi;#lambda/#lambda_{0} ",
134 hmgr->addHistoProf1(
new TProfile(
"1110",
"MB prof Eta [Support];#eta;#lambda/#lambda_{0}", nbinEta,
minEta,
maxEta));
135 hmgr->addHisto1(
new TH1F(
"1111",
"Eta [Support]", nbinEta,
minEta,
maxEta));
137 new TProfile(
"1120",
"MB prof Phi [Support];#varphi [rad];#lambda/#lambda_{0}", nbinPhi,
minPhi,
maxPhi));
138 hmgr->addHisto1(
new TH1F(
"1121",
"Phi [Support]", nbinPhi,
minPhi,
maxPhi));
139 hmgr->addHistoProf2(
new TProfile2D(
"1130",
140 "MB prof Eta Phi [Support];#eta;#varphi;#lambda/#lambda_{0}",
151 new TProfile(
"1210",
"MB prof Eta [Sensitive];#eta;#lambda/#lambda_{0}", nbinEta,
minEta,
maxEta));
152 hmgr->addHisto1(
new TH1F(
"1211",
"Eta [Sensitive]", nbinEta,
minEta,
maxEta));
154 new TProfile(
"1220",
"MB prof Phi [Sensitive];#varphi [rad];#lambda/#lambda_{0}", nbinPhi,
minPhi,
maxPhi));
155 hmgr->addHisto1(
new TH1F(
"1221",
"Phi [Sensitive]", nbinPhi,
minPhi,
maxPhi));
156 hmgr->addHistoProf2(
new TProfile2D(
"1230",
157 "MB prof Eta Phi [Sensitive];#eta;#varphi;#lambda/#lambda_{0}",
167 hmgr->addHistoProf1(
new TProfile(
"1310",
"MB prof Eta [Cables];#eta;#lambda/#lambda_{0}", nbinEta,
minEta,
maxEta));
170 new TProfile(
"1320",
"MB prof Phi [Cables];#varphi [rad];#lambda/#lambda_{0}", nbinPhi,
minPhi,
maxPhi));
172 hmgr->addHistoProf2(
new TProfile2D(
"1330",
173 "MB prof Eta Phi [Cables];#eta;#varphi;#lambda/#lambda_{0}",
183 hmgr->addHistoProf1(
new TProfile(
"1410",
"MB prof Eta [Cooling];#eta;#lambda/#lambda_{0}", nbinEta,
minEta,
maxEta));
184 hmgr->addHisto1(
new TH1F(
"1411",
"Eta [Cooling]", nbinEta,
minEta,
maxEta));
186 new TProfile(
"1420",
"MB prof Phi [Cooling];#varphi [rad];#lambda/#lambda_{0}", nbinPhi,
minPhi,
maxPhi));
187 hmgr->addHisto1(
new TH1F(
"1421",
"Phi [Cooling]", nbinPhi,
minPhi,
maxPhi));
188 hmgr->addHistoProf2(
new TProfile2D(
"1430",
189 "MB prof Eta Phi [Cooling];#eta;#varphi;#lambda/#lambda_{0}",
200 new TProfile(
"1510",
"MB prof Eta [Electronics];#eta;#lambda/#lambda_{0}", nbinEta,
minEta,
maxEta));
201 hmgr->addHisto1(
new TH1F(
"1511",
"Eta [Electronics]", nbinEta,
minEta,
maxEta));
203 new TProfile(
"1520",
"MB prof Phi [Electronics];#varphi [rad];#lambda/#lambda_{0}", nbinPhi,
minPhi,
maxPhi));
204 hmgr->addHisto1(
new TH1F(
"1521",
"Phi [Electronics]", nbinPhi,
minPhi,
maxPhi));
205 hmgr->addHistoProf2(
new TProfile2D(
"1530",
206 "MB prof Eta Phi [Electronics];#eta;#varphi;#lambda/#lambda_{0}",
216 hmgr->addHistoProf1(
new TProfile(
"1610",
"MB prof Eta [Other];#eta;#lambda/#lambda_{0}", nbinEta,
minEta,
maxEta));
219 new TProfile(
"1620",
"MB prof Phi [Other];#varphi [rad];#lambda/#lambda_{0}", nbinPhi,
minPhi,
maxPhi));
221 hmgr->addHistoProf2(
new TProfile2D(
"1630",
222 "MB prof Eta Phi [Other];#eta;#varphi;#lambda/#lambda_{0}",
231 edm::LogInfo(
"MaterialBudget") <<
"MaterialBudgetMtdHistos: booking user histos done";
266 static constexpr
double bfTransitionEta = 1.55;
void fillEndTrack() override
void tanh(data_T data[CONFIG_T::n_in], res_T res[CONFIG_T::n_in])
void fillPerStep() override
std::shared_ptr< TestHistoMgr > hmgr
Abs< T >::type abs(const T &t)
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)