1 #ifndef MuonDetId_CSCIndexer_h
2 #define MuonDetId_CSCIndexer_h
88 const IndexType nschin[24] = {1,37,73, 109,127,0, 163,181,0, 217,469,0,
89 235,271,307, 343,361,0, 397,415,0, 451,505,0 };
90 return nschin[(ie-1)*12 + (is-1)*3 + ir-1];
108 return (
chamberIndex(ie,is,ir,ic) - 1 ) * layersInChamber + il;
128 if (is >1 && ir<2 ) nc = 18;
142 const IndexType nSCinC[12] = { 80,80,64, 80,80,0, 80,80,0, 80,80,0 };
143 return nSCinC[(is-1)*3 + ir - 1];
161 const LongIndexType nStart[24] = { 1,17281,34561, 48385,57025,0, 74305,82945,0, 100225,217729,0,
162 108865,126145,143425, 157249,165889,0, 183169,191809,0, 209089,235009,0 };
163 return nStart[(ie-1)*12 + (is-1)*3 + ir - 1];
202 const IndexType nCinL[12] = { 5,5,4, 5,5,0, 5,5,0, 5,5,0 };
203 return nCinL[(is-1)*3 + ir - 1];
221 const IndexType nStart[24] = {1, 1081, 2161, 3025, 3565, 0, 4645, 5185, 0, 6265, 13609,0,
222 6805, 7885, 8965, 9829, 10369,0, 11449, 11989, 0, 13069, 14689 ,0 };
224 return nStart[(ie-1)*12 + (is-1)*3 + ir - 1];
266 return (istrip-1)/16+1;
std::pair< CSCDetId, IndexType > detIdFromStripChannelIndex(LongIndexType ichi) const
IndexType chamberLabelFromChamberIndex(IndexType) const
IndexType chipsPerLayer(IndexType is, IndexType ir) const
IndexType layerIndex(IndexType ie, IndexType is, IndexType ir, IndexType ic, IndexType il) const
IndexType chamberIndex(const CSCDetId &id) const
void fillChamberLabel() const
IndexType chambersInRingOfStation(IndexType is, IndexType ir) const
LongIndexType stripChannelIndex(const CSCDetId &id, IndexType istrip) const
IndexType ringsInStation(IndexType is) const
int dbIndex(const CSCDetId &id, int &channel)
CSCDetId detIdFromChamberIndex(IndexType ici) const
CSCDetId detIdFromChamberIndex_OLD(IndexType ici) const
std::pair< CSCDetId, IndexType > detIdFromChipIndex(IndexType ichi) const
IndexType chamberIndex(IndexType ie, IndexType is, IndexType ir, IndexType ic) const
IndexType chipIndex(IndexType istrip) const
IndexType chipStart(IndexType ie, IndexType is, IndexType ir) const
CSCDetId detIdFromChamberLabel(IndexType ie, IndexType icl) const
IndexType chipIndex(const CSCDetId &id, IndexType ichip) const
IndexType stripChannelsPerLayer(IndexType is, IndexType ir) const
IndexType layerIndex(const CSCDetId &id) const
IndexType chipIndex(IndexType ie, IndexType is, IndexType ir, IndexType ic, IndexType il, IndexType ichip) const
IndexType startChamberIndexInEndcap(IndexType ie, IndexType is, IndexType ir) const
std::vector< IndexType > chamberLabel
LongIndexType stripChannelStart(IndexType ie, IndexType is, IndexType ir) const
LongIndexType stripChannelIndex(IndexType ie, IndexType is, IndexType ir, IndexType ic, IndexType il, IndexType istrip) const
CSCDetId detIdFromLayerIndex(IndexType ili) const