Go to the documentation of this file. 1 #ifndef DataFormats_MuonDetId_ME0DetId_h
2 #define DataFormats_MuonDetId_ME0DetId_h
static const int minRegionId
static const uint32_t layerIdMask_
static const int RegionNumBits_
static const int LayerNumBits_
bool operator<(const ME0DetId &r) const
Sort Operator based on the raw detector id.
static const int ChamberNumBits_
static const unsigned int ChamberMask_
static const unsigned int RollMask_
static const int maxChamberId
static const unsigned int LayerMask_
ME0DetId layerId() const
Return the corresponding LayerId (mask eta partition)
static const int RollStartBit_
static const int minChamberId
static const int maxLayerId
void init(int region, int layer, int chamber, int roll)
int nlayers() const
For future modifications (implement more layers)
static const int maxRegionId
ME0DetId chamberId() const
Return the corresponding ChamberId (mask layers)
constexpr uint32_t rawId() const
get the raw id
static const int ChamberStartBit_
std::ostream & operator<<(std::ostream &os, const ME0DetId &id)
static const int RegionStartBit_
static const int RollNumBits_
static const int minLayerId
int chamber() const
Chamber id: it identifies a chamber in a ring it goes from 1 to 36.
static const int minRollId
static const int RegionMask_
static const uint32_t chamberIdMask_
int region() const
Region id: 0 for Barrel Not in use, +/-1 For +/- Endcap.
int layer() const
Layer id: each chamber has six layers of chambers: layer 1 is the inner layer and layer 6 is the oute...
static const int maxRollId
static const int LayerStartBit_