Go to the documentation of this file. 1 #ifndef MuonDetId_RPCDetId_h
2 #define MuonDetId_RPCDetId_h
30 if (
r.station() == this->
station()) {
65 <<
" Ring - Region Inconsistency, "
66 <<
" region " << this->
region() <<
" ring " << ring_ << std::endl;
static constexpr int maxLayerId
static constexpr int RingBarrelOffSet
static constexpr uint32_t chamberIdMask_
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.
int subsector() const
SubSector id : some sectors are divided along the phi direction in subsectors (from 1 to 4 in Barrel,...
static constexpr int minStationId
static constexpr int SectorStartBit_
static constexpr int SubSectorStartBit_
static constexpr int RegionNumBits_
static constexpr int LayerNumBits_
bool operator<(const RPCDetId &r) const
Sort Operator based on the raw detector id.
static constexpr int maxSectorForwardId
static constexpr unsigned int StationMask_
static constexpr int RegionStartBit_
static constexpr unsigned int RingMask_
static constexpr int maxRingForwardId
static constexpr int maxRegionId
static constexpr int maxSectorBarrelId
static constexpr int minSubSectorBarrelId
static constexpr int maxRollId
static constexpr unsigned int LayerMask_
static constexpr int SectorNumBits_
void buildfromDB(int region, int ring, int layer, int sector, const std::string &subsector, const std::string &roll, const std::string &dbname)
static const char ring_[]
static constexpr int RingNumBits_
static constexpr int minRingForwardId
static constexpr int minRingBarrelId
static constexpr unsigned int SectorMask_
static constexpr int maxRingBarrelId
void buildfromTrIndex(int trIndex)
Built from the trigger det Index.
static constexpr int minSubSectorForwardId
static constexpr int SubSectorNumBits_
static constexpr unsigned int SubSectorMask_
static constexpr int StationNumBits_
static constexpr int maxSubSectorForwardId
static constexpr int minSectorId
static constexpr int RingStartBit_
static constexpr int LayerStartBit_
static constexpr int StationStartBit_
static constexpr int maxSubSectorId
void init(int region, int ring, int station, int sector, int layer, int subsector, int roll)
static constexpr int RegionMask_
static constexpr int RollStartBit_
static constexpr int minRollId
static constexpr int minSubSectorId
static constexpr int maxSubSectorBarrelId
constexpr uint32_t rawId() const
get the raw id
RPCDetId chamberId() const
Return the corresponding ChamberId.
static constexpr int maxStationId
static constexpr int minLayerId
int sector() const
Sector id: the group of chambers at same phi (and increasing r)
std::ostream & operator<<(std::ostream &os, const RPCDetId &id)
static constexpr unsigned int RollMask_
static constexpr int maxSectorId
static constexpr int minSectorBarrelId
static constexpr int minRegionId
static constexpr int minSectorForwardId
static constexpr int RollNumBits_