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(
354 hmgr->addHistoProf2(
new TProfile2D(
"10030",
355 "IL prof Eta Phi;#eta;#varphi;#lambda/#lambda_{0} ",
364 hmgr->addHistoProf1(
new TProfile(
"10040",
"IL prof R;R [mm];#lambda/#lambda_{0} ",
nrbin_,
RMin_,
RMax_));
365 hmgr->addHistoProf2(
new TProfile2D(
367 hmgr->addHistoProf2(
new TProfile2D(
372 hmgr->addHistoProf2(
new TProfile2D(
374 hmgr->addHistoProf2(
new TProfile2D(
"10072",
375 "IL ortho prof local R z;z [mm];R [mm];#lambda/#lambda_{0} ",
387 new TProfile(
"10120",
"IL prof Phi [Copper];#varphi [rad];#lambda/#lambda_{0}",
nphibin_,
phiMin_,
phiMax_));
388 hmgr->addHistoProf2(
new TProfile2D(
"10130",
389 "IL prof Eta Phi [Copper];#eta;#varphi;#lambda/#lambda_{0}",
396 hmgr->addHistoProf1(
new TProfile(
"10140",
"IL prof R [Copper];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
397 hmgr->addHistoProf2(
new TProfile2D(
399 hmgr->addHistoProf2(
new TProfile2D(
401 hmgr->addHisto2(
new TH2F(
403 hmgr->addHistoProf2(
new TProfile2D(
405 hmgr->addHistoProf2(
new TProfile2D(
410 new TProfile(
"10210",
"IL prof Eta [Scintillator];#eta;#lambda/#lambda_{0}",
netabin_,
etaMin_,
etaMax_));
411 hmgr->addHistoProf1(
new TProfile(
413 hmgr->addHistoProf2(
new TProfile2D(
"10230",
414 "IL prof Eta Phi [Scintillator];#eta;#varphi;#lambda/#lambda_{0}",
422 new TProfile(
"10240",
"IL prof R [Scintillator];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
423 hmgr->addHistoProf2(
new TProfile2D(
425 hmgr->addHistoProf2(
new TProfile2D(
"10252",
426 "IL ortho prof sum R z [Scintillator];z [mm];R [mm];x/X_{0} ",
433 hmgr->addHisto2(
new TH2F(
435 hmgr->addHistoProf2(
new TProfile2D(
437 hmgr->addHistoProf2(
new TProfile2D(
"10272",
438 "IL ortho prof local R z [Scintillator];z [mm];R [mm];x/X_{0} ",
450 new TProfile(
"10320",
"IL prof Phi [Cables];#varphi [rad];#lambda/#lambda_{0}",
nphibin_,
phiMin_,
phiMax_));
451 hmgr->addHistoProf2(
new TProfile2D(
"10330",
452 "IL prof Eta Phi [Cables];#eta;#varphi;#lambda/#lambda_{0}",
459 hmgr->addHistoProf1(
new TProfile(
"10340",
"IL prof R [Cables];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
460 hmgr->addHistoProf2(
new TProfile2D(
462 hmgr->addHistoProf2(
new TProfile2D(
464 hmgr->addHisto2(
new TH2F(
466 hmgr->addHistoProf2(
new TProfile2D(
468 hmgr->addHistoProf2(
new TProfile2D(
475 new TProfile(
"10420",
"IL prof Phi [HGC_G10_FR4];#varphi [rad];#lambda/#lambda_{0}",
nphibin_,
phiMin_,
phiMax_));
476 hmgr->addHistoProf2(
new TProfile2D(
"10430",
477 "IL prof Eta Phi [HGC_G10_FR4];#eta;#varphi;#lambda/#lambda_{0}",
485 new TProfile(
"10440",
"IL prof R [HGC_G10_FR4];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
486 hmgr->addHistoProf2(
new TProfile2D(
488 hmgr->addHistoProf2(
new TProfile2D(
"10452",
489 "IL ortho prof sum R z [HGC_G10_FR4];z [mm];R [mm];x/X_{0} ",
496 hmgr->addHisto2(
new TH2F(
498 hmgr->addHistoProf2(
new TProfile2D(
500 hmgr->addHistoProf2(
new TProfile2D(
"10472",
501 "IL ortho prof local R z [HGC_G10_FR4];z [mm];R [mm];x/X_{0} ",
513 new TProfile(
"10520",
"IL prof Phi [Silicon];#varphi [rad];#lambda/#lambda_{0}",
nphibin_,
phiMin_,
phiMax_));
514 hmgr->addHistoProf2(
new TProfile2D(
"10530",
515 "IL prof Eta Phi [Silicon];#eta;#varphi;#lambda/#lambda_{0}",
522 hmgr->addHistoProf1(
new TProfile(
"10540",
"IL prof R [Silicon];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
523 hmgr->addHistoProf2(
new TProfile2D(
525 hmgr->addHistoProf2(
new TProfile2D(
527 hmgr->addHisto2(
new TH2F(
529 hmgr->addHistoProf2(
new TProfile2D(
531 hmgr->addHistoProf2(
new TProfile2D(
538 new TProfile(
"10620",
"IL prof Phi [Other];#varphi [rad];#lambda/#lambda_{0}",
nphibin_,
phiMin_,
phiMax_));
539 hmgr->addHistoProf2(
new TProfile2D(
"10630",
540 "IL prof Eta Phi [Other];#eta;#varphi;#lambda/#lambda_{0}",
547 hmgr->addHistoProf1(
new TProfile(
"10640",
"IL prof R [Other];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
548 hmgr->addHistoProf2(
new TProfile2D(
550 hmgr->addHistoProf2(
new TProfile2D(
552 hmgr->addHisto2(
new TH2F(
554 hmgr->addHistoProf2(
new TProfile2D(
556 hmgr->addHistoProf2(
new TProfile2D(
562 new TProfile(
"10720",
"IL prof Phi [Air];#varphi [rad];#lambda/#lambda_{0}",
nphibin_,
phiMin_,
phiMax_));
563 hmgr->addHistoProf2(
new TProfile2D(
"10730",
564 "IL prof Eta Phi [Air];#eta;#varphi;#lambda/#lambda_{0}",
571 hmgr->addHistoProf1(
new TProfile(
"10740",
"IL prof R [Air];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
572 hmgr->addHistoProf2(
new TProfile2D(
574 hmgr->addHistoProf2(
new TProfile2D(
578 hmgr->addHistoProf2(
new TProfile2D(
580 hmgr->addHistoProf2(
new TProfile2D(
585 new TProfile(
"10810",
"IL prof Eta [StainlessSteel];#eta;#lambda/#lambda_{0}",
netabin_,
etaMin_,
etaMax_));
586 hmgr->addHistoProf1(
new TProfile(
588 hmgr->addHistoProf2(
new TProfile2D(
"10830",
589 "IL prof Eta Phi [StainlessSteel];#eta;#varphi;#lambda/#lambda_{0}",
597 new TProfile(
"10840",
"IL prof R [StainlessSteel];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
598 hmgr->addHistoProf2(
new TProfile2D(
600 hmgr->addHistoProf2(
new TProfile2D(
"10852",
601 "IL ortho prof sum R z [StainlessSteel];z [mm];R [mm];x/X_{0} ",
608 hmgr->addHisto2(
new TH2F(
610 hmgr->addHistoProf2(
new TProfile2D(
612 hmgr->addHistoProf2(
new TProfile2D(
"10872",
613 "IL ortho prof local R z [StainlessSteel];z [mm];R [mm];x/X_{0} ",
624 new TProfile(
"10920",
"IL prof Phi [WCu];#varphi [rad];#lambda/#lambda_{0}",
nphibin_,
phiMin_,
phiMax_));
625 hmgr->addHistoProf2(
new TProfile2D(
"10930",
626 "IL prof Eta Phi [WCu];#eta;#varphi;#lambda/#lambda_{0}",
633 hmgr->addHistoProf1(
new TProfile(
"10940",
"IL prof R [WCu];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
634 hmgr->addHistoProf2(
new TProfile2D(
636 hmgr->addHistoProf2(
new TProfile2D(
640 hmgr->addHistoProf2(
new TProfile2D(
642 hmgr->addHistoProf2(
new TProfile2D(
648 new TProfile(
"11020",
"IL prof Phi [Lead];#varphi [rad];#lambda/#lambda_{0}",
nphibin_,
phiMin_,
phiMax_));
649 hmgr->addHistoProf2(
new TProfile2D(
"11030",
650 "IL prof Eta Phi [Lead];#eta;#varphi;#lambda/#lambda_{0}",
657 hmgr->addHistoProf1(
new TProfile(
"11040",
"IL prof R [Lead];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
658 hmgr->addHistoProf2(
new TProfile2D(
660 hmgr->addHistoProf2(
new TProfile2D(
662 hmgr->addHisto2(
new TH2F(
664 hmgr->addHistoProf2(
new TProfile2D(
666 hmgr->addHistoProf2(
new TProfile2D(
673 new TProfile(
"11120",
"IL prof Phi [Epoxy];#varphi [rad];#lambda/#lambda_{0}",
nphibin_,
phiMin_,
phiMax_));
674 hmgr->addHistoProf2(
new TProfile2D(
"11130",
675 "IL prof Eta Phi [Epoxy];#eta;#varphi;#lambda/#lambda_{0}",
682 hmgr->addHistoProf1(
new TProfile(
"11140",
"IL prof R [Epoxy];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
683 hmgr->addHistoProf2(
new TProfile2D(
685 hmgr->addHistoProf2(
new TProfile2D(
687 hmgr->addHisto2(
new TH2F(
689 hmgr->addHistoProf2(
new TProfile2D(
691 hmgr->addHistoProf2(
new TProfile2D(
698 new TProfile(
"11220",
"IL prof Phi [Kapton];#varphi [rad];#lambda/#lambda_{0}",
nphibin_,
phiMin_,
phiMax_));
699 hmgr->addHistoProf2(
new TProfile2D(
"11230",
700 "IL prof Eta Phi [Kapton];#eta;#varphi;#lambda/#lambda_{0}",
707 hmgr->addHistoProf1(
new TProfile(
"11240",
"IL prof R [Kapton];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
708 hmgr->addHistoProf2(
new TProfile2D(
710 hmgr->addHistoProf2(
new TProfile2D(
712 hmgr->addHisto2(
new TH2F(
714 hmgr->addHistoProf2(
new TProfile2D(
716 hmgr->addHistoProf2(
new TProfile2D(
723 new TProfile(
"11320",
"IL prof Phi [Aluminium];#varphi [rad];#lambda/#lambda_{0}",
nphibin_,
phiMin_,
phiMax_));
724 hmgr->addHistoProf2(
new TProfile2D(
"11330",
725 "IL prof Eta Phi [Aluminium];#eta;#varphi;#lambda/#lambda_{0}",
732 hmgr->addHistoProf1(
new TProfile(
"11340",
"IL prof R [Aluminium];R [mm];#lambda/#lambda_{0}",
nrbin_,
RMin_,
RMax_));
733 hmgr->addHistoProf2(
new TProfile2D(
735 hmgr->addHistoProf2(
new TProfile2D(
737 hmgr->addHisto2(
new TH2F(
739 hmgr->addHistoProf2(
new TProfile2D(
741 hmgr->addHistoProf2(
new TProfile2D(
"11372",
742 "IL ortho prof local R z [Aluminium];z [mm];R [mm];x/X_{0} ",
750 std::cout <<
"=== booking user histos done ===" << std::endl;
762 if (
theData->getNumberOfSteps() != 0) {
842 float theTotalMB_TOT = 0.0;
843 float theTotalMB_COP = 0.0;
844 float theTotalMB_SCI = 0.0;
845 float theTotalMB_CAB = 0.0;
846 float theTotalMB_HGF = 0.0;
847 float theTotalMB_NIM = 0.0;
848 float theTotalMB_OTH = 0.0;
849 float theTotalMB_AIR = 0.0;
850 float theTotalMB_SST = 0.0;
851 float theTotalMB_WCU = 0.0;
852 float theTotalMB_LEA = 0.0;
853 float theTotalMB_EPX = 0.0;
854 float theTotalMB_KAP = 0.0;
855 float theTotalMB_ALU = 0.0;
856 for (
int iStep = 0; iStep <
theData->getNumberOfSteps(); iStep++) {
857 theTotalMB_TOT +=
theData->getStepDmb(iStep);
858 theTotalMB_COP +=
theData->getCopperDmb(iStep);
859 theTotalMB_SCI +=
theData->getH_ScintillatorDmb(iStep);
860 theTotalMB_CAB +=
theData->getCablesDmb(iStep);
861 theTotalMB_HGF +=
theData->getHGC_G10_FR4Dmb(iStep);
862 theTotalMB_NIM +=
theData->getSiliconDmb(iStep);
863 theTotalMB_OTH +=
theData->getOtherDmb(iStep);
864 theTotalMB_AIR +=
theData->getAirDmb(iStep);
865 theTotalMB_SST +=
theData->getStainlessSteelDmb(iStep);
866 theTotalMB_WCU +=
theData->getWCuDmb(iStep);
867 theTotalMB_LEA +=
theData->getLeadDmb(iStep);
868 theTotalMB_EPX +=
theData->getEpoxyDmb(iStep);
869 theTotalMB_KAP +=
theData->getKaptonDmb(iStep);
870 theTotalMB_ALU +=
theData->getAluminiumDmb(iStep);
885 if (
theData->getCopperDmb(iStep) > 0.) {
888 if (
theData->getH_ScintillatorDmb(iStep) > 0.) {
891 if (
theData->getCablesDmb(iStep) > 0.) {
894 if (
theData->getHGC_G10_FR4Dmb(iStep) > 0.) {
897 if (
theData->getSiliconDmb(iStep) > 0.) {
900 if (
theData->getOtherDmb(iStep) > 0.) {
903 if (
theData->getAirDmb(iStep) > 0.) {
906 if (
theData->getStainlessSteelDmb(iStep) > 0.) {
909 if (
theData->getWCuDmb(iStep) > 0.) {
912 if (
theData->getLeadDmb(iStep) > 0.) {
915 if (
theData->getEpoxyDmb(iStep) > 0.) {
918 if (
theData->getKaptonDmb(iStep) > 0.) {
921 if (
theData->getAluminiumDmb(iStep) > 0.) {
927 float deltaz =
theData->getStepFinalZ(iStep) -
theData->getStepInitialZ(iStep);
929 float deltaeta =
theData->getStepFinalEta(iStep) -
theData->getStepInitialEta(iStep);
933 float x0 =
theData->getStepMaterialX0(iStep);
936 float boxWidth = 0.1;
937 if ((deltaRadius > boxWidth) || (fabs(deltaz) > boxWidth)) {
938 nSubStep =
static_cast<int>(
max(
ceil(deltaRadius / boxWidth / 2.) * 2,
ceil(fabs(deltaz) / boxWidth / 2.) * 2));
941 for (
int iSubStep = 1; iSubStep < nSubStep; iSubStep += 2) {
942 float subdeltaRadius = deltaRadius / nSubStep;
944 iSubStep * subdeltaRadius;
946 float subdeltaz = deltaz / nSubStep;
947 float z =
theData->getStepInitialZ(iStep) + iSubStep * subdeltaz;
949 float subdeltaeta = deltaeta / nSubStep;
950 float eta =
theData->getStepInitialEta(iStep) + iSubStep * subdeltaeta;
955 float subdelta =
sqrt(
pow(subdeltaRadius, 2) +
pow(subdeltaz, 2));
957 float fillValue = subdelta / x0;
959 float costhetacorrection =
cos(2 * atan(
exp(-fabs(eta))));
961 hmgr->getHisto2(999)->Fill(z, polarRadius, subdelta);
963 hmgr->getHisto1(41)->Fill(polarRadius);
964 hmgr->getHistoProf1(40)->Fill(polarRadius, theTotalMB_TOT);
965 hmgr->getHisto2(51)->Fill(z, polarRadius);
966 hmgr->getHistoProf2(50)->Fill(z, polarRadius, theTotalMB_TOT);
967 hmgr->getHistoProf2(52)->Fill(z, polarRadius, theTotalMB_TOT * costhetacorrection);
968 hmgr->getHisto2(60)->Fill(z, polarRadius, fillValue);
969 hmgr->getHistoProf2(70)->Fill(z, polarRadius, fillValue);
970 hmgr->getHistoProf2(72)->Fill(z, polarRadius, fillValue * costhetacorrection);
973 hmgr->getHistoProf1(140)->Fill(polarRadius, theTotalMB_COP);
974 hmgr->getHistoProf2(150)->Fill(z, polarRadius, theTotalMB_COP);
975 hmgr->getHistoProf2(152)->Fill(z, polarRadius, theTotalMB_COP * costhetacorrection);
976 hmgr->getHisto2(160)->Fill(z, polarRadius, iCop * fillValue);
977 hmgr->getHistoProf2(170)->Fill(z, polarRadius, iCop * fillValue);
978 hmgr->getHistoProf2(172)->Fill(z, polarRadius, iCop * fillValue * costhetacorrection);
981 hmgr->getHistoProf1(240)->Fill(polarRadius, theTotalMB_SCI);
982 hmgr->getHistoProf2(250)->Fill(z, polarRadius, theTotalMB_SCI);
983 hmgr->getHistoProf2(252)->Fill(z, polarRadius, theTotalMB_SCI * costhetacorrection);
984 hmgr->getHisto2(260)->Fill(z, polarRadius, iSci * fillValue);
985 hmgr->getHistoProf2(270)->Fill(z, polarRadius, iSci * fillValue);
986 hmgr->getHistoProf2(272)->Fill(z, polarRadius, iSci * fillValue * costhetacorrection);
989 hmgr->getHistoProf1(340)->Fill(polarRadius, theTotalMB_CAB);
990 hmgr->getHistoProf2(350)->Fill(z, polarRadius, theTotalMB_CAB);
991 hmgr->getHistoProf2(352)->Fill(z, polarRadius, theTotalMB_CAB * costhetacorrection);
992 hmgr->getHisto2(360)->Fill(z, polarRadius, iCab * fillValue);
993 hmgr->getHistoProf2(370)->Fill(z, polarRadius, iCab * fillValue);
994 hmgr->getHistoProf2(372)->Fill(z, polarRadius, iCab * fillValue * costhetacorrection);
997 hmgr->getHistoProf1(440)->Fill(polarRadius, theTotalMB_HGF);
998 hmgr->getHistoProf2(450)->Fill(z, polarRadius, theTotalMB_HGF);
999 hmgr->getHistoProf2(452)->Fill(z, polarRadius, theTotalMB_HGF * costhetacorrection);
1000 hmgr->getHisto2(460)->Fill(z, polarRadius, iHgf * fillValue);
1001 hmgr->getHistoProf2(470)->Fill(z, polarRadius, iHgf * fillValue);
1002 hmgr->getHistoProf2(472)->Fill(z, polarRadius, iHgf * fillValue * costhetacorrection);
1005 hmgr->getHistoProf1(540)->Fill(polarRadius, theTotalMB_NIM);
1006 hmgr->getHistoProf2(550)->Fill(z, polarRadius, theTotalMB_NIM);
1007 hmgr->getHistoProf2(552)->Fill(z, polarRadius, theTotalMB_NIM * costhetacorrection);
1008 hmgr->getHisto2(560)->Fill(z, polarRadius, iSil * fillValue);
1009 hmgr->getHistoProf2(570)->Fill(z, polarRadius, iSil * fillValue);
1010 hmgr->getHistoProf2(572)->Fill(z, polarRadius, iSil * fillValue * costhetacorrection);
1013 hmgr->getHistoProf1(640)->Fill(polarRadius, theTotalMB_OTH);
1014 hmgr->getHistoProf2(650)->Fill(z, polarRadius, theTotalMB_OTH);
1015 hmgr->getHistoProf2(652)->Fill(z, polarRadius, theTotalMB_OTH * costhetacorrection);
1016 hmgr->getHisto2(660)->Fill(z, polarRadius, iOth * fillValue);
1017 hmgr->getHistoProf2(670)->Fill(z, polarRadius, iOth * fillValue);
1018 hmgr->getHistoProf2(672)->Fill(z, polarRadius, iOth * fillValue * costhetacorrection);
1021 hmgr->getHistoProf1(740)->Fill(polarRadius, theTotalMB_AIR);
1022 hmgr->getHistoProf2(750)->Fill(z, polarRadius, theTotalMB_AIR);
1023 hmgr->getHistoProf2(752)->Fill(z, polarRadius, theTotalMB_AIR * costhetacorrection);
1024 hmgr->getHisto2(760)->Fill(z, polarRadius, iAir * fillValue);
1025 hmgr->getHistoProf2(770)->Fill(z, polarRadius, iAir * fillValue);
1026 hmgr->getHistoProf2(772)->Fill(z, polarRadius, iAir * fillValue * costhetacorrection);
1029 hmgr->getHistoProf1(840)->Fill(polarRadius, theTotalMB_SST);
1030 hmgr->getHistoProf2(850)->Fill(z, polarRadius, theTotalMB_SST);
1031 hmgr->getHistoProf2(852)->Fill(z, polarRadius, theTotalMB_SST * costhetacorrection);
1032 hmgr->getHisto2(860)->Fill(z, polarRadius, iSst * fillValue);
1033 hmgr->getHistoProf2(870)->Fill(z, polarRadius, iSst * fillValue);
1034 hmgr->getHistoProf2(872)->Fill(z, polarRadius, iSst * fillValue * costhetacorrection);
1037 hmgr->getHistoProf1(940)->Fill(polarRadius, theTotalMB_WCU);
1038 hmgr->getHistoProf2(950)->Fill(z, polarRadius, theTotalMB_WCU);
1039 hmgr->getHistoProf2(952)->Fill(z, polarRadius, theTotalMB_WCU * costhetacorrection);
1040 hmgr->getHisto2(960)->Fill(z, polarRadius, iWcu * fillValue);
1041 hmgr->getHistoProf2(970)->Fill(z, polarRadius, iWcu * fillValue);
1042 hmgr->getHistoProf2(972)->Fill(z, polarRadius, iWcu * fillValue * costhetacorrection);
1045 hmgr->getHistoProf1(1040)->Fill(polarRadius, theTotalMB_LEA);
1046 hmgr->getHistoProf2(1050)->Fill(z, polarRadius, theTotalMB_LEA);
1047 hmgr->getHistoProf2(1052)->Fill(z, polarRadius, theTotalMB_LEA * costhetacorrection);
1048 hmgr->getHisto2(1060)->Fill(z, polarRadius, iLea * fillValue);
1049 hmgr->getHistoProf2(1070)->Fill(z, polarRadius, iLea * fillValue);
1050 hmgr->getHistoProf2(1072)->Fill(z, polarRadius, iLea * fillValue * costhetacorrection);
1053 hmgr->getHistoProf1(1140)->Fill(polarRadius, theTotalMB_EPX);
1054 hmgr->getHistoProf2(1150)->Fill(z, polarRadius, theTotalMB_EPX);
1055 hmgr->getHistoProf2(1152)->Fill(z, polarRadius, theTotalMB_EPX * costhetacorrection);
1056 hmgr->getHisto2(1160)->Fill(z, polarRadius, iEpx * fillValue);
1057 hmgr->getHistoProf2(1170)->Fill(z, polarRadius, iEpx * fillValue);
1058 hmgr->getHistoProf2(1172)->Fill(z, polarRadius, iEpx * fillValue * costhetacorrection);
1061 hmgr->getHistoProf1(1240)->Fill(polarRadius, theTotalMB_KAP);
1062 hmgr->getHistoProf2(1250)->Fill(z, polarRadius, theTotalMB_KAP);
1063 hmgr->getHistoProf2(1252)->Fill(z, polarRadius, theTotalMB_KAP * costhetacorrection);
1064 hmgr->getHisto2(1260)->Fill(z, polarRadius, iKap * fillValue);
1065 hmgr->getHistoProf2(1270)->Fill(z, polarRadius, iKap * fillValue);
1066 hmgr->getHistoProf2(1272)->Fill(z, polarRadius, iKap * fillValue * costhetacorrection);
1069 hmgr->getHistoProf1(1340)->Fill(polarRadius, theTotalMB_ALU);
1070 hmgr->getHistoProf2(1350)->Fill(z, polarRadius, theTotalMB_ALU);
1071 hmgr->getHistoProf2(1352)->Fill(z, polarRadius, theTotalMB_ALU * costhetacorrection);
1072 hmgr->getHisto2(1360)->Fill(z, polarRadius, iAlu * fillValue);
1073 hmgr->getHistoProf2(1370)->Fill(z, polarRadius, iAlu * fillValue);
1074 hmgr->getHistoProf2(1372)->Fill(z, polarRadius, iAlu * fillValue * costhetacorrection);
1150 float theTotalIL_TOT = 0.0;
1151 float theTotalIL_COP = 0.0;
1152 float theTotalIL_SCI = 0.0;
1153 float theTotalIL_CAB = 0.0;
1154 float theTotalIL_HGF = 0.0;
1155 float theTotalIL_NIM = 0.0;
1156 float theTotalIL_OTH = 0.0;
1157 float theTotalIL_AIR = 0.0;
1158 float theTotalIL_SST = 0.0;
1159 float theTotalIL_WCU = 0.0;
1160 float theTotalIL_LEA = 0.0;
1161 float theTotalIL_EPX = 0.0;
1162 float theTotalIL_KAP = 0.0;
1163 float theTotalIL_ALU = 0.0;
1164 for (
int iStep = 0; iStep <
theData->getNumberOfSteps(); iStep++) {
1165 theTotalIL_TOT +=
theData->getStepDil(iStep);
1166 theTotalIL_COP +=
theData->getCopperDil(iStep);
1167 theTotalIL_SCI +=
theData->getH_ScintillatorDil(iStep);
1168 theTotalIL_CAB +=
theData->getCablesDil(iStep);
1169 theTotalIL_HGF +=
theData->getHGC_G10_FR4Dil(iStep);
1170 theTotalIL_NIM +=
theData->getSiliconDil(iStep);
1171 theTotalIL_OTH +=
theData->getOtherDil(iStep);
1172 theTotalIL_AIR +=
theData->getAirDil(iStep);
1173 theTotalIL_SST +=
theData->getStainlessSteelDil(iStep);
1174 theTotalIL_WCU +=
theData->getWCuDil(iStep);
1175 theTotalIL_LEA +=
theData->getLeadDil(iStep);
1176 theTotalIL_EPX +=
theData->getEpoxyDil(iStep);
1177 theTotalIL_KAP +=
theData->getKaptonDil(iStep);
1178 theTotalIL_ALU +=
theData->getAluminiumDil(iStep);
1194 if (
theData->getCopperDil(iStep) > 0.) {
1197 if (
theData->getH_ScintillatorDil(iStep) > 0.) {
1200 if (
theData->getCablesDil(iStep) > 0.) {
1203 if (
theData->getHGC_G10_FR4Dil(iStep) > 0.) {
1206 if (
theData->getSiliconDil(iStep) > 0.) {
1209 if (
theData->getOtherDil(iStep) > 0.) {
1212 if (
theData->getAirDil(iStep) > 0.) {
1215 if (
theData->getStainlessSteelDil(iStep) > 0.) {
1218 if (
theData->getWCuDil(iStep) > 0.) {
1221 if (
theData->getLeadDil(iStep) > 0.) {
1224 if (
theData->getEpoxyDil(iStep) > 0.) {
1227 if (
theData->getKaptonDil(iStep) > 0.) {
1230 if (
theData->getAluminiumDil(iStep) > 0.) {
1236 float deltaz =
theData->getStepFinalZ(iStep) -
theData->getStepInitialZ(iStep);
1238 float deltaeta =
theData->getStepFinalEta(iStep) -
theData->getStepInitialEta(iStep);
1242 float il =
theData->getStepMaterialLambda0(iStep);
1245 float boxWidth = 0.1;
1246 if ((deltaRadius > boxWidth) || (fabs(deltaz) > boxWidth)) {
1247 nSubStep =
static_cast<int>(
max(
ceil(deltaRadius / boxWidth / 2.) * 2,
ceil(fabs(deltaz) / boxWidth / 2.) * 2));
1250 for (
int iSubStep = 1; iSubStep < nSubStep; iSubStep += 2) {
1251 float subdeltaRadius = deltaRadius / nSubStep;
1253 iSubStep * subdeltaRadius;
1255 float subdeltaz = deltaz / nSubStep;
1256 float z =
theData->getStepInitialZ(iStep) + iSubStep * subdeltaz;
1258 float subdeltaeta = deltaeta / nSubStep;
1259 float eta =
theData->getStepInitialEta(iStep) + iSubStep * subdeltaeta;
1264 float subdelta =
sqrt(
pow(subdeltaRadius, 2) +
pow(subdeltaz, 2));
1266 float fillValue = subdelta / il;
1268 float costhetacorrection =
cos(2 * atan(
exp(-fabs(eta))));
1270 hmgr->getHisto2(1999)->Fill(z, polarRadius, subdelta);
1272 hmgr->getHistoProf1(10040)->Fill(polarRadius, theTotalIL_TOT);
1273 hmgr->getHistoProf2(10050)->Fill(z, polarRadius, theTotalIL_TOT);
1274 hmgr->getHistoProf2(10052)->Fill(z, polarRadius, theTotalIL_TOT * costhetacorrection);
1275 hmgr->getHisto2(10060)->Fill(z, polarRadius, fillValue);
1276 hmgr->getHistoProf2(10070)->Fill(z, polarRadius, fillValue);
1277 hmgr->getHistoProf2(10072)->Fill(z, polarRadius, fillValue * costhetacorrection);
1280 hmgr->getHistoProf1(10140)->Fill(polarRadius, theTotalIL_COP);
1281 hmgr->getHistoProf2(10150)->Fill(z, polarRadius, theTotalIL_COP);
1282 hmgr->getHistoProf2(10152)->Fill(z, polarRadius, theTotalIL_COP * costhetacorrection);
1283 hmgr->getHisto2(10160)->Fill(z, polarRadius, iCop * fillValue);
1284 hmgr->getHistoProf2(10170)->Fill(z, polarRadius, iCop * fillValue);
1285 hmgr->getHistoProf2(10172)->Fill(z, polarRadius, iCop * fillValue * costhetacorrection);
1288 hmgr->getHistoProf1(10240)->Fill(polarRadius, theTotalIL_SCI);
1289 hmgr->getHistoProf2(10250)->Fill(z, polarRadius, theTotalIL_SCI);
1290 hmgr->getHistoProf2(10252)->Fill(z, polarRadius, theTotalIL_SCI * costhetacorrection);
1291 hmgr->getHisto2(10260)->Fill(z, polarRadius, iSci * fillValue);
1292 hmgr->getHistoProf2(10270)->Fill(z, polarRadius, iSci * fillValue);
1293 hmgr->getHistoProf2(10272)->Fill(z, polarRadius, iSci * fillValue * costhetacorrection);
1296 hmgr->getHistoProf1(10340)->Fill(polarRadius, theTotalIL_CAB);
1297 hmgr->getHistoProf2(10350)->Fill(z, polarRadius, theTotalIL_CAB);
1298 hmgr->getHistoProf2(10352)->Fill(z, polarRadius, theTotalIL_CAB * costhetacorrection);
1299 hmgr->getHisto2(10360)->Fill(z, polarRadius, iCab * fillValue);
1300 hmgr->getHistoProf2(10370)->Fill(z, polarRadius, iCab * fillValue);
1301 hmgr->getHistoProf2(10372)->Fill(z, polarRadius, iCab * fillValue * costhetacorrection);
1304 hmgr->getHistoProf1(10440)->Fill(polarRadius, theTotalIL_HGF);
1305 hmgr->getHistoProf2(10450)->Fill(z, polarRadius, theTotalIL_HGF);
1306 hmgr->getHistoProf2(10452)->Fill(z, polarRadius, theTotalIL_HGF * costhetacorrection);
1307 hmgr->getHisto2(10460)->Fill(z, polarRadius, iHgf * fillValue);
1308 hmgr->getHistoProf2(10470)->Fill(z, polarRadius, iHgf * fillValue);
1309 hmgr->getHistoProf2(10472)->Fill(z, polarRadius, iHgf * fillValue * costhetacorrection);
1312 hmgr->getHistoProf1(10540)->Fill(polarRadius, theTotalIL_NIM);
1313 hmgr->getHistoProf2(10550)->Fill(z, polarRadius, theTotalIL_NIM);
1314 hmgr->getHistoProf2(10552)->Fill(z, polarRadius, theTotalIL_NIM * costhetacorrection);
1315 hmgr->getHisto2(10560)->Fill(z, polarRadius, iSil * fillValue);
1316 hmgr->getHistoProf2(10570)->Fill(z, polarRadius, iSil * fillValue);
1317 hmgr->getHistoProf2(10572)->Fill(z, polarRadius, iSil * fillValue * costhetacorrection);
1320 hmgr->getHistoProf1(10640)->Fill(polarRadius, theTotalIL_OTH);
1321 hmgr->getHistoProf2(10650)->Fill(z, polarRadius, theTotalIL_OTH);
1322 hmgr->getHistoProf2(10652)->Fill(z, polarRadius, theTotalIL_OTH * costhetacorrection);
1323 hmgr->getHisto2(10660)->Fill(z, polarRadius, iOth * fillValue);
1324 hmgr->getHistoProf2(10670)->Fill(z, polarRadius, iOth * fillValue);
1325 hmgr->getHistoProf2(10672)->Fill(z, polarRadius, iOth * fillValue * costhetacorrection);
1328 hmgr->getHistoProf1(10740)->Fill(polarRadius, theTotalIL_AIR);
1329 hmgr->getHistoProf2(10750)->Fill(z, polarRadius, theTotalIL_AIR);
1330 hmgr->getHistoProf2(10752)->Fill(z, polarRadius, theTotalIL_AIR * costhetacorrection);
1331 hmgr->getHisto2(10760)->Fill(z, polarRadius, iAir * fillValue);
1332 hmgr->getHistoProf2(10770)->Fill(z, polarRadius, iAir * fillValue);
1333 hmgr->getHistoProf2(10772)->Fill(z, polarRadius, iAir * fillValue * costhetacorrection);
1336 hmgr->getHistoProf1(10840)->Fill(polarRadius, theTotalIL_SST);
1337 hmgr->getHistoProf2(10850)->Fill(z, polarRadius, theTotalIL_SST);
1338 hmgr->getHistoProf2(10852)->Fill(z, polarRadius, theTotalIL_SST * costhetacorrection);
1339 hmgr->getHisto2(10860)->Fill(z, polarRadius, iSst * fillValue);
1340 hmgr->getHistoProf2(10870)->Fill(z, polarRadius, iSst * fillValue);
1341 hmgr->getHistoProf2(10872)->Fill(z, polarRadius, iSst * fillValue * costhetacorrection);
1344 hmgr->getHistoProf1(10940)->Fill(polarRadius, theTotalIL_WCU);
1345 hmgr->getHistoProf2(10950)->Fill(z, polarRadius, theTotalIL_WCU);
1346 hmgr->getHistoProf2(10952)->Fill(z, polarRadius, theTotalIL_WCU * costhetacorrection);
1347 hmgr->getHisto2(10960)->Fill(z, polarRadius, iWcu * fillValue);
1348 hmgr->getHistoProf2(10970)->Fill(z, polarRadius, iWcu * fillValue);
1349 hmgr->getHistoProf2(10972)->Fill(z, polarRadius, iWcu * fillValue * costhetacorrection);
1352 hmgr->getHistoProf1(11040)->Fill(polarRadius, theTotalIL_LEA);
1353 hmgr->getHistoProf2(11050)->Fill(z, polarRadius, theTotalIL_LEA);
1354 hmgr->getHistoProf2(11052)->Fill(z, polarRadius, theTotalIL_LEA * costhetacorrection);
1355 hmgr->getHisto2(11060)->Fill(z, polarRadius, iLea * fillValue);
1356 hmgr->getHistoProf2(11070)->Fill(z, polarRadius, iLea * fillValue);
1357 hmgr->getHistoProf2(11072)->Fill(z, polarRadius, iLea * fillValue * costhetacorrection);
1360 hmgr->getHistoProf1(11140)->Fill(polarRadius, theTotalIL_EPX);
1361 hmgr->getHistoProf2(11150)->Fill(z, polarRadius, theTotalIL_EPX);
1362 hmgr->getHistoProf2(11152)->Fill(z, polarRadius, theTotalIL_EPX * costhetacorrection);
1363 hmgr->getHisto2(11160)->Fill(z, polarRadius, iEpx * fillValue);
1364 hmgr->getHistoProf2(11170)->Fill(z, polarRadius, iEpx * fillValue);
1365 hmgr->getHistoProf2(11172)->Fill(z, polarRadius, iEpx * fillValue * costhetacorrection);
1368 hmgr->getHistoProf1(11240)->Fill(polarRadius, theTotalIL_KAP);
1369 hmgr->getHistoProf2(11250)->Fill(z, polarRadius, theTotalIL_KAP);
1370 hmgr->getHistoProf2(11252)->Fill(z, polarRadius, theTotalIL_KAP * costhetacorrection);
1371 hmgr->getHisto2(11260)->Fill(z, polarRadius, iKap * fillValue);
1372 hmgr->getHistoProf2(11270)->Fill(z, polarRadius, iKap * fillValue);
1373 hmgr->getHistoProf2(11272)->Fill(z, polarRadius, iKap * fillValue * costhetacorrection);
1376 hmgr->getHistoProf1(11340)->Fill(polarRadius, theTotalIL_ALU);
1377 hmgr->getHistoProf2(11350)->Fill(z, polarRadius, theTotalIL_ALU);
1378 hmgr->getHistoProf2(11352)->Fill(z, polarRadius, theTotalIL_ALU * costhetacorrection);
1379 hmgr->getHisto2(11360)->Fill(z, polarRadius, iAlu * fillValue);
1380 hmgr->getHistoProf2(11370)->Fill(z, polarRadius, iAlu * fillValue);
1381 hmgr->getHistoProf2(11372)->Fill(z, polarRadius, iAlu * fillValue * costhetacorrection);
1387 std::cout <<
"*** WARNING This event is out of the acceptance *** " << std::endl;
1389 <<
"\t x/X0 = " <<
theData->getTotalMB() <<
"\t l/l0 = " <<
theData->getTotalIL()
1390 <<
"\t steps = " <<
theData->getNumberOfSteps() << std::endl;
1396 hmgr->getHisto2(60)->Divide(
hmgr->getHisto2(999));
1397 hmgr->getHisto2(160)->Divide(
hmgr->getHisto2(999));
1398 hmgr->getHisto2(260)->Divide(
hmgr->getHisto2(999));
1399 hmgr->getHisto2(360)->Divide(
hmgr->getHisto2(999));
1400 hmgr->getHisto2(460)->Divide(
hmgr->getHisto2(999));
1401 hmgr->getHisto2(560)->Divide(
hmgr->getHisto2(999));
1402 hmgr->getHisto2(660)->Divide(
hmgr->getHisto2(999));
1403 hmgr->getHisto2(760)->Divide(
hmgr->getHisto2(999));
1404 hmgr->getHisto2(860)->Divide(
hmgr->getHisto2(999));
1405 hmgr->getHisto2(960)->Divide(
hmgr->getHisto2(999));
1406 hmgr->getHisto2(1060)->Divide(
hmgr->getHisto2(999));
1407 hmgr->getHisto2(1160)->Divide(
hmgr->getHisto2(999));
1408 hmgr->getHisto2(1260)->Divide(
hmgr->getHisto2(999));
1409 hmgr->getHisto2(1360)->Divide(
hmgr->getHisto2(999));
1411 hmgr->getHisto2(10060)->Divide(
hmgr->getHisto2(1999));
1412 hmgr->getHisto2(10160)->Divide(
hmgr->getHisto2(1999));
1413 hmgr->getHisto2(10260)->Divide(
hmgr->getHisto2(1999));
1414 hmgr->getHisto2(10360)->Divide(
hmgr->getHisto2(1999));
1415 hmgr->getHisto2(10460)->Divide(
hmgr->getHisto2(1999));
1416 hmgr->getHisto2(10560)->Divide(
hmgr->getHisto2(1999));
1417 hmgr->getHisto2(10660)->Divide(
hmgr->getHisto2(1999));
1418 hmgr->getHisto2(10760)->Divide(
hmgr->getHisto2(1999));
1419 hmgr->getHisto2(10860)->Divide(
hmgr->getHisto2(1999));
1420 hmgr->getHisto2(10960)->Divide(
hmgr->getHisto2(1999));
1421 hmgr->getHisto2(11060)->Divide(
hmgr->getHisto2(1999));
1422 hmgr->getHisto2(11160)->Divide(
hmgr->getHisto2(1999));
1423 hmgr->getHisto2(11260)->Divide(
hmgr->getHisto2(1999));
1424 hmgr->getHisto2(11360)->Divide(
hmgr->getHisto2(1999));
1426 std::cout <<
"=== save user histos ===" << std::endl;
void fillStartTrack() override
void fillPerStep() override
constexpr int32_t ceil(float num)
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
Power< A, B >::type pow(const A &a, const B &b)