6 return (
b <
a) ?
a :
b;
10 std::shared_ptr<TestHistoMgr> mgr,
51 std::cout <<
"=== booking user histos ===" << std::endl;
58 hmgr->addHistoProf2(
new TProfile2D(
67 hmgr->addHistoProf2(
new TProfile2D(
73 hmgr->addHistoProf2(
new TProfile2D(
79 hmgr->addHistoProf2(
new TProfile2D(
81 hmgr->addHistoProf1(
new TProfile(
"140",
"MB prof R [Copper];R [mm];x/X_{0}",
nrbin_,
RMin_,
RMax_));
82 hmgr->addHistoProf2(
new TProfile2D(
84 hmgr->addHistoProf2(
new TProfile2D(
86 hmgr->addHisto2(
new TH2F(
88 hmgr->addHistoProf2(
new TProfile2D(
90 hmgr->addHistoProf2(
new TProfile2D(
97 hmgr->addHistoProf2(
new TProfile2D(
"230",
98 "MB prof Eta Phi [Scintillator];#eta;#varphi;x/X_{0}",
105 hmgr->addHistoProf1(
new TProfile(
"240",
"MB prof R [Scintillator];R [mm];x/X_{0}",
nrbin_,
RMin_,
RMax_));
106 hmgr->addHistoProf2(
new TProfile2D(
108 hmgr->addHistoProf2(
new TProfile2D(
110 hmgr->addHisto2(
new TH2F(
112 hmgr->addHistoProf2(
new TProfile2D(
114 hmgr->addHistoProf2(
new TProfile2D(
"272",
115 "MB ortho prof local R z [Scintillator];z [mm];R [mm];x/X_{0} ",
126 hmgr->addHistoProf2(
new TProfile2D(
128 hmgr->addHistoProf1(
new TProfile(
"340",
"MB prof R [Cables];R [mm];x/X_{0}",
nrbin_,
RMin_,
RMax_));
129 hmgr->addHistoProf2(
new TProfile2D(
131 hmgr->addHistoProf2(
new TProfile2D(
133 hmgr->addHisto2(
new TH2F(
135 hmgr->addHistoProf2(
new TProfile2D(
137 hmgr->addHistoProf2(
new TProfile2D(
144 hmgr->addHistoProf2(
new TProfile2D(
"430",
145 "MB prof Eta Phi [HGC_G10_FR4];#eta;#varphi;x/X_{0}",
152 hmgr->addHistoProf1(
new TProfile(
"440",
"MB prof R [HGC_G10_FR4];R [mm];x/X_{0}",
nrbin_,
RMin_,
RMax_));
153 hmgr->addHistoProf2(
new TProfile2D(
155 hmgr->addHistoProf2(
new TProfile2D(
157 hmgr->addHisto2(
new TH2F(
159 hmgr->addHistoProf2(
new TProfile2D(
161 hmgr->addHistoProf2(
new TProfile2D(
"472",
162 "MB ortho prof local R z [HGC_G10_FR4];z [mm];R [mm];x/X_{0} ",
173 hmgr->addHistoProf2(
new TProfile2D(
175 hmgr->addHistoProf1(
new TProfile(
"540",
"MB prof R [Silicon];R [mm];x/X_{0}",
nrbin_,
RMin_,
RMax_));
176 hmgr->addHistoProf2(
new TProfile2D(
178 hmgr->addHistoProf2(
new TProfile2D(
180 hmgr->addHisto2(
new TH2F(
182 hmgr->addHistoProf2(
new TProfile2D(
184 hmgr->addHistoProf2(
new TProfile2D(
190 hmgr->addHistoProf2(
new TProfile2D(
192 hmgr->addHistoProf1(
new TProfile(
"640",
"MB prof R [Other];R [mm];x/X_{0}",
nrbin_,
RMin_,
RMax_));
193 hmgr->addHistoProf2(
new TProfile2D(
195 hmgr->addHistoProf2(
new TProfile2D(
199 hmgr->addHistoProf2(
new TProfile2D(
201 hmgr->addHistoProf2(
new TProfile2D(
207 hmgr->addHistoProf2(
new TProfile2D(
209 hmgr->addHistoProf1(
new TProfile(
"740",
"MB prof R [Air];R [mm];x/X_{0}",
nrbin_,
RMin_,
RMax_));
210 hmgr->addHistoProf2(
new TProfile2D(
212 hmgr->addHistoProf2(
new TProfile2D(
216 hmgr->addHistoProf2(
new TProfile2D(
218 hmgr->addHistoProf2(
new TProfile2D(
225 hmgr->addHistoProf2(
new TProfile2D(
"830",
226 "MB prof Eta Phi [StainlessSteel];#eta;#varphi;x/X_{0}",
233 hmgr->addHistoProf1(
new TProfile(
"840",
"MB prof R [StainlessSteel];R [mm];x/X_{0}",
nrbin_,
RMin_,
RMax_));
234 hmgr->addHistoProf2(
new TProfile2D(
236 hmgr->addHistoProf2(
new TProfile2D(
"852",
237 "MB ortho prof sum R z [StainlessSteel];z [mm];R [mm];x/X_{0} ",
244 hmgr->addHisto2(
new TH2F(
246 hmgr->addHistoProf2(
new TProfile2D(
248 hmgr->addHistoProf2(
new TProfile2D(
"872",
249 "MB ortho prof local R z [StainlessSteel];z [mm];R [mm];x/X_{0} ",
260 hmgr->addHistoProf2(
new TProfile2D(
262 hmgr->addHistoProf1(
new TProfile(
"940",
"MB prof R [WCu];R [mm];x/X_{0}",
nrbin_,
RMin_,
RMax_));
263 hmgr->addHistoProf2(
new TProfile2D(
265 hmgr->addHistoProf2(
new TProfile2D(
269 hmgr->addHistoProf2(
new TProfile2D(
271 hmgr->addHistoProf2(
new TProfile2D(
277 hmgr->addHistoProf2(
new TProfile2D(
279 hmgr->addHistoProf1(
new TProfile(
"1040",
"MB prof R [Lead];R [mm];x/X_{0}",
nrbin_,
RMin_,
RMax_));
280 hmgr->addHistoProf2(
new TProfile2D(
282 hmgr->addHistoProf2(
new TProfile2D(
286 hmgr->addHistoProf2(
new TProfile2D(
288 hmgr->addHistoProf2(
new TProfile2D(
294 hmgr->addHistoProf2(
new TProfile2D(
296 hmgr->addHistoProf1(
new TProfile(
"1140",
"MB prof R [Epoxy];R [mm];x/X_{0}",
nrbin_,
RMin_,
RMax_));
297 hmgr->addHistoProf2(
new TProfile2D(
299 hmgr->addHistoProf2(
new TProfile2D(
301 hmgr->addHisto2(
new TH2F(
303 hmgr->addHistoProf2(
new TProfile2D(
305 hmgr->addHistoProf2(
new TProfile2D(
311 hmgr->addHistoProf2(
new TProfile2D(
313 hmgr->addHistoProf1(
new TProfile(
"1240",
"MB prof R [Kapton];R [mm];x/X_{0}",
nrbin_,
RMin_,
RMax_));
314 hmgr->addHistoProf2(
new TProfile2D(
316 hmgr->addHistoProf2(
new TProfile2D(
318 hmgr->addHisto2(
new TH2F(
320 hmgr->addHistoProf2(
new TProfile2D(
322 hmgr->addHistoProf2(
new TProfile2D(
329 hmgr->addHistoProf2(
new TProfile2D(
"1330",
330 "MB prof Eta Phi [Aluminium];#eta;#varphi;x/X_{0}",
337 hmgr->addHistoProf1(
new TProfile(
"1340",
"MB prof R [Aluminium];R [mm];x/X_{0}",
nrbin_,
RMin_,
RMax_));
338 hmgr->addHistoProf2(
new TProfile2D(
340 hmgr->addHistoProf2(
new TProfile2D(
342 hmgr->addHisto2(
new TH2F(
344 hmgr->addHistoProf2(
new TProfile2D(
346 hmgr->addHistoProf2(
new TProfile2D(
353 hmgr->addHistoProf2(
new TProfile2D(
"1430",
354 "MB prof Eta Phi [Polystyrene];#eta;#varphi;x/X_{0}",
361 hmgr->addHistoProf1(
new TProfile(
"1440",
"MB prof R [Polystyrene];R [mm];x/X_{0}",
nrbin_,
RMin_,
RMax_));
362 hmgr->addHistoProf2(
new TProfile2D(
364 hmgr->addHistoProf2(
new TProfile2D(
366 hmgr->addHisto2(
new TH2F(
368 hmgr->addHistoProf2(
new TProfile2D(
370 hmgr->addHistoProf2(
new TProfile2D(
"1472",
371 "MB ortho prof local R z [Polystyrene];z [mm];R [mm];x/X_{0} ",
383 hmgr->addHistoProf2(
new TProfile2D(
"1530",
384 "MB prof Eta Phi [HGC_EEConnector];#eta;#varphi;x/X_{0}",
391 hmgr->addHistoProf1(
new TProfile(
"1540",
"MB prof R [HGC_EEConnector];R [mm];x/X_{0}",
nrbin_,
RMin_,
RMax_));
392 hmgr->addHistoProf2(
new TProfile2D(
394 hmgr->addHistoProf2(
new TProfile2D(
"1552",
395 "MB ortho prof sum R z [HGC_EEConnector];z [mm];R [mm];x/X_{0} ",
402 hmgr->addHisto2(
new TH2F(
404 hmgr->addHistoProf2(
new TProfile2D(
406 hmgr->addHistoProf2(
new TProfile2D(
"1572",
407 "MB ortho prof local R z [HGC_EEConnector];z [mm];R [mm];x/X_{0} ",
419 hmgr->addHistoProf2(
new TProfile2D(
"1630",
420 "MB prof Eta Phi [HGC_HEConnector];#eta;#varphi;x/X_{0}",
427 hmgr->addHistoProf1(
new TProfile(
"1640",
"MB prof R [HGC_HEConnector];R [mm];x/X_{0}",
nrbin_,
RMin_,
RMax_));
428 hmgr->addHistoProf2(
new TProfile2D(
430 hmgr->addHistoProf2(
new TProfile2D(
"1652",
431 "MB ortho prof sum R z [HGC_HEConnector];z [mm];R [mm];x/X_{0} ",
438 hmgr->addHisto2(
new TH2F(
440 hmgr->addHistoProf2(
new TProfile2D(
442 hmgr->addHistoProf2(
new TProfile2D(
"1672",
443 "MB ortho prof local R z [HGC_HEConnector];z [mm];R [mm];x/X_{0} ",
456 hmgr->addHistoProf2(
new TProfile2D(
"10030",
457 "IL prof Eta Phi;#eta;#varphi;#lambda/#lambda_{0} ",
466 hmgr->addHistoProf1(
new TProfile(
"10040",
"IL prof R;R [mm];#lambda/#lambda_{0} ",
nrbin_,
RMin_,
RMax_));
467 hmgr->addHistoProf2(
new TProfile2D(
469 hmgr->addHistoProf2(
new TProfile2D(
474 hmgr->addHistoProf2(
new TProfile2D(
476 hmgr->addHistoProf2(
new TProfile2D(
"10072",
477 "IL ortho prof local R z;z [mm];R [mm];#lambda/#lambda_{0} ",
489 new TProfile(
"10120",
"IL prof Phi [Copper];#varphi [rad];#lambda/#lambda_{0}",
nphibin_,
phiMin_,
phiMax_));
490 hmgr->addHistoProf2(
new TProfile2D(
"10130",
491 "IL prof Eta Phi [Copper];#eta;#varphi;#lambda/#lambda_{0}",
498 hmgr->addHistoProf1(
new TProfile(
"10140",
"IL prof R [Copper];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
499 hmgr->addHistoProf2(
new TProfile2D(
501 hmgr->addHistoProf2(
new TProfile2D(
503 hmgr->addHisto2(
new TH2F(
505 hmgr->addHistoProf2(
new TProfile2D(
507 hmgr->addHistoProf2(
new TProfile2D(
512 new TProfile(
"10210",
"IL prof Eta [Scintillator];#eta;#lambda/#lambda_{0}",
netabin_,
etaMin_,
etaMax_));
513 hmgr->addHistoProf1(
new TProfile(
515 hmgr->addHistoProf2(
new TProfile2D(
"10230",
516 "IL prof Eta Phi [Scintillator];#eta;#varphi;#lambda/#lambda_{0}",
524 new TProfile(
"10240",
"IL prof R [Scintillator];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
525 hmgr->addHistoProf2(
new TProfile2D(
527 hmgr->addHistoProf2(
new TProfile2D(
"10252",
528 "IL ortho prof sum R z [Scintillator];z [mm];R [mm];x/X_{0} ",
535 hmgr->addHisto2(
new TH2F(
537 hmgr->addHistoProf2(
new TProfile2D(
539 hmgr->addHistoProf2(
new TProfile2D(
"10272",
540 "IL ortho prof local R z [Scintillator];z [mm];R [mm];x/X_{0} ",
552 new TProfile(
"10320",
"IL prof Phi [Cables];#varphi [rad];#lambda/#lambda_{0}",
nphibin_,
phiMin_,
phiMax_));
553 hmgr->addHistoProf2(
new TProfile2D(
"10330",
554 "IL prof Eta Phi [Cables];#eta;#varphi;#lambda/#lambda_{0}",
561 hmgr->addHistoProf1(
new TProfile(
"10340",
"IL prof R [Cables];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
562 hmgr->addHistoProf2(
new TProfile2D(
564 hmgr->addHistoProf2(
new TProfile2D(
566 hmgr->addHisto2(
new TH2F(
568 hmgr->addHistoProf2(
new TProfile2D(
570 hmgr->addHistoProf2(
new TProfile2D(
577 new TProfile(
"10420",
"IL prof Phi [HGC_G10_FR4];#varphi [rad];#lambda/#lambda_{0}",
nphibin_,
phiMin_,
phiMax_));
578 hmgr->addHistoProf2(
new TProfile2D(
"10430",
579 "IL prof Eta Phi [HGC_G10_FR4];#eta;#varphi;#lambda/#lambda_{0}",
587 new TProfile(
"10440",
"IL prof R [HGC_G10_FR4];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
588 hmgr->addHistoProf2(
new TProfile2D(
590 hmgr->addHistoProf2(
new TProfile2D(
"10452",
591 "IL ortho prof sum R z [HGC_G10_FR4];z [mm];R [mm];x/X_{0} ",
598 hmgr->addHisto2(
new TH2F(
600 hmgr->addHistoProf2(
new TProfile2D(
602 hmgr->addHistoProf2(
new TProfile2D(
"10472",
603 "IL ortho prof local R z [HGC_G10_FR4];z [mm];R [mm];x/X_{0} ",
615 new TProfile(
"10520",
"IL prof Phi [Silicon];#varphi [rad];#lambda/#lambda_{0}",
nphibin_,
phiMin_,
phiMax_));
616 hmgr->addHistoProf2(
new TProfile2D(
"10530",
617 "IL prof Eta Phi [Silicon];#eta;#varphi;#lambda/#lambda_{0}",
624 hmgr->addHistoProf1(
new TProfile(
"10540",
"IL prof R [Silicon];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
625 hmgr->addHistoProf2(
new TProfile2D(
627 hmgr->addHistoProf2(
new TProfile2D(
629 hmgr->addHisto2(
new TH2F(
631 hmgr->addHistoProf2(
new TProfile2D(
633 hmgr->addHistoProf2(
new TProfile2D(
640 new TProfile(
"10620",
"IL prof Phi [Other];#varphi [rad];#lambda/#lambda_{0}",
nphibin_,
phiMin_,
phiMax_));
641 hmgr->addHistoProf2(
new TProfile2D(
"10630",
642 "IL prof Eta Phi [Other];#eta;#varphi;#lambda/#lambda_{0}",
649 hmgr->addHistoProf1(
new TProfile(
"10640",
"IL prof R [Other];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
650 hmgr->addHistoProf2(
new TProfile2D(
652 hmgr->addHistoProf2(
new TProfile2D(
654 hmgr->addHisto2(
new TH2F(
656 hmgr->addHistoProf2(
new TProfile2D(
658 hmgr->addHistoProf2(
new TProfile2D(
664 new TProfile(
"10720",
"IL prof Phi [Air];#varphi [rad];#lambda/#lambda_{0}",
nphibin_,
phiMin_,
phiMax_));
665 hmgr->addHistoProf2(
new TProfile2D(
"10730",
666 "IL prof Eta Phi [Air];#eta;#varphi;#lambda/#lambda_{0}",
673 hmgr->addHistoProf1(
new TProfile(
"10740",
"IL prof R [Air];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
674 hmgr->addHistoProf2(
new TProfile2D(
676 hmgr->addHistoProf2(
new TProfile2D(
680 hmgr->addHistoProf2(
new TProfile2D(
682 hmgr->addHistoProf2(
new TProfile2D(
687 new TProfile(
"10810",
"IL prof Eta [StainlessSteel];#eta;#lambda/#lambda_{0}",
netabin_,
etaMin_,
etaMax_));
688 hmgr->addHistoProf1(
new TProfile(
690 hmgr->addHistoProf2(
new TProfile2D(
"10830",
691 "IL prof Eta Phi [StainlessSteel];#eta;#varphi;#lambda/#lambda_{0}",
699 new TProfile(
"10840",
"IL prof R [StainlessSteel];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
700 hmgr->addHistoProf2(
new TProfile2D(
702 hmgr->addHistoProf2(
new TProfile2D(
"10852",
703 "IL ortho prof sum R z [StainlessSteel];z [mm];R [mm];x/X_{0} ",
710 hmgr->addHisto2(
new TH2F(
712 hmgr->addHistoProf2(
new TProfile2D(
714 hmgr->addHistoProf2(
new TProfile2D(
"10872",
715 "IL ortho prof local R z [StainlessSteel];z [mm];R [mm];x/X_{0} ",
726 new TProfile(
"10920",
"IL prof Phi [WCu];#varphi [rad];#lambda/#lambda_{0}",
nphibin_,
phiMin_,
phiMax_));
727 hmgr->addHistoProf2(
new TProfile2D(
"10930",
728 "IL prof Eta Phi [WCu];#eta;#varphi;#lambda/#lambda_{0}",
735 hmgr->addHistoProf1(
new TProfile(
"10940",
"IL prof R [WCu];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
736 hmgr->addHistoProf2(
new TProfile2D(
738 hmgr->addHistoProf2(
new TProfile2D(
742 hmgr->addHistoProf2(
new TProfile2D(
744 hmgr->addHistoProf2(
new TProfile2D(
750 new TProfile(
"11020",
"IL prof Phi [Lead];#varphi [rad];#lambda/#lambda_{0}",
nphibin_,
phiMin_,
phiMax_));
751 hmgr->addHistoProf2(
new TProfile2D(
"11030",
752 "IL prof Eta Phi [Lead];#eta;#varphi;#lambda/#lambda_{0}",
759 hmgr->addHistoProf1(
new TProfile(
"11040",
"IL prof R [Lead];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
760 hmgr->addHistoProf2(
new TProfile2D(
762 hmgr->addHistoProf2(
new TProfile2D(
764 hmgr->addHisto2(
new TH2F(
766 hmgr->addHistoProf2(
new TProfile2D(
768 hmgr->addHistoProf2(
new TProfile2D(
775 new TProfile(
"11120",
"IL prof Phi [Epoxy];#varphi [rad];#lambda/#lambda_{0}",
nphibin_,
phiMin_,
phiMax_));
776 hmgr->addHistoProf2(
new TProfile2D(
"11130",
777 "IL prof Eta Phi [Epoxy];#eta;#varphi;#lambda/#lambda_{0}",
784 hmgr->addHistoProf1(
new TProfile(
"11140",
"IL prof R [Epoxy];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
785 hmgr->addHistoProf2(
new TProfile2D(
787 hmgr->addHistoProf2(
new TProfile2D(
789 hmgr->addHisto2(
new TH2F(
791 hmgr->addHistoProf2(
new TProfile2D(
793 hmgr->addHistoProf2(
new TProfile2D(
800 new TProfile(
"11220",
"IL prof Phi [Kapton];#varphi [rad];#lambda/#lambda_{0}",
nphibin_,
phiMin_,
phiMax_));
801 hmgr->addHistoProf2(
new TProfile2D(
"11230",
802 "IL prof Eta Phi [Kapton];#eta;#varphi;#lambda/#lambda_{0}",
809 hmgr->addHistoProf1(
new TProfile(
"11240",
"IL prof R [Kapton];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
810 hmgr->addHistoProf2(
new TProfile2D(
812 hmgr->addHistoProf2(
new TProfile2D(
814 hmgr->addHisto2(
new TH2F(
816 hmgr->addHistoProf2(
new TProfile2D(
818 hmgr->addHistoProf2(
new TProfile2D(
825 new TProfile(
"11320",
"IL prof Phi [Aluminium];#varphi [rad];#lambda/#lambda_{0}",
nphibin_,
phiMin_,
phiMax_));
826 hmgr->addHistoProf2(
new TProfile2D(
"11330",
827 "IL prof Eta Phi [Aluminium];#eta;#varphi;#lambda/#lambda_{0}",
834 hmgr->addHistoProf1(
new TProfile(
"11340",
"IL prof R [Aluminium];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
835 hmgr->addHistoProf2(
new TProfile2D(
837 hmgr->addHistoProf2(
new TProfile2D(
839 hmgr->addHisto2(
new TH2F(
841 hmgr->addHistoProf2(
new TProfile2D(
843 hmgr->addHistoProf2(
new TProfile2D(
"11372",
844 "IL ortho prof local R z [Aluminium];z [mm];R [mm];x/X_{0} ",
856 new TProfile(
"11420",
"IL prof Phi [Polystyrene];#varphi [rad];#lambda/#lambda_{0}",
nphibin_,
phiMin_,
phiMax_));
857 hmgr->addHistoProf2(
new TProfile2D(
"11430",
858 "IL prof Eta Phi [Polystyrene];#eta;#varphi;#lambda/#lambda_{0}",
866 new TProfile(
"11440",
"IL prof R [Polystyrene];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
867 hmgr->addHistoProf2(
new TProfile2D(
869 hmgr->addHistoProf2(
new TProfile2D(
"11452",
870 "IL ortho prof sum R z [Polystyrene];z [mm];R [mm];x/X_{0} ",
877 hmgr->addHisto2(
new TH2F(
879 hmgr->addHistoProf2(
new TProfile2D(
881 hmgr->addHistoProf2(
new TProfile2D(
"11472",
882 "IL ortho prof local R z [Polystyrene];z [mm];R [mm];x/X_{0} ",
892 new TProfile(
"11510",
"IL prof Eta [HGC_EEConnector];#eta;#lambda/#lambda_{0}",
netabin_,
etaMin_,
etaMax_));
893 hmgr->addHistoProf1(
new TProfile(
895 hmgr->addHistoProf2(
new TProfile2D(
"11530",
896 "IL prof Eta Phi [HGC_EEConnector];#eta;#varphi;#lambda/#lambda_{0}",
904 new TProfile(
"11540",
"IL prof R [HGC_EEConnector];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
905 hmgr->addHistoProf2(
new TProfile2D(
907 hmgr->addHistoProf2(
new TProfile2D(
"11552",
908 "IL ortho prof sum R z [HGC_EEConnector];z [mm];R [mm];x/X_{0} ",
915 hmgr->addHisto2(
new TH2F(
"11560",
916 "IL prof local R z [HGC_EEConnector];z [mm];R [mm];x/X_{0} ",
923 hmgr->addHistoProf2(
new TProfile2D(
"11570",
924 "IL prof local R z [HGC_EEConnector];z [mm];R [mm];x/X_{0} ",
931 hmgr->addHistoProf2(
new TProfile2D(
"11572",
932 "IL ortho prof local R z [HGC_EEConnector];z [mm];R [mm];x/X_{0} ",
942 new TProfile(
"11610",
"IL prof Eta [HGC_HEConnector];#eta;#lambda/#lambda_{0}",
netabin_,
etaMin_,
etaMax_));
943 hmgr->addHistoProf1(
new TProfile(
945 hmgr->addHistoProf2(
new TProfile2D(
"11630",
946 "IL prof Eta Phi [HGC_HEConnector];#eta;#varphi;#lambda/#lambda_{0}",
954 new TProfile(
"11640",
"IL prof R [HGC_HEConnector];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
955 hmgr->addHistoProf2(
new TProfile2D(
957 hmgr->addHistoProf2(
new TProfile2D(
"11652",
958 "IL ortho prof sum R z [HGC_HEConnector];z [mm];R [mm];x/X_{0} ",
965 hmgr->addHisto2(
new TH2F(
"11660",
966 "IL prof local R z [HGC_HEConnector];z [mm];R [mm];x/X_{0} ",
973 hmgr->addHistoProf2(
new TProfile2D(
"11670",
974 "IL prof local R z [HGC_HEConnector];z [mm];R [mm];x/X_{0} ",
981 hmgr->addHistoProf2(
new TProfile2D(
"11672",
982 "IL ortho prof local R z [HGC_HEConnector];z [mm];R [mm];x/X_{0} ",
990 std::cout <<
"=== booking user histos done ===" << std::endl;
1002 if (
theData->getNumberOfSteps() != 0) {
1098 float theTotalMB_TOT = 0.0;
1099 float theTotalMB_COP = 0.0;
1100 float theTotalMB_SCI = 0.0;
1101 float theTotalMB_CAB = 0.0;
1102 float theTotalMB_HGF = 0.0;
1103 float theTotalMB_NIM = 0.0;
1104 float theTotalMB_OTH = 0.0;
1105 float theTotalMB_AIR = 0.0;
1106 float theTotalMB_SST = 0.0;
1107 float theTotalMB_WCU = 0.0;
1108 float theTotalMB_LEA = 0.0;
1109 float theTotalMB_EPX = 0.0;
1110 float theTotalMB_KAP = 0.0;
1111 float theTotalMB_ALU = 0.0;
1112 float theTotalMB_POL = 0.0;
1113 float theTotalMB_EEC = 0.0;
1114 float theTotalMB_HEC = 0.0;
1115 for (
int iStep = 0; iStep <
theData->getNumberOfSteps(); iStep++) {
1116 theTotalMB_TOT +=
theData->getStepDmb(iStep);
1117 theTotalMB_COP +=
theData->getCopperDmb(iStep);
1118 theTotalMB_SCI +=
theData->getH_ScintillatorDmb(iStep);
1119 theTotalMB_CAB +=
theData->getCablesDmb(iStep);
1120 theTotalMB_HGF +=
theData->getHGC_G10_FR4Dmb(iStep);
1121 theTotalMB_NIM +=
theData->getSiliconDmb(iStep);
1122 theTotalMB_OTH +=
theData->getOtherDmb(iStep);
1123 theTotalMB_AIR +=
theData->getAirDmb(iStep);
1124 theTotalMB_SST +=
theData->getStainlessSteelDmb(iStep);
1125 theTotalMB_WCU +=
theData->getWCuDmb(iStep);
1126 theTotalMB_LEA +=
theData->getLeadDmb(iStep);
1127 theTotalMB_EPX +=
theData->getEpoxyDmb(iStep);
1128 theTotalMB_KAP +=
theData->getKaptonDmb(iStep);
1129 theTotalMB_ALU +=
theData->getAluminiumDmb(iStep);
1130 theTotalMB_POL +=
theData->getPolystyreneDmb(iStep);
1131 theTotalMB_EEC +=
theData->getHGC_EEConnectorDmb(iStep);
1132 theTotalMB_HEC +=
theData->getHGC_HEConnectorDmb(iStep);
1150 if (
theData->getCopperDmb(iStep) > 0.) {
1153 if (
theData->getH_ScintillatorDmb(iStep) > 0.) {
1156 if (
theData->getCablesDmb(iStep) > 0.) {
1159 if (
theData->getHGC_G10_FR4Dmb(iStep) > 0.) {
1162 if (
theData->getSiliconDmb(iStep) > 0.) {
1165 if (
theData->getOtherDmb(iStep) > 0.) {
1168 if (
theData->getAirDmb(iStep) > 0.) {
1171 if (
theData->getStainlessSteelDmb(iStep) > 0.) {
1174 if (
theData->getWCuDmb(iStep) > 0.) {
1177 if (
theData->getLeadDmb(iStep) > 0.) {
1180 if (
theData->getEpoxyDmb(iStep) > 0.) {
1183 if (
theData->getKaptonDmb(iStep) > 0.) {
1186 if (
theData->getAluminiumDmb(iStep) > 0.) {
1189 if (
theData->getPolystyreneDmb(iStep) > 0.) {
1192 if (
theData->getHGC_EEConnectorDmb(iStep) > 0.) {
1195 if (
theData->getHGC_HEConnectorDmb(iStep) > 0.) {
1201 float deltaz =
theData->getStepFinalZ(iStep) -
theData->getStepInitialZ(iStep);
1203 float deltaeta =
theData->getStepFinalEta(iStep) -
theData->getStepInitialEta(iStep);
1207 float x0 =
theData->getStepMaterialX0(iStep);
1210 float boxWidth = 0.1;
1211 if ((deltaRadius > boxWidth) || (fabs(deltaz) > boxWidth)) {
1212 nSubStep =
static_cast<int>(
max(
ceil(deltaRadius / boxWidth / 2.) * 2,
ceil(fabs(deltaz) / boxWidth / 2.) * 2));
1215 for (
int iSubStep = 1; iSubStep < nSubStep; iSubStep += 2) {
1216 float subdeltaRadius = deltaRadius / nSubStep;
1218 iSubStep * subdeltaRadius;
1220 float subdeltaz = deltaz / nSubStep;
1221 float z =
theData->getStepInitialZ(iStep) + iSubStep * subdeltaz;
1223 float subdeltaeta = deltaeta / nSubStep;
1224 float eta =
theData->getStepInitialEta(iStep) + iSubStep * subdeltaeta;
1229 float subdelta =
sqrt(
pow(subdeltaRadius, 2) +
pow(subdeltaz, 2));
1231 float fillValue = subdelta / x0;
1233 float costhetacorrection =
cos(2 * atan(
exp(-fabs(
eta))));
1235 hmgr->getHisto2(999)->Fill(
z, polarRadius, subdelta);
1237 hmgr->getHisto1(41)->Fill(polarRadius);
1238 hmgr->getHistoProf1(40)->Fill(polarRadius, theTotalMB_TOT);
1239 hmgr->getHisto2(51)->Fill(
z, polarRadius);
1240 hmgr->getHistoProf2(50)->Fill(
z, polarRadius, theTotalMB_TOT);
1241 hmgr->getHistoProf2(52)->Fill(
z, polarRadius, theTotalMB_TOT * costhetacorrection);
1242 hmgr->getHisto2(60)->Fill(
z, polarRadius, fillValue);
1243 hmgr->getHistoProf2(70)->Fill(
z, polarRadius, fillValue);
1244 hmgr->getHistoProf2(72)->Fill(
z, polarRadius, fillValue * costhetacorrection);
1247 hmgr->getHistoProf1(140)->Fill(polarRadius, theTotalMB_COP);
1248 hmgr->getHistoProf2(150)->Fill(
z, polarRadius, theTotalMB_COP);
1249 hmgr->getHistoProf2(152)->Fill(
z, polarRadius, theTotalMB_COP * costhetacorrection);
1250 hmgr->getHisto2(160)->Fill(
z, polarRadius, iCop * fillValue);
1251 hmgr->getHistoProf2(170)->Fill(
z, polarRadius, iCop * fillValue);
1252 hmgr->getHistoProf2(172)->Fill(
z, polarRadius, iCop * fillValue * costhetacorrection);
1255 hmgr->getHistoProf1(240)->Fill(polarRadius, theTotalMB_SCI);
1256 hmgr->getHistoProf2(250)->Fill(
z, polarRadius, theTotalMB_SCI);
1257 hmgr->getHistoProf2(252)->Fill(
z, polarRadius, theTotalMB_SCI * costhetacorrection);
1258 hmgr->getHisto2(260)->Fill(
z, polarRadius, iSci * fillValue);
1259 hmgr->getHistoProf2(270)->Fill(
z, polarRadius, iSci * fillValue);
1260 hmgr->getHistoProf2(272)->Fill(
z, polarRadius, iSci * fillValue * costhetacorrection);
1263 hmgr->getHistoProf1(340)->Fill(polarRadius, theTotalMB_CAB);
1264 hmgr->getHistoProf2(350)->Fill(
z, polarRadius, theTotalMB_CAB);
1265 hmgr->getHistoProf2(352)->Fill(
z, polarRadius, theTotalMB_CAB * costhetacorrection);
1266 hmgr->getHisto2(360)->Fill(
z, polarRadius, iCab * fillValue);
1267 hmgr->getHistoProf2(370)->Fill(
z, polarRadius, iCab * fillValue);
1268 hmgr->getHistoProf2(372)->Fill(
z, polarRadius, iCab * fillValue * costhetacorrection);
1271 hmgr->getHistoProf1(440)->Fill(polarRadius, theTotalMB_HGF);
1272 hmgr->getHistoProf2(450)->Fill(
z, polarRadius, theTotalMB_HGF);
1273 hmgr->getHistoProf2(452)->Fill(
z, polarRadius, theTotalMB_HGF * costhetacorrection);
1274 hmgr->getHisto2(460)->Fill(
z, polarRadius, iHgf * fillValue);
1275 hmgr->getHistoProf2(470)->Fill(
z, polarRadius, iHgf * fillValue);
1276 hmgr->getHistoProf2(472)->Fill(
z, polarRadius, iHgf * fillValue * costhetacorrection);
1279 hmgr->getHistoProf1(540)->Fill(polarRadius, theTotalMB_NIM);
1280 hmgr->getHistoProf2(550)->Fill(
z, polarRadius, theTotalMB_NIM);
1281 hmgr->getHistoProf2(552)->Fill(
z, polarRadius, theTotalMB_NIM * costhetacorrection);
1282 hmgr->getHisto2(560)->Fill(
z, polarRadius, iSil * fillValue);
1283 hmgr->getHistoProf2(570)->Fill(
z, polarRadius, iSil * fillValue);
1284 hmgr->getHistoProf2(572)->Fill(
z, polarRadius, iSil * fillValue * costhetacorrection);
1287 hmgr->getHistoProf1(640)->Fill(polarRadius, theTotalMB_OTH);
1288 hmgr->getHistoProf2(650)->Fill(
z, polarRadius, theTotalMB_OTH);
1289 hmgr->getHistoProf2(652)->Fill(
z, polarRadius, theTotalMB_OTH * costhetacorrection);
1290 hmgr->getHisto2(660)->Fill(
z, polarRadius, iOth * fillValue);
1291 hmgr->getHistoProf2(670)->Fill(
z, polarRadius, iOth * fillValue);
1292 hmgr->getHistoProf2(672)->Fill(
z, polarRadius, iOth * fillValue * costhetacorrection);
1295 hmgr->getHistoProf1(740)->Fill(polarRadius, theTotalMB_AIR);
1296 hmgr->getHistoProf2(750)->Fill(
z, polarRadius, theTotalMB_AIR);
1297 hmgr->getHistoProf2(752)->Fill(
z, polarRadius, theTotalMB_AIR * costhetacorrection);
1298 hmgr->getHisto2(760)->Fill(
z, polarRadius, iAir * fillValue);
1299 hmgr->getHistoProf2(770)->Fill(
z, polarRadius, iAir * fillValue);
1300 hmgr->getHistoProf2(772)->Fill(
z, polarRadius, iAir * fillValue * costhetacorrection);
1303 hmgr->getHistoProf1(840)->Fill(polarRadius, theTotalMB_SST);
1304 hmgr->getHistoProf2(850)->Fill(
z, polarRadius, theTotalMB_SST);
1305 hmgr->getHistoProf2(852)->Fill(
z, polarRadius, theTotalMB_SST * costhetacorrection);
1306 hmgr->getHisto2(860)->Fill(
z, polarRadius, iSst * fillValue);
1307 hmgr->getHistoProf2(870)->Fill(
z, polarRadius, iSst * fillValue);
1308 hmgr->getHistoProf2(872)->Fill(
z, polarRadius, iSst * fillValue * costhetacorrection);
1311 hmgr->getHistoProf1(940)->Fill(polarRadius, theTotalMB_WCU);
1312 hmgr->getHistoProf2(950)->Fill(
z, polarRadius, theTotalMB_WCU);
1313 hmgr->getHistoProf2(952)->Fill(
z, polarRadius, theTotalMB_WCU * costhetacorrection);
1314 hmgr->getHisto2(960)->Fill(
z, polarRadius, iWcu * fillValue);
1315 hmgr->getHistoProf2(970)->Fill(
z, polarRadius, iWcu * fillValue);
1316 hmgr->getHistoProf2(972)->Fill(
z, polarRadius, iWcu * fillValue * costhetacorrection);
1319 hmgr->getHistoProf1(1040)->Fill(polarRadius, theTotalMB_LEA);
1320 hmgr->getHistoProf2(1050)->Fill(
z, polarRadius, theTotalMB_LEA);
1321 hmgr->getHistoProf2(1052)->Fill(
z, polarRadius, theTotalMB_LEA * costhetacorrection);
1322 hmgr->getHisto2(1060)->Fill(
z, polarRadius, iLea * fillValue);
1323 hmgr->getHistoProf2(1070)->Fill(
z, polarRadius, iLea * fillValue);
1324 hmgr->getHistoProf2(1072)->Fill(
z, polarRadius, iLea * fillValue * costhetacorrection);
1327 hmgr->getHistoProf1(1140)->Fill(polarRadius, theTotalMB_EPX);
1328 hmgr->getHistoProf2(1150)->Fill(
z, polarRadius, theTotalMB_EPX);
1329 hmgr->getHistoProf2(1152)->Fill(
z, polarRadius, theTotalMB_EPX * costhetacorrection);
1330 hmgr->getHisto2(1160)->Fill(
z, polarRadius, iEpx * fillValue);
1331 hmgr->getHistoProf2(1170)->Fill(
z, polarRadius, iEpx * fillValue);
1332 hmgr->getHistoProf2(1172)->Fill(
z, polarRadius, iEpx * fillValue * costhetacorrection);
1335 hmgr->getHistoProf1(1240)->Fill(polarRadius, theTotalMB_KAP);
1336 hmgr->getHistoProf2(1250)->Fill(
z, polarRadius, theTotalMB_KAP);
1337 hmgr->getHistoProf2(1252)->Fill(
z, polarRadius, theTotalMB_KAP * costhetacorrection);
1338 hmgr->getHisto2(1260)->Fill(
z, polarRadius, iKap * fillValue);
1339 hmgr->getHistoProf2(1270)->Fill(
z, polarRadius, iKap * fillValue);
1340 hmgr->getHistoProf2(1272)->Fill(
z, polarRadius, iKap * fillValue * costhetacorrection);
1343 hmgr->getHistoProf1(1340)->Fill(polarRadius, theTotalMB_ALU);
1344 hmgr->getHistoProf2(1350)->Fill(
z, polarRadius, theTotalMB_ALU);
1345 hmgr->getHistoProf2(1352)->Fill(
z, polarRadius, theTotalMB_ALU * costhetacorrection);
1346 hmgr->getHisto2(1360)->Fill(
z, polarRadius, iAlu * fillValue);
1347 hmgr->getHistoProf2(1370)->Fill(
z, polarRadius, iAlu * fillValue);
1348 hmgr->getHistoProf2(1372)->Fill(
z, polarRadius, iAlu * fillValue * costhetacorrection);
1351 hmgr->getHistoProf1(1440)->Fill(polarRadius, theTotalMB_POL);
1352 hmgr->getHistoProf2(1450)->Fill(
z, polarRadius, theTotalMB_POL);
1353 hmgr->getHistoProf2(1452)->Fill(
z, polarRadius, theTotalMB_POL * costhetacorrection);
1354 hmgr->getHisto2(1460)->Fill(
z, polarRadius, iPol * fillValue);
1355 hmgr->getHistoProf2(1470)->Fill(
z, polarRadius, iPol * fillValue);
1356 hmgr->getHistoProf2(1472)->Fill(
z, polarRadius, iPol * fillValue * costhetacorrection);
1359 hmgr->getHistoProf1(1540)->Fill(polarRadius, theTotalMB_EEC);
1360 hmgr->getHistoProf2(1550)->Fill(
z, polarRadius, theTotalMB_EEC);
1361 hmgr->getHistoProf2(1552)->Fill(
z, polarRadius, theTotalMB_EEC * costhetacorrection);
1362 hmgr->getHisto2(1560)->Fill(
z, polarRadius, iEec * fillValue);
1363 hmgr->getHistoProf2(1570)->Fill(
z, polarRadius, iEec * fillValue);
1364 hmgr->getHistoProf2(1572)->Fill(
z, polarRadius, iEec * fillValue * costhetacorrection);
1367 hmgr->getHistoProf1(1640)->Fill(polarRadius, theTotalMB_HEC);
1368 hmgr->getHistoProf2(1650)->Fill(
z, polarRadius, theTotalMB_HEC);
1369 hmgr->getHistoProf2(1652)->Fill(
z, polarRadius, theTotalMB_HEC * costhetacorrection);
1370 hmgr->getHisto2(1660)->Fill(
z, polarRadius, iHec * fillValue);
1371 hmgr->getHistoProf2(1670)->Fill(
z, polarRadius, iHec * fillValue);
1372 hmgr->getHistoProf2(1672)->Fill(
z, polarRadius, iHec * fillValue * costhetacorrection);
1453 hmgr->getHistoProf1(11510)->Fill(
theData->getEta(),
theData->getHGC_EEConnectorIL());
1454 hmgr->getHistoProf1(11520)->Fill(
theData->getPhi(),
theData->getHGC_EEConnectorIL());
1458 hmgr->getHistoProf1(11610)->Fill(
theData->getEta(),
theData->getHGC_HEConnectorIL());
1459 hmgr->getHistoProf1(11620)->Fill(
theData->getPhi(),
theData->getHGC_HEConnectorIL());
1463 float theTotalIL_TOT = 0.0;
1464 float theTotalIL_COP = 0.0;
1465 float theTotalIL_SCI = 0.0;
1466 float theTotalIL_CAB = 0.0;
1467 float theTotalIL_HGF = 0.0;
1468 float theTotalIL_NIM = 0.0;
1469 float theTotalIL_OTH = 0.0;
1470 float theTotalIL_AIR = 0.0;
1471 float theTotalIL_SST = 0.0;
1472 float theTotalIL_WCU = 0.0;
1473 float theTotalIL_LEA = 0.0;
1474 float theTotalIL_EPX = 0.0;
1475 float theTotalIL_KAP = 0.0;
1476 float theTotalIL_ALU = 0.0;
1477 float theTotalIL_POL = 0.0;
1478 float theTotalIL_EEC = 0.0;
1479 float theTotalIL_HEC = 0.0;
1480 for (
int iStep = 0; iStep <
theData->getNumberOfSteps(); iStep++) {
1481 theTotalIL_TOT +=
theData->getStepDil(iStep);
1482 theTotalIL_COP +=
theData->getCopperDil(iStep);
1483 theTotalIL_SCI +=
theData->getH_ScintillatorDil(iStep);
1484 theTotalIL_CAB +=
theData->getCablesDil(iStep);
1485 theTotalIL_HGF +=
theData->getHGC_G10_FR4Dil(iStep);
1486 theTotalIL_NIM +=
theData->getSiliconDil(iStep);
1487 theTotalIL_OTH +=
theData->getOtherDil(iStep);
1488 theTotalIL_AIR +=
theData->getAirDil(iStep);
1489 theTotalIL_SST +=
theData->getStainlessSteelDil(iStep);
1490 theTotalIL_WCU +=
theData->getWCuDil(iStep);
1491 theTotalIL_LEA +=
theData->getLeadDil(iStep);
1492 theTotalIL_EPX +=
theData->getEpoxyDil(iStep);
1493 theTotalIL_KAP +=
theData->getKaptonDil(iStep);
1494 theTotalIL_ALU +=
theData->getAluminiumDil(iStep);
1495 theTotalIL_POL +=
theData->getPolystyreneDil(iStep);
1496 theTotalIL_EEC +=
theData->getHGC_EEConnectorDil(iStep);
1497 theTotalIL_HEC +=
theData->getHGC_HEConnectorDil(iStep);
1516 if (
theData->getCopperDil(iStep) > 0.) {
1519 if (
theData->getH_ScintillatorDil(iStep) > 0.) {
1522 if (
theData->getCablesDil(iStep) > 0.) {
1525 if (
theData->getHGC_G10_FR4Dil(iStep) > 0.) {
1528 if (
theData->getSiliconDil(iStep) > 0.) {
1531 if (
theData->getOtherDil(iStep) > 0.) {
1534 if (
theData->getAirDil(iStep) > 0.) {
1537 if (
theData->getStainlessSteelDil(iStep) > 0.) {
1540 if (
theData->getWCuDil(iStep) > 0.) {
1543 if (
theData->getLeadDil(iStep) > 0.) {
1546 if (
theData->getEpoxyDil(iStep) > 0.) {
1549 if (
theData->getKaptonDil(iStep) > 0.) {
1552 if (
theData->getAluminiumDil(iStep) > 0.) {
1555 if (
theData->getPolystyreneDil(iStep) > 0.) {
1558 if (
theData->getHGC_EEConnectorDil(iStep) > 0.) {
1561 if (
theData->getHGC_HEConnectorDil(iStep) > 0.) {
1567 float deltaz =
theData->getStepFinalZ(iStep) -
theData->getStepInitialZ(iStep);
1569 float deltaeta =
theData->getStepFinalEta(iStep) -
theData->getStepInitialEta(iStep);
1573 float il =
theData->getStepMaterialLambda0(iStep);
1576 float boxWidth = 0.1;
1577 if ((deltaRadius > boxWidth) || (fabs(deltaz) > boxWidth)) {
1578 nSubStep =
static_cast<int>(
max(
ceil(deltaRadius / boxWidth / 2.) * 2,
ceil(fabs(deltaz) / boxWidth / 2.) * 2));
1581 for (
int iSubStep = 1; iSubStep < nSubStep; iSubStep += 2) {
1582 float subdeltaRadius = deltaRadius / nSubStep;
1584 iSubStep * subdeltaRadius;
1586 float subdeltaz = deltaz / nSubStep;
1587 float z =
theData->getStepInitialZ(iStep) + iSubStep * subdeltaz;
1589 float subdeltaeta = deltaeta / nSubStep;
1590 float eta =
theData->getStepInitialEta(iStep) + iSubStep * subdeltaeta;
1595 float subdelta =
sqrt(
pow(subdeltaRadius, 2) +
pow(subdeltaz, 2));
1597 float fillValue = subdelta / il;
1599 float costhetacorrection =
cos(2 * atan(
exp(-fabs(
eta))));
1601 hmgr->getHisto2(1999)->Fill(
z, polarRadius, subdelta);
1603 hmgr->getHistoProf1(10040)->Fill(polarRadius, theTotalIL_TOT);
1604 hmgr->getHistoProf2(10050)->Fill(
z, polarRadius, theTotalIL_TOT);
1605 hmgr->getHistoProf2(10052)->Fill(
z, polarRadius, theTotalIL_TOT * costhetacorrection);
1606 hmgr->getHisto2(10060)->Fill(
z, polarRadius, fillValue);
1607 hmgr->getHistoProf2(10070)->Fill(
z, polarRadius, fillValue);
1608 hmgr->getHistoProf2(10072)->Fill(
z, polarRadius, fillValue * costhetacorrection);
1611 hmgr->getHistoProf1(10140)->Fill(polarRadius, theTotalIL_COP);
1612 hmgr->getHistoProf2(10150)->Fill(
z, polarRadius, theTotalIL_COP);
1613 hmgr->getHistoProf2(10152)->Fill(
z, polarRadius, theTotalIL_COP * costhetacorrection);
1614 hmgr->getHisto2(10160)->Fill(
z, polarRadius, iCop * fillValue);
1615 hmgr->getHistoProf2(10170)->Fill(
z, polarRadius, iCop * fillValue);
1616 hmgr->getHistoProf2(10172)->Fill(
z, polarRadius, iCop * fillValue * costhetacorrection);
1619 hmgr->getHistoProf1(10240)->Fill(polarRadius, theTotalIL_SCI);
1620 hmgr->getHistoProf2(10250)->Fill(
z, polarRadius, theTotalIL_SCI);
1621 hmgr->getHistoProf2(10252)->Fill(
z, polarRadius, theTotalIL_SCI * costhetacorrection);
1622 hmgr->getHisto2(10260)->Fill(
z, polarRadius, iSci * fillValue);
1623 hmgr->getHistoProf2(10270)->Fill(
z, polarRadius, iSci * fillValue);
1624 hmgr->getHistoProf2(10272)->Fill(
z, polarRadius, iSci * fillValue * costhetacorrection);
1627 hmgr->getHistoProf1(10340)->Fill(polarRadius, theTotalIL_CAB);
1628 hmgr->getHistoProf2(10350)->Fill(
z, polarRadius, theTotalIL_CAB);
1629 hmgr->getHistoProf2(10352)->Fill(
z, polarRadius, theTotalIL_CAB * costhetacorrection);
1630 hmgr->getHisto2(10360)->Fill(
z, polarRadius, iCab * fillValue);
1631 hmgr->getHistoProf2(10370)->Fill(
z, polarRadius, iCab * fillValue);
1632 hmgr->getHistoProf2(10372)->Fill(
z, polarRadius, iCab * fillValue * costhetacorrection);
1635 hmgr->getHistoProf1(10440)->Fill(polarRadius, theTotalIL_HGF);
1636 hmgr->getHistoProf2(10450)->Fill(
z, polarRadius, theTotalIL_HGF);
1637 hmgr->getHistoProf2(10452)->Fill(
z, polarRadius, theTotalIL_HGF * costhetacorrection);
1638 hmgr->getHisto2(10460)->Fill(
z, polarRadius, iHgf * fillValue);
1639 hmgr->getHistoProf2(10470)->Fill(
z, polarRadius, iHgf * fillValue);
1640 hmgr->getHistoProf2(10472)->Fill(
z, polarRadius, iHgf * fillValue * costhetacorrection);
1643 hmgr->getHistoProf1(10540)->Fill(polarRadius, theTotalIL_NIM);
1644 hmgr->getHistoProf2(10550)->Fill(
z, polarRadius, theTotalIL_NIM);
1645 hmgr->getHistoProf2(10552)->Fill(
z, polarRadius, theTotalIL_NIM * costhetacorrection);
1646 hmgr->getHisto2(10560)->Fill(
z, polarRadius, iSil * fillValue);
1647 hmgr->getHistoProf2(10570)->Fill(
z, polarRadius, iSil * fillValue);
1648 hmgr->getHistoProf2(10572)->Fill(
z, polarRadius, iSil * fillValue * costhetacorrection);
1651 hmgr->getHistoProf1(10640)->Fill(polarRadius, theTotalIL_OTH);
1652 hmgr->getHistoProf2(10650)->Fill(
z, polarRadius, theTotalIL_OTH);
1653 hmgr->getHistoProf2(10652)->Fill(
z, polarRadius, theTotalIL_OTH * costhetacorrection);
1654 hmgr->getHisto2(10660)->Fill(
z, polarRadius, iOth * fillValue);
1655 hmgr->getHistoProf2(10670)->Fill(
z, polarRadius, iOth * fillValue);
1656 hmgr->getHistoProf2(10672)->Fill(
z, polarRadius, iOth * fillValue * costhetacorrection);
1659 hmgr->getHistoProf1(10740)->Fill(polarRadius, theTotalIL_AIR);
1660 hmgr->getHistoProf2(10750)->Fill(
z, polarRadius, theTotalIL_AIR);
1661 hmgr->getHistoProf2(10752)->Fill(
z, polarRadius, theTotalIL_AIR * costhetacorrection);
1662 hmgr->getHisto2(10760)->Fill(
z, polarRadius, iAir * fillValue);
1663 hmgr->getHistoProf2(10770)->Fill(
z, polarRadius, iAir * fillValue);
1664 hmgr->getHistoProf2(10772)->Fill(
z, polarRadius, iAir * fillValue * costhetacorrection);
1667 hmgr->getHistoProf1(10840)->Fill(polarRadius, theTotalIL_SST);
1668 hmgr->getHistoProf2(10850)->Fill(
z, polarRadius, theTotalIL_SST);
1669 hmgr->getHistoProf2(10852)->Fill(
z, polarRadius, theTotalIL_SST * costhetacorrection);
1670 hmgr->getHisto2(10860)->Fill(
z, polarRadius, iSst * fillValue);
1671 hmgr->getHistoProf2(10870)->Fill(
z, polarRadius, iSst * fillValue);
1672 hmgr->getHistoProf2(10872)->Fill(
z, polarRadius, iSst * fillValue * costhetacorrection);
1675 hmgr->getHistoProf1(10940)->Fill(polarRadius, theTotalIL_WCU);
1676 hmgr->getHistoProf2(10950)->Fill(
z, polarRadius, theTotalIL_WCU);
1677 hmgr->getHistoProf2(10952)->Fill(
z, polarRadius, theTotalIL_WCU * costhetacorrection);
1678 hmgr->getHisto2(10960)->Fill(
z, polarRadius, iWcu * fillValue);
1679 hmgr->getHistoProf2(10970)->Fill(
z, polarRadius, iWcu * fillValue);
1680 hmgr->getHistoProf2(10972)->Fill(
z, polarRadius, iWcu * fillValue * costhetacorrection);
1683 hmgr->getHistoProf1(11040)->Fill(polarRadius, theTotalIL_LEA);
1684 hmgr->getHistoProf2(11050)->Fill(
z, polarRadius, theTotalIL_LEA);
1685 hmgr->getHistoProf2(11052)->Fill(
z, polarRadius, theTotalIL_LEA * costhetacorrection);
1686 hmgr->getHisto2(11060)->Fill(
z, polarRadius, iLea * fillValue);
1687 hmgr->getHistoProf2(11070)->Fill(
z, polarRadius, iLea * fillValue);
1688 hmgr->getHistoProf2(11072)->Fill(
z, polarRadius, iLea * fillValue * costhetacorrection);
1691 hmgr->getHistoProf1(11140)->Fill(polarRadius, theTotalIL_EPX);
1692 hmgr->getHistoProf2(11150)->Fill(
z, polarRadius, theTotalIL_EPX);
1693 hmgr->getHistoProf2(11152)->Fill(
z, polarRadius, theTotalIL_EPX * costhetacorrection);
1694 hmgr->getHisto2(11160)->Fill(
z, polarRadius, iEpx * fillValue);
1695 hmgr->getHistoProf2(11170)->Fill(
z, polarRadius, iEpx * fillValue);
1696 hmgr->getHistoProf2(11172)->Fill(
z, polarRadius, iEpx * fillValue * costhetacorrection);
1699 hmgr->getHistoProf1(11240)->Fill(polarRadius, theTotalIL_KAP);
1700 hmgr->getHistoProf2(11250)->Fill(
z, polarRadius, theTotalIL_KAP);
1701 hmgr->getHistoProf2(11252)->Fill(
z, polarRadius, theTotalIL_KAP * costhetacorrection);
1702 hmgr->getHisto2(11260)->Fill(
z, polarRadius, iKap * fillValue);
1703 hmgr->getHistoProf2(11270)->Fill(
z, polarRadius, iKap * fillValue);
1704 hmgr->getHistoProf2(11272)->Fill(
z, polarRadius, iKap * fillValue * costhetacorrection);
1707 hmgr->getHistoProf1(11340)->Fill(polarRadius, theTotalIL_ALU);
1708 hmgr->getHistoProf2(11350)->Fill(
z, polarRadius, theTotalIL_ALU);
1709 hmgr->getHistoProf2(11352)->Fill(
z, polarRadius, theTotalIL_ALU * costhetacorrection);
1710 hmgr->getHisto2(11360)->Fill(
z, polarRadius, iAlu * fillValue);
1711 hmgr->getHistoProf2(11370)->Fill(
z, polarRadius, iAlu * fillValue);
1712 hmgr->getHistoProf2(11372)->Fill(
z, polarRadius, iAlu * fillValue * costhetacorrection);
1715 hmgr->getHistoProf1(11440)->Fill(polarRadius, theTotalIL_POL);
1716 hmgr->getHistoProf2(11450)->Fill(
z, polarRadius, theTotalIL_POL);
1717 hmgr->getHistoProf2(11452)->Fill(
z, polarRadius, theTotalIL_POL * costhetacorrection);
1718 hmgr->getHisto2(11460)->Fill(
z, polarRadius, iPol * fillValue);
1719 hmgr->getHistoProf2(11470)->Fill(
z, polarRadius, iPol * fillValue);
1720 hmgr->getHistoProf2(11472)->Fill(
z, polarRadius, iPol * fillValue * costhetacorrection);
1723 hmgr->getHistoProf1(11540)->Fill(polarRadius, theTotalIL_EEC);
1724 hmgr->getHistoProf2(11550)->Fill(
z, polarRadius, theTotalIL_EEC);
1725 hmgr->getHistoProf2(11552)->Fill(
z, polarRadius, theTotalIL_EEC * costhetacorrection);
1726 hmgr->getHisto2(11560)->Fill(
z, polarRadius, iEec * fillValue);
1727 hmgr->getHistoProf2(11570)->Fill(
z, polarRadius, iEec * fillValue);
1728 hmgr->getHistoProf2(11572)->Fill(
z, polarRadius, iEec * fillValue * costhetacorrection);
1731 hmgr->getHistoProf1(11640)->Fill(polarRadius, theTotalIL_HEC);
1732 hmgr->getHistoProf2(11650)->Fill(
z, polarRadius, theTotalIL_HEC);
1733 hmgr->getHistoProf2(11652)->Fill(
z, polarRadius, theTotalIL_HEC * costhetacorrection);
1734 hmgr->getHisto2(11660)->Fill(
z, polarRadius, iHec * fillValue);
1735 hmgr->getHistoProf2(11670)->Fill(
z, polarRadius, iHec * fillValue);
1736 hmgr->getHistoProf2(11672)->Fill(
z, polarRadius, iHec * fillValue * costhetacorrection);
1742 std::cout <<
"*** WARNING This event is out of the acceptance *** " << std::endl;
1744 <<
"\t x/X0 = " <<
theData->getTotalMB() <<
"\t l/l0 = " <<
theData->getTotalIL()
1745 <<
"\t steps = " <<
theData->getNumberOfSteps() << std::endl;
1751 hmgr->getHisto2(60)->Divide(
hmgr->getHisto2(999));
1752 hmgr->getHisto2(160)->Divide(
hmgr->getHisto2(999));
1753 hmgr->getHisto2(260)->Divide(
hmgr->getHisto2(999));
1754 hmgr->getHisto2(360)->Divide(
hmgr->getHisto2(999));
1755 hmgr->getHisto2(460)->Divide(
hmgr->getHisto2(999));
1756 hmgr->getHisto2(560)->Divide(
hmgr->getHisto2(999));
1757 hmgr->getHisto2(660)->Divide(
hmgr->getHisto2(999));
1758 hmgr->getHisto2(760)->Divide(
hmgr->getHisto2(999));
1759 hmgr->getHisto2(860)->Divide(
hmgr->getHisto2(999));
1760 hmgr->getHisto2(960)->Divide(
hmgr->getHisto2(999));
1761 hmgr->getHisto2(1060)->Divide(
hmgr->getHisto2(999));
1762 hmgr->getHisto2(1160)->Divide(
hmgr->getHisto2(999));
1763 hmgr->getHisto2(1260)->Divide(
hmgr->getHisto2(999));
1764 hmgr->getHisto2(1360)->Divide(
hmgr->getHisto2(999));
1765 hmgr->getHisto2(1460)->Divide(
hmgr->getHisto2(999));
1766 hmgr->getHisto2(1560)->Divide(
hmgr->getHisto2(999));
1767 hmgr->getHisto2(1660)->Divide(
hmgr->getHisto2(999));
1769 hmgr->getHisto2(10060)->Divide(
hmgr->getHisto2(1999));
1770 hmgr->getHisto2(10160)->Divide(
hmgr->getHisto2(1999));
1771 hmgr->getHisto2(10260)->Divide(
hmgr->getHisto2(1999));
1772 hmgr->getHisto2(10360)->Divide(
hmgr->getHisto2(1999));
1773 hmgr->getHisto2(10460)->Divide(
hmgr->getHisto2(1999));
1774 hmgr->getHisto2(10560)->Divide(
hmgr->getHisto2(1999));
1775 hmgr->getHisto2(10660)->Divide(
hmgr->getHisto2(1999));
1776 hmgr->getHisto2(10760)->Divide(
hmgr->getHisto2(1999));
1777 hmgr->getHisto2(10860)->Divide(
hmgr->getHisto2(1999));
1778 hmgr->getHisto2(10960)->Divide(
hmgr->getHisto2(1999));
1779 hmgr->getHisto2(11060)->Divide(
hmgr->getHisto2(1999));
1780 hmgr->getHisto2(11160)->Divide(
hmgr->getHisto2(1999));
1781 hmgr->getHisto2(11260)->Divide(
hmgr->getHisto2(1999));
1782 hmgr->getHisto2(11360)->Divide(
hmgr->getHisto2(1999));
1783 hmgr->getHisto2(11460)->Divide(
hmgr->getHisto2(1999));
1784 hmgr->getHisto2(11560)->Divide(
hmgr->getHisto2(1999));
1785 hmgr->getHisto2(11660)->Divide(
hmgr->getHisto2(1999));
1787 std::cout <<
"=== save user histos ===" << std::endl;
constexpr int32_t ceil(float num)
void fillStartTrack() override
void fillPerStep() override
MaterialBudgetHGCalHistos(std::shared_ptr< MaterialBudgetData > data, std::shared_ptr< TestHistoMgr > mgr, const std::string &fileName)
Cos< T >::type cos(const T &t)
const T & max(const T &a, const T &b)
char data[epos_bytes_allocation]
void fillEndTrack() override
std::shared_ptr< TestHistoMgr > hmgr