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