48 Long_t i_this = (Long_t)
this;
226 if (pEcal ==
nullptr) {
301 fT1dSMCrys =
new Int_t[MaxSMTow * MaxTowEcha];
303 for (Int_t i_SMTow = 0; i_SMTow < MaxSMTow; i_SMTow++) {
306 for (Int_t
i = 0;
i < MaxSMTow;
i++) {
307 for (Int_t
j = 0;
j < MaxTowEcha;
j++) {
314 for (Int_t
i = 0;
i < MaxSMCrys;
i++) {
320 for (Int_t
i = 0;
i < MaxSMCrys;
i++) {
326 Int_t m26 = (Int_t)26;
329 Int_t** jch_type =
new Int_t*[
m2];
331 Int_t* jch_type_d1 =
new Int_t[
m2 * m26];
333 for (Int_t i_m2 = 0; i_m2 <
m2; i_m2++) {
334 jch_type[i_m2] = &jch_type_d1[0] + i_m2 * m26;
337 for (Int_t
k = 25;
k >= 21;
k--) {
338 jch_type[0][
k] = 25 -
k;
340 for (Int_t
k = 16;
k <= 20;
k++) {
341 jch_type[0][
k] =
k - 16;
343 for (Int_t
k = 15;
k >= 11;
k--) {
344 jch_type[0][
k] = 15 -
k;
346 for (Int_t
k = 6;
k <= 10;
k++) {
347 jch_type[0][
k] =
k - 6;
349 for (Int_t
k = 5;
k >= 1;
k--) {
350 jch_type[0][
k] = 5 -
k;
353 for (Int_t
k = 1;
k <= 5;
k++) {
354 jch_type[1][
k] =
k - 1;
356 for (Int_t
k = 10;
k >= 6;
k--) {
357 jch_type[1][
k] = 10 -
k;
359 for (Int_t
k = 11;
k <= 15;
k++) {
360 jch_type[1][
k] =
k - 11;
362 for (Int_t
k = 20;
k >= 16;
k--) {
363 jch_type[1][
k] = 20 -
k;
365 for (Int_t
k = 21;
k <= 25;
k++) {
366 jch_type[1][
k] =
k - 21;
370 Int_t** ich_type =
new Int_t*[
m2];
372 Int_t* ich_type_d1 =
new Int_t[
m2 * m26];
374 for (Int_t i_m2 = 0; i_m2 <
m2; i_m2++) {
375 ich_type[i_m2] = &ich_type_d1[0] + i_m2 * m26;
378 for (Int_t
k = 25;
k >= 21;
k--) {
381 for (Int_t
k = 16;
k <= 20;
k++) {
384 for (Int_t
k = 15;
k >= 11;
k--) {
387 for (Int_t
k = 6;
k <= 10;
k++) {
390 for (Int_t
k = 5;
k >= 1;
k--) {
394 for (Int_t
k = 1;
k <= 5;
k++) {
397 for (Int_t
k = 10;
k >= 6;
k--) {
400 for (Int_t
k = 11;
k <= 15;
k++) {
403 for (Int_t
k = 20;
k >= 16;
k--) {
406 for (Int_t
k = 21;
k <= 25;
k++) {
412 Int_t*
type =
new Int_t[m17];
437 for (Int_t tow = 0; tow < MaxSMTow; tow++)
439 for (Int_t ic = 1; ic <= MaxTowEcha; ic++)
441 Int_t jtow = tow % 4;
442 Int_t itow = tow / 4;
444 Int_t icrys = itow * 5 + ich_type[
type[itow]][ic];
448 Int_t jcrys = jtow * 5 + jch_type[
type[itow]][ic];
452 Int_t n1SMCrys = icrys * 20 + jcrys + 1;
463 delete[] jch_type_d1;
467 delete[] ich_type_d1;
492 if (n1SMTow >= 1 && n1SMTow <= fEcal->MaxTowInSM()) {
493 if (i0TowEcha >= 0 && i0TowEcha < fEcal->MaxCrysInTow()) {
494 n1SMCrys =
fT2dSMCrys[n1SMTow - 1][i0TowEcha];
497 std::cout <<
"!TEcnaNumbering::Get1SMCrysFrom1SMTowAnd0TowEcha(...)> Electronic Channel in Tower out of range." 498 <<
" i0TowEcha = " << i0TowEcha <<
"(n1SMTow = " << n1SMTow <<
")" <<
fTTBELL << std::endl;
502 std::cout <<
"!TEcnaNumbering::Get1SMCrysFrom1SMTowAnd0TowEcha(...)> Tower number in SM out of range." 503 <<
" n1SMTow = " << n1SMTow <<
"(i0TowEcha = " << i0TowEcha <<
")" <<
fTTBELL << std::endl;
518 Int_t i0TowEcha = -1;
520 if (n1SMCrys >= 1 && n1SMCrys <= fEcal->MaxCrysInSM()) {
524 std::cout <<
"!TEcnaNumbering::Get0TowEchaFrom1SMCrys(...)> Crystal number in SM out of range." 525 <<
" n1SMCrys = " << n1SMCrys <<
fTTBELL << std::endl;
535 if (n1SMCrys >= 1 && n1SMCrys <= fEcal->MaxCrysInSM()) {
539 std::cout <<
"!TEcnaNumbering::Get1SMTowFrom1SMCrys(...)> Crystal number in SM out of range." 540 <<
" n1SMCrys = " << n1SMCrys <<
fTTBELL << std::endl;
585 Hashed = (85 + IEta - 1) * 360 + IPhi - 1;
588 Hashed = (85 + IEta) * 360 + IPhi - 1;
598 IEta = Hashed / 360 - 85 + 1;
601 IEta = 85 + Hashed / 360;
608 Int_t IPhi = Hashed % 360 + 1;
626 if (n1SMTow >= 1 && n1SMTow <= 12) {
629 if (n1SMTow >= 21 && n1SMTow <= 28) {
632 if (n1SMTow >= 37 && n1SMTow <= 44) {
635 if (n1SMTow >= 53 && n1SMTow <= 60) {
650 Double_t
eta = (Double_t)0.;
656 if (n1EBSM >= 1 && n1EBSM <= max_sm_in_barrel) {
657 for (Int_t i_sm_tow_eta = 0; i_sm_tow_eta < max_tow_eta_in_sm; i_sm_tow_eta++) {
658 Int_t i_crys_eta_min = (Int_t)(1 + i_sm_tow_eta * (max_crys_eta_in_tower - 1));
659 Int_t i_crys_eta_max = (Int_t)((i_sm_tow_eta + 1) * (max_crys_eta_in_tower - 1));
660 Int_t i_crys_eta = (Int_t)(i_sm_tow_eta * max_crys_eta_in_tower);
662 Double_t d_echa_eta = (Double_t)(i0TowEcha / max_crys_eta_in_tower);
664 if (n1SMTow >= i_crys_eta_min && n1SMTow <= i_crys_eta_max) {
666 eta = (Double_t)(i_crys_eta) + d_echa_eta + 1;
669 eta = (Double_t)(i_crys_eta + max_crys_eta_in_tower) - d_echa_eta;
677 std::cout <<
"TEcnaNumbering::GetEta(...)> SM = " << n1EBSM <<
". Out of range (range = [1," <<
fEcal->
MaxSMInEB()
678 <<
"])" <<
fTTBELL << std::endl;
689 Double_t
eta_min = (Double_t)0.;
691 for (Int_t i_sm_tow_eta = 0; i_sm_tow_eta < max_tow_eta_in_sm; i_sm_tow_eta++) {
692 Int_t i_crys_eta_min = (Int_t)(1 + i_sm_tow_eta * (max_crys_eta_in_tower - 1));
693 Int_t i_crys_eta_max = (Int_t)((i_sm_tow_eta + 1) * (max_crys_eta_in_tower - 1));
694 Int_t i_crys_eta = (Int_t)(i_sm_tow_eta * max_crys_eta_in_tower);
696 if (n1SMTow >= i_crys_eta_min && n1SMTow <= i_crys_eta_max) {
698 eta_min = (Double_t)i_crys_eta;
701 eta_min = -(Double_t)(i_crys_eta + max_crys_eta_in_tower);
714 Double_t
eta_max = (max_crys_eta_in_tower - 1);
716 for (Int_t i_sm_tow_eta = 0; i_sm_tow_eta < max_tow_eta_in_sm; i_sm_tow_eta++) {
717 Int_t i_crys_eta_min = (Int_t)(1 + i_sm_tow_eta * (max_crys_eta_in_tower - 1));
718 Int_t i_crys_eta_max = (Int_t)((i_sm_tow_eta + 1) * (max_crys_eta_in_tower - 1));
719 Int_t i_crys_eta = (Int_t)(i_sm_tow_eta * max_crys_eta_in_tower);
721 if (n1SMTow >= i_crys_eta_min && n1SMTow <= i_crys_eta_max) {
723 eta_max = (Double_t)(i_crys_eta + max_crys_eta_in_tower);
726 eta_max = -(Double_t)i_crys_eta;
737 Double_t i_eta_min = (Int_t)0.;
740 i_eta_min = (Double_t)
GetEtaMin(n1EBSM, n1SMTow) + (Double_t)0.5;
743 i_eta_min = (Double_t)
GetEtaMin(n1EBSM, n1SMTow) - (Double_t)0.5;
752 Double_t i_eta_max = (Int_t)0.;
755 i_eta_max = (Double_t)
GetEtaMax(n1EBSM, n1SMTow) + (Double_t)0.5;
758 i_eta_max = (Double_t)
GetEtaMax(n1EBSM, n1SMTow) - (Double_t)0.5;
767 Double_t i_eta_min = (Int_t)0.;
769 Int_t n1SMTowPlus = (Int_t)1;
773 i_eta_min = (Double_t)
GetIEtaMin(n1EBSM, n1SMTowPlus);
776 i_eta_min = (Double_t)
GetIEtaMin(n1EBSM, n1SMTowMinus);
785 Double_t i_eta_max = (Int_t)0.;
788 Int_t n1SMTowMinus = (Int_t)1;
791 i_eta_max = (Double_t)
GetIEtaMax(n1EBSM, n1SMTowPlus);
794 i_eta_max = (Double_t)
GetIEtaMax(n1EBSM, n1SMTowMinus);
809 Double_t central_phi = (Double_t)10.;
812 central_phi = 10. + (Double_t)20. * (n1EBSM - 1);
815 central_phi = 10. + (Double_t)20. * (n1EBSM - 19);
824 Double_t phi_in_SM = (Double_t)0.;
828 if (n1EBSM >= 1 && n1EBSM <= fEcal->MaxSMInEB()) {
829 if (rest_temp == 1) {
830 phi_in_SM = (Double_t)15.;
832 if (rest_temp == 2) {
833 phi_in_SM = (Double_t)10.;
835 if (rest_temp == 3) {
836 phi_in_SM = (Double_t)5.;
838 if (rest_temp == 0) {
839 phi_in_SM = (Double_t)0.;
843 if (i0TowEcha == 4 || i0TowEcha == 5 || i0TowEcha == 14 || i0TowEcha == 15 || i0TowEcha == 24) {
844 phi_in_SM = phi_in_SM + 0;
847 if (i0TowEcha == 3 || i0TowEcha == 6 || i0TowEcha == 13 || i0TowEcha == 16 || i0TowEcha == 23) {
848 phi_in_SM = phi_in_SM + 1;
851 if (i0TowEcha == 2 || i0TowEcha == 7 || i0TowEcha == 12 || i0TowEcha == 17 || i0TowEcha == 22) {
852 phi_in_SM = phi_in_SM + 2;
855 if (i0TowEcha == 1 || i0TowEcha == 8 || i0TowEcha == 11 || i0TowEcha == 18 || i0TowEcha == 21) {
856 phi_in_SM = phi_in_SM + 3;
859 if (i0TowEcha == 0 || i0TowEcha == 9 || i0TowEcha == 10 || i0TowEcha == 19 || i0TowEcha == 20) {
860 phi_in_SM = phi_in_SM + 4;
864 if (i0TowEcha == 20 || i0TowEcha == 19 || i0TowEcha == 10 || i0TowEcha == 9 || i0TowEcha == 0) {
865 phi_in_SM = phi_in_SM + 0;
868 if (i0TowEcha == 21 || i0TowEcha == 18 || i0TowEcha == 11 || i0TowEcha == 8 || i0TowEcha == 1) {
869 phi_in_SM = phi_in_SM + 1;
872 if (i0TowEcha == 22 || i0TowEcha == 17 || i0TowEcha == 12 || i0TowEcha == 7 || i0TowEcha == 2) {
873 phi_in_SM = phi_in_SM + 2;
876 if (i0TowEcha == 23 || i0TowEcha == 16 || i0TowEcha == 13 || i0TowEcha == 6 || i0TowEcha == 3) {
877 phi_in_SM = phi_in_SM + 3;
880 if (i0TowEcha == 24 || i0TowEcha == 15 || i0TowEcha == 14 || i0TowEcha == 5 || i0TowEcha == 4) {
881 phi_in_SM = phi_in_SM + 4;
885 std::cout <<
"TEcnaNumbering::GetPhiInSM(...)> SM = " << n1EBSM <<
". Out of range (range = [1," 888 phi_in_SM = 20 - phi_in_SM;
895 Double_t
phi = (Double_t)0.;
897 if (n1EBSM >= 1 && n1EBSM <= fEcal->MaxSMInEB()) {
898 Double_t phiInSM =
GetPhiInSM(n1EBSM, n1SMTow, i0TowEcha);
901 phi = 20 - phiInSM + phi_start - (Double_t)10.;
903 std::cout <<
"TEcnaNumbering::GetPhi(...)> SM = " << n1EBSM <<
". Out of range (range = [1," <<
fEcal->
MaxSMInEB()
904 <<
"])" <<
fTTBELL << std::endl;
915 Double_t phi_min = (Double_t)0.;
918 Int_t rest_temp = (Int_t)(n1SMTow % (max_crys_phi_in_tower - 1));
921 if (rest_temp == 1) {
922 phi_min = phi_start + (Double_t)5.;
924 if (rest_temp == 2) {
925 phi_min = phi_start + (Double_t)0.;
927 if (rest_temp == 3) {
928 phi_min = phi_start - (Double_t)5.;
930 if (rest_temp == 0) {
931 phi_min = phi_start - (Double_t)10.;
935 if (rest_temp == 0) {
936 phi_min = phi_start + (Double_t)5.;
938 if (rest_temp == 3) {
939 phi_min = phi_start + (Double_t)0.;
941 if (rest_temp == 2) {
942 phi_min = phi_start - (Double_t)5.;
944 if (rest_temp == 1) {
945 phi_min = phi_start - (Double_t)10.;
956 Double_t phi_max = (Double_t)20.;
959 Int_t rest_temp = (Int_t)(n1SMTow % (max_crys_phi_in_tower - 1));
962 if (rest_temp == 1) {
963 phi_max = phi_start + (Double_t)10.;
965 if (rest_temp == 2) {
966 phi_max = phi_start + (Double_t)5.;
968 if (rest_temp == 3) {
969 phi_max = phi_start - (Double_t)0.;
971 if (rest_temp == 0) {
972 phi_max = phi_start - (Double_t)5.;
977 if (rest_temp == 0) {
978 phi_max = phi_start + (Double_t)10.;
980 if (rest_temp == 3) {
981 phi_max = phi_start + (Double_t)5.;
983 if (rest_temp == 2) {
984 phi_max = phi_start - (Double_t)0.;
986 if (rest_temp == 1) {
987 phi_max = phi_start - (Double_t)5.;
1013 Double_t j_phi_min = (Double_t)1.;
1015 Int_t rest_temp = (Int_t)(n1SMTow % (max_crys_phi_in_tower - 1));
1017 if (rest_temp == 1) {
1018 j_phi_min = (Double_t)1. - (Double_t)0.5;
1020 if (rest_temp == 2) {
1021 j_phi_min = (Double_t)6. - (Double_t)0.5;
1023 if (rest_temp == 3) {
1024 j_phi_min = (Double_t)11. - (Double_t)0.5;
1026 if (rest_temp == 0) {
1027 j_phi_min = (Double_t)16. - (Double_t)0.5;
1036 Double_t j_phi_max = (Double_t)20.;
1038 Int_t rest_temp = (Int_t)(n1SMTow % (max_crys_phi_in_tower - 1));
1040 if (rest_temp == 1) {
1041 j_phi_max = (Double_t)5. + (Double_t)0.5;
1043 if (rest_temp == 2) {
1044 j_phi_max = (Double_t)10. + (Double_t)0.5;
1046 if (rest_temp == 3) {
1047 j_phi_max = (Double_t)15. + (Double_t)0.5;
1049 if (rest_temp == 0) {
1050 j_phi_max = (Double_t)20. + (Double_t)0.5;
1060 Double_t j_phi_min = (Double_t)1. - (Double_t)0.5;
1068 Double_t j_phi_max = (Double_t)20. + (Double_t)0.5;
1081 TString xdirection =
"x";
1094 TString ydirection =
"-x";
1108 TString jydirection =
"-x";
1124 TString
type =
"EB-";
1126 if (SMNumber >= 1 && SMNumber <= fEcal->MaxSMInEBPlus()) {
1137 Int_t PMSMNumber = PlusSMNumber;
1180 Int_t MaxDirections = 2;
1187 fT1dDeeCrys =
new Int_t[MaxDeeSC * MaxSCEcha * MaxDirections];
1190 for (Int_t i_DeeSC = 0; i_DeeSC < MaxDeeSC; i_DeeSC++) {
1192 for (Int_t i_SCEcha = 0; i_SCEcha < MaxSCEcha; i_SCEcha++) {
1194 &
fT1dDeeCrys[0] + (i_DeeSC * MaxSCEcha + i_SCEcha) * MaxDirections;
1197 for (Int_t
i = 0;
i < MaxDeeSC;
i++) {
1198 for (Int_t
j = 0;
j < MaxSCEcha;
j++) {
1199 for (Int_t
k = 0;
k < MaxDirections;
k++) {
1207 fT1dDeeSC =
new Int_t[MaxDeeCrys * MaxDirections];
1209 for (Int_t i_DeeCrys = 0; i_DeeCrys < MaxDeeCrys; i_DeeCrys++) {
1212 for (Int_t
i = 0;
i < MaxDeeCrys;
i++) {
1213 for (Int_t
j = 0;
j < MaxDirections;
j++) {
1220 fT1dSCEcha =
new Int_t[MaxDeeCrys * MaxDirections];
1222 for (Int_t i_DeeCrys = 0; i_DeeCrys < MaxDeeCrys; i_DeeCrys++) {
1225 for (Int_t
i = 0;
i < MaxDeeCrys;
i++) {
1226 for (Int_t
j = 0;
j < MaxDirections;
j++) {
1232 Int_t MaxTyp = (Int_t)4;
1240 for (Int_t i_MaxTyp = 0; i_MaxTyp < MaxTyp; i_MaxTyp++) {
1247 for (Int_t
k = 5;
k >= 1;
k--) {
1250 for (Int_t
k = 10;
k >= 6;
k--) {
1253 for (Int_t
k = 15;
k >= 11;
k--) {
1256 for (Int_t
k = 20;
k >= 16;
k--) {
1259 for (Int_t
k = 25;
k >= 21;
k--) {
1263 for (Int_t
k = 5;
k >= 1;
k--) {
1266 for (Int_t
k = 10;
k >= 6;
k--) {
1269 for (Int_t
k = 15;
k >= 11;
k--) {
1272 for (Int_t
k = 20;
k >= 16;
k--) {
1275 for (Int_t
k = 25;
k >= 21;
k--) {
1279 for (Int_t
k = 1;
k <= 5;
k++) {
1282 for (Int_t
k = 6;
k <= 10;
k++) {
1285 for (Int_t
k = 11;
k <= 15;
k++) {
1288 for (Int_t
k = 16;
k <= 20;
k++) {
1291 for (Int_t
k = 21;
k <= 25;
k++) {
1295 for (Int_t
k = 1;
k <= 5;
k++) {
1298 for (Int_t
k = 6;
k <= 10;
k++) {
1301 for (Int_t
k = 11;
k <= 15;
k++) {
1304 for (Int_t
k = 16;
k <= 20;
k++) {
1307 for (Int_t
k = 21;
k <= 25;
k++) {
1316 for (Int_t i_MaxTyp = 0; i_MaxTyp < MaxTyp; i_MaxTyp++) {
1321 for (Int_t
k = 5;
k >= 1;
k--) {
1324 for (Int_t
k = 10;
k >= 6;
k--) {
1327 for (Int_t
k = 15;
k >= 11;
k--) {
1330 for (Int_t
k = 20;
k >= 16;
k--) {
1333 for (Int_t
k = 25;
k >= 21;
k--) {
1337 for (Int_t
k = 5;
k >= 1;
k--) {
1340 for (Int_t
k = 10;
k >= 6;
k--) {
1343 for (Int_t
k = 15;
k >= 11;
k--) {
1346 for (Int_t
k = 20;
k >= 16;
k--) {
1349 for (Int_t
k = 25;
k >= 21;
k--) {
1353 for (Int_t
k = 1;
k <= 5;
k++) {
1356 for (Int_t
k = 6;
k <= 10;
k++) {
1359 for (Int_t
k = 11;
k <= 15;
k++) {
1362 for (Int_t
k = 16;
k <= 20;
k++) {
1365 for (Int_t
k = 21;
k <= 25;
k++) {
1369 for (Int_t
k = 1;
k <= 5;
k++) {
1372 for (Int_t
k = 6;
k <= 10;
k++) {
1375 for (Int_t
k = 11;
k <= 15;
k++) {
1378 for (Int_t
k = 16;
k <= 20;
k++) {
1381 for (Int_t
k = 21;
k <= 25;
k++) {
1387 Int_t**
type =
new Int_t*[Nb_DeeSC_JY];
1389 Int_t* type_d1 =
new Int_t[Nb_DeeSC_JY * MaxDirections];
1391 for (Int_t i_DeeSC_JY = 0; i_DeeSC_JY < Nb_DeeSC_JY; i_DeeSC_JY++) {
1392 type[i_DeeSC_JY] = &type_d1[0] + i_DeeSC_JY * MaxDirections;
1446 for (Int_t kSC = 0; kSC < MaxDeeSC; kSC++)
1448 for (Int_t n_Echa = 1; n_Echa <= MaxSCEcha; n_Echa++)
1450 for (Int_t idir = 0; idir < 2; idir++) {
1451 Int_t ikSC = kSC / Nb_DeeSC_JY;
1452 Int_t jkSC = kSC % Nb_DeeSC_JY;
1454 Int_t icrys = ikSC * Nb_SCCrys_IX +
fT2d_ich_IX[
type[jkSC][idir]][n_Echa];
1459 Int_t jcrys = jkSC * Nb_SCCrys_JY +
fT2d_jch_JY[
type[jkSC][idir]][n_Echa];
1464 Int_t n_DeeCrys = icrys * Nb_DeeSC_JY * Nb_SCCrys_JY + jcrys + 1;
1467 fT2dDeeSC[n_DeeCrys - 1][idir] = kSC + 1;
1505 fT2d_DS =
new Int_t*[MaxEEDee];
1507 fT1d_DS =
new Int_t[MaxEEDee * MaxDeeSC];
1509 for (Int_t i_DeeCrys = 0; i_DeeCrys < MaxEEDee; i_DeeCrys++) {
1512 for (Int_t
i = 0;
i < MaxEEDee;
i++) {
1513 for (Int_t
j = 0;
j < MaxDeeSC;
j++) {
1520 fT1d_DSSC =
new Int_t[MaxEEDee * MaxDeeSC];
1522 for (Int_t i_DeeCrys = 0; i_DeeCrys < MaxEEDee; i_DeeCrys++) {
1525 for (Int_t
i = 0;
i < MaxEEDee;
i++) {
1526 for (Int_t
j = 0;
j < MaxDeeSC;
j++) {
1535 for (Int_t i_DeeCrys = 0; i_DeeCrys < MaxEEDee; i_DeeCrys++) {
1538 for (Int_t
i = 0;
i < MaxEEDee;
i++) {
1539 for (Int_t
j = 0;
j < MaxDeeSC;
j++) {
1548 for (Int_t i_DeeCrys = 0; i_DeeCrys < MaxEEDee; i_DeeCrys++) {
1551 for (Int_t
i = 0;
i < MaxEEDee;
i++) {
1552 for (Int_t
j = 0;
j < MaxEESCForCons;
j++) {
1563 for (Int_t dee = 1; dee <= 4; dee++) {
1564 if (dee == 1 || dee == 4) {
1567 if (dee == 2 || dee == 3) {
1570 for (Int_t isc = 13; isc <= 20; isc++)
1571 fT2d_DS[dee - 1][isc - 1] = ids;
1572 for (Int_t isc = 33; isc <= 40; isc++)
1573 fT2d_DS[dee - 1][isc - 1] = ids;
1574 for (Int_t isc = 54; isc <= 60; isc++)
1575 fT2d_DS[dee - 1][isc - 1] = ids;
1576 for (Int_t isc = 75; isc <= 79; isc++)
1577 fT2d_DS[dee - 1][isc - 1] = ids;
1578 for (Int_t isc = 96; isc <= 99; isc++)
1579 fT2d_DS[dee - 1][isc - 1] = ids;
1580 for (Int_t isc = 118; isc <= 119; isc++)
1581 fT2d_DS[dee - 1][isc - 1] = ids;
1584 for (Int_t dee = 1; dee <= 4; dee++) {
1585 if (dee == 1 || dee == 4) {
1588 if (dee == 2 || dee == 3) {
1591 for (Int_t isc = 32; isc <= 32; isc++)
1592 fT2d_DS[dee - 1][isc - 1] = ids;
1593 for (Int_t isc = 51; isc <= 53; isc++)
1594 fT2d_DS[dee - 1][isc - 1] = ids;
1595 for (Int_t isc = 72; isc <= 74; isc++)
1596 fT2d_DS[dee - 1][isc - 1] = ids;
1597 for (Int_t isc = 92; isc <= 95; isc++)
1598 fT2d_DS[dee - 1][isc - 1] = ids;
1599 for (Int_t isc = 112; isc <= 117; isc++)
1600 fT2d_DS[dee - 1][isc - 1] = ids;
1601 for (Int_t isc = 132; isc <= 138; isc++)
1602 fT2d_DS[dee - 1][isc - 1] = ids;
1603 for (Int_t isc = 152; isc <= 157; isc++)
1604 fT2d_DS[dee - 1][isc - 1] = ids;
1605 for (Int_t isc = 173; isc <= 176; isc++)
1606 fT2d_DS[dee - 1][isc - 1] = ids;
1607 for (Int_t isc = 193; isc <= 193; isc++)
1608 fT2d_DS[dee - 1][isc - 1] = ids;
1611 for (Int_t dee = 1; dee <= 4; dee++) {
1612 if (dee == 1 || dee == 4) {
1615 if (dee == 2 || dee == 3) {
1618 for (Int_t isc = 50; isc <= 50; isc++)
1619 fT2d_DS[dee - 1][isc - 1] = ids;
1620 for (Int_t isc = 69; isc <= 71; isc++)
1621 fT2d_DS[dee - 1][isc - 1] = ids;
1622 for (Int_t isc = 88; isc <= 91; isc++)
1623 fT2d_DS[dee - 1][isc - 1] = ids;
1624 for (Int_t isc = 108; isc <= 111; isc++)
1625 fT2d_DS[dee - 1][isc - 1] = ids;
1626 for (Int_t isc = 127; isc <= 131; isc++)
1627 fT2d_DS[dee - 1][isc - 1] = ids;
1628 for (Int_t isc = 147; isc <= 151; isc++)
1629 fT2d_DS[dee - 1][isc - 1] = ids;
1630 for (Int_t isc = 166; isc <= 172; isc++)
1631 fT2d_DS[dee - 1][isc - 1] = ids;
1632 for (Int_t isc = 188; isc <= 192; isc++)
1633 fT2d_DS[dee - 1][isc - 1] = ids;
1636 for (Int_t dee = 1; dee <= 4; dee++) {
1637 if (dee == 1 || dee == 4) {
1640 if (dee == 2 || dee == 3) {
1643 for (Int_t isc = 27; isc <= 29; isc++)
1644 fT2d_DS[dee - 1][isc - 1] = ids;
1645 for (Int_t isc = 44; isc <= 49; isc++)
1646 fT2d_DS[dee - 1][isc - 1] = ids;
1647 for (Int_t isc = 62; isc <= 68; isc++)
1648 fT2d_DS[dee - 1][isc - 1] = ids;
1649 for (Int_t isc = 82; isc <= 87; isc++)
1650 fT2d_DS[dee - 1][isc - 1] = ids;
1651 for (Int_t isc = 102; isc <= 107; isc++)
1652 fT2d_DS[dee - 1][isc - 1] = ids;
1653 for (Int_t isc = 123; isc <= 126; isc++)
1654 fT2d_DS[dee - 1][isc - 1] = ids;
1655 for (Int_t isc = 144; isc <= 146; isc++)
1656 fT2d_DS[dee - 1][isc - 1] = ids;
1657 for (Int_t isc = 165; isc <= 165; isc++)
1658 fT2d_DS[dee - 1][isc - 1] = ids;
1661 for (Int_t dee = 1; dee <= 4; dee++) {
1662 for (Int_t isc = 1; isc <= 8; isc++)
1663 fT2d_DS[dee - 1][isc - 1] = 5;
1664 for (Int_t isc = 21; isc <= 26; isc++)
1665 fT2d_DS[dee - 1][isc - 1] = 5;
1666 for (Int_t isc = 41; isc <= 43; isc++)
1667 fT2d_DS[dee - 1][isc - 1] = 5;
1672 for (Int_t dee = 1; dee <= 4; dee++) {
1673 for (Int_t isc = 1; isc <= MaxDeeSC; isc++) {
1851 if (dee == 1 || dee == 3) {
1873 if (dee == 2 || dee == 4) {
1899 for (Int_t dee = 1; dee <= 4; dee++) {
1900 for (Int_t isc = 1; isc <= MaxDeeSC; isc++) {
1905 for (Int_t i_dee_type = 1; i_dee_type <= 2; i_dee_type++) {
1907 if (i_dee_type == 1) {
1910 if (i_dee_type == 2) {
2273 for (Int_t i0EEDee = 0; i0EEDee < MaxEEDee; i0EEDee++) {
2274 for (Int_t i_ecna = 0; i_ecna < MaxDeeSC; i_ecna++) {
2292 const Int_t& i0SCEcha,
2293 const TString& sDeeDir) {
2297 Int_t n1DeeCrys = 0;
2304 if ((n1DeeSCEcna >= 1) && (n1DeeSCEcna <= fEcal->MaxSCEcnaInDee())) {
2305 if (i0SCEcha >= 0 && i0SCEcha < fEcal->MaxCrysInSC()) {
2306 n1DeeCrys =
fT3dDeeCrys[n1DeeSCEcna - 1][i0SCEcha][i0DeeDir];
2309 std::cout <<
"!TEcnaNumbering::Get1DeeCrysFrom1DeeSCEcnaAnd0SCEcha(...)> Electronic Channel in SuperCrystal = " 2315 std::cout <<
"!TEcnaNumbering::Get1DeeCrysFrom1DeeSCEcnaAnd0SCEcha(...)> Super-Crystal number in Dee out of range." 2316 <<
" n1DeeSCEcna = " << n1DeeSCEcna <<
fTTBELL << std::endl;
2331 Int_t n1SCEcha = -1;
2334 if (n1DeeCrys >= 1 && n1DeeCrys <= fEcal->MaxCrysEcnaInDee()) {
2335 n1SCEcha =
fT2dSCEcha[n1DeeCrys - 1][iDeeDir];
2338 std::cout <<
"!TEcnaNumbering::Get1SCEchaFrom1DeeCrys(...)> Crystal number in Dee out of range." 2347 Int_t n1DeeSCEcna = 0;
2350 if (n1DeeCrys >= 1 && n1DeeCrys <= fEcal->MaxCrysEcnaInDee()) {
2351 n1DeeSCEcna =
fT2dDeeSC[n1DeeCrys - 1][iDeeDir];
2354 std::cout <<
"!TEcnaNumbering::Get1DeeSCEcnaFrom1DeeCrys(...)> Crystal number in Dee out of range." 2398 Int_t data_sector = -1;
2400 if (n1DeeNumber > 0 && n1DeeNumber <= fEcal->MaxDeeInEE()) {
2401 if (n1DeeSCEcna > 0 && n1DeeSCEcna <= fEcal->MaxSCEcnaInDee()) {
2402 data_sector =
fT2d_DS[n1DeeNumber - 1][n1DeeSCEcna - 1];
2404 std::cout <<
"!TEcnaNumbering::GetDSFrom1DeeSCEcna(...)> n1DeeSCEcna = " << n1DeeSCEcna
2408 if (n1DeeNumber != 0) {
2409 std::cout <<
"!TEcnaNumbering::GetDSFrom1DeeSCEcna(...)> n1DeeNumber = " << n1DeeNumber
2412 std::cout <<
"TEcnaNumbering::GetDSFrom1DeeSCEcna(...)> Dee = " << n1DeeNumber <<
". Out of range (range = [1," 2423 if (n1DeeSCEcna == 29 || n1DeeSCEcna == 32) {
2424 if (n1SCEcha == 11) {
2429 if (n1SCEcha == 1 || n1SCEcha == 2 || n1SCEcha == 3 || n1SCEcha == 6 || n1SCEcha == 7) {
2443 if (n1DeeNumber > 0 && n1DeeNumber <= fEcal->MaxDeeInEE()) {
2444 if (n1DeeSCEcna > 0 && n1DeeSCEcna <= fEcal->MaxSCEcnaInDee()) {
2445 ds_sc =
fT2d_DSSC[n1DeeNumber - 1][n1DeeSCEcna - 1];
2448 std::cout <<
"!TEcnaNumbering::GetDSSCFrom1DeeSCEcna(...)> n1DeeSCEcna = " << n1DeeSCEcna
2452 if (n1DeeNumber != 0) {
2453 std::cout <<
"!TEcnaNumbering::GetDSSCFrom1DeeSCEcna(...)> n1DeeNumber = " << n1DeeNumber
2456 std::cout <<
"TEcnaNumbering::GetDSSCFrom1DeeSCEcna(...)> Dee = " << n1DeeNumber <<
". Out of range (range = [1," 2466 Int_t dee_sc_cons = -1;
2468 if (n1DeeNumber > 0 && n1DeeNumber <= fEcal->MaxDeeInEE()) {
2469 if (n1DeeSCEcna > 0 && n1DeeSCEcna <= fEcal->MaxSCEcnaInDee()) {
2472 std::cout <<
"!TEcnaNumbering::GetDeeSCConsFrom1DeeSCEcna(...)> *** WARNING *** n1DeeSCEcna = " << n1DeeSCEcna
2473 <<
". Out of range ( range = [1," <<
fEcal->
MaxSCEcnaInDee() <<
"] ). Nb for const. forced to " 2478 if (n1DeeNumber != 0) {
2479 std::cout <<
"!TEcnaNumbering::GetDeeSCConsFrom1DeeSCEcna(...)> n1DeeNumber = " << n1DeeNumber
2482 std::cout <<
"TEcnaNumbering::GetDeeSCConsFrom1DeeSCEcna(...)> Dee = " << n1DeeNumber
2490 const Int_t& n1DeeSCEcna,
2491 const Int_t& n1SCEcha) {
2495 if (n1DeeSCEcna == 29 || n1DeeSCEcna == 32) {
2496 if (n1SCEcha == 11) {
2497 if (dee_sc_cons == 261) {
2500 if (dee_sc_cons == 112) {
2504 if (n1SCEcha == 1 || n1SCEcha == 2 || n1SCEcha == 3 || n1SCEcha == 6 || n1SCEcha == 7) {
2505 if (dee_sc_cons == 178) {
2508 if (dee_sc_cons == 29) {
2519 Int_t dee_sc_ecna = -1;
2521 if (n1DeeNumber > 0 && n1DeeNumber <= fEcal->MaxDeeInEE()) {
2522 Int_t off_set_cons = 0;
2523 if (n1DeeNumber == 1 || n1DeeNumber == 3) {
2527 if (DeeSCCons > off_set_cons && DeeSCCons <= fEcal->MaxSCForConsInDee() + off_set_cons) {
2530 std::cout <<
"!TEcnaNumbering::Get1DeeSCEcnaFromDeeSCCons(...)> DeeSCCons = " << DeeSCCons
2532 <<
"] )" <<
fTTBELL << std::endl;
2535 if (n1DeeNumber != 0) {
2536 std::cout <<
"!TEcnaNumbering::Get1DeeSCEcnaFromDeeSCCons(...)> n1DeeNumber = " << n1DeeNumber
2539 std::cout <<
"TEcnaNumbering::Get1DeeSCEcnaFromDeeSCCons(...)> Dee = " << n1DeeNumber
2549 TString SCType =
"Connected";
2551 if (nb_for_cons == 182 || nb_for_cons == 33) {
2552 SCType =
"NotConnected";
2555 if (nb_for_cons == 178 || nb_for_cons == 29) {
2556 SCType =
"NotConnected";
2558 if (nb_for_cons == 207 || nb_for_cons == 58) {
2559 SCType =
"NotConnected";
2562 if (nb_for_cons == 298 || nb_for_cons == 149) {
2563 SCType =
"NotConnected";
2566 if (nb_for_cons == 261 || nb_for_cons == 112) {
2567 SCType =
"NotConnected";
2569 if (nb_for_cons == 268 || nb_for_cons == 119) {
2570 SCType =
"NotConnected";
2573 if (nb_for_cons == 281 || nb_for_cons == 132) {
2574 SCType =
"NotConnected";
2577 if (nb_for_cons == 161 || nb_for_cons == 12) {
2578 SCType =
"NotComplete";
2580 if (nb_for_cons == 216 || nb_for_cons == 67) {
2581 SCType =
"NotComplete";
2583 if (nb_for_cons == 224 || nb_for_cons == 75) {
2584 SCType =
"NotComplete";
2586 if (nb_for_cons == 286 || nb_for_cons == 137) {
2587 SCType =
"NotComplete";
2608 TString SCQuad =
"top";
2610 if (n1DeeSCEcna >= 1 && n1DeeSCEcna <= 10) {
2613 if (n1DeeSCEcna >= 21 && n1DeeSCEcna <= 30) {
2616 if (n1DeeSCEcna >= 41 && n1DeeSCEcna <= 50) {
2619 if (n1DeeSCEcna >= 61 && n1DeeSCEcna <= 70) {
2622 if (n1DeeSCEcna >= 81 && n1DeeSCEcna <= 90) {
2625 if (n1DeeSCEcna >= 101 && n1DeeSCEcna <= 110) {
2628 if (n1DeeSCEcna >= 121 && n1DeeSCEcna <= 130) {
2631 if (n1DeeSCEcna >= 141 && n1DeeSCEcna <= 150) {
2634 if (n1DeeSCEcna >= 161 && n1DeeSCEcna <= 170) {
2637 if (n1DeeSCEcna >= 181 && n1DeeSCEcna <= 190) {
2648 if (SCQuadType ==
"top" && sDeeDir ==
"right") {
2651 if (SCQuadType ==
"top" && sDeeDir ==
"left") {
2654 if (SCQuadType ==
"bottom" && sDeeDir ==
"left") {
2657 if (SCQuadType ==
"bottom" && sDeeDir ==
"right") {
2670 TString eetype =
"EE+";
2671 if (n1DeeNumber == 1 || n1DeeNumber == 2) {
2674 if (n1DeeNumber == 3 || n1DeeNumber == 4) {
2682 TString
type =
"EE+F";
2683 if (n1DeeNumber == 1) {
2686 if (n1DeeNumber == 2) {
2689 if (n1DeeNumber == 3) {
2692 if (n1DeeNumber == 4) {
2702 TString sDeeDir =
"right";
2703 if ((n1DeeNumber == 1) || (n1DeeNumber == 3)) {
2706 if ((n1DeeNumber == 2) || (n1DeeNumber == 4)) {
2716 if (sDeeDir ==
"right") {
2719 if (sDeeDir ==
"left") {
2738 Int_t IXCrysInSC =
fT2d_ich_IX[type_index][i0SCEcha + 1] + 1;
2762 Int_t JYCrysInSC =
fT2d_jch_JY[type_index][i0SCEcha + 1] + 1;
2783 Int_t nb_of_sc = -1;
2784 if (DeeDS == 1 || DeeDS == 9) {
2787 if (DeeDS == 2 || DeeDS == 8) {
2790 if (DeeDS == 3 || DeeDS == 7) {
2793 if (DeeDS == 4 || DeeDS == 6) {
2824 Double_t i_IX_min = (Int_t)1.;
2844 if (IY_DeeSC == 0.) {
2857 if (IY_DeeSC == 0) {
2870 Double_t j_IY_min = (Double_t)1.;
2886 TString
type =
"EE-";
2888 if (n1DeeNumber == 1 || n1DeeNumber == 2) {
2891 if (n1DeeNumber == 3 || n1DeeNumber == 4) {
2903 TString xdirection =
"x";
2922 TString ydirection =
"-x";
2936 TString jydirection =
"x";
2957 Int_t n1StexStin = 0;
2973 Int_t StexEcha = (Int_t)(-1.);
2975 if (n1StexStin > 0 && n1StexStin <= fEcal->MaxStinEcnaInStex() && i0StinEcha >= 0 &&
2979 std::cout <<
"!TEcnaNumbering::Get0StexEchaFrom1StexStinAnd0StinEcha *** ERROR ***> VALUE" 2980 <<
" OUT OF RANGE. Forced to -1. Argument values: n1StexStin = " << n1StexStin
2981 <<
", channel = " << i0StinEcha <<
fTTBELL << std::endl;
2986 const Int_t& i0StinEcha,
2987 const Int_t& StexNumber) {
2992 Int_t n1StexCrys = (Int_t)0;
3010 Double_t IHocoMin = (Double_t)0.;
3021 Double_t IHocoMax = (Double_t)0.;
3032 Double_t IVecoMin = (Double_t)0.;
3043 Double_t IVecoMax = (Double_t)0.;
3054 Double_t JVecoMin = (Double_t)0.;
3064 Double_t JVecoMax = (Double_t)0.;
3079 TString half_stas =
"EB? EE?";
3096 Int_t EBSMNumber = 0;
3097 if (FEDNumber >= 610 && FEDNumber <= 645) {
3098 EBSMNumber = FEDNumber - 609;
3104 Int_t EEDSNumber = 0;
3106 if (FEDNumber >= 600 && FEDNumber <= 609) {
3107 EEDSNumber = FEDNumber - 599;
3109 if (FEDNumber >= 646 && FEDNumber <= 655) {
3110 EEDSNumber = FEDNumber - 645;
3129 if (n_for_cons == 12 || n_for_cons == 67 || n_for_cons == 75 || n_for_cons == 137 || n_for_cons == 161 ||
3130 n_for_cons == 216 || n_for_cons == 224 || n_for_cons == 286) {
3135 if ((n_for_cons == 182 || n_for_cons == 33) && (n1DeeSCEcna == 60 || n1DeeSCEcna == 119)) {
3139 if ((n_for_cons == 178 || n_for_cons == 29) && (n1DeeSCEcna == 138 || n1DeeSCEcna == 157)) {
3142 if ((n_for_cons == 207 || n_for_cons == 58) && (n1DeeSCEcna == 176 || n1DeeSCEcna == 193)) {
3146 if ((n_for_cons == 298 || n_for_cons == 149) && (n1DeeSCEcna == 188)) {
3150 if ((n_for_cons == 261 || n_for_cons == 112) && (n1DeeSCEcna == 144 || n1DeeSCEcna == 165)) {
3153 if ((n_for_cons == 268 || n_for_cons == 119) && (n1DeeSCEcna == 102 || n1DeeSCEcna == 123)) {
3157 if ((n_for_cons == 281 || n_for_cons == 132) && (n1DeeSCEcna == 41)) {
3162 if (s_option ==
"TEcnaRun" || s_option ==
"TEcnaRead") {
3163 if (s_option ==
"TEcnaRun") {
3165 if (n1DeeSCEcna == 29 || n1DeeSCEcna == 32) {
3168 if (n1DeeSCEcna == 10 || n1DeeSCEcna == 11) {
3172 if (s_option ==
"TEcnaRead") {
3174 if (n1DeeSCEcna == 29 || n1DeeSCEcna == 32) {
3177 if (n1DeeSCEcna == 10 || n1DeeSCEcna == 11) {
3182 std::cout <<
"!TEcnaNumbering::MaxCrysInStinEcna(...)> " << s_option <<
": unknown option." <<
fTTBELL Double_t GetEtaMax(const Int_t &, const Int_t &)
Int_t Get1StexStinFrom0StexEcha(const Int_t &)
void BuildBarrelCrysTable()
TString GetSCQuadFrom1DeeSCEcna(const Int_t &)
Double_t GetVecoMin(const Int_t &, const Int_t &)
Int_t Get0SMEchaFrom1SMTowAnd0TowEcha(const Int_t &, const Int_t &)
Int_t Get1DeeSCEcnaFromDeeSCCons(const Int_t &, const Int_t &)
Double_t GetPhiMin(const Int_t &, const Int_t &)
Int_t GetSMFromFED(const Int_t &)
TString GetYDirectionEB(const Int_t &)
TString GetSMHalfBarrel(const Int_t &)
TString GetDeeDirViewedFromIP(const Int_t &)
TString GetJYDirectionEB(const Int_t &)
Double_t GetJPhiMax(const Int_t &, const Int_t &)
Int_t Get1DeeSCEcnaFrom0DeeEcha(const Int_t &)
TString GetEEDeeType(const Int_t &)
TString GetStinLvrbType(const Int_t &)
Double_t GetPhiMax(const Int_t &, const Int_t &)
Int_t Get1SCEchaFrom0DeeEcha(const Int_t &)
Double_t GetEtaMin(const Int_t &, const Int_t &)
Int_t Get0TowEchaFrom1SMCrys(const Int_t &)
Int_t GetIXSCInDee(const Int_t &)
Double_t GetIHocoMin(const Int_t &, const Int_t &)
Int_t Get1DeeSCEcnaFrom1DeeCrys(const Int_t &, const TString &)
Int_t GetHashedNumberFromIEtaAndIPhi(const Int_t &, const Int_t &)
Int_t Get1SMTowFrom1SMCrys(const Int_t &)
Bool_t RegisterPointer(const TString &, const Long_t &)
Int_t GetJYSCInDee(const Int_t &)
TString GetXDirectionEE(const Int_t &)
void BuildEndcapCrysTable()
TString GetTowerLvrbType(const Int_t &)
Double_t GetJVecoMin(const Int_t &, const Int_t &)
Int_t Get0TowEchaFrom0SMEcha(const Int_t &)
Double_t GetJIYMax(const Int_t &, const Int_t &)
Int_t GetJYCrysInDee(const Int_t &, const Int_t &, const Int_t &)
Int_t Get1SCEchaFrom1DeeCrys(const Int_t &, const TString &)
TString GetDeeHalfEndcap(const Int_t &)
Double_t GetJPhiMin(const Int_t &, const Int_t &)
TString GetYDirectionEE(const Int_t &)
Int_t Get1SMTowFrom0SMEcha(const Int_t &)
Int_t GetDSSCFrom1DeeSCEcna(const Int_t &, const Int_t &, const Int_t &)
Int_t GetDSFromFED(const Int_t &)
Double_t GetVecoMax(const Int_t &, const Int_t &)
Int_t StexEchaForCons(const Int_t &, const Int_t &)
Double_t GetJIYMin(const Int_t &, const Int_t &)
Int_t GetDSFrom1DeeSCEcna(const Int_t &, const Int_t &)
Int_t GetDeeSCConsFrom1DeeSCEcna(const Int_t &, const Int_t &)
Int_t Get1DeeCrysFrom1DeeSCEcnaAnd0SCEcha(const Int_t &, const Int_t &, const TString &)
Double_t GetEta(const Int_t &, const Int_t &, const Int_t &)
Int_t Get1SMCrysFrom1SMTowAnd0TowEcha(const Int_t &, const Int_t &)
Int_t MaxCrysInStinEcna(const Int_t &, const Int_t &, const TString &)
void BuildEndcapSCTable()
TString fCodeChNumberingITP2Top
Int_t GetIXCrysInSC(const Int_t &, const Int_t &, const Int_t &)
Double_t GetIEtaMin(const Int_t &, const Int_t &)
Int_t GetIPhiFromHashed(const Int_t &)
Int_t GetMaxSCInDS(const Int_t &)
Double_t GetPhiInSM(const Int_t &, const Int_t &, const Int_t &)
Int_t GetSCQuadTypeIndex(const TString &, const TString &)
Int_t MaxSCForConsInDee()
Int_t GetIEtaFromHashed(const Int_t &, const Int_t &)
Int_t GetJYCrysInSC(const Int_t &, const Int_t &, const Int_t &)
Double_t GetPhi(const Int_t &, const Int_t &, const Int_t &)
TString GetSCType(const Int_t &)
Double_t GetIHocoMax(const Int_t &, const Int_t &)
Int_t GetDeeDirIndex(const TString &)
Int_t GetIXCrysInDee(const Int_t &, const Int_t &, const Int_t &)
Int_t PlusMinusSMNumber(const Int_t &)
Int_t Get0StexEchaFrom1StexStinAnd0StinEcha(const Int_t &, const Int_t &)
Double_t GetIEtaMax(const Int_t &, const Int_t &)
TString GetStexHalfStas(const Int_t &)
TString GetEEDeeEndcap(const Int_t &)
TString GetEcalSubDetector()
TString fCodeChNumberingITP1Bot
Double_t GetSMCentralPhi(const Int_t &)
TString fCodeChNumberingLvrbBot
TString GetJYDirectionEE(const Int_t &)
Double_t GetJVecoMax(const Int_t &, const Int_t &)
void SetEcalSubDetector(const TString &)
Int_t Get1StexCrysFrom1StexStinAnd0StinEcha(const Int_t &, const Int_t &, const Int_t &)
TString fCodeChNumberingLvrbTop
TString GetXDirectionEB(const Int_t &)
Long_t GetPointerValue(const TString &)
~TEcnaNumbering() override