22etaBoundariesEndcap[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)
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;
71 for (
unsigned int i=0;i<
m_etaBinning.getNumDivisions();i++) {
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.);
Scalar eta() const
pseudorapidity method
std::vector< double > m_offset
Vector of cell center positions for the cells, one for each eta index.
~EMECDetDescr()
Destructor.
unsigned int m_regionIndex
const EMECDetectorManager * m_manager
unsigned int m_radialIndex
std::vector< double > m_halfLength
Vector of half-lengths for the cells, one for each eta index.
EMECDetDescr(const EMECDetectorManager *detManager, unsigned int sampling, unsigned int region, unsigned int radialPart, const CellBinning &phiBinning)
Constructor.
unsigned int m_samplingIndex
A manager class providing access to readout geometry information for the electromagnetic endcap calor...