16 <<
" is not a valid GEM id";
25 <<
" is not a valid GEM id";
32 this->
init(region,ring,station,layer,chamber,roll);
39 if ( region < minRegionId || region >
maxRegionId ||
46 <<
" Invalid parameters: " 49 <<
" station "<<station
51 <<
" chamber "<<chamber
76 os <<
" Re "<<
id.region()
78 <<
" St "<<
id.station()
80 <<
" Ch "<<
id.chamber()
static const int RollStartBit_
static const int minRingId
static const int minChamberId
static const int maxRollId
static const int minRegionId
static const unsigned int StationMask_
int chamber() const
Chamber id: it identifies a chamber in a ring it goes from 1 to 36.
static const int RegionStartBit_
static const int maxChamberId
static const int maxLayerId
static const int StationStartBit_
static const unsigned int RollMask_
void init(int region, int ring, int station, int layer, int chamber, int roll)
int layer() const
Layer id: each station have two layers of chambers: layer 1 is the inner chamber and layer 2 is the o...
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
int station() const
Station id : the station is the pair of chambers at same disk.
static const int ChamberStartBit_
static const int LayerStartBit_
static const int maxStationId
int region() const
Region id: 0 for Barrel Not in use, +/-1 For +/- Endcap.
static const unsigned int RingMask_
static const int minStationId
static const unsigned int ChamberMask_
static const int RegionMask_
std::ostream & operator<<(std::ostream &os, const GEMDetId &id)
static const int maxRingId
static const int minLayerId
static const int maxRegionId
static const unsigned int LayerMask_
static const int RingStartBit_
constexpr Detector det() const
get the detector field from this detid