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