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;
constexpr int32_t ceil(float num)
Cos< T >::type cos(const T &t)
const T & max(const T &a, const T &b)
std::shared_ptr< TestHistoMgr > hmgr
Power< A, B >::type pow(const A &a, const B &b)