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