CMS 3D CMS Logo

Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes

RPCDetId Class Reference

#include <RPCDetId.h>

Inheritance diagram for RPCDetId:
DetId

List of all members.

Public Member Functions

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.
RPCDetId chamberId () const
 Return the corresponding ChamberId.
int layer () const
bool operator< (const RPCDetId &r) const
 Sort Operator based on the raw detector id.
int region () const
 Region id: 0 for Barrel, +/-1 For +/- Endcap.
int ring () const
int roll () const
 RPCDetId (DetId id)
 RPCDetId ()
 RPCDetId (uint32_t id)
 RPCDetId (int region, int ring, int station, int sector, int layer, int subsector, int roll)
 Construct from fully qualified identifier.
int sector () const
 Sector id: the group of chambers at same phi (and increasing r)
int station () const
int subsector () const
 SubSector id : some sectors are divided along the phi direction in subsectors (from 1 to 4 in Barrel, from 1 to 6 in Endcap)
int trIndex () const

Static Public Attributes

static const int maxLayerId = 2
static const int maxRegionId = 1
static const int maxRingBarrelId = 2
static const int maxRingForwardId = 3
static const int maxRollId = 4
static const int maxSectorBarrelId = 12
static const int maxSectorForwardId = 6
static const int maxSectorId = 12
static const int maxStationId = 4
static const int maxSubSectorBarrelId = 4
static const int maxSubSectorForwardId = 6
static const int maxSubSectorId = 6
static const int minLayerId = 1
static const int minRegionId = -1
static const int minRingBarrelId = -2
static const int minRingForwardId = 1
static const int minRollId = 0
static const int minSectorBarrelId = 1
static const int minSectorForwardId = 1
static const int minSectorId = 0
static const int minStationId = 1
static const int minSubSectorBarrelId = 1
static const int minSubSectorForwardId = 1
static const int minSubSectorId = 0
static const int RingBarrelOffSet = 3

Private Member Functions

void init (int region, int ring, int station, int sector, int layer, int subsector, int roll)

Private Attributes

int trind

Static Private Attributes

static const uint32_t chamberIdMask_ = ~(RollMask_<<RollStartBit_)
static const unsigned int LayerMask_ = 0X1
static const int LayerNumBits_ = 1
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 RollMask_ = 0X7
static const int RollNumBits_ = 3
static const int RollStartBit_ = SubSectorStartBit_+SubSectorNumBits_
static const unsigned int SectorMask_ = 0XF
static const int SectorNumBits_ = 4
static const int SectorStartBit_ = StationStartBit_+StationNumBits_
static const unsigned int StationMask_ = 0X3
static const int StationNumBits_ = 2
static const int StationStartBit_ = RingStartBit_+RingNumBits_
static const unsigned int SubSectorMask_ = 0X7
static const int SubSectorNumBits_ = 3
static const int SubSectorStartBit_ = LayerStartBit_+LayerNumBits_

Detailed Description

DetUnit identifier for RPCs

Date:
2008/08/25 16:35:58
Version:
Id:
RPCDetId.h,v 1.23 2008/08/25 16:35:58 piet Exp
Revision:
1.23
Author:
Ilaria Segoni

Definition at line 20 of file RPCDetId.h.


Constructor & Destructor Documentation

RPCDetId::RPCDetId ( )

Definition at line 12 of file RPCDetId.cc.

Referenced by chamberId().

RPCDetId::RPCDetId ( 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 15 of file RPCDetId.cc.

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

                             :DetId(id),trind(0) {
  //  std::cout<<" constructor of the RPCDetId" <<std::endl;
  if (det()!=DetId::Muon || subdetId()!=MuonSubdetId::RPC) {
    throw cms::Exception("InvalidDetId") << "RPCDetId ctor:"
                                         << " det: " << det()
                                         << " subdet: " << subdetId()
                                         << " is not a valid RPC id";  
  }
}
RPCDetId::RPCDetId ( DetId  id)

Definition at line 24 of file RPCDetId.cc.

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

                          :DetId(id),trind(0) {
  //  std::cout<<" constructor of the RPCDetId" <<std::endl;
  if (det()!=DetId::Muon || subdetId()!=MuonSubdetId::RPC) {
    throw cms::Exception("InvalidDetId") << "RPCDetId ctor:"
                                         << " det: " << det()
                                         << " subdet: " << subdetId()
                                         << " is not a valid RPC id";  
  }
}
RPCDetId::RPCDetId ( int  region,
int  ring,
int  station,
int  sector,
int  layer,
int  subsector,
int  roll 
)

Construct from fully qualified identifier.

Definition at line 36 of file RPCDetId.cc.

References init().


Member Function Documentation

void RPCDetId::buildfromDB ( int  region,
int  ring,
int  layer,
int  sector,
const std::string &  subsector,
const std::string &  roll,
const std::string &  dbname 
)

Definition at line 44 of file RPCDetId.cc.

References abs, Reference_intrackfit_cff::barrel, buildfromTrIndex(), gather_cfg::cout, layer(), ring(), sector(), station(), subsector(), and trIndex().

Referenced by DBSpecToDetUnit::operator()().

                                              {

  bool barrel = (region==0);
  //STATION
  int station = -1;
  if (barrel) {
    if (trlayer==1 || trlayer==2) station = 1;
    else if (trlayer==3 || trlayer==4) station = 2;
    else station = trlayer-2;
  } else {   
   station = abs(ring); 
  }

  //LAYER
  int layer = 1;
  if (barrel && station==1) layer = trlayer;
  if (barrel && station==2) layer = trlayer-2; 

  //SUBSECTOR
  int subsector = 1;

  if (barrel) {
    if (station==3 && subs=="+") subsector = 2;
    if (station==4 && 
         (   sector==1 || sector==2 || sector==3 
                       || sector==5 || sector==6   
          || sector==7 || sector==8 
          || sector==10             || sector==12)
          && (subs=="+")) {
         subsector = 2;
    }

    if (station==4 && sector==4) {
      if (subs=="--") subsector=1;
      if (subs=="-")  subsector=2;
      if (subs=="+")  subsector=3;
      if (subs=="++") subsector=4;
    } 
  }

   // ROLL
  int iroll=0;

  if      (roll=="Backward" || roll=="A") iroll = 1;
  else if (roll=="Central" || roll=="B") iroll = 2;
  else if (roll=="Forward" || roll=="C") iroll = 3;
  else if (roll=="D") iroll = 4;
  else {
    std::cout << "** RPC: DBSpecToDetUnit, how to assigne roll to: "
         <<roll<<" ???" << std::endl;
  }

  int trIndex = 0;
  if(barrel){   
    //cout <<" BARREL: " << endl; 
    int eta_id = 6+ring;
    int plane_id = station;
    if(trlayer==2) plane_id=5;
    if(trlayer==4) plane_id=6;
    int sector_id = sector*3;
    int copy_id = subsector;
    int roll_id = iroll;
    trIndex=(eta_id*10000+plane_id*1000+sector_id*10+copy_id)*10+roll_id;
  } 
  else { 
    //    cout << "ENDCAP : " << endl;
    int eta_id = trlayer;
    if(ring>0) eta_id = 12-trlayer;
    int plane_id = abs(ring);
    int sector_id = sector;

    if (region <0){
      if (sector_id < 20 ){
        sector_id = 19+ 1-sector_id;
      }else{
        sector_id = 36+20-sector_id;
      }
    }
    sector_id-=1;

    //
    int copy_id = 1;
    int roll_id = iroll;
    trIndex=(eta_id*10000+plane_id*1000+sector_id*10+copy_id)*10+ roll_id;
  }
  this->buildfromTrIndex(trIndex);
}
void RPCDetId::buildfromTrIndex ( int  trIndex)

Built from the trigger det Index.

Definition at line 136 of file RPCDetId.cc.

References init(), layer(), region(), ring(), roll(), sector(), station(), subsector(), trind, and trIndex().

Referenced by RPCNumberingScheme::baseNumberToUnitNumber(), and buildfromDB().

{
  trind = trIndex;
  int eta_id = trIndex/100000;
  int region=0;
  int ring =0; 
  if (eta_id <=3 ){
    region = -1;
    ring = eta_id;
  }
  else if (eta_id >=9 ) {
    region = 1;
    ring = 12-eta_id;
  }
  else{
    region = 0;
    ring = eta_id - 6;
  }
  trIndex = trIndex%100000;
  int plane_id = trIndex/10000;
  int station=0;
  int layer=0;
  if (plane_id <=4){
    station = plane_id;
    layer = 1;
  }
  else{
    station = plane_id -4;
    layer = 2;
  }
  trIndex = trIndex%10000;
  int sector_id = trIndex/100;
  if (region!=0) {
        if ( !(ring == 1 && station > 1 && region==1)) {     
         sector_id+=1;
         if (sector_id==37)sector_id=1;
     }
  }
  if (region==-1){
    if (sector_id < 20 ){
      sector_id = 19+ 1-sector_id;
    }else{
      sector_id = 36+20-sector_id;
    }
  }
  trIndex = trIndex%100;
  int copy_id = trIndex/10;
  int sector=(sector_id-1)/3+1;
  if (region!=0) {
    sector=(sector+1)/2;
  }
  int subsector=0;
  if ( region == 0 ) {
    subsector = copy_id;
  }
  else {
    if ( ring == 1 && station > 1) {
      // 20 degree chambers
       subsector = ((sector_id+1)/2-1)%3+1;
    }else {
      // 10 degree chambers
      subsector = (sector_id-1)%6+1;
    }
//     std::cout <<" RE"<<station*region<<"/"<<ring<<" sector_id "<<sector_id
//            << " sector "<<sector <<" sub "<<subsector<<std::endl;
  }


  int roll=trIndex%10;
  this->init(region,ring,station,sector,layer,subsector,roll);
}
RPCDetId RPCDetId::chamberId ( ) const [inline]

Return the corresponding ChamberId.

Definition at line 132 of file RPCDetId.h.

References chamberIdMask_, DetId::id_, and RPCDetId().

                             {
    return RPCDetId(id_ & chamberIdMask_);
  }
void RPCDetId::init ( int  region,
int  ring,
int  station,
int  sector,
int  layer,
int  subsector,
int  roll 
) [private]

Definition at line 211 of file RPCDetId.cc.

References Exception, DetId::id_, LayerMask_, LayerStartBit_, maxLayerId, maxRegionId, maxRingBarrelId, maxRingForwardId, maxRollId, maxSectorId, maxStationId, maxSubSectorId, minLayerId, minRegionId, minRingBarrelId, minRingForwardId, minSectorId, minStationId, minSubSectorId, RegionMask_, RegionStartBit_, RingBarrelOffSet, RingMask_, RingStartBit_, roll(), RollMask_, RollStartBit_, SectorMask_, SectorStartBit_, StationMask_, StationStartBit_, SubSectorMask_, and SubSectorStartBit_.

Referenced by buildfromTrIndex(), and RPCDetId().

{
  int minRing=0;
  int maxRing=RPCDetId::maxRingForwardId;
  if (!region) 
    {
      minRing=RPCDetId::minRingBarrelId;
      maxRing=RPCDetId::maxRingBarrelId;
    } 
  
  if ( region     < minRegionId    || region    > maxRegionId ||
       ring       < minRing        || ring      > maxRing ||
       station    < minStationId   || station   > maxStationId ||
       sector     < minSectorId    || sector    > maxSectorId ||
       layer      < minLayerId     || layer     > maxLayerId ||
       subsector  < minSubSectorId || subsector > maxSubSectorId ||
       roll       < minRollId      || roll      > maxRollId) {
    throw cms::Exception("InvalidDetId") << "RPCDetId ctor:" 
                                         << " Invalid parameters: " 
                                         << " region "<<region
                                         << " ring "<<ring
                                         << " station "<<station
                                         << " sector "<<sector
                                         << " layer "<<layer
                                         << " subsector "<<subsector
                                         << " roll "<<roll
                                         << std::endl;
  }
              
  
  int regionInBits=region-minRegionId;
  int ringInBits =0;
  if(region != 0) ringInBits = ring - minRingForwardId;
  if(!region) ringInBits = ring + RingBarrelOffSet - minRingBarrelId;
  
  int stationInBits=station-minStationId;
  int sectorInBits=sector-(minSectorId+1);
  int layerInBits=layer-minLayerId;
  int subSectorInBits=subsector-(minSubSectorId+1);
  int rollInBits=roll;
  
  id_ |= ( regionInBits    & RegionMask_)    << RegionStartBit_    | 
         ( ringInBits      & RingMask_)      << RingStartBit_      |
         ( stationInBits   & StationMask_)   << StationStartBit_   |
         ( sectorInBits    & SectorMask_)    << SectorStartBit_    |
         ( layerInBits     & LayerMask_)     << LayerStartBit_     |
         ( subSectorInBits & SubSectorMask_) << SubSectorStartBit_ |
         ( rollInBits      & RollMask_)      << RollStartBit_        ;
   
}
int RPCDetId::layer ( ) const [inline]
bool RPCDetId::operator< ( const RPCDetId r) const [inline]

Sort Operator based on the raw detector id.

Definition at line 42 of file RPCDetId.h.

References layer(), DetId::rawId(), and station().

                                           {
    if (r.station() == this->station()){
      if (this->layer() == r.layer()){
        return this->rawId()<r.rawId();
      }
      else{
        return (this->layer() < r.layer());
      }
    }
    else {
      return this->station() < r.station();
    }
  }
int RPCDetId::region ( ) const [inline]

Region id: 0 for Barrel, +/-1 For +/- Endcap.

Definition at line 65 of file RPCDetId.h.

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

Referenced by RPCGeomServ::aclockwise(), RPCDigiValid::analyze(), RPCRecHitValid::analyze(), RPCPointVsRecHit::analyze(), RPCEfficiency::beginRun(), RPCMonitorSync::bookDetUnitME(), RPCEfficiency::bookDetUnitSeg(), RPCEfficiencySecond::bookDetUnitSeg(), RPCMonitorDigi::bookRollME(), RPCGeometryBuilderFromCondDB::build(), buildfromTrIndex(), RPCGeometryBuilderFromDDD::buildGeometry(), RPCStripsRing::calculateHwPlane(), RPCGeomServ::chambername(), RPCGeomServ::channelInChip(), RPCSeedPattern::checkSegment(), RPCDeadChannelTest::clientOperation(), RPCClusterSizeTest::clientOperation(), rpcdqm::utils::detId2ChamberLabel(), rpcdqm::utils::detId2ChamberNr(), rpcdqm::utils::detId2RollNr(), RPCMonitorSync::endJob(), RPCBxTest::endRun(), RPCEfficiencySecond::endRun(), RPCGeomServ::eta_partition(), RPCNoisyStripTest::fillGlobalME(), RPCMultiplicityTest::fillGlobalME(), RPCOccupancyTest::fillGlobalME(), GlobalHitsProdHist::fillMuon(), GlobalHitsAnalyzer::fillMuon(), GlobalHitsProducer::fillMuon(), GlobalDigisAnalyzer::fillMuon(), RPCNoise::filter(), RPCRecHitFilter::filter(), RPCBookFolderStructure::folderStructure(), fireworks::info(), DetIdInfo::info(), RPCCosmicSeedrecHitFinder::iscorssEdge(), L1TRPCTPG::L1TRPCBookME(), HSCPValidator::makeSimDigiPlotsRPC(), RPCGeomServ::name(), ObjectMap::ObjectMap(), ObjectMap2::ObjectMap2(), ObjectMap2CSC::ObjectMap2CSC(), ObjectMapCSC::ObjectMapCSC(), RPCMonitorDigi::performSourceOperation(), ring(), RPCStripsRing::RPCStripsRing(), reco::HitPattern::set(), RPCGeomServ::shortname(), RPCSimAverageNoise::simulateNoise(), RPCSimTriv::simulateNoise(), RPCSimAverage::simulateNoise(), RPCSimSimple::simulateNoise(), RPCSimAverageNoiseEff::simulateNoise(), RPCSimAverageNoiseEffCls::simulateNoise(), RPCSimParam::simulateNoise(), TracktoRPC::TracktoRPC(), ValidateGeometry::validateRPCGeometry(), and RPCGeomServ::zpositive().

                    {
    return int((id_>>RegionStartBit_) & RegionMask_) + minRegionId;
  }
int RPCDetId::ring ( ) const [inline]

Ring id: Wheel number in Barrel (from -2 to +2) Ring Number in Endcap (from 1 to 3) Ring has a different meaning in Barrel and Endcap! In Barrel it is wheel, in Endcap it is the physical ring located on a disk (a disk contains three rings). In Endcap the ring is the group of chambers with same r (distance of beam axis) and increasing phi

Definition at line 74 of file RPCDetId.h.

References Exception, DetId::id_, minRingBarrelId, minRingForwardId, region(), sistrip::ring_, RingBarrelOffSet, RingMask_, and RingStartBit_.

Referenced by RPCGeomServ::aclockwise(), RPCDigiValid::analyze(), RPCEfficiency::analyze(), RPCRecHitValid::analyze(), RPCPointVsRecHit::analyze(), RPCEfficiency::beginRun(), RPCMonitorSync::bookDetUnitME(), RPCMonitorDigi::bookRollME(), RPCGeometryBuilderFromCondDB::build(), buildfromDB(), buildfromTrIndex(), RPCGeometryBuilderFromDDD::buildGeometry(), RPCGeomServ::chambername(), RPCDeadChannelTest::clientOperation(), RPCClusterSizeTest::clientOperation(), CSCSegtoRPC::CSCSegtoRPC(), rpcdqm::utils::detId2RollNr(), RPCMonitorSync::endJob(), RPCBxTest::endRun(), RPCEfficiencySecond::endRun(), RPCGeomServ::eta_partition(), RPCNoisyStripTest::fillGlobalME(), RPCMultiplicityTest::fillGlobalME(), RPCOccupancyTest::fillGlobalME(), GlobalDigisAnalyzer::fillMuon(), RPCRecHitFilter::filter(), RPCBookFolderStructure::folderStructure(), fireworks::info(), DetIdInfo::info(), MuonRPCDetLayerGeometryBuilder::isFront(), L1TRPCTPG::L1TRPCBookME(), RPCGeomServ::name(), RBCProcessRPCSimDigis::next(), RBCProcessRPCDigis::next(), ObjectMap::ObjectMap(), ObjectMap2::ObjectMap2(), ObjectMap2CSC::ObjectMap2CSC(), ObjectMapCSC::ObjectMapCSC(), RPCMonitorDigi::performSourceOperation(), MuonSimHitProducer::produce(), RPCStripsRing::RPCStripsRing(), RPCGeomServ::segment(), RPCGeomServ::shortname(), TracktoRPC::TracktoRPC(), and RPCGeomServ::zpositive().

                  {
  
    int ring_= (id_>>RingStartBit_) & RingMask_;
    
    if(ring_ <RingBarrelOffSet){
    
        if(this->region() == 0)
        {
         throw cms::Exception("InvalidDetId") << "RPCDetId ctor:" 
                                         << " Ring - Region Inconsistency, " 
                                         << " region "<< this->region()
                                         << " ring "<<ring_
                                         << std::endl;
        }
         
        return int(ring_ + minRingForwardId);

    } else { // if(ring_ >= RingBarrelOffSet) 
      return int(ring_ - RingBarrelOffSet + minRingBarrelId);
    }
  }
int RPCDetId::roll ( ) const [inline]
int RPCDetId::sector ( ) const [inline]
int RPCDetId::station ( ) const [inline]

Station id : For Barrel: the four groups of chambers at same r (distance from beam axis) and increasing phi For Endcap: the three groups of chambers at same z (distance from interaction point), i.e. the disk

Definition at line 98 of file RPCDetId.h.

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

Referenced by RPCDigiValid::analyze(), RPCEfficiency::analyze(), RPCRecHitValid::analyze(), RPCPointVsRecHit::analyze(), RPCEfficiency::beginRun(), RPCMonitorSync::bookDetUnitME(), RPCMonitorDigi::bookRollME(), RPCGeometryBuilderFromCondDB::build(), buildfromDB(), buildfromTrIndex(), RPCGeometryBuilderFromDDD::buildGeometry(), reco::helper::JetMuonHitsIDHelper::calculate(), RPCStripsRing::calculateHwPlane(), RPCGeomServ::chambername(), RPCGeomServ::chambernr(), RPCGeomServ::channelInChip(), RPCSeedPattern::checkSegment(), RPCDeadChannelTest::clientOperation(), RPCClusterSizeTest::clientOperation(), ResidualRefitting::CollectTrackHits(), CSCSegtoRPC::CSCSegtoRPC(), rpcdqm::utils::detId2ChamberLabel(), rpcdqm::utils::detId2ChamberNr(), rpcdqm::utils::detId2RollNr(), RPCMonitorSync::endJob(), RPCBxTest::endRun(), RPCEfficiencySecond::endRun(), RPCNoisyStripTest::fillGlobalME(), RPCMultiplicityTest::fillGlobalME(), RPCOccupancyTest::fillGlobalME(), RPCRecHitFilter::filter(), RPCBookFolderStructure::folderStructure(), GlobalMuonRefitter::getRidOfSelectStationHits(), fireworks::info(), DetIdInfo::info(), MuonRPCDetLayerGeometryBuilder::isFront(), L1TRPCTPG::L1TRPCBookME(), HSCPValidator::makeSimDigiPlotsRPC(), TrackTransformerForGlobalCosmicMuons::MuonKeep(), RPCGeomServ::name(), RBCProcessRPCSimDigis::next(), RBCProcessRPCDigis::next(), ObjectMap::ObjectMap(), ObjectMap2::ObjectMap2(), ObjectMap2CSC::ObjectMap2CSC(), ObjectMapCSC::ObjectMapCSC(), operator<(), RPCMonitorDigi::performSourceOperation(), MuonSimHitProducer::produce(), ResidualRefitting::ReturnSector(), ResidualRefitting::ReturnStation(), RPCGeomServ::segment(), GlobalMuonRefitter::selectMuonHits(), reco::HitPattern::set(), RPCGeomServ::shortname(), TAMuonChamberMatch::station(), reco::MuonChamberMatch::station(), and TracktoRPC::TracktoRPC().

                     {
    return int((id_>>StationStartBit_) & StationMask_) + minStationId;
  }
int RPCDetId::subsector ( ) const [inline]
int RPCDetId::trIndex ( ) const [inline]

Definition at line 127 of file RPCDetId.h.

References trind.

Referenced by buildfromDB(), and buildfromTrIndex().

                     {
    return trind;
  }

Member Data Documentation

const uint32_t RPCDetId::chamberIdMask_ = ~(RollMask_<<RollStartBit_) [static, private]

Definition at line 200 of file RPCDetId.h.

Referenced by chamberId().

const unsigned int RPCDetId::LayerMask_ = 0X1 [static, private]

Definition at line 190 of file RPCDetId.h.

Referenced by init(), and layer().

const int RPCDetId::LayerNumBits_ = 1 [static, private]

Definition at line 188 of file RPCDetId.h.

Definition at line 189 of file RPCDetId.h.

Referenced by init(), and layer().

const int RPCDetId::maxLayerId = 2 [static]
const int RPCDetId::maxRegionId = 1 [static]

Definition at line 138 of file RPCDetId.h.

Referenced by init().

const int RPCDetId::maxRingBarrelId = 2 [static]

Definition at line 143 of file RPCDetId.h.

Referenced by MuonRPCDetLayerGeometryBuilder::buildBarrelLayers(), and init().

const int RPCDetId::maxRingForwardId = 3 [static]

Definition at line 141 of file RPCDetId.h.

Referenced by MuonRPCDetLayerGeometryBuilder::buildEndcapLayers(), and init().

const int RPCDetId::maxRollId = 4 [static]
const int RPCDetId::maxSectorBarrelId = 12 [static]

Definition at line 152 of file RPCDetId.h.

const int RPCDetId::maxSectorForwardId = 6 [static]

Definition at line 154 of file RPCDetId.h.

const int RPCDetId::maxSectorId = 12 [static]

Definition at line 150 of file RPCDetId.h.

Referenced by MuonRPCDetLayerGeometryBuilder::buildBarrelLayers(), and init().

const int RPCDetId::maxStationId = 4 [static]
const int RPCDetId::maxSubSectorBarrelId = 4 [static]

Definition at line 162 of file RPCDetId.h.

const int RPCDetId::maxSubSectorForwardId = 6 [static]

Definition at line 164 of file RPCDetId.h.

const int RPCDetId::maxSubSectorId = 6 [static]

Definition at line 160 of file RPCDetId.h.

Referenced by MuonRPCDetLayerGeometryBuilder::buildBarrelLayers(), and init().

const int RPCDetId::minLayerId = 1 [static]
const int RPCDetId::minRegionId = -1 [static]

Definition at line 137 of file RPCDetId.h.

Referenced by init(), and region().

const int RPCDetId::minRingBarrelId = -2 [static]

Definition at line 142 of file RPCDetId.h.

Referenced by MuonRPCDetLayerGeometryBuilder::buildBarrelLayers(), init(), and ring().

const int RPCDetId::minRingForwardId = 1 [static]

Definition at line 140 of file RPCDetId.h.

Referenced by MuonRPCDetLayerGeometryBuilder::buildEndcapLayers(), init(), and ring().

const int RPCDetId::minRollId = 0 [static]
const int RPCDetId::minSectorBarrelId = 1 [static]

Definition at line 151 of file RPCDetId.h.

const int RPCDetId::minSectorForwardId = 1 [static]

Definition at line 153 of file RPCDetId.h.

const int RPCDetId::minSectorId = 0 [static]

Definition at line 149 of file RPCDetId.h.

Referenced by MuonRPCDetLayerGeometryBuilder::buildBarrelLayers(), init(), and sector().

const int RPCDetId::minStationId = 1 [static]

Definition at line 146 of file RPCDetId.h.

Referenced by MuonRPCDetLayerGeometryBuilder::buildBarrelLayers(), init(), and station().

const int RPCDetId::minSubSectorBarrelId = 1 [static]

Definition at line 161 of file RPCDetId.h.

const int RPCDetId::minSubSectorForwardId = 1 [static]

Definition at line 163 of file RPCDetId.h.

const int RPCDetId::minSubSectorId = 0 [static]

Definition at line 159 of file RPCDetId.h.

Referenced by MuonRPCDetLayerGeometryBuilder::buildBarrelLayers(), init(), and subsector().

const int RPCDetId::RegionMask_ = 0X3 [static, private]

Definition at line 173 of file RPCDetId.h.

Referenced by init(), and region().

const int RPCDetId::RegionNumBits_ = 2 [static, private]

Definition at line 171 of file RPCDetId.h.

const int RPCDetId::RegionStartBit_ = 0 [static, private]

Definition at line 172 of file RPCDetId.h.

Referenced by init(), and region().

const int RPCDetId::RingBarrelOffSet = 3 [static]

Definition at line 144 of file RPCDetId.h.

Referenced by init(), and ring().

const unsigned int RPCDetId::RingMask_ = 0X7 [static, private]

Definition at line 177 of file RPCDetId.h.

Referenced by init(), and ring().

const int RPCDetId::RingNumBits_ = 3 [static, private]

Definition at line 175 of file RPCDetId.h.

Definition at line 176 of file RPCDetId.h.

Referenced by init(), and ring().

const unsigned int RPCDetId::RollMask_ = 0X7 [static, private]

Definition at line 198 of file RPCDetId.h.

Referenced by init(), and roll().

const int RPCDetId::RollNumBits_ = 3 [static, private]

Definition at line 196 of file RPCDetId.h.

Definition at line 197 of file RPCDetId.h.

Referenced by init(), and roll().

const unsigned int RPCDetId::SectorMask_ = 0XF [static, private]

Definition at line 186 of file RPCDetId.h.

Referenced by init(), and sector().

const int RPCDetId::SectorNumBits_ = 4 [static, private]

Definition at line 184 of file RPCDetId.h.

Definition at line 185 of file RPCDetId.h.

Referenced by init(), and sector().

const unsigned int RPCDetId::StationMask_ = 0X3 [static, private]

Definition at line 181 of file RPCDetId.h.

Referenced by init(), and station().

const int RPCDetId::StationNumBits_ = 2 [static, private]

Definition at line 179 of file RPCDetId.h.

const int RPCDetId::StationStartBit_ = RingStartBit_+RingNumBits_ [static, private]

Definition at line 180 of file RPCDetId.h.

Referenced by init(), and station().

const unsigned int RPCDetId::SubSectorMask_ = 0X7 [static, private]

Definition at line 194 of file RPCDetId.h.

Referenced by init(), and subsector().

const int RPCDetId::SubSectorNumBits_ = 3 [static, private]

Definition at line 192 of file RPCDetId.h.

Definition at line 193 of file RPCDetId.h.

Referenced by init(), and subsector().

int RPCDetId::trind [private]

Definition at line 211 of file RPCDetId.h.

Referenced by buildfromTrIndex(), and trIndex().