Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:34:42

0001 #ifndef __HiEvtPlaneList__
0002 #define __HiEvtPlaneList__
0003 /*
0004 Index     Name   Detector Order hmin1 hmax1 hmin2 hmax2 minpt maxpt nsub mcw    rmate1    rmate2
0005     0      HFm2        HF     2 -5.00 -3.00  0.00  0.00  0.01 30.00 3sub  no      HFp2 trackmid2
0006     1      HFp2        HF     2  3.00  5.00  0.00  0.00  0.01 30.00 3sub  no      HFm2 trackmid2
0007     2       HF2        HF     2 -5.00 -3.00  3.00  5.00  0.01 30.00 3sub  no   trackm2   trackp2
0008     3 trackmid2   Tracker     2 -0.50  0.50  0.00  0.00  0.50  3.00 3sub  no      HFm2      HFp2
0009     4   trackm2   Tracker     2 -2.00 -1.00  0.00  0.00  0.50  3.00 3sub  no      HFp2      HFm2
0010     5   trackp2   Tracker     2  1.00  2.00  0.00  0.00  0.50  3.00 3sub  no      HFp2      HFm2
0011     6      HFm3        HF     3 -5.00 -3.00  0.00  0.00  0.01 30.00 3sub  no      HFp3 trackmid3
0012     7      HFp3        HF     3  3.00  5.00  0.00  0.00  0.01 30.00 3sub  no      HFm3 trackmid3
0013     8       HF3        HF     3 -5.00 -3.00  3.00  5.00  0.01 30.00 3sub  no   trackm3   trackp3
0014     9 trackmid3   Tracker     3 -0.50  0.50  0.00  0.00  0.50  3.00 3sub  no      HFm3      HFp3
0015    10   trackm3   Tracker     3 -2.00 -1.00  0.00  0.00  0.50  3.00 3sub  no      HFp3      HFm3
0016    11   trackp3   Tracker     3  1.00  2.00  0.00  0.00  0.50  3.00 3sub  no      HFp3      HFm3
0017 */
0018 #include <string>
0019 namespace hi {
0020 
0021   // clang-format off
0022   enum EPNamesInd {
0023           HFm2,        HFp2,         HF2,   trackmid2,     trackm2,
0024        trackp2,        HFm3,        HFp3,         HF3,   trackmid3,
0025        trackm3,     trackp3,   EPBLANK
0026   };
0027 
0028   static const int NumEPNames = 12;
0029 
0030   const std::array<std::string, NumEPNames> EPNames = {{
0031         "HFm2",      "HFp2",       "HF2", "trackmid2",   "trackm2",
0032      "trackp2",      "HFm3",      "HFp3",       "HF3", "trackmid3",
0033      "trackm3",   "trackp3"
0034   }};
0035 
0036   enum Detectors { Tracker, HF, Castor, RPD };
0037 
0038   const std::array<int, NumEPNames> EPDet = {{
0039           HF,        HF,        HF,   Tracker,   Tracker,
0040      Tracker,        HF,        HF,        HF,   Tracker,
0041      Tracker,   Tracker
0042   }};
0043 
0044   const std::array<int, NumEPNames> EPOrder = {{
0045              2,           2,           2,           2,           2,
0046              2,           3,           3,           3,           3,
0047              3,           3
0048   }};
0049 
0050   const std::array<double, NumEPNames> EPEtaMin1 = {{
0051          -5.00,        3.00,       -5.00,       -0.50,       -2.00,
0052           1.00,       -5.00,        3.00,       -5.00,       -0.50,
0053          -2.00,        1.00
0054   }};
0055 
0056   const std::array<double, NumEPNames> EPEtaMax1 = {{
0057          -3.00,        5.00,       -3.00,        0.50,       -1.00,
0058           2.00,       -3.00,        5.00,       -3.00,        0.50,
0059          -1.00,        2.00
0060   }};
0061 
0062   const std::array<double, NumEPNames> EPEtaMin2 = {{
0063           0.00,        0.00,        3.00,        0.00,        0.00,
0064           0.00,        0.00,        0.00,        3.00,        0.00,
0065           0.00,        0.00
0066   }};
0067 
0068   const std::array<double, NumEPNames> EPEtaMax2 = {{
0069           0.00,        0.00,        5.00,        0.00,        0.00,
0070           0.00,        0.00,        0.00,        5.00,        0.00,
0071           0.00,        0.00
0072   }};
0073 
0074   const std::array<double, NumEPNames> minTransverse = {{
0075           0.01,        0.01,        0.01,        0.50,        0.50,
0076           0.50,        0.01,        0.01,        0.01,        0.50,
0077           0.50,        0.50
0078   }};
0079 
0080   const std::array<double, NumEPNames> maxTransverse = {{
0081          30.00,       30.00,       30.00,        3.00,        3.00,
0082           3.00,       30.00,       30.00,       30.00,        3.00,
0083           3.00,        3.00
0084   }};
0085 
0086   const std::array<std::string, NumEPNames> ResCalcType = {{
0087         "3sub",      "3sub",      "3sub",      "3sub",      "3sub",
0088         "3sub",      "3sub",      "3sub",      "3sub",      "3sub",
0089         "3sub",      "3sub"
0090   }};
0091 
0092   const std::array<std::string, NumEPNames> MomConsWeight = {{
0093           "no",        "no",        "no",        "no",        "no",
0094           "no",        "no",        "no",        "no",        "no",
0095           "no",        "no"
0096   }};
0097 
0098   const std::array<int, NumEPNames> RCMate1 = {{
0099         HFp2,      HFm2,   trackm2,      HFm2,      HFp2,
0100         HFp2,      HFp3,      HFm3,   trackm3,      HFm3,
0101         HFp3,      HFp3
0102   }};
0103 
0104   const std::array<int, NumEPNames> RCMate2 = {{
0105    trackmid2, trackmid2,   trackp2,      HFp2,      HFm2,
0106         HFm2, trackmid3, trackmid3,   trackp3,      HFp3,
0107         HFm3,      HFm3
0108   }};
0109 
0110   // clang-format on
0111 }  // namespace hi
0112 #endif