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));
27 hmgr->addHisto1(
new TH1F(
"11",
"Eta ", nbinEta, minEta, maxEta));
28 hmgr->addHistoProf1(
new TProfile(
"20",
"MB prof Phi [Total];#varphi [rad];x/X_{0} ", nbinPhi, minPhi, maxPhi));
29 hmgr->addHisto1(
new TH1F(
"21",
"Phi ", nbinPhi, minPhi, maxPhi));
30 hmgr->addHistoProf2(
new TProfile2D(
31 "30",
"MB prof Eta Phi [Total];#eta;#varphi;x/X_{0} ", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
32 hmgr->addHisto2(
new TH2F(
"31",
"Eta vs Phi ", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
35 hmgr->addHistoProf1(
new TProfile(
"110",
"MB prof Eta [Support];#eta;x/X_{0}", nbinEta, minEta, maxEta));
36 hmgr->addHisto1(
new TH1F(
"111",
"Eta [Support]", nbinEta, minEta, maxEta));
37 hmgr->addHistoProf1(
new TProfile(
"120",
"MB prof Phi [Support];#varphi [rad];x/X_{0}", nbinPhi, minPhi, maxPhi));
38 hmgr->addHisto1(
new TH1F(
"121",
"Phi [Support]", nbinPhi, minPhi, maxPhi));
39 hmgr->addHistoProf2(
new TProfile2D(
40 "130",
"MB prof Eta Phi [Support];#eta;#varphi;x/X_{0}", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
41 hmgr->addHisto2(
new TH2F(
"131",
"Eta vs Phi [Support]", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
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(
49 "230",
"MB prof Eta Phi [Sensitive];#eta;#varphi;x/X_{0}", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
50 hmgr->addHisto2(
new TH2F(
"231",
"Eta vs Phi [Sensitive]", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
53 hmgr->addHistoProf1(
new TProfile(
"310",
"MB prof Eta [Cables];#eta;x/X_{0}", nbinEta, minEta, maxEta));
54 hmgr->addHisto1(
new TH1F(
"311",
"Eta [Cables]", nbinEta, minEta, maxEta));
55 hmgr->addHistoProf1(
new TProfile(
"320",
"MB prof Phi [Cables];#varphi [rad];x/X_{0}", nbinPhi, minPhi, maxPhi));
56 hmgr->addHisto1(
new TH1F(
"321",
"Phi [Cables]", nbinPhi, minPhi, maxPhi));
57 hmgr->addHistoProf2(
new TProfile2D(
58 "330",
"MB prof Eta Phi [Cables];#eta;#varphi;x/X_{0}", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
59 hmgr->addHisto2(
new TH2F(
"331",
"Eta vs Phi [Cables]", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
62 hmgr->addHistoProf1(
new TProfile(
"410",
"MB prof Eta [Cooling];#eta;x/X_{0}", nbinEta, minEta, maxEta));
63 hmgr->addHisto1(
new TH1F(
"411",
"Eta [Cooling]", nbinEta, minEta, maxEta));
64 hmgr->addHistoProf1(
new TProfile(
"420",
"MB prof Phi [Cooling];#varphi [rad];x/X_{0}", nbinPhi, minPhi, maxPhi));
65 hmgr->addHisto1(
new TH1F(
"421",
"Phi [Cooling]", nbinPhi, minPhi, maxPhi));
66 hmgr->addHistoProf2(
new TProfile2D(
67 "430",
"MB prof Eta Phi [Cooling];#eta;#varphi;x/X_{0}", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
68 hmgr->addHisto2(
new TH2F(
"431",
"Eta vs Phi [Cooling]", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
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(
76 "530",
"MB prof Eta Phi [Electronics];#eta;#varphi;x/X_{0}", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
77 hmgr->addHisto2(
new TH2F(
"531",
"Eta vs Phi [Electronics]", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
80 hmgr->addHistoProf1(
new TProfile(
"610",
"MB prof Eta [Other];#eta;x/X_{0}", nbinEta, minEta, maxEta));
81 hmgr->addHisto1(
new TH1F(
"611",
"Eta [Other]", nbinEta, minEta, maxEta));
82 hmgr->addHistoProf1(
new TProfile(
"620",
"MB prof Phi [Other];#varphi [rad];x/X_{0}", nbinPhi, minPhi, maxPhi));
83 hmgr->addHisto1(
new TH1F(
"621",
"Phi [Other]", nbinPhi, minPhi, maxPhi));
84 hmgr->addHistoProf2(
new TProfile2D(
85 "630",
"MB prof Eta Phi [Other];#eta;#varphi;x/X_{0}", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
86 hmgr->addHisto2(
new TH2F(
"631",
"Eta vs Phi [Other]", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
90 hmgr->addHistoProf1(
new TProfile(
"1010",
"MB prof Eta [Total];#eta;#lambda/#lambda_{0} ", nbinEta, minEta, maxEta));
91 hmgr->addHisto1(
new TH1F(
"1011",
"Eta ", nbinEta, minEta, maxEta));
93 new TProfile(
"1020",
"MB prof Phi [Total];#varphi [rad];#lambda/#lambda_{0} ", nbinPhi, minPhi, maxPhi));
94 hmgr->addHisto1(
new TH1F(
"1021",
"Phi ", nbinPhi, minPhi, maxPhi));
95 hmgr->addHistoProf2(
new TProfile2D(
"1030",
96 "MB prof Eta Phi [Total];#eta;#varphi;#lambda/#lambda_{0} ",
103 hmgr->addHisto2(
new TH2F(
"1031",
"Eta vs Phi ", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
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}",
119 hmgr->addHisto2(
new TH2F(
"1131",
"Eta vs Phi [Support]", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
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}",
136 hmgr->addHisto2(
new TH2F(
"1231",
"Eta vs Phi [Sensitive]", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
139 hmgr->addHistoProf1(
new TProfile(
"1310",
"MB prof Eta [Cables];#eta;#lambda/#lambda_{0}", nbinEta, minEta, maxEta));
140 hmgr->addHisto1(
new TH1F(
"1311",
"Eta [Cables]", nbinEta, minEta, maxEta));
142 new TProfile(
"1320",
"MB prof Phi [Cables];#varphi [rad];#lambda/#lambda_{0}", nbinPhi, minPhi, maxPhi));
143 hmgr->addHisto1(
new TH1F(
"1321",
"Phi [Cables]", nbinPhi, minPhi, maxPhi));
144 hmgr->addHistoProf2(
new TProfile2D(
"1330",
145 "MB prof Eta Phi [Cables];#eta;#varphi;#lambda/#lambda_{0}",
152 hmgr->addHisto2(
new TH2F(
"1331",
"Eta vs Phi [Cables]", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
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}",
168 hmgr->addHisto2(
new TH2F(
"1431",
"Eta vs Phi [Cooling]", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
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}",
185 hmgr->addHisto2(
new TH2F(
"1531",
"Eta vs Phi [Electronics]", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
188 hmgr->addHistoProf1(
new TProfile(
"1610",
"MB prof Eta [Other];#eta;#lambda/#lambda_{0}", nbinEta, minEta, maxEta));
189 hmgr->addHisto1(
new TH1F(
"1611",
"Eta [Other]", nbinEta, minEta, maxEta));
191 new TProfile(
"1620",
"MB prof Phi [Other];#varphi [rad];#lambda/#lambda_{0}", nbinPhi, minPhi, maxPhi));
192 hmgr->addHisto1(
new TH1F(
"1621",
"Phi [Other]", nbinPhi, minPhi, maxPhi));
193 hmgr->addHistoProf2(
new TProfile2D(
"1630",
194 "MB prof Eta Phi [Other];#eta;#varphi;#lambda/#lambda_{0}",
201 hmgr->addHisto2(
new TH2F(
"1631",
"Eta vs Phi [Other]", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
203 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)