CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 (uint32_t id)
 
 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 (const std::string &dbname, int type)
 Construct from name stored in DB. More...
 
int sector () const
 
int station () const
 
int subsector () const
 
int type () const
 
int wheel () const
 
- Public Member Functions inherited from DetId
Detector det () const
 get the detector field from this detid More...
 
 DetId ()
 Create an empty or null id (also for persistence) More...
 
 DetId (uint32_t id)
 Create an id from a raw number. More...
 
 DetId (Detector det, int subdet)
 Create an id, filling the detector and subdetector fields as specified. More...
 
bool null () const
 is this a null id ? More...
 
 operator uint32_t () const
 
bool operator!= (DetId id) const
 inequality More...
 
uint32_t operator() () const
 
bool operator< (DetId id) const
 comparison More...
 
bool operator== (DetId id) const
 equality More...
 
uint32_t rawId () const
 get the raw id More...
 
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 kDetOffset = 28
 
static const int kSubdetOffset = 25
 

Private Member Functions

std::string gasDBname () const
 
void init (int region, int ring, int station, int sector, int layer, int subsector)
 
void init ()
 
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
}
 
- Protected Attributes inherited from DetId
uint32_t id_
 

Detailed Description

Description: DetId for composite RPC objects

Definition at line 22 of file RPCCompDetId.h.

Constructor & Destructor Documentation

RPCCompDetId::RPCCompDetId ( )

Definition at line 18 of file RPCCompDetId.cc.

std::string _dbname
Definition: RPCCompDetId.h:130
DetId()
Create an empty or null id (also for persistence)
Definition: DetId.h:28
static const int RPC
Definition: MuonSubdetId.h:16
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 20 of file RPCCompDetId.cc.

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

20  :DetId(id),_dbname(""),_type(0) {
22  throw cms::Exception("InvalidDetId") << "RPCCompDetId ctor:"
23  << " det: " << det()
24  << " subdet: " << subdetId()
25  << " is not a valid RPC id";
26  }
27 }
std::string _dbname
Definition: RPCCompDetId.h:130
DetId()
Create an empty or null id (also for persistence)
Definition: DetId.h:28
int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:39
static const int RPC
Definition: MuonSubdetId.h:16
Detector det() const
get the detector field from this detid
Definition: DetId.h:37
RPCCompDetId::RPCCompDetId ( DetId  id)

Definition at line 31 of file RPCCompDetId.cc.

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

31  :DetId(id),_dbname(""),_type(0) {
33  throw cms::Exception("InvalidDetId") << "RPCCompDetId ctor:"
34  << " det: " << det()
35  << " subdet: " << subdetId()
36  << " is not a valid RPC id";
37  }
38 }
std::string _dbname
Definition: RPCCompDetId.h:130
DetId()
Create an empty or null id (also for persistence)
Definition: DetId.h:28
int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:39
static const int RPC
Definition: MuonSubdetId.h:16
Detector det() const
get the detector field from this detid
Definition: DetId.h:37
RPCCompDetId::RPCCompDetId ( int  region,
int  ring,
int  station,
int  sector,
int  layer,
int  subsector,
int  type 
)

Construct from fully qualified identifier.

Definition at line 42 of file RPCCompDetId.cc.

References init().

48  :
50 {
52 }
type
Definition: HCALResponse.h:22
std::string _dbname
Definition: RPCCompDetId.h:130
DetId()
Create an empty or null id (also for persistence)
Definition: DetId.h:28
int sector() const
Definition: RPCCompDetId.cc:99
int subsector() const
int station() const
Definition: RPCCompDetId.cc:85
static const int RPC
Definition: MuonSubdetId.h:16
int layer() const
int region() const
Definition: RPCCompDetId.cc:66
int ring() const
Definition: RPCCompDetId.cc:71
RPCCompDetId::RPCCompDetId ( const std::string &  dbname,
int  type 
)

Construct from name stored in DB.

Definition at line 54 of file RPCCompDetId.cc.

References init().

54  :
56 {
57  this->init();
58 }
type
Definition: HCALResponse.h:22
std::string _dbname
Definition: RPCCompDetId.h:130
DetId()
Create an empty or null id (also for persistence)
Definition: DetId.h:28
static const int RPC
Definition: MuonSubdetId.h:16

Member Function Documentation

std::string RPCCompDetId::dbname ( ) const

Definition at line 122 of file RPCCompDetId.cc.

References _dbname, a, gasDBname(), and type().

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

122  {
123  std::string a=_dbname;
124  if (a.size() == 0){
125  if(this->type() == 0){
126  a=this->gasDBname();
127  }
128  }
129  return a;
130 }
std::string _dbname
Definition: RPCCompDetId.h:130
int type() const
std::string gasDBname() const
double a
Definition: hdecay.h:121
int RPCCompDetId::disk ( ) const

Definition at line 90 of file RPCCompDetId.cc.

References allStationId, region(), and station().

Referenced by gasDBname().

90  {
91  int d=allStationId;
92  if (this->region()!=0)
93  d=this->station();
94  return d;
95 }
static const int allStationId
Definition: RPCCompDetId.h:73
int station() const
Definition: RPCCompDetId.cc:85
int region() const
Definition: RPCCompDetId.cc:66
std::string RPCCompDetId::gasDBname ( ) const
private

Definition at line 275 of file RPCCompDetId.cc.

References abs, disk(), layer(), region(), ring(), sector(), station(), subsector(), and wheel().

Referenced by dbname().

275  {
276  std::stringstream os;
277  if(this->region()==0){
278  // Barrel
279  std::string wsign="P";
280  if (this->wheel()<0)wsign= "M";
281  std::string lr="";
282  if (this->subsector()==1) lr="L";
283  if (this->subsector()==2) lr="R";
284  os<<"W"<<wsign<<abs(this->wheel())<<"_S"<<std::setw(2)<<std::setfill('0')<<this->sector()<<"_RB"<<this->station()<<lr;
285  } else {
286  // Endcap
287  std::string esign="P";
288  if (this->region()<0)
289  esign="M";
290 
291  os<<"E"<<esign<<this->disk();
292 
293 
294  if (this->disk()==1){
295  os<<"_R"<<std::setw(2)<<std::setfill('0')<<this->ring()
296  <<"_C"<<std::setw(2)<<std::setfill('0')<<this->sector()
297  <<"_C"<<std::setw(2)<<std::setfill('0')<<this->sector()+5;
298  }else{
299  os<<"_R"<<std::setw(2)<<std::setfill('0')<<this->ring()
300  <<"_R"<<std::setw(2)<<std::setfill('0')<<this->ring()+1
301  <<"_C"<<std::setw(2)<<std::setfill('0')<<this->sector()
302  <<"_C"<<std::setw(2)<<std::setfill('0')<<this->sector()+2;
303 
304  }
305  std::string lay="";
306  if(this->layer()==1)
307  lay="UP";
308  else if (this->layer()==2)
309  lay="DW";
310 
311  os<<"_"<<lay;
312 
313  }
314  return os.str();
315 }
#define abs(x)
Definition: mlp_lapack.h:159
int sector() const
Definition: RPCCompDetId.cc:99
int subsector() const
int station() const
Definition: RPCCompDetId.cc:85
int wheel() const
Definition: RPCCompDetId.cc:77
int layer() const
int region() const
Definition: RPCCompDetId.cc:66
int disk() const
Definition: RPCCompDetId.cc:90
int ring() const
Definition: RPCCompDetId.cc:71
void RPCCompDetId::init ( int  region,
int  ring,
int  station,
int  sector,
int  layer,
int  subsector 
)
private

Definition at line 133 of file RPCCompDetId.cc.

References allLayerId, allRegionId, allRingId, allSectorId, allStationId, allSubSectorId, edm::hlt::Exception, DetId::id_, LayerMask_, LayerStartBit_, maxLayerId, maxRegionId, maxRingBarrelId, maxRingForwardId, maxSectorId, maxStationId, maxSubSectorId, RegionMask_, RegionStartBit_, RingMask_, RingStartBit_, SectorMask_, SectorStartBit_, StationMask_, StationStartBit_, SubSectorMask_, and SubSectorStartBit_.

139 {
140  int maxRing=maxRingForwardId;
141  if (!region)
142  {
143  maxRing=maxRingBarrelId;
144  }
145 
146  if ( region < allRegionId || region > maxRegionId ||
147  ring < allRingId || ring > maxRing ||
148  station < allStationId || station > maxStationId ||
149  sector < allSectorId || sector > maxSectorId ||
150  layer < allLayerId || layer > maxLayerId ||
151  subsector < allSubSectorId || subsector > maxSubSectorId ){
152 
153  throw cms::Exception("InvalidDetId") << "RPCDetId ctor:"
154  << " Invalid parameters: "
155  << " region "<<region
156  << " ring "<<ring
157  << " station "<<station
158  << " sector "<<sector
159  << " layer "<<layer
160  << " subsector "<<subsector
161  << std::endl;
162  }
163  int regionInBits = region - allRegionId;
164  int ringInBits = ring - allRingId;
165  int stationInBits = station - allStationId;
166  int sectorInBits = sector - allSectorId;
167  int layerInBits = layer - allLayerId;
168  int subSectorInBits = subsector- allSubSectorId;
169 
170  id_ |= ( regionInBits & RegionMask_) << RegionStartBit_ |
171  ( ringInBits & RingMask_) << RingStartBit_ |
172  ( stationInBits & StationMask_) << StationStartBit_ |
173  ( sectorInBits & SectorMask_) << SectorStartBit_ |
174  ( layerInBits & LayerMask_) << LayerStartBit_ |
175  ( subSectorInBits & SubSectorMask_) << SubSectorStartBit_ ;
176 }
static const int RegionMask_
Definition: RPCCompDetId.h:95
static const int maxStationId
Definition: RPCCompDetId.h:72
static const int allRegionId
Definition: RPCCompDetId.h:62
static const int maxSubSectorId
Definition: RPCCompDetId.h:89
static const int allSubSectorId
Definition: RPCCompDetId.h:90
static const int allRingId
Definition: RPCCompDetId.h:69
static const unsigned int LayerMask_
Definition: RPCCompDetId.h:111
static const int allSectorId
Definition: RPCCompDetId.h:81
static const int RegionStartBit_
Definition: RPCCompDetId.h:94
int sector() const
Definition: RPCCompDetId.cc:99
static const int StationStartBit_
Definition: RPCCompDetId.h:102
static const int RingStartBit_
Definition: RPCCompDetId.h:98
int subsector() const
static const int SubSectorStartBit_
Definition: RPCCompDetId.h:114
static const int allStationId
Definition: RPCCompDetId.h:73
static const int maxLayerId
Definition: RPCCompDetId.h:84
static const int allLayerId
Definition: RPCCompDetId.h:85
static const unsigned int StationMask_
Definition: RPCCompDetId.h:103
int station() const
Definition: RPCCompDetId.cc:85
static const unsigned int SectorMask_
Definition: RPCCompDetId.h:107
static const int maxRingBarrelId
Definition: RPCCompDetId.h:67
static const unsigned int SubSectorMask_
Definition: RPCCompDetId.h:115
static const int maxRegionId
Definition: RPCCompDetId.h:61
uint32_t id_
Definition: DetId.h:57
static const int maxSectorId
Definition: RPCCompDetId.h:76
static const int maxRingForwardId
Definition: RPCCompDetId.h:65
int layer() const
static const unsigned int RingMask_
Definition: RPCCompDetId.h:99
int region() const
Definition: RPCCompDetId.cc:66
static const int LayerStartBit_
Definition: RPCCompDetId.h:110
static const int SectorStartBit_
Definition: RPCCompDetId.h:106
int ring() const
Definition: RPCCompDetId.cc:71
void RPCCompDetId::init ( void  )
private

Definition at line 179 of file RPCCompDetId.cc.

References initGas(), and type().

Referenced by initGas(), and RPCCompDetId().

180 {
181  if (this->type()==0){
182  this->initGas();
183  }
184 }
int type() const
void RPCCompDetId::initGas ( )
private

Definition at line 187 of file RPCCompDetId.cc.

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

Referenced by init().

188 {
189  std::string buf(this->dbname());
190  // check if the name contains the dcs namespace
191  if (buf.find(':')!=buf.npos){
192  buf = buf.substr(buf.find(':')+1,buf.npos);
193  }
194  _dbname=buf;
195  // Check if endcap o barrel
196  int region=0;
197  if(buf.substr(0,1)=="W"){
198  region=0;
199  }else if(buf.substr(0,2)=="EP"){
200  region=1;
201  }else if(buf.substr(0,2)=="EM"){
202  region=-1;
203  }else{
204  throw cms::Exception("InvalidDBName")<<" RPCCompDetId: "<<this->dbname()
205  <<" is not a valid DB Name for RPCCompDetId"
206  << " det: " << det()
207  << " subdet: " << subdetId();
208  }
209  int ring=allRingId;
210  int station = allStationId;
211  int sector=allSectorId;
212  int layer=allLayerId;
214  //Barrel
215  if (region==0) {
216  // Extract the Wheel (named ring)
217  {
218  std::stringstream os;
219  os<<buf.substr(2,1);
220  os>>ring;
221  if (buf.substr(1,1)=="M"){
222  ring *= -1;
223  }
224  }
225  //Extract the station
226  {
227  std::stringstream os;
228  os<<buf.substr(buf.find("RB")+2,1);
229  os>>station;
230  }
231  //Extract the sector
232  {
233  std::stringstream os;
234  os<<buf.substr(buf.find("S")+1,2);
235  os>>sector;
236  }
237  //Extract subsector of sectors 4 and 10
238  {
239  if (buf.find("4L")!=buf.npos)
240  subsector=1;
241  if (buf.find("4R")!=buf.npos)
242  subsector=2;
243  }
244  }else{
245  // Extract the Ring
246  {
247  std::stringstream os;
248  os<<buf.substr(buf.find("_R0")+3,1);
249  os>>ring;
250  }
251  //Extract the disk (named station)
252  {
253  std::stringstream os;
254  os<<buf.substr(2,1);
255  os>>station;
256  }
257  //Extract the sector or chamber
258  {
259  std::stringstream os;
260  os<<buf.substr(buf.find("_C")+2,2);
261  os>>sector;
262  }
263  //Extract layer
264  {
265  if (buf.find("UP")!=buf.npos)
266  layer=1;
267  if (buf.find("DW")!=buf.npos)
268  layer=2;
269  }
270  }
271  this->init(region,ring,station,sector,layer,subsector);
272 }
std::string _dbname
Definition: RPCCompDetId.h:130
static const int allSubSectorId
Definition: RPCCompDetId.h:90
static const int allRingId
Definition: RPCCompDetId.h:69
static const int allSectorId
Definition: RPCCompDetId.h:81
int sector() const
Definition: RPCCompDetId.cc:99
int subsector() const
static const int allStationId
Definition: RPCCompDetId.h:73
std::string dbname() const
static const int allLayerId
Definition: RPCCompDetId.h:85
int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:39
int station() const
Definition: RPCCompDetId.cc:85
int layer() const
Detector det() const
get the detector field from this detid
Definition: DetId.h:37
int region() const
Definition: RPCCompDetId.cc:66
int ring() const
Definition: RPCCompDetId.cc:71
int RPCCompDetId::layer ( ) const

Definition at line 105 of file RPCCompDetId.cc.

References allLayerId, DetId::id_, LayerMask_, and LayerStartBit_.

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

105  {
106  return int((id_>>LayerStartBit_) & LayerMask_) + allLayerId;
107 }
static const unsigned int LayerMask_
Definition: RPCCompDetId.h:111
static const int allLayerId
Definition: RPCCompDetId.h:85
uint32_t id_
Definition: DetId.h:57
static const int LayerStartBit_
Definition: RPCCompDetId.h:110
bool RPCCompDetId::operator< ( const RPCCompDetId r) const

Sort Operator based on the name.

Definition at line 61 of file RPCCompDetId.cc.

References dbname().

61  {
62  return this->dbname()<r.dbname();
63 }
std::string dbname() const
int RPCCompDetId::region ( ) const

Definition at line 66 of file RPCCompDetId.cc.

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

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

66  {
67  return int((id_>>RegionStartBit_) & RegionMask_) + allRegionId;
68 }
static const int RegionMask_
Definition: RPCCompDetId.h:95
static const int allRegionId
Definition: RPCCompDetId.h:62
static const int RegionStartBit_
Definition: RPCCompDetId.h:94
uint32_t id_
Definition: DetId.h:57
int RPCCompDetId::ring ( ) const

Definition at line 71 of file RPCCompDetId.cc.

References allRingId, DetId::id_, RingMask_, and RingStartBit_.

Referenced by gasDBname(), geometryXMLparser.CSCAlignable::index(), initGas(), and wheel().

71  {
72  return int((id_>>RingStartBit_) & RingMask_) + allRingId;
73 }
static const int allRingId
Definition: RPCCompDetId.h:69
static const int RingStartBit_
Definition: RPCCompDetId.h:98
uint32_t id_
Definition: DetId.h:57
static const unsigned int RingMask_
Definition: RPCCompDetId.h:99
int RPCCompDetId::sector ( ) const

Definition at line 99 of file RPCCompDetId.cc.

References allSectorId, DetId::id_, SectorMask_, and SectorStartBit_.

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

99  {
100  return int((id_>>SectorStartBit_) & SectorMask_) + allSectorId;
101 }
static const int allSectorId
Definition: RPCCompDetId.h:81
static const unsigned int SectorMask_
Definition: RPCCompDetId.h:107
uint32_t id_
Definition: DetId.h:57
static const int SectorStartBit_
Definition: RPCCompDetId.h:106
int RPCCompDetId::station ( ) const

Definition at line 85 of file RPCCompDetId.cc.

References allStationId, DetId::id_, StationMask_, and StationStartBit_.

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

85  {
86  return int((id_>>StationStartBit_) & StationMask_) + allStationId;
87 }
static const int StationStartBit_
Definition: RPCCompDetId.h:102
static const int allStationId
Definition: RPCCompDetId.h:73
static const unsigned int StationMask_
Definition: RPCCompDetId.h:103
uint32_t id_
Definition: DetId.h:57
int RPCCompDetId::subsector ( ) const

Definition at line 111 of file RPCCompDetId.cc.

References allSubSectorId, DetId::id_, SubSectorMask_, and SubSectorStartBit_.

Referenced by gasDBname(), and initGas().

111  {
113 }
static const int allSubSectorId
Definition: RPCCompDetId.h:90
static const int SubSectorStartBit_
Definition: RPCCompDetId.h:114
static const unsigned int SubSectorMask_
Definition: RPCCompDetId.h:115
uint32_t id_
Definition: DetId.h:57
int RPCCompDetId::type ( ) const
int RPCCompDetId::wheel ( ) const

Definition at line 77 of file RPCCompDetId.cc.

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

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

77  {
78  int w=allRingId;
79  if (this->region()==0)
80  w=this->ring();
81  return w;
82 }
static const int allRingId
Definition: RPCCompDetId.h:69
int region() const
Definition: RPCCompDetId.cc:66
int ring() const
Definition: RPCCompDetId.cc:71
T w() const

Member Data Documentation

std::string RPCCompDetId::_dbname
private

Definition at line 130 of file RPCCompDetId.h.

Referenced by dbname(), and initGas().

int RPCCompDetId::_type
private
const int RPCCompDetId::allLayerId =minLayerId-1
static

Definition at line 85 of file RPCCompDetId.h.

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

const int RPCCompDetId::allRegionId =minRegionId-1
static

Definition at line 62 of file RPCCompDetId.h.

Referenced by init(), and region().

const int RPCCompDetId::allRingId =minRingBarrelId-1
static

Definition at line 69 of file RPCCompDetId.h.

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

const int RPCCompDetId::allSectorId =minSectorId-1
static

Definition at line 81 of file RPCCompDetId.h.

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

const int RPCCompDetId::allStationId =minStationId-1
static

Definition at line 73 of file RPCCompDetId.h.

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

const int RPCCompDetId::allSubSectorId =minSubSectorId-1
static

Definition at line 90 of file RPCCompDetId.h.

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

const unsigned int RPCCompDetId::LayerMask_ = 0X3
staticprivate

Definition at line 111 of file RPCCompDetId.h.

Referenced by init(), and layer().

const int RPCCompDetId::LayerNumBits_ = 2
staticprivate

Definition at line 109 of file RPCCompDetId.h.

const int RPCCompDetId::LayerStartBit_ = SectorStartBit_+SectorNumBits_
staticprivate

Definition at line 110 of file RPCCompDetId.h.

Referenced by init(), and layer().

const int RPCCompDetId::maxLayerId = 2
static

Definition at line 84 of file RPCCompDetId.h.

Referenced by init().

const int RPCCompDetId::maxRegionId = 1
static

Definition at line 61 of file RPCCompDetId.h.

Referenced by init().

const int RPCCompDetId::maxRingBarrelId = 2
static

Definition at line 67 of file RPCCompDetId.h.

Referenced by init().

const int RPCCompDetId::maxRingForwardId = 3
static

Definition at line 65 of file RPCCompDetId.h.

Referenced by init().

const int RPCCompDetId::maxSectorBarrelId = 12
static

Definition at line 78 of file RPCCompDetId.h.

const int RPCCompDetId::maxSectorForwardId = 36
static

Definition at line 80 of file RPCCompDetId.h.

const int RPCCompDetId::maxSectorId = 36
static

Definition at line 76 of file RPCCompDetId.h.

Referenced by init().

const int RPCCompDetId::maxStationId = 4
static

Definition at line 72 of file RPCCompDetId.h.

Referenced by init().

const int RPCCompDetId::maxSubSectorId = 2
static

Definition at line 89 of file RPCCompDetId.h.

Referenced by init().

const int RPCCompDetId::minLayerId = 1
static

Definition at line 83 of file RPCCompDetId.h.

const int RPCCompDetId::minRegionId = -1
static

Definition at line 60 of file RPCCompDetId.h.

const int RPCCompDetId::minRingBarrelId = -2
static

Definition at line 66 of file RPCCompDetId.h.

const int RPCCompDetId::minRingForwardId = 1
static

Definition at line 64 of file RPCCompDetId.h.

const int RPCCompDetId::minSectorBarrelId = 1
static

Definition at line 77 of file RPCCompDetId.h.

const int RPCCompDetId::minSectorForwardId = 1
static

Definition at line 79 of file RPCCompDetId.h.

const int RPCCompDetId::minSectorId = 1
static

Definition at line 75 of file RPCCompDetId.h.

const int RPCCompDetId::minStationId = 1
static

Definition at line 71 of file RPCCompDetId.h.

const int RPCCompDetId::minSubSectorId = 1
static

Definition at line 88 of file RPCCompDetId.h.

const int RPCCompDetId::RegionMask_ = 0X3
staticprivate

Definition at line 95 of file RPCCompDetId.h.

Referenced by init(), and region().

const int RPCCompDetId::RegionNumBits_ = 2
staticprivate

Definition at line 93 of file RPCCompDetId.h.

const int RPCCompDetId::RegionStartBit_ = 0
staticprivate

Definition at line 94 of file RPCCompDetId.h.

Referenced by init(), and region().

const int RPCCompDetId::RingBarrelOffSet = 3
static

Definition at line 68 of file RPCCompDetId.h.

const unsigned int RPCCompDetId::RingMask_ = 0X7
staticprivate

Definition at line 99 of file RPCCompDetId.h.

Referenced by init(), and ring().

const int RPCCompDetId::RingNumBits_ = 3
staticprivate

Definition at line 97 of file RPCCompDetId.h.

const int RPCCompDetId::RingStartBit_ = RegionStartBit_+RegionNumBits_
staticprivate

Definition at line 98 of file RPCCompDetId.h.

Referenced by init(), and ring().

const unsigned int RPCCompDetId::SectorMask_ = 0X3F
staticprivate

Definition at line 107 of file RPCCompDetId.h.

Referenced by init(), and sector().

const int RPCCompDetId::SectorNumBits_ = 6
staticprivate

Definition at line 105 of file RPCCompDetId.h.

const int RPCCompDetId::SectorStartBit_ = StationStartBit_+StationNumBits_
staticprivate

Definition at line 106 of file RPCCompDetId.h.

Referenced by init(), and sector().

const unsigned int RPCCompDetId::StationMask_ = 0X7
staticprivate

Definition at line 103 of file RPCCompDetId.h.

Referenced by init(), and station().

const int RPCCompDetId::StationNumBits_ = 3
staticprivate

Definition at line 101 of file RPCCompDetId.h.

const int RPCCompDetId::StationStartBit_ = RingStartBit_+RingNumBits_
staticprivate

Definition at line 102 of file RPCCompDetId.h.

Referenced by init(), and station().

const unsigned int RPCCompDetId::SubSectorMask_ = 0X3
staticprivate

Definition at line 115 of file RPCCompDetId.h.

Referenced by init(), and subsector().

const int RPCCompDetId::SubSectorNumBits_ = 2
staticprivate

Definition at line 113 of file RPCCompDetId.h.

const int RPCCompDetId::SubSectorStartBit_ = LayerStartBit_+LayerNumBits_
staticprivate

Definition at line 114 of file RPCCompDetId.h.

Referenced by init(), and subsector().