16 <<
" is not a valid ME0 id";
25 <<
" is not a valid ME0 id";
32 this->
init(region,layer,chamber,roll);
38 if ( region < minRegionId || region >
maxRegionId ||
43 <<
" Invalid parameters: " 46 <<
" chamber "<<chamber
47 <<
" etaPartition "<<roll
67 os <<
" Region "<<
id.region()
68 <<
" Layer "<<
id.layer()
69 <<
" Chamber "<<
id.chamber()
70 <<
" EtaPartition "<<
id.roll()
static const int minChamberId
static const int maxChamberId
static const int maxRollId
static const int minLayerId
static const unsigned int LayerMask_
static const int maxRegionId
static const int minRegionId
int chamber() const
Chamber id: it identifies a chamber in a ring it goes from 1 to 36.
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
static const int LayerStartBit_
static const int ChamberStartBit_
std::ostream & operator<<(std::ostream &os, const ME0DetId &id)
static const unsigned int ChamberMask_
int region() const
Region id: 0 for Barrel Not in use, +/-1 For +/- Endcap.
static const int RegionMask_
void init(int region, int layer, int chamber, int roll)
static const int RegionStartBit_
static const int maxLayerId
static const unsigned int RollMask_
int layer() const
Layer id: each chamber has six layers of chambers: layer 1 is the inner layer and layer 6 is the oute...
Detector det() const
get the detector field from this detid
static const int minRollId
static const int RollStartBit_