1 #ifndef CSCIndexerStartup_H
2 #define CSCIndexerStartup_H
61 const IndexType nrings[5] = { 0, 3, 2, 2, 2 };
74 const IndexType nSC[16] = { 64,80,64,16, 80,80,0,0, 80,80,0,0, 80,80,0,0 };
75 return nSC[(is-1)*4 + ir - 1];
87 const IndexType nSC[16] = { 80,80,64,80, 80,80,0,0, 80,80,0,0, 80,80,0,0 };
88 return nSC[(is-1)*4 + ir - 1];
100 const IndexType nCinL[16] = { 5,5,4,5, 5,5,0,0, 5,5,0,0, 5,5,0,0 };
101 return nCinL[(is - 1)*4 + ir - 1];
122 const IndexType nSCinC[16] = { 80,80,64,80, 80,80,0,0, 80,80,0,0, 80,80,0,0 };
123 return nSCinC[(is - 1)*4 + ir - 1];
142 { 1, 17281, 34561, 1, 48385, 57025,0,0, 74305, 82945,0,0, 100225,217729,0,0,
143 108865,126145,143425,108865, 157249,165889,0,0, 183169,191809,0,0, 209089,235009,0,0 };
144 return nStart[(ie - 1)*16 + (is - 1)*4 + ir - 1];
164 const IndexType nCinL[16] = { 5,5,4,5, 5,5,0,0, 5,5,0,0, 5,5,0,0 };
165 return nCinL[(is - 1)*4 + ir - 1];
184 { 1, 1081, 2161, 1, 3025, 3565, 0,0, 4645, 5185, 0,0, 6265, 13609,0,0,
185 6805, 7885, 8965, 6805, 9829, 10369,0,0, 11449, 11989, 0,0, 13069, 14689,0,0 };
186 return nStart[(ie - 1)*16 + (is - 1)*4 + ir - 1];
216 22573,23653,26893, 22573,
220 return nStart[(ie-1)*16 + (is-1)*4 + ir - 1];
IndexType maxChipIndex() const
GasGainIndexType detIdFromGasGainIndex(IndexType igg) const
IndexType stripChannelsPerOfflineLayer(IndexType is, IndexType ir) const
IndexType maxGasGainIndex() const
boost::tuple< CSCDetId, IndexType, IndexType > GasGainIndexType
IndexType stripChannelsPerLayer(IndexType is, IndexType ir) const
LongIndexType maxStripChannelIndex() const
IndexType stripChannelsPerOnlineLayer(IndexType is, IndexType ir) const
IndexType onlineRingsInStation(IndexType is) const
int dbIndex(const CSCDetId &id, int &channel) const
IndexType chipStart(IndexType ie, IndexType is, IndexType ir) const
IndexType chipsPerOnlineLayer(IndexType is, IndexType ir) const
std::pair< CSCDetId, IndexType > detIdFromChipIndex(IndexType ichi) const
IndexType chipsPerLayer(IndexType is, IndexType ir) const
LongIndexType stripChannelStart(IndexType ie, IndexType is, IndexType ir) const
std::pair< CSCDetId, IndexType > detIdFromStripChannelIndex(LongIndexType ichi) const
IndexType sectorStart(IndexType ie, IndexType is, IndexType ir) const