15 for (
IndexType ir = 1; ir <= irmax; ++ir )
18 for (
IndexType ic = 1; ic <= icmax; ++ic )
61 if (is > 2 && ir == 1)
63 if ( iwire >= 33 && iwire <= 64 ) { hvSegment = 2; }
64 else if ( iwire >= 65 && iwire <= 96 ) { hvSegment = 3; }
66 else if (is > 1 && ir == 2)
68 if ( iwire >= 17 && iwire <= 28 ) { hvSegment = 2; }
69 else if ( iwire >= 29 && iwire <= 40 ) { hvSegment = 3; }
70 else if ( iwire >= 41 && iwire <= 52 ) { hvSegment = 4; }
71 else if ( iwire >= 53 && iwire <= 64 ) { hvSegment = 5; }
73 else if (is == 1 && ir == 2)
75 if ( iwire >= 25 && iwire <= 48 ) { hvSegment = 2; }
76 else if ( iwire >= 49 && iwire <= 64 ) { hvSegment = 3; }
78 else if (is == 1 && ir == 3)
80 if ( iwire >= 13 && iwire <= 22 ) { hvSegment = 2; }
81 else if ( iwire >= 23 && iwire <= 32 ) { hvSegment = 3; }
83 else if (is == 2 && ir == 1)
85 if ( iwire >= 45 && iwire <= 80 ) { hvSegment = 2; }
86 else if ( iwire >= 81 && iwire <= 112) { hvSegment = 3; }
CSCDetId detIdFromChamberIndex(IndexType ici) const
IndexType chambersInRingOfStation(IndexType is, IndexType ir) const
CSCDetId detIdFromChamberLabel(IndexType ie, IndexType icl) const
IndexType hvSegmentIndex(IndexType is, IndexType ir, IndexType iwire) const
CSCDetId detIdFromLayerIndex(IndexType ili) const
IndexType chamberLabelFromChamberIndex(IndexType) const
IndexType ringsInStation(IndexType is) const
virtual ~CSCIndexerBase()
std::vector< IndexType > chamberLabel_