CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
MaterialBudgetMtdHistos Class Reference

#include <MaterialBudgetMtdHistos.h>

Inheritance diagram for MaterialBudgetMtdHistos:
MaterialBudgetFormat

Public Member Functions

void endOfRun () override
 
void fillEndTrack () override
 
void fillPerStep () override
 
void fillStartTrack () override
 
 MaterialBudgetMtdHistos (std::shared_ptr< MaterialBudgetData > data, std::shared_ptr< TestHistoMgr > mgr, const std::string &fileName)
 
 ~MaterialBudgetMtdHistos () override
 
- Public Member Functions inherited from MaterialBudgetFormat
 MaterialBudgetFormat (std::shared_ptr< MaterialBudgetData > data)
 
virtual ~MaterialBudgetFormat ()
 

Private Member Functions

virtual void book ()
 

Private Attributes

std::shared_ptr< TestHistoMgrhmgr
 
double * theDmb
 
double * theMateId
 
double * theVoluId
 
double * theX
 
double * theY
 
double * theZ
 

Additional Inherited Members

- Protected Attributes inherited from MaterialBudgetFormat
std::shared_ptr< MaterialBudgetDatatheData
 
std::string theFileName
 

Detailed Description

Definition at line 7 of file MaterialBudgetMtdHistos.h.

Constructor & Destructor Documentation

◆ MaterialBudgetMtdHistos()

MaterialBudgetMtdHistos::MaterialBudgetMtdHistos ( std::shared_ptr< MaterialBudgetData data,
std::shared_ptr< TestHistoMgr mgr,
const std::string &  fileName 
)

Definition at line 6 of file MaterialBudgetMtdHistos.cc.

References book(), MillePedeFileConverter_cfg::fileName, and MaterialBudgetFormat::theFileName.

11  book();
12 }
MaterialBudgetFormat(std::shared_ptr< MaterialBudgetData > data)
std::shared_ptr< TestHistoMgr > hmgr
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79

◆ ~MaterialBudgetMtdHistos()

MaterialBudgetMtdHistos::~MaterialBudgetMtdHistos ( )
inlineoverride

Definition at line 12 of file MaterialBudgetMtdHistos.h.

12 {}

Member Function Documentation

◆ book()

void MaterialBudgetMtdHistos::book ( )
privatevirtual

Definition at line 14 of file MaterialBudgetMtdHistos.cc.

References hmgr, razorScouting_cff::maxEta, HLT_2023v12_cff::maxPhi, EgHLTOffEleSelection_cfi::minEta, and HLT_2023v12_cff::minPhi.

Referenced by MaterialBudgetMtdHistos().

14  {
15  edm::LogInfo("MaterialBudget") << "MaterialBudgetMtdHistos: Booking user histos";
16 
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;
23 #ifdef MTD_DETAIL
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;
30 #endif
31 
32  // Material budget: radiation length
33  // total X0
34  hmgr->addHistoProf1(new TProfile("10", "MB prof Eta [Total];#eta;x/X_{0} ", nbinEta, minEta, maxEta));
35  hmgr->addHisto1(new TH1F("11", "Eta ", nbinEta, minEta, maxEta));
36  hmgr->addHistoProf1(new TProfile("20", "MB prof Phi [Total];#varphi [rad];x/X_{0} ", nbinPhi, minPhi, maxPhi));
37  hmgr->addHisto1(new TH1F("21", "Phi ", nbinPhi, minPhi, maxPhi));
38  hmgr->addHistoProf2(new TProfile2D(
39  "30", "MB prof Eta Phi [Total];#eta;#varphi;x/X_{0} ", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
40  hmgr->addHisto2(new TH2F("31", "Eta vs Phi ", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
41 
42  // Support
43  hmgr->addHistoProf1(new TProfile("110", "MB prof Eta [Support];#eta;x/X_{0}", nbinEta, minEta, maxEta));
44  hmgr->addHisto1(new TH1F("111", "Eta [Support]", nbinEta, minEta, maxEta));
45  hmgr->addHistoProf1(new TProfile("120", "MB prof Phi [Support];#varphi [rad];x/X_{0}", nbinPhi, minPhi, maxPhi));
46  hmgr->addHisto1(new TH1F("121", "Phi [Support]", nbinPhi, minPhi, maxPhi));
47  hmgr->addHistoProf2(new TProfile2D(
48  "130", "MB prof Eta Phi [Support];#eta;#varphi;x/X_{0}", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
49  hmgr->addHisto2(new TH2F("131", "Eta vs Phi [Support]", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
50 
51  // Sensitive
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(
57  "230", "MB prof Eta Phi [Sensitive];#eta;#varphi;x/X_{0}", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
58 #ifdef MTD_DETAIL
59  hmgr->addHistoProf2(new TProfile2D("10230",
60  "MB prof Eta Phi [Sensitive];#eta;#varphi;x/X_{0}",
61  nbinEtaZoom,
62  minEtaZoom,
63  maxEtaZoom,
64  nbinPhiZoom,
65  minPhiZoom,
66  maxPhiZoom));
67 #endif
68  hmgr->addHisto2(new TH2F("231", "Eta vs Phi [Sensitive]", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
69 
70  // Cables
71  hmgr->addHistoProf1(new TProfile("310", "MB prof Eta [Cables];#eta;x/X_{0}", nbinEta, minEta, maxEta));
72  hmgr->addHisto1(new TH1F("311", "Eta [Cables]", nbinEta, minEta, maxEta));
73  hmgr->addHistoProf1(new TProfile("320", "MB prof Phi [Cables];#varphi [rad];x/X_{0}", nbinPhi, minPhi, maxPhi));
74  hmgr->addHisto1(new TH1F("321", "Phi [Cables]", nbinPhi, minPhi, maxPhi));
75  hmgr->addHistoProf2(new TProfile2D(
76  "330", "MB prof Eta Phi [Cables];#eta;#varphi;x/X_{0}", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
77  hmgr->addHisto2(new TH2F("331", "Eta vs Phi [Cables]", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
78 
79  // Cooling
80  hmgr->addHistoProf1(new TProfile("410", "MB prof Eta [Cooling];#eta;x/X_{0}", nbinEta, minEta, maxEta));
81  hmgr->addHisto1(new TH1F("411", "Eta [Cooling]", nbinEta, minEta, maxEta));
82  hmgr->addHistoProf1(new TProfile("420", "MB prof Phi [Cooling];#varphi [rad];x/X_{0}", nbinPhi, minPhi, maxPhi));
83  hmgr->addHisto1(new TH1F("421", "Phi [Cooling]", nbinPhi, minPhi, maxPhi));
84  hmgr->addHistoProf2(new TProfile2D(
85  "430", "MB prof Eta Phi [Cooling];#eta;#varphi;x/X_{0}", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
86  hmgr->addHisto2(new TH2F("431", "Eta vs Phi [Cooling]", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
87 
88  // Electronics
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(
94  "530", "MB prof Eta Phi [Electronics];#eta;#varphi;x/X_{0}", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
95  hmgr->addHisto2(new TH2F("531", "Eta vs Phi [Electronics]", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
96 
97  // Other
98  hmgr->addHistoProf1(new TProfile("610", "MB prof Eta [Other];#eta;x/X_{0}", nbinEta, minEta, maxEta));
99  hmgr->addHisto1(new TH1F("611", "Eta [Other]", nbinEta, minEta, maxEta));
100  hmgr->addHistoProf1(new TProfile("620", "MB prof Phi [Other];#varphi [rad];x/X_{0}", nbinPhi, minPhi, maxPhi));
101  hmgr->addHisto1(new TH1F("621", "Phi [Other]", nbinPhi, minPhi, maxPhi));
102  hmgr->addHistoProf2(new TProfile2D(
103  "630", "MB prof Eta Phi [Other];#eta;#varphi;x/X_{0}", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
104  hmgr->addHisto2(new TH2F("631", "Eta vs Phi [Other]", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
105 
106  // Material budget: interaction length
107  // total Lambda0
108  hmgr->addHistoProf1(new TProfile("1010", "MB prof Eta [Total];#eta;#lambda/#lambda_{0} ", nbinEta, minEta, maxEta));
109  hmgr->addHisto1(new TH1F("1011", "Eta ", nbinEta, minEta, maxEta));
110  hmgr->addHistoProf1(
111  new TProfile("1020", "MB prof Phi [Total];#varphi [rad];#lambda/#lambda_{0} ", nbinPhi, minPhi, maxPhi));
112  hmgr->addHisto1(new TH1F("1021", "Phi ", nbinPhi, minPhi, maxPhi));
113  hmgr->addHistoProf2(new TProfile2D("1030",
114  "MB prof Eta Phi [Total];#eta;#varphi;#lambda/#lambda_{0} ",
115  nbinEta,
116  minEta,
117  maxEta,
118  nbinPhi,
119  minPhi,
120  maxPhi));
121  hmgr->addHisto2(new TH2F("1031", "Eta vs Phi ", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
122 
123  // Support
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));
126  hmgr->addHistoProf1(
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}",
131  nbinEta,
132  minEta,
133  maxEta,
134  nbinPhi,
135  minPhi,
136  maxPhi));
137  hmgr->addHisto2(new TH2F("1131", "Eta vs Phi [Support]", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
138 
139  // Sensitive
140  hmgr->addHistoProf1(
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));
143  hmgr->addHistoProf1(
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}",
148  nbinEta,
149  minEta,
150  maxEta,
151  nbinPhi,
152  minPhi,
153  maxPhi));
154  hmgr->addHisto2(new TH2F("1231", "Eta vs Phi [Sensitive]", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
155 
156  // Cables
157  hmgr->addHistoProf1(new TProfile("1310", "MB prof Eta [Cables];#eta;#lambda/#lambda_{0}", nbinEta, minEta, maxEta));
158  hmgr->addHisto1(new TH1F("1311", "Eta [Cables]", nbinEta, minEta, maxEta));
159  hmgr->addHistoProf1(
160  new TProfile("1320", "MB prof Phi [Cables];#varphi [rad];#lambda/#lambda_{0}", nbinPhi, minPhi, maxPhi));
161  hmgr->addHisto1(new TH1F("1321", "Phi [Cables]", nbinPhi, minPhi, maxPhi));
162  hmgr->addHistoProf2(new TProfile2D("1330",
163  "MB prof Eta Phi [Cables];#eta;#varphi;#lambda/#lambda_{0}",
164  nbinEta,
165  minEta,
166  maxEta,
167  nbinPhi,
168  minPhi,
169  maxPhi));
170  hmgr->addHisto2(new TH2F("1331", "Eta vs Phi [Cables]", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
171 
172  // Cooling
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));
175  hmgr->addHistoProf1(
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}",
180  nbinEta,
181  minEta,
182  maxEta,
183  nbinPhi,
184  minPhi,
185  maxPhi));
186  hmgr->addHisto2(new TH2F("1431", "Eta vs Phi [Cooling]", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
187 
188  // Electronics
189  hmgr->addHistoProf1(
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));
192  hmgr->addHistoProf1(
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}",
197  nbinEta,
198  minEta,
199  maxEta,
200  nbinPhi,
201  minPhi,
202  maxPhi));
203  hmgr->addHisto2(new TH2F("1531", "Eta vs Phi [Electronics]", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
204 
205  // Other
206  hmgr->addHistoProf1(new TProfile("1610", "MB prof Eta [Other];#eta;#lambda/#lambda_{0}", nbinEta, minEta, maxEta));
207  hmgr->addHisto1(new TH1F("1611", "Eta [Other]", nbinEta, minEta, maxEta));
208  hmgr->addHistoProf1(
209  new TProfile("1620", "MB prof Phi [Other];#varphi [rad];#lambda/#lambda_{0}", nbinPhi, minPhi, maxPhi));
210  hmgr->addHisto1(new TH1F("1621", "Phi [Other]", nbinPhi, minPhi, maxPhi));
211  hmgr->addHistoProf2(new TProfile2D("1630",
212  "MB prof Eta Phi [Other];#eta;#varphi;#lambda/#lambda_{0}",
213  nbinEta,
214  minEta,
215  maxEta,
216  nbinPhi,
217  minPhi,
218  maxPhi));
219  hmgr->addHisto2(new TH2F("1631", "Eta vs Phi [Other]", nbinEta, minEta, maxEta, nbinPhi, minPhi, maxPhi));
220 
221  edm::LogInfo("MaterialBudget") << "MaterialBudgetMtdHistos: booking user histos done";
222 }
std::shared_ptr< TestHistoMgr > hmgr
Log< level::Info, false > LogInfo

◆ endOfRun()

void MaterialBudgetMtdHistos::endOfRun ( )
overridevirtual

Reimplemented from MaterialBudgetFormat.

Definition at line 359 of file MaterialBudgetMtdHistos.cc.

References hmgr, and MaterialBudgetFormat::theFileName.

359  {
360  edm::LogInfo("MaterialBudget") << "MaterialBudgetMtdHistos: Writing histos ROOT file to:" << theFileName;
361  hmgr->save(theFileName);
362 }
std::shared_ptr< TestHistoMgr > hmgr
Log< level::Info, false > LogInfo

◆ fillEndTrack()

void MaterialBudgetMtdHistos::fillEndTrack ( )
overridevirtual

Reimplemented from MaterialBudgetFormat.

Definition at line 228 of file MaterialBudgetMtdHistos.cc.

References hmgr, and MaterialBudgetFormat::theData.

228  {
229  // Total X0
230  hmgr->getHisto1(11)->Fill(theData->getEta());
231  hmgr->getHisto1(21)->Fill(theData->getPhi());
232  hmgr->getHisto2(31)->Fill(theData->getEta(), theData->getPhi());
233 
234  hmgr->getHistoProf1(10)->Fill(theData->getEta(), theData->getTotalMB());
235  hmgr->getHistoProf1(20)->Fill(theData->getPhi(), theData->getTotalMB());
236  hmgr->getHistoProf2(30)->Fill(theData->getEta(), theData->getPhi(), theData->getTotalMB());
237 
238  // Support
239  hmgr->getHisto1(111)->Fill(theData->getEta());
240  hmgr->getHisto1(121)->Fill(theData->getPhi());
241  hmgr->getHisto2(131)->Fill(theData->getEta(), theData->getPhi());
242 
243  hmgr->getHistoProf1(110)->Fill(theData->getEta(), theData->getSupportMB());
244  hmgr->getHistoProf1(120)->Fill(theData->getPhi(), theData->getSupportMB());
245  hmgr->getHistoProf2(130)->Fill(theData->getEta(), theData->getPhi(), theData->getSupportMB());
246 
247  // Sensitive
248  hmgr->getHisto1(211)->Fill(theData->getEta());
249  hmgr->getHisto1(221)->Fill(theData->getPhi());
250  hmgr->getHisto2(231)->Fill(theData->getEta(), theData->getPhi());
251 
252  hmgr->getHistoProf1(210)->Fill(theData->getEta(), theData->getSensitiveMB());
253  hmgr->getHistoProf1(220)->Fill(theData->getPhi(), theData->getSensitiveMB());
254  hmgr->getHistoProf2(230)->Fill(theData->getEta(), theData->getPhi(), theData->getSensitiveMB());
255 #ifdef MTD_DETAIL
256  hmgr->getHistoProf2(10230)->Fill(theData->getEta(), theData->getPhi(), theData->getSensitiveMB());
257 #endif
258 
259  // Cables
260  hmgr->getHisto1(311)->Fill(theData->getEta());
261  hmgr->getHisto1(321)->Fill(theData->getPhi());
262  hmgr->getHisto2(331)->Fill(theData->getEta(), theData->getPhi());
263 
264  hmgr->getHistoProf1(310)->Fill(theData->getEta(), theData->getCablesMB());
265  hmgr->getHistoProf1(320)->Fill(theData->getPhi(), theData->getCablesMB());
266  hmgr->getHistoProf2(330)->Fill(theData->getEta(), theData->getPhi(), theData->getCablesMB());
267 
268  // Cooling
269  hmgr->getHisto1(411)->Fill(theData->getEta());
270  hmgr->getHisto1(421)->Fill(theData->getPhi());
271  hmgr->getHisto2(431)->Fill(theData->getEta(), theData->getPhi());
272 
273  hmgr->getHistoProf1(410)->Fill(theData->getEta(), theData->getCoolingMB());
274  hmgr->getHistoProf1(420)->Fill(theData->getPhi(), theData->getCoolingMB());
275  hmgr->getHistoProf2(430)->Fill(theData->getEta(), theData->getPhi(), theData->getCoolingMB());
276 
277  // Electronics
278  hmgr->getHisto1(511)->Fill(theData->getEta());
279  hmgr->getHisto1(521)->Fill(theData->getPhi());
280  hmgr->getHisto2(531)->Fill(theData->getEta(), theData->getPhi());
281 
282  hmgr->getHistoProf1(510)->Fill(theData->getEta(), theData->getElectronicsMB());
283  hmgr->getHistoProf1(520)->Fill(theData->getPhi(), theData->getElectronicsMB());
284  hmgr->getHistoProf2(530)->Fill(theData->getEta(), theData->getPhi(), theData->getElectronicsMB());
285 
286  // Other
287  hmgr->getHisto1(611)->Fill(theData->getEta());
288  hmgr->getHisto1(621)->Fill(theData->getPhi());
289  hmgr->getHisto2(631)->Fill(theData->getEta(), theData->getPhi());
290 
291  hmgr->getHistoProf1(610)->Fill(theData->getEta(), theData->getOtherMB());
292  hmgr->getHistoProf1(620)->Fill(theData->getPhi(), theData->getOtherMB());
293  hmgr->getHistoProf2(630)->Fill(theData->getEta(), theData->getPhi(), theData->getOtherMB());
294 
295  // Total Lambda0
296  hmgr->getHisto1(1011)->Fill(theData->getEta());
297  hmgr->getHisto1(1021)->Fill(theData->getPhi());
298  hmgr->getHisto2(1031)->Fill(theData->getEta(), theData->getPhi());
299 
300  hmgr->getHistoProf1(1010)->Fill(theData->getEta(), theData->getTotalIL());
301  hmgr->getHistoProf1(1020)->Fill(theData->getPhi(), theData->getTotalIL());
302  hmgr->getHistoProf2(1030)->Fill(theData->getEta(), theData->getPhi(), theData->getTotalIL());
303 
304  // Support
305  hmgr->getHisto1(1111)->Fill(theData->getEta());
306  hmgr->getHisto1(1121)->Fill(theData->getPhi());
307  hmgr->getHisto2(1131)->Fill(theData->getEta(), theData->getPhi());
308 
309  hmgr->getHistoProf1(1110)->Fill(theData->getEta(), theData->getSupportIL());
310  hmgr->getHistoProf1(1120)->Fill(theData->getPhi(), theData->getSupportIL());
311  hmgr->getHistoProf2(1130)->Fill(theData->getEta(), theData->getPhi(), theData->getSupportIL());
312 
313  // Sensitive
314  hmgr->getHisto1(1211)->Fill(theData->getEta());
315  hmgr->getHisto1(1221)->Fill(theData->getPhi());
316  hmgr->getHisto2(1231)->Fill(theData->getEta(), theData->getPhi());
317 
318  hmgr->getHistoProf1(1210)->Fill(theData->getEta(), theData->getSensitiveIL());
319  hmgr->getHistoProf1(1220)->Fill(theData->getPhi(), theData->getSensitiveIL());
320  hmgr->getHistoProf2(1230)->Fill(theData->getEta(), theData->getPhi(), theData->getSensitiveIL());
321 
322  // Cables
323  hmgr->getHisto1(1311)->Fill(theData->getEta());
324  hmgr->getHisto1(1321)->Fill(theData->getPhi());
325  hmgr->getHisto2(1331)->Fill(theData->getEta(), theData->getPhi());
326 
327  hmgr->getHistoProf1(1310)->Fill(theData->getEta(), theData->getCablesIL());
328  hmgr->getHistoProf1(1320)->Fill(theData->getPhi(), theData->getCablesIL());
329  hmgr->getHistoProf2(1330)->Fill(theData->getEta(), theData->getPhi(), theData->getCablesIL());
330 
331  // Cooling
332  hmgr->getHisto1(1411)->Fill(theData->getEta());
333  hmgr->getHisto1(1421)->Fill(theData->getPhi());
334  hmgr->getHisto2(1431)->Fill(theData->getEta(), theData->getPhi());
335 
336  hmgr->getHistoProf1(1410)->Fill(theData->getEta(), theData->getCoolingIL());
337  hmgr->getHistoProf1(1420)->Fill(theData->getPhi(), theData->getCoolingIL());
338  hmgr->getHistoProf2(1430)->Fill(theData->getEta(), theData->getPhi(), theData->getCoolingIL());
339 
340  // Electronics
341  hmgr->getHisto1(1511)->Fill(theData->getEta());
342  hmgr->getHisto1(1521)->Fill(theData->getPhi());
343  hmgr->getHisto2(1531)->Fill(theData->getEta(), theData->getPhi());
344 
345  hmgr->getHistoProf1(1510)->Fill(theData->getEta(), theData->getElectronicsIL());
346  hmgr->getHistoProf1(1520)->Fill(theData->getPhi(), theData->getElectronicsIL());
347  hmgr->getHistoProf2(1530)->Fill(theData->getEta(), theData->getPhi(), theData->getElectronicsIL());
348 
349  // Other
350  hmgr->getHisto1(1611)->Fill(theData->getEta());
351  hmgr->getHisto1(1621)->Fill(theData->getPhi());
352  hmgr->getHisto2(1631)->Fill(theData->getEta(), theData->getPhi());
353 
354  hmgr->getHistoProf1(1610)->Fill(theData->getEta(), theData->getOtherIL());
355  hmgr->getHistoProf1(1620)->Fill(theData->getPhi(), theData->getOtherIL());
356  hmgr->getHistoProf2(1630)->Fill(theData->getEta(), theData->getPhi(), theData->getOtherIL());
357 }
std::shared_ptr< TestHistoMgr > hmgr
std::shared_ptr< MaterialBudgetData > theData

◆ fillPerStep()

void MaterialBudgetMtdHistos::fillPerStep ( )
overridevirtual

Reimplemented from MaterialBudgetFormat.

Definition at line 226 of file MaterialBudgetMtdHistos.cc.

226 {}

◆ fillStartTrack()

void MaterialBudgetMtdHistos::fillStartTrack ( )
overridevirtual

Reimplemented from MaterialBudgetFormat.

Definition at line 224 of file MaterialBudgetMtdHistos.cc.

224 {}

Member Data Documentation

◆ hmgr

std::shared_ptr<TestHistoMgr> MaterialBudgetMtdHistos::hmgr
private

Definition at line 27 of file MaterialBudgetMtdHistos.h.

Referenced by book(), endOfRun(), and fillEndTrack().

◆ theDmb

double* MaterialBudgetMtdHistos::theDmb
private

Definition at line 20 of file MaterialBudgetMtdHistos.h.

◆ theMateId

double* MaterialBudgetMtdHistos::theMateId
private

Definition at line 25 of file MaterialBudgetMtdHistos.h.

◆ theVoluId

double* MaterialBudgetMtdHistos::theVoluId
private

Definition at line 24 of file MaterialBudgetMtdHistos.h.

◆ theX

double* MaterialBudgetMtdHistos::theX
private

Definition at line 21 of file MaterialBudgetMtdHistos.h.

◆ theY

double* MaterialBudgetMtdHistos::theY
private

Definition at line 22 of file MaterialBudgetMtdHistos.h.

◆ theZ

double* MaterialBudgetMtdHistos::theZ
private

Definition at line 23 of file MaterialBudgetMtdHistos.h.