1 #ifndef DataFormats_MuonDetId_GEMDetId_h 2 #define DataFormats_MuonDetId_GEMDetId_h 144 void init(
int region,
std::ostream & operator<<(std::ostream &os, const GEMDetId &id)
static const int ChamberNumBits_
static const int RollStartBit_
static const int StationNumBits_
static const int minRingId
static const int minChamberId
constexpr uint32_t rawId() const
get the raw id
static const int maxRollId
static const uint32_t chamberIdMask_
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_
GEMDetId superChamberId() const
Return the corresponding superChamberId.
static const int maxChamberId
static const int RegionNumBits_
static const int maxLayerId
GEMDetId chamberId() const
Return the corresponding ChamberId.
static const int StationStartBit_
static const unsigned int RollMask_
bool operator<(const GEMDetId &r) const
Sort Operator based on the raw detector id.
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...
int station() const
Station id : the station is the pair of chambers at same disk.
static const int minRollId
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 int LayerNumBits_
static const unsigned int ChamberMask_
static const int RegionMask_
static const uint32_t superChamberIdMask_
static const int RingNumBits_
static const int maxRingId
static const int minLayerId
static const int maxRegionId
static const unsigned int LayerMask_
static const int RollNumBits_
static const int RingStartBit_