14 constexpr
int detRegMax =
static_cast<int>(DetRegIdx::DetectorRegionIndexMax);
15 constexpr
int layIdxMax =
static_cast<int>(LayIdx::LayerIndexMax);
16 for (
int reg = 0; reg < detRegMax; ++reg) {
17 const auto region =
static_cast<DetRegIdx>(reg);
18 for (
int lay = 0; lay < layIdxMax; ++lay) {
23 if (descriptor.
chIndex == ChIdx::ChUnknown)
continue;
40 for (
auto& sector :
m_sectors) sector->reset();
51 for (
unsigned int i = 1;
i <= 16; ++
i) {
m_sectors.push_back(std::make_unique<MuonSectorHough>(
i, detectorDescription)); }
52 for (
int i = 0; i < static_cast<int>(DetRegIdx::DetectorRegionIndexMax); ++
i) {
60 bool isSmall = (sector % 2 == 0);
62 if (chIndex <= ChIdx::ChUnknown || chIndex >= ChIdx::ChIndexMax) {
67 descriptor.
sector = sector;
70 if ((sector == 10 || sector == 14) &&
layer == LayIdx::Inner)
72 else if ((sector == 11 || sector == 13) &&
layer == LayIdx::Outer)
74 }
else if (region == DetRegIdx::EndcapC) {
75 descriptor.
region = region;
76 if (
layer == LayIdx::BarrelExtended) {
88 double scalefactor = 1.0;
90 int middle_step = 5 * scalefactor;
91 int outer_step = 7 * scalefactor;
92 double inner_gap = 0.05;
93 double middle_gap = 0.1 / scalefactor;
94 double outer_gap = middle_gap;
98 4560, -7500, 7500, ystep, middle_gap, inner_step);
100 4950, -7000, 7000, ystep, middle_gap, inner_step);
102 8096, -9500, 9500, ystep, middle_gap, middle_step);
104 7153, -9500, 9500, ystep, middle_gap, middle_step);
106 10570, -13500, 13500, ystep, outer_gap, outer_step);
108 9500, -13500, 13500, ystep, outer_gap, outer_step);
110 4415, 7500, 13000, ystep, middle_gap, middle_step);
112 7270, 1000, 7000, ystep, inner_gap, inner_step);
114 7675, 1000, 8000, ystep, inner_gap, inner_step);
116 10800, 4000, 10000, ystep, middle_gap, middle_step);
118 11330, 4000, 10000, ystep, middle_gap, middle_step);
120 13872, 1500, 13000, ystep, middle_gap, middle_step);
122 14310, 1500, 13000, ystep, middle_gap, middle_step);
124 21841, 2000, 13500, ystep, outer_gap, outer_step);
126 21421, 2000, 13500, ystep, outer_gap, outer_step);