22 etaBoundariesEndcap[4][2][6] = {{{{1.500, 1.800, 12},{0.000, 0.000, 0},{0.000, 0.000, 0},{0.000, 0.000, 0},{0.000, 0.000, 0},{0.000, 0.000, 0}},
23 {{0.000, 0.000, 0},{0.000, 0.000, 0},{0.000, 0.000, 0},{0.000, 0.000, 0},{0.000, 0.000, 0},{0.000, 0.000, 0}}},
24 {{{1.375, 1.425, 1},{1.425, 1.500, 3},{1.500, 1.800, 96},{1.800, 2.000, 48},{2.000, 2.400, 64},{2.400, 2.500, 4}},
25 {{2.500, 3.200, 7},{0.000, 0.000, 0},{0.000, 0.000, 0},{0.000, 0.000, 0},{0.000, 0.000, 0},{0.000, 0.000, 0}}},
26 {{{1.375, 1.425, 1},{1.425, 2.5, 43},{0.000, 0.000, 0},{0.000, 0.000, 0},{0.000, 0.000, 0},{0.000, 0.000, 0}},
27 {{2.500, 3.200, 7},{0.000, 0.000, 0},{0.000, 0.000, 0},{0.000, 0.000, 0},{0.000, 0.000, 0},{0.000, 0.000, 0}}},
28 {{{1.500, 2.500, 20},{0.000, 0.000, 0},{0.000, 0.000, 0},{0.000, 0.000, 0},{0.000, 0.000, 0},{0.000, 0.000, 0}},
29 {{0.000, 0.000, 0},{0.000, 0.000, 0},{0.000, 0.000, 0},{0.000, 0.000, 0},{0.000, 0.000, 0},{0.000, 0.000, 0}}}};
36 ,
unsigned int sampling
38 ,
unsigned int radialPart
39 ,
const CellBinning &phiBinning)
40 : m_manager(detManager)
41 , m_samplingIndex(sampling)
42 , m_regionIndex(region)
43 , m_radialIndex(radialPart)
44 , m_phiBinning(phiBinning)
45 , m_etaBinning(etaBoundariesEndcap[sampling][radialPart][region].
min
46 ,etaBoundariesEndcap[sampling][radialPart][region].
max
47 ,etaBoundariesEndcap[sampling][radialPart][region].nDiv)
66 throw std::range_error(
"Attempt to construct EMEC DetDescr with illegal index combinations");
69 const double inv_dEta = 1. /
dEta;
73 int ipad =
int((
eta - eta0) * inv_dEta);
80 else if (sampling==2) {
88 else if (sampling==3) {
93 throw std::range_error(
"Attempt to construct EMEC DetDescr with illegal index combinations");
102 else if (sampling==2) {
107 throw std::range_error(
"Attempt to construct EMEC DetDescr with illegal index combinations");
111 throw std::range_error(
"Attempt to construct EMEC DetDescr with illegal index combinations");
113 m_offset.push_back((front+back)/2.);