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