CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes
RPCCompDetId Class Reference

#include <DataFormats/MuonDetId/interface/RPCCompDetId.h>

Inheritance diagram for RPCCompDetId:
DetId

Public Member Functions

std::string dbname () const
 
int disk () const
 
int layer () const
 
bool operator< (const RPCCompDetId &r) const
 Sort Operator based on the name. More...
 
int region () const
 
int ring () const
 
 RPCCompDetId ()
 
 RPCCompDetId (const std::string &dbname, int type)
 Construct from name stored in DB. More...
 
 RPCCompDetId (DetId id)
 
 RPCCompDetId (int region, int ring, int station, int sector, int layer, int subsector, int type)
 Construct from fully qualified identifier. More...
 
 RPCCompDetId (uint32_t id)
 
int sector () const
 
int station () const
 
int subsector () const
 
int type () const
 
int wheel () const
 
- Public Member Functions inherited from DetId
constexpr Detector det () const
 get the detector field from this detid More...
 
constexpr DetId ()
 Create an empty or null id (also for persistence) More...
 
constexpr DetId (Detector det, int subdet)
 Create an id, filling the detector and subdetector fields as specified. More...
 
constexpr DetId (uint32_t id)
 Create an id from a raw number. More...
 
constexpr bool null () const
 is this a null id ? More...
 
constexpr operator uint32_t () const
 
constexpr bool operator!= (DetId id) const
 inequality More...
 
constexpr uint32_t operator() () const
 
constexpr bool operator< (DetId id) const
 comparison More...
 
constexpr bool operator== (DetId id) const
 equality More...
 
constexpr uint32_t rawId () const
 get the raw id More...
 
constexpr int subdetId () const
 get the contents of the subdetector field (not cast into any detector's numbering enum) More...
 

Static Public Attributes

static const int allLayerId = minLayerId - 1
 
static const int allRegionId = minRegionId - 1
 
static const int allRingId = minRingBarrelId - 1
 
static const int allSectorId = minSectorId - 1
 
static const int allStationId = minStationId - 1
 
static const int allSubSectorId = minSubSectorId - 1
 
static const int maxLayerId = 2
 
static const int maxRegionId = 1
 
static const int maxRingBarrelId = 2
 
static const int maxRingForwardId = 3
 
static const int maxSectorBarrelId = 12
 
static const int maxSectorForwardId = 36
 
static const int maxSectorId = 36
 
static const int maxStationId = 4
 
static const int maxSubSectorId = 2
 
static const int minLayerId = 1
 
static const int minRegionId = -1
 
static const int minRingBarrelId = -2
 
static const int minRingForwardId = 1
 
static const int minSectorBarrelId = 1
 
static const int minSectorForwardId = 1
 
static const int minSectorId = 1
 
static const int minStationId = 1
 
static const int minSubSectorId = 1
 
static const int RingBarrelOffSet = 3
 
- Static Public Attributes inherited from DetId
static const int kDetMask = 0xF
 
static const int kDetOffset = 28
 
static const int kSubdetMask = 0x7
 
static const int kSubdetOffset = 25
 

Private Member Functions

std::string gasDBname () const
 
void init ()
 
void init (int region, int ring, int station, int sector, int layer, int subsector)
 
void initGas ()
 

Private Attributes

std::string _dbname
 
int _type
 

Static Private Attributes

static const unsigned int LayerMask_ = 0X3
 
static const int LayerNumBits_ = 2
 
static const int LayerStartBit_ = SectorStartBit_ + SectorNumBits_
 
static const int RegionMask_ = 0X3
 
static const int RegionNumBits_ = 2
 
static const int RegionStartBit_ = 0
 
static const unsigned int RingMask_ = 0X7
 
static const int RingNumBits_ = 3
 
static const int RingStartBit_ = RegionStartBit_ + RegionNumBits_
 
static const unsigned int SectorMask_ = 0X3F
 
static const int SectorNumBits_ = 6
 
static const int SectorStartBit_ = StationStartBit_ + StationNumBits_
 
static const unsigned int StationMask_ = 0X7
 
static const int StationNumBits_ = 3
 
static const int StationStartBit_ = RingStartBit_ + RingNumBits_
 
static const unsigned int SubSectorMask_ = 0X3
 
static const int SubSectorNumBits_ = 2
 
static const int SubSectorStartBit_ = LayerStartBit_ + LayerNumBits_
 

Additional Inherited Members

- Public Types inherited from DetId
enum  Detector {
  Tracker = 1, Muon = 2, Ecal = 3, Hcal = 4,
  Calo = 5, Forward = 6, VeryForward = 7, HGCalEE = 8,
  HGCalHSi = 9, HGCalHSc = 10, HGCalTrigger = 11
}
 
- Protected Attributes inherited from DetId
uint32_t id_
 

Detailed Description

Description: DetId for composite RPC objects

Definition at line 21 of file RPCCompDetId.h.

Constructor & Destructor Documentation

◆ RPCCompDetId() [1/5]

RPCCompDetId::RPCCompDetId ( )

Definition at line 17 of file RPCCompDetId.cc.

◆ RPCCompDetId() [2/5]

RPCCompDetId::RPCCompDetId ( uint32_t  id)

Construct from a packed id. It is required that the Detector part of id is Muon and the SubDet part is RPC, otherwise an exception is thrown.

Definition at line 19 of file RPCCompDetId.cc.

19  : DetId(id), _dbname(""), _type(0) {
20  if (det() != DetId::Muon || subdetId() != MuonSubdetId::RPC) {
21  throw cms::Exception("InvalidDetId") << "RPCCompDetId ctor:"
22  << " det: " << det() << " subdet: " << subdetId() << " is not a valid RPC id";
23  }
24 }

References DetId::det(), Exception, DetId::Muon, MuonSubdetId::RPC, and DetId::subdetId().

◆ RPCCompDetId() [3/5]

RPCCompDetId::RPCCompDetId ( DetId  id)

Definition at line 26 of file RPCCompDetId.cc.

26  : DetId(id), _dbname(""), _type(0) {
27  if (det() != DetId::Muon || subdetId() != MuonSubdetId::RPC) {
28  throw cms::Exception("InvalidDetId") << "RPCCompDetId ctor:"
29  << " det: " << det() << " subdet: " << subdetId() << " is not a valid RPC id";
30  }
31 }

References DetId::det(), Exception, DetId::Muon, MuonSubdetId::RPC, and DetId::subdetId().

◆ RPCCompDetId() [4/5]

RPCCompDetId::RPCCompDetId ( int  region,
int  ring,
int  station,
int  sector,
int  layer,
int  subsector,
int  type 
)

Construct from fully qualified identifier.

Definition at line 33 of file RPCCompDetId.cc.

References init(), layer(), ring(), sector(), station(), and subsector().

◆ RPCCompDetId() [5/5]

RPCCompDetId::RPCCompDetId ( const std::string &  dbname,
int  type 
)

Construct from name stored in DB.

Definition at line 38 of file RPCCompDetId.cc.

40  this->init();
41 }

References init().

Member Function Documentation

◆ dbname()

std::string RPCCompDetId::dbname ( ) const

Definition at line 73 of file RPCCompDetId.cc.

73  {
75  if (a.empty()) {
76  if (this->type() == 0) {
77  a = this->gasDBname();
78  }
79  }
80  return a;
81 }

References _dbname, a, gasDBname(), AlCaHLTBitMon_QueryRunRegistry::string, and type().

Referenced by initGas(), and operator<().

◆ disk()

int RPCCompDetId::disk ( ) const

Definition at line 58 of file RPCCompDetId.cc.

58  {
59  int d = allStationId;
60  if (this->region() != 0)
61  d = this->station();
62  return d;
63 }

References allStationId, ztail::d, region(), and station().

Referenced by gasDBname().

◆ gasDBname()

std::string RPCCompDetId::gasDBname ( ) const
private

Definition at line 201 of file RPCCompDetId.cc.

201  {
202  std::stringstream os;
203  if (this->region() == 0) {
204  // Barrel
205  std::string wsign = "P";
206  if (this->wheel() < 0)
207  wsign = "M";
208  std::string lr = "";
209  if (this->subsector() == 1)
210  lr = "L";
211  if (this->subsector() == 2)
212  lr = "R";
213  os << "W" << wsign << abs(this->wheel()) << "_S" << std::setw(2) << std::setfill('0') << this->sector() << "_RB"
214  << this->station() << lr;
215  } else {
216  // Endcap
217  std::string esign = "P";
218  if (this->region() < 0)
219  esign = "M";
220 
221  os << "E" << esign << this->disk();
222 
223  if (this->disk() == 1) {
224  os << "_R" << std::setw(2) << std::setfill('0') << this->ring() << "_C" << std::setw(2) << std::setfill('0')
225  << this->sector() << "_C" << std::setw(2) << std::setfill('0') << this->sector() + 5;
226  } else {
227  os << "_R" << std::setw(2) << std::setfill('0') << this->ring() << "_R" << std::setw(2) << std::setfill('0')
228  << this->ring() + 1 << "_C" << std::setw(2) << std::setfill('0') << this->sector() << "_C" << std::setw(2)
229  << std::setfill('0') << this->sector() + 2;
230  }
231  std::string lay = "";
232  if (this->layer() == 1)
233  lay = "UP";
234  else if (this->layer() == 2)
235  lay = "DW";
236 
237  os << "_" << lay;
238  }
239  return os.str();
240 }

References funct::abs(), disk(), layer(), region(), ring(), sector(), station(), AlCaHLTBitMon_QueryRunRegistry::string, subsector(), and wheel().

Referenced by dbname().

◆ init() [1/2]

void RPCCompDetId::init ( void  )
private

Definition at line 110 of file RPCCompDetId.cc.

110  {
111  if (this->type() == 0) {
112  this->initGas();
113  }
114 }

References initGas(), and type().

Referenced by initGas(), and RPCCompDetId().

◆ init() [2/2]

void RPCCompDetId::init ( int  region,
int  ring,
int  station,
int  sector,
int  layer,
int  subsector 
)
private

Definition at line 83 of file RPCCompDetId.cc.

83  {
85  if (!region) {
86  maxRing = maxRingBarrelId;
87  }
88 
89  if (region < allRegionId || region > maxRegionId || ring < allRingId || ring > maxRing || station < allStationId ||
90  station > maxStationId || sector < allSectorId || sector > maxSectorId || layer < allLayerId ||
91  layer > maxLayerId || subsector < allSubSectorId || subsector > maxSubSectorId) {
92  throw cms::Exception("InvalidDetId") << "RPCDetId ctor:"
93  << " Invalid parameters: "
94  << " region " << region << " ring " << ring << " station " << station
95  << " sector " << sector << " layer " << layer << " subsector " << subsector
96  << std::endl;
97  }
98  int regionInBits = region - allRegionId;
99  int ringInBits = ring - allRingId;
100  int stationInBits = station - allStationId;
101  int sectorInBits = sector - allSectorId;
102  int layerInBits = layer - allLayerId;
103  int subSectorInBits = subsector - allSubSectorId;
104 
105  id_ |= (regionInBits & RegionMask_) << RegionStartBit_ | (ringInBits & RingMask_) << RingStartBit_ |
106  (stationInBits & StationMask_) << StationStartBit_ | (sectorInBits & SectorMask_) << SectorStartBit_ |
107  (layerInBits & LayerMask_) << LayerStartBit_ | (subSectorInBits & SubSectorMask_) << SubSectorStartBit_;
108 }

References allLayerId, allRegionId, allRingId, allSectorId, allStationId, allSubSectorId, Exception, DetId::id_, layer(), LayerMask_, LayerStartBit_, maxLayerId, maxRegionId, HLT_2018_cff::maxRing, maxRingBarrelId, maxRingForwardId, maxSectorId, maxStationId, maxSubSectorId, region(), RegionMask_, RegionStartBit_, ring(), RingMask_, RingStartBit_, sector(), SectorMask_, SectorStartBit_, station(), StationMask_, StationStartBit_, subsector(), SubSectorMask_, and SubSectorStartBit_.

◆ initGas()

void RPCCompDetId::initGas ( )
private

Definition at line 116 of file RPCCompDetId.cc.

116  {
117  std::string buf(this->dbname());
118  // check if the name contains the dcs namespace
119  if (buf.find(':') != buf.npos) {
120  buf = buf.substr(buf.find(':') + 1, buf.npos);
121  }
122  _dbname = buf;
123  // Check if endcap o barrel
124  int region = 0;
125  if (buf.substr(0, 1) == "W") {
126  region = 0;
127  } else if (buf.substr(0, 2) == "EP") {
128  region = 1;
129  } else if (buf.substr(0, 2) == "EM") {
130  region = -1;
131  } else {
132  throw cms::Exception("InvalidDBName")
133  << " RPCCompDetId: " << this->dbname() << " is not a valid DB Name for RPCCompDetId"
134  << " det: " << det() << " subdet: " << subdetId();
135  }
136  int ring = allRingId;
137  int station = allStationId;
138  int sector = allSectorId;
139  int layer = allLayerId;
141  //Barrel
142  if (region == 0) {
143  // Extract the Wheel (named ring)
144  {
145  std::stringstream os;
146  os << buf.substr(2, 1);
147  os >> ring;
148  if (buf.substr(1, 1) == "M") {
149  ring *= -1;
150  }
151  }
152  //Extract the station
153  {
154  std::stringstream os;
155  os << buf.substr(buf.find("RB") + 2, 1);
156  os >> station;
157  }
158  //Extract the sector
159  {
160  std::stringstream os;
161  os << buf.substr(buf.find("S") + 1, 2);
162  os >> sector;
163  }
164  //Extract subsector of sectors 4 and 10
165  {
166  if (buf.find("4L") != buf.npos)
167  subsector = 1;
168  if (buf.find("4R") != buf.npos)
169  subsector = 2;
170  }
171  } else {
172  // Extract the Ring
173  {
174  std::stringstream os;
175  os << buf.substr(buf.find("_R0") + 3, 1);
176  os >> ring;
177  }
178  //Extract the disk (named station)
179  {
180  std::stringstream os;
181  os << buf.substr(2, 1);
182  os >> station;
183  }
184  //Extract the sector or chamber
185  {
186  std::stringstream os;
187  os << buf.substr(buf.find("_C") + 2, 2);
188  os >> sector;
189  }
190  //Extract layer
191  {
192  if (buf.find("UP") != buf.npos)
193  layer = 1;
194  if (buf.find("DW") != buf.npos)
195  layer = 2;
196  }
197  }
198  this->init(region, ring, station, sector, layer, subsector);
199 }

References _dbname, allLayerId, allRingId, allSectorId, allStationId, allSubSectorId, visDQMUpload::buf, dbname(), DetId::det(), Exception, init(), layer(), region(), ring(), sector(), station(), AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), and subsector().

Referenced by init().

◆ layer()

int RPCCompDetId::layer ( ) const

◆ operator<()

bool RPCCompDetId::operator< ( const RPCCompDetId r) const

Sort Operator based on the name.

Definition at line 43 of file RPCCompDetId.cc.

43 { return this->dbname() < r.dbname(); }

References dbname().

◆ region()

int RPCCompDetId::region ( ) const

Definition at line 45 of file RPCCompDetId.cc.

45 { return int((id_ >> RegionStartBit_) & RegionMask_) + allRegionId; }

References allRegionId, DetId::id_, createfilelist::int, RegionMask_, and RegionStartBit_.

Referenced by disk(), gasDBname(), init(), initGas(), and wheel().

◆ ring()

int RPCCompDetId::ring ( ) const

◆ sector()

int RPCCompDetId::sector ( ) const

◆ station()

int RPCCompDetId::station ( ) const

◆ subsector()

int RPCCompDetId::subsector ( ) const

◆ type()

int RPCCompDetId::type ( ) const

Definition at line 71 of file RPCCompDetId.cc.

71 { return _type; }

References _type.

Referenced by dbname(), and init().

◆ wheel()

int RPCCompDetId::wheel ( ) const

Definition at line 49 of file RPCCompDetId.cc.

49  {
50  int w = allRingId;
51  if (this->region() == 0)
52  w = this->ring();
53  return w;
54 }

References allRingId, region(), ring(), and w.

Referenced by gasDBname(), and geometryXMLparser.DTAlignable::index().

Member Data Documentation

◆ _dbname

std::string RPCCompDetId::_dbname
private

Definition at line 114 of file RPCCompDetId.h.

Referenced by dbname(), and initGas().

◆ _type

int RPCCompDetId::_type
private

Definition at line 115 of file RPCCompDetId.h.

Referenced by SequenceTypes.ExpandVisitor::result(), and type().

◆ allLayerId

const int RPCCompDetId::allLayerId = minLayerId - 1
static

Definition at line 75 of file RPCCompDetId.h.

Referenced by init(), initGas(), and layer().

◆ allRegionId

const int RPCCompDetId::allRegionId = minRegionId - 1
static

Definition at line 52 of file RPCCompDetId.h.

Referenced by init(), and region().

◆ allRingId

const int RPCCompDetId::allRingId = minRingBarrelId - 1
static

Definition at line 59 of file RPCCompDetId.h.

Referenced by init(), initGas(), ring(), and wheel().

◆ allSectorId

const int RPCCompDetId::allSectorId = minSectorId - 1
static

Definition at line 71 of file RPCCompDetId.h.

Referenced by init(), initGas(), and sector().

◆ allStationId

const int RPCCompDetId::allStationId = minStationId - 1
static

Definition at line 63 of file RPCCompDetId.h.

Referenced by disk(), init(), initGas(), and station().

◆ allSubSectorId

const int RPCCompDetId::allSubSectorId = minSubSectorId - 1
static

Definition at line 79 of file RPCCompDetId.h.

Referenced by init(), initGas(), and subsector().

◆ LayerMask_

const unsigned int RPCCompDetId::LayerMask_ = 0X3
staticprivate

Definition at line 100 of file RPCCompDetId.h.

Referenced by init(), and layer().

◆ LayerNumBits_

const int RPCCompDetId::LayerNumBits_ = 2
staticprivate

Definition at line 98 of file RPCCompDetId.h.

◆ LayerStartBit_

const int RPCCompDetId::LayerStartBit_ = SectorStartBit_ + SectorNumBits_
staticprivate

Definition at line 99 of file RPCCompDetId.h.

Referenced by init(), and layer().

◆ maxLayerId

const int RPCCompDetId::maxLayerId = 2
static

Definition at line 74 of file RPCCompDetId.h.

Referenced by init().

◆ maxRegionId

const int RPCCompDetId::maxRegionId = 1
static

Definition at line 51 of file RPCCompDetId.h.

Referenced by init().

◆ maxRingBarrelId

const int RPCCompDetId::maxRingBarrelId = 2
static

Definition at line 57 of file RPCCompDetId.h.

Referenced by init().

◆ maxRingForwardId

const int RPCCompDetId::maxRingForwardId = 3
static

Definition at line 55 of file RPCCompDetId.h.

Referenced by init().

◆ maxSectorBarrelId

const int RPCCompDetId::maxSectorBarrelId = 12
static

Definition at line 68 of file RPCCompDetId.h.

◆ maxSectorForwardId

const int RPCCompDetId::maxSectorForwardId = 36
static

Definition at line 70 of file RPCCompDetId.h.

◆ maxSectorId

const int RPCCompDetId::maxSectorId = 36
static

Definition at line 66 of file RPCCompDetId.h.

Referenced by init().

◆ maxStationId

const int RPCCompDetId::maxStationId = 4
static

Definition at line 62 of file RPCCompDetId.h.

Referenced by init().

◆ maxSubSectorId

const int RPCCompDetId::maxSubSectorId = 2
static

Definition at line 78 of file RPCCompDetId.h.

Referenced by init().

◆ minLayerId

const int RPCCompDetId::minLayerId = 1
static

Definition at line 73 of file RPCCompDetId.h.

◆ minRegionId

const int RPCCompDetId::minRegionId = -1
static

Definition at line 50 of file RPCCompDetId.h.

◆ minRingBarrelId

const int RPCCompDetId::minRingBarrelId = -2
static

Definition at line 56 of file RPCCompDetId.h.

◆ minRingForwardId

const int RPCCompDetId::minRingForwardId = 1
static

Definition at line 54 of file RPCCompDetId.h.

◆ minSectorBarrelId

const int RPCCompDetId::minSectorBarrelId = 1
static

Definition at line 67 of file RPCCompDetId.h.

◆ minSectorForwardId

const int RPCCompDetId::minSectorForwardId = 1
static

Definition at line 69 of file RPCCompDetId.h.

◆ minSectorId

const int RPCCompDetId::minSectorId = 1
static

Definition at line 65 of file RPCCompDetId.h.

◆ minStationId

const int RPCCompDetId::minStationId = 1
static

Definition at line 61 of file RPCCompDetId.h.

◆ minSubSectorId

const int RPCCompDetId::minSubSectorId = 1
static

Definition at line 77 of file RPCCompDetId.h.

◆ RegionMask_

const int RPCCompDetId::RegionMask_ = 0X3
staticprivate

Definition at line 84 of file RPCCompDetId.h.

Referenced by init(), and region().

◆ RegionNumBits_

const int RPCCompDetId::RegionNumBits_ = 2
staticprivate

Definition at line 82 of file RPCCompDetId.h.

◆ RegionStartBit_

const int RPCCompDetId::RegionStartBit_ = 0
staticprivate

Definition at line 83 of file RPCCompDetId.h.

Referenced by init(), and region().

◆ RingBarrelOffSet

const int RPCCompDetId::RingBarrelOffSet = 3
static

Definition at line 58 of file RPCCompDetId.h.

◆ RingMask_

const unsigned int RPCCompDetId::RingMask_ = 0X7
staticprivate

Definition at line 88 of file RPCCompDetId.h.

Referenced by init(), and ring().

◆ RingNumBits_

const int RPCCompDetId::RingNumBits_ = 3
staticprivate

Definition at line 86 of file RPCCompDetId.h.

◆ RingStartBit_

const int RPCCompDetId::RingStartBit_ = RegionStartBit_ + RegionNumBits_
staticprivate

Definition at line 87 of file RPCCompDetId.h.

Referenced by init(), and ring().

◆ SectorMask_

const unsigned int RPCCompDetId::SectorMask_ = 0X3F
staticprivate

Definition at line 96 of file RPCCompDetId.h.

Referenced by init(), and sector().

◆ SectorNumBits_

const int RPCCompDetId::SectorNumBits_ = 6
staticprivate

Definition at line 94 of file RPCCompDetId.h.

◆ SectorStartBit_

const int RPCCompDetId::SectorStartBit_ = StationStartBit_ + StationNumBits_
staticprivate

Definition at line 95 of file RPCCompDetId.h.

Referenced by init(), and sector().

◆ StationMask_

const unsigned int RPCCompDetId::StationMask_ = 0X7
staticprivate

Definition at line 92 of file RPCCompDetId.h.

Referenced by init(), and station().

◆ StationNumBits_

const int RPCCompDetId::StationNumBits_ = 3
staticprivate

Definition at line 90 of file RPCCompDetId.h.

◆ StationStartBit_

const int RPCCompDetId::StationStartBit_ = RingStartBit_ + RingNumBits_
staticprivate

Definition at line 91 of file RPCCompDetId.h.

Referenced by init(), and station().

◆ SubSectorMask_

const unsigned int RPCCompDetId::SubSectorMask_ = 0X3
staticprivate

Definition at line 104 of file RPCCompDetId.h.

Referenced by init(), and subsector().

◆ SubSectorNumBits_

const int RPCCompDetId::SubSectorNumBits_ = 2
staticprivate

Definition at line 102 of file RPCCompDetId.h.

◆ SubSectorStartBit_

const int RPCCompDetId::SubSectorStartBit_ = LayerStartBit_ + LayerNumBits_
staticprivate

Definition at line 103 of file RPCCompDetId.h.

Referenced by init(), and subsector().

RPCCompDetId::allRingId
static const int allRingId
Definition: RPCCompDetId.h:59
RPCCompDetId::station
int station() const
Definition: RPCCompDetId.cc:56
RPCCompDetId::allSectorId
static const int allSectorId
Definition: RPCCompDetId.h:71
RPCCompDetId::RingMask_
static const unsigned int RingMask_
Definition: RPCCompDetId.h:88
RPCCompDetId::type
int type() const
Definition: RPCCompDetId.cc:71
RPCCompDetId::SectorStartBit_
static const int SectorStartBit_
Definition: RPCCompDetId.h:95
DetId::det
constexpr Detector det() const
get the detector field from this detid
Definition: DetId.h:46
RPCCompDetId::RegionMask_
static const int RegionMask_
Definition: RPCCompDetId.h:84
RPCCompDetId::SubSectorStartBit_
static const int SubSectorStartBit_
Definition: RPCCompDetId.h:103
RPCCompDetId::maxStationId
static const int maxStationId
Definition: RPCCompDetId.h:62
RPCCompDetId::gasDBname
std::string gasDBname() const
Definition: RPCCompDetId.cc:201
RPCCompDetId::maxSubSectorId
static const int maxSubSectorId
Definition: RPCCompDetId.h:78
RPCCompDetId::maxLayerId
static const int maxLayerId
Definition: RPCCompDetId.h:74
RPCCompDetId::LayerMask_
static const unsigned int LayerMask_
Definition: RPCCompDetId.h:100
RPCCompDetId::allSubSectorId
static const int allSubSectorId
Definition: RPCCompDetId.h:79
RPCCompDetId::RegionStartBit_
static const int RegionStartBit_
Definition: RPCCompDetId.h:83
w
const double w
Definition: UKUtility.cc:23
RPCCompDetId::disk
int disk() const
Definition: RPCCompDetId.cc:58
RPCCompDetId::region
int region() const
Definition: RPCCompDetId.cc:45
RPCCompDetId::layer
int layer() const
Definition: RPCCompDetId.cc:67
RPCCompDetId::StationStartBit_
static const int StationStartBit_
Definition: RPCCompDetId.h:91
RPCCompDetId::RingStartBit_
static const int RingStartBit_
Definition: RPCCompDetId.h:87
RPCCompDetId::SubSectorMask_
static const unsigned int SubSectorMask_
Definition: RPCCompDetId.h:104
DetId::subdetId
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
Definition: DetId.h:48
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
RPCCompDetId::ring
int ring() const
Definition: RPCCompDetId.cc:47
a
double a
Definition: hdecay.h:119
DetId::id_
uint32_t id_
Definition: DetId.h:69
RPCCompDetId::dbname
std::string dbname() const
Definition: RPCCompDetId.cc:73
createfilelist.int
int
Definition: createfilelist.py:10
RPCCompDetId::allStationId
static const int allStationId
Definition: RPCCompDetId.h:63
RPCCompDetId::initGas
void initGas()
Definition: RPCCompDetId.cc:116
visDQMUpload.buf
buf
Definition: visDQMUpload.py:154
RPCCompDetId::allLayerId
static const int allLayerId
Definition: RPCCompDetId.h:75
RPCCompDetId::StationMask_
static const unsigned int StationMask_
Definition: RPCCompDetId.h:92
type
type
Definition: HCALResponse.h:21
HLT_2018_cff.maxRing
maxRing
Definition: HLT_2018_cff.py:44936
RPCCompDetId::SectorMask_
static const unsigned int SectorMask_
Definition: RPCCompDetId.h:96
MuonSubdetId::RPC
static constexpr int RPC
Definition: MuonSubdetId.h:13
RPCCompDetId::LayerStartBit_
static const int LayerStartBit_
Definition: RPCCompDetId.h:99
Exception
Definition: hltDiff.cc:246
RPCCompDetId::_dbname
std::string _dbname
Definition: RPCCompDetId.h:114
RPCCompDetId::maxRingBarrelId
static const int maxRingBarrelId
Definition: RPCCompDetId.h:57
RPCCompDetId::wheel
int wheel() const
Definition: RPCCompDetId.cc:49
DetId::DetId
constexpr DetId()
Create an empty or null id (also for persistence)
Definition: DetId.h:38
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
RPCCompDetId::sector
int sector() const
Definition: RPCCompDetId.cc:65
RPCCompDetId::maxRegionId
static const int maxRegionId
Definition: RPCCompDetId.h:51
ztail.d
d
Definition: ztail.py:151
DetId::Muon
Definition: DetId.h:26
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
RPCCompDetId::subsector
int subsector() const
Definition: RPCCompDetId.cc:69
RPCCompDetId::allRegionId
static const int allRegionId
Definition: RPCCompDetId.h:52
RPCCompDetId::init
void init()
Definition: RPCCompDetId.cc:110
RPCCompDetId::_type
int _type
Definition: RPCCompDetId.h:115
RPCCompDetId::maxSectorId
static const int maxSectorId
Definition: RPCCompDetId.h:66
RPCCompDetId::maxRingForwardId
static const int maxRingForwardId
Definition: RPCCompDetId.h:55