1 #ifndef MuonDetId_RPCDetId_h
2 #define MuonDetId_RPCDetId_h
65 <<
" Ring - Region Inconsistency, "
66 <<
" region " << this->
region() <<
" ring " << ring_ << std::endl;
168 void init(
int region,
int ring,
int station,
int sector,
int layer,
int subsector,
int roll);
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_
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_
constexpr uint32_t rawId() const
get the raw id
static constexpr int maxSectorForwardId
static constexpr int minSubSectorForwardId
static constexpr int minSubSectorBarrelId
static constexpr unsigned int LayerMask_
static constexpr int RegionNumBits_
std::ostream & operator<<(std::ostream &out, const ALILine &li)
static constexpr int RollNumBits_
static constexpr int minSectorForwardId
static constexpr int maxSectorId
RPCDetId chamberId() const
Return the corresponding ChamberId.
static constexpr int maxRingBarrelId
static constexpr int RollStartBit_
static constexpr int minRegionId
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_
static constexpr int LayerStartBit_
static constexpr int minStationId
static constexpr int minSectorId
bool operator<(const RPCDetId &r) const
Sort Operator based on the raw detector id.
static constexpr int minSectorBarrelId
static constexpr int RingBarrelOffSet
static constexpr int maxLayerId
static constexpr int maxRegionId
static constexpr int RegionStartBit_
static constexpr unsigned int RollMask_
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 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
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.