12 if(station > 1 && ring > 1 ) {
13 result = ((
static_cast<unsigned>(chamber-3) & 0x7f) / 6) + 1;
16 result = (station != 1) ? ((static_cast<unsigned>(chamber-2) & 0x1f) / 3) + 1 :
17 ((
static_cast<unsigned>(chamber-3) & 0x7f) / 6) + 1;
20 return (result <= 6) ? result : 6;
47 result = (chamber+1) % 3 + 1;
50 result = (chamber+3) % 6 + 4;
57 int i = 2 * istation + iring;
58 if ( istation == 1 ) {
68 return "ME" + eSign + std::to_string(station) +
"/" + std::to_string(ring) +
"/" + std::to_string(chamber);
80 os <<
" E:" <<
id.endcap()
81 <<
" S:" <<
id.station()
83 <<
" C:" <<
id.chamber()
84 <<
" L:" <<
id.layer();
std::ostream & operator<<(std::ostream &os, const CSCDetId &id)
unsigned short iChamberType() const
std::string chamberName() const
int triggerSector() const