10 bool zplus = (
id.endcap()==1);
12 bool me1a = (
id.station()==1) && (
id.
ring()==4);
13 bool me1b = (
id.station()==1) && (
id.
ring()==1);
15 if ( me1a && zplus ) { iraw = 17 - iraw; }
16 if ( me1b && !zplus) { iraw = 65 - iraw; }
17 if ( me1a ) { iraw += 64 ;}
30 bool zplus = (
id.endcap()==1);
31 bool me11 = (
id.station()==1) && (
id.
ring()==1);
32 bool me1a = me11 && (iraw > 64);
33 bool me1b = me11 && (iraw <= 64);
35 if ( me1a ) igeo -= 64;
37 if ( me1a && zplus ) { igeo = 17 - igeo; }
38 if ( me1b && !zplus) { igeo = 65 - igeo; }
48 bool me1a = (
id.station()==1) && (
id.
ring()==4);
49 if ( me1a && strip>16 ) ichan = (strip-1)%16 + 1;
57 bool me1a = (
id.station()==1) && (
id.
ring()==4);
int geomStripChannel(const CSCDetId &id, int iraw) const
Return geometrical strip channel number for input raw channel number.
int channelFromStrip(const CSCDetId &id, int strip) const
int rawStripChannel(const CSCDetId &id, int igeom) const
Return raw strip channel number for input geometrical channel number.
CSCDetId rawCSCDetId(const CSCDetId &id) const