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