1 #ifndef HcalSimAlgos_HcalFinegrainBit_h 2 #define HcalSimAlgos_HcalFinegrainBit_h 12 typedef std::array<std::bitset<6>, 2>
Tower;
14 typedef std::array<std::pair<std::pair<int, bool>, std::pair<int, int>>, 7>
TowerTDC;
30 {12, 12, 12, 12, 0, 0, 0}, {12, 12, 12, 12, 0, 0, 0}, {12, 12, 12, 12, 0, 0, 0}, {12, 12, 12, 12, 0, 0, 0},
31 {12, 12, 12, 12, 0, 0, 0}, {12, 12, 12, 12, 0, 0, 0}, {12, 12, 12, 12, 0, 0, 0}, {12, 12, 12, 12, 0, 0, 0},
32 {12, 12, 12, 12, 0, 0, 0}, {12, 12, 12, 12, 0, 0, 0}, {12, 12, 12, 12, 0, 0, 0}, {12, 12, 12, 12, 0, 0, 0},
33 {12, 12, 12, 12, 0, 0, 0}, {12, 12, 12, 12, 0, 0, 0}, {12, 12, 12, 12, 0, 0, 0}, {12, 12, 12, 12, 0, 0, 0},
34 {0, 12, 10, 0, 0, 0, 0}, {0, 9, 10, 9, 10, 0, 0}, {16, 9, 9, 9, 11, 10, 0}, {17, 8, 9, 8, 9, 10, 0},
35 {9, 7, 7, 7, 9, 6, 0}, {8, 7, 7, 6, 6, 6, 0}, {8, 6, 6, 6, 7, 7, 0}, {7, 6, 6, 6, 7, 6, 0},
36 {7, 6, 6, 6, 6, 6, 0}, {6, 6, 6, 6, 6, 6, 0}, {6, 5, 6, 6, 6, 7, 10}, {9, 9, 9, 5, 5, 6, 6},
37 {0, 0, 0, 0, 0, 0, 0}};
std::array< std::bitset< 6 >, 2 > Tower
std::array< std::pair< std::pair< int, bool >, std::pair< int, int > >, 7 > TowerTDC
std::bitset< 2 > compute(const Tower &) const
HcalFinegrainBit(int version)
const int tdc_boundary[29][7]