1 #ifndef CSCIndexerStartup_H
2 #define CSCIndexerStartup_H
60 const IndexType nrings[5] = {0, 3, 2, 2, 2};
72 const IndexType nSC[16] = {64, 80, 64, 16, 80, 80, 0, 0, 80, 80, 0, 0, 80, 80, 0, 0};
73 return nSC[(is - 1) * 4 + ir - 1];
85 const IndexType nSC[16] = {80, 80, 64, 80, 80, 80, 0, 0, 80, 80, 0, 0, 80, 80, 0, 0};
86 return nSC[(is - 1) * 4 + ir - 1];
98 const IndexType nCinL[16] = {5, 5, 4, 5, 5, 5, 0, 0, 5, 5, 0, 0, 5, 5, 0, 0};
99 return nCinL[(is - 1) * 4 + ir - 1];
119 const IndexType nSCinC[16] = {80, 80, 64, 80, 80, 80, 0, 0, 80, 80, 0, 0, 80, 80, 0, 0};
120 return nSCinC[(is - 1) * 4 + ir - 1];
139 const LongIndexType nStart[32] = {1, 17281, 34561, 1, 48385, 57025, 0, 0, 74305, 82945, 0,
140 0, 100225, 217729, 0, 0, 108865, 126145, 143425, 108865, 157249, 165889,
141 0, 0, 183169, 191809, 0, 0, 209089, 235009, 0, 0};
142 return nStart[(ie - 1) * 16 + (is - 1) * 4 + ir - 1];
161 const IndexType nCinL[16] = {5, 5, 4, 5, 5, 5, 0, 0, 5, 5, 0, 0, 5, 5, 0, 0};
162 return nCinL[(is - 1) * 4 + ir - 1];
181 const IndexType nStart[32] = {1, 1081, 2161, 1, 3025, 3565, 0, 0, 4645, 5185, 0, 0, 6265, 13609, 0, 0,
182 6805, 7885, 8965, 6805, 9829, 10369, 0, 0, 11449, 11989, 0, 0, 13069, 14689, 0, 0};
183 return nStart[(ie - 1) * 16 + (is - 1) * 4 + ir - 1];
208 const IndexType nStart[32] = {1, 1081, 4321,
224 return nStart[(ie - 1) * 16 + (is - 1) * 4 + ir - 1];
IndexType maxGasGainIndex() const override
IndexType stripChannelsPerLayer(IndexType is, IndexType ir) const override
IndexType onlineRingsInStation(IndexType is) const override
std::pair< CSCDetId, IndexType > detIdFromStripChannelIndex(LongIndexType ichi) const override
IndexType sectorStart(IndexType ie, IndexType is, IndexType ir) const override
GasGainIndexType detIdFromGasGainIndex(IndexType igg) const override
IndexType stripChannelsPerOfflineLayer(IndexType is, IndexType ir) const override
IndexType chipsPerOnlineLayer(IndexType is, IndexType ir) const override
LongIndexType stripChannelStart(IndexType ie, IndexType is, IndexType ir) const override
int dbIndex(const CSCDetId &id, int &channel) const override
IndexType chipStart(IndexType ie, IndexType is, IndexType ir) const override
IndexType maxChipIndex() const override
~CSCIndexerStartup() override
std::string name() const override
std::pair< CSCDetId, IndexType > detIdFromChipIndex(IndexType ichi) const override
IndexType chipsPerLayer(IndexType is, IndexType ir) const override
std::tuple< CSCDetId, IndexType, IndexType > GasGainIndexType
LongIndexType maxStripChannelIndex() const override
IndexType stripChannelsPerOnlineLayer(IndexType is, IndexType ir) const override