CMS 3D CMS Logo

Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Attributes

DTChamberId Class Reference

#include <DTChamberId.h>

Inheritance diagram for DTChamberId:
DetId DTSuperLayerId DTLayerId DTWireId

List of all members.

Public Member Functions

 DTChamberId ()
 DTChamberId (uint32_t id)
 DTChamberId (int wheel, int station, int sector)
 DTChamberId (const DTChamberId &chId)
 DTChamberId (DetId id)
int sector () const
int station () const
 Return the station number.
int wheel () const
 Return the wheel number.

Static Public Attributes

static const int maxLayerId = 4
 highest layer id
static const int maxSectorId = 14
 highest sector id.
static const int maxStationId = 4
 highest station id
static const int maxSuperLayerId = 3
 highest superlayer id
static const int maxWheelId = 2
 highest wheel number
static const int maxWireId = 97
 highest wire id (chambers have 48 to 96 wires)
static const int minLayerId = 0
 lowest layer id. 0 indicates a full SL
static const int minSectorId = 0
 lowest sector id. 0 indicates all sectors (a station)
static const int minStationId = 1
 lowest station id
static const int minSuperLayerId = 0
 loweset super layer id. 0 indicates a full chamber
static const int minWheelId = -2
 lowest wheel number
static const int minWireId = 0
 lowest wire id (numbering starts from 1 or 2). 0 indicates a full layer

Protected Member Functions

void checkMuonId ()

Static Protected Attributes

static const uint32_t chamberIdMask_
static const uint32_t layerIdMask_ = ~(wireMask_<<wireStartBit_)
static const int layerNumBits_ = 3
static const int layerStartBit_ = wireStartBit_ + wireNumBits_
static const uint32_t lMask_ = 0x7
static const uint32_t sectorMask_ = 0xf
static const int sectorNumBits_ = 4
static const int sectorStartBit_ = wheelStartBit_ + wheelNumBits_
static const int slayerNumBits_ = 2
static const int slayerStartBit_ = layerStartBit_+ layerNumBits_
static const uint32_t slIdMask_
static const uint32_t slMask_ = 0x3
static const uint32_t stationMask_ = 0x7
static const int stationNumBits_ = 3
 two bits would be enough, but we could use the number "0" as a wildcard
static const int stationStartBit_ = sectorStartBit_ + sectorNumBits_
static const uint32_t wheelMask_ = 0x7
static const int wheelNumBits_ = 3
static const int wheelStartBit_ = slayerStartBit_ + slayerNumBits_
static const uint32_t wireMask_ = 0x7f
static const int wireNumBits_ = 7
 two bits would be enough, but we could use the number "0" as a wildcard
static const int wireStartBit_ = 3

Detailed Description

DetUnit identifier for DT chambers.

Date:
2008/11/06 10:34:55
Revision:
1.10
Author:
Stefano ARGIRO & G. Cerminara

Definition at line 16 of file DTChamberId.h.


Constructor & Destructor Documentation

DTChamberId::DTChamberId ( )

Default constructor. Fills the common part in the base and leaves 0 in all other fields

Definition at line 16 of file DTChamberId.cc.

Referenced by DTSuperLayerId::chamberId().

DTChamberId::DTChamberId ( uint32_t  id)

Construct from a packed id. It is required that the packed id represents a valid DT DetId (proper Detector and SubDet fields), otherwise an exception is thrown. Any bits outside the DTChamberId fields are zeroed; apart for this, no check is done on the vaildity of the values.

Definition at line 19 of file DTChamberId.cc.

References checkMuonId().

                                    :
  DetId(id & chamberIdMask_) { // Mask the bits outside DTChamberId fields
  checkMuonId();               // Check this is a valid id for muon DTs.
}
DTChamberId::DTChamberId ( DetId  id)

Definition at line 23 of file DTChamberId.cc.

References checkMuonId().

                                 :
  DetId(id.rawId() & chamberIdMask_) { // Mask the bits outside DTChamberId fields
  checkMuonId();               // Check this is a valid id for muon DTs.
}
DTChamberId::DTChamberId ( int  wheel,
int  station,
int  sector 
)

Construct from indexes. Input values are required to be within legal ranges, otherwise an exception is thrown.

Definition at line 30 of file DTChamberId.cc.

References Exception, DetId::id_, maxSectorId, maxStationId, maxWheelId, minWheelId, sectorMask_, sectorStartBit_, stationMask_, stationStartBit_, wheelMask_, and wheelStartBit_.

                                                          :
  DetId(DetId::Muon, MuonSubdetId::DT) {
    // Check that arguments are within the range
    if (wheel      < minWheelId      || wheel      > maxWheelId ||
        station    < minStationId    || station    > maxStationId ||
        sector     < minSectorId     || sector     > maxSectorId) {
      throw cms::Exception("InvalidDetId") << "DTChamberId ctor:" 
                                           << " Invalid parameters: " 
                                           << " Wh:"<< wheel
                                           << " St:"<< station
                                           << " Se:"<< sector
                                           << std::endl;
    }

    int tmpwheelid = wheel- minWheelId +1;
    id_ |= (tmpwheelid& wheelMask_) << wheelStartBit_   |
      (station & stationMask_)      << stationStartBit_ |
      (sector  &sectorMask_ )       << sectorStartBit_;

}
DTChamberId::DTChamberId ( const DTChamberId chId)

Copy Constructor. Any bits outside the DTChamberId fields are zeroed; apart for this, no check is done on the vaildity of the values.

Definition at line 53 of file DTChamberId.cc.

                                                :
  DetId(chId.rawId() & chamberIdMask_) {   // The mask is required for proper slicing, i.e. if chId is actually a derived class.
}

Member Function Documentation

void DTChamberId::checkMuonId ( ) [protected]

Definition at line 59 of file DTChamberId.cc.

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

Referenced by DTChamberId(), DTLayerId::DTLayerId(), DTSuperLayerId::DTSuperLayerId(), and DTWireId::DTWireId().

                              {
  if (det()!=DetId::Muon || subdetId()!=MuonSubdetId::DT) {
    throw cms::Exception("InvalidDetId") << "DTChamberId ctor:"
                                         << " det: " << det()
                                         << " subdet: " << subdetId()
                                         << " is not a valid DT id";  
  }
}
int DTChamberId::sector ( ) const [inline]

Return the sector number. Sectors are numbered from 1 to 12, starting at phi=0 and increasing with phi. In station 4, where the top and bottom setcors are made of two chambers, two additional sector numbers are used, 13 (after sector 4, top) and 14 (after sector 10, bottom).

Definition at line 63 of file DTChamberId.h.

References DetId::id_, sectorMask_, and sectorStartBit_.

Referenced by DTChamberEfficiencyTask::analyze(), DTT0CalibrationNew::analyze(), RPCEfficiency::analyze(), DTT0Calibration::analyze(), DTVDriftCalibration::analyze(), DTLocalTriggerSynchTask::analyze(), MuonAlignmentAnalyzer::analyze(), MuonAlignment::analyze(), DTDigiTask::analyze(), DTChamberEfficiency::analyze(), DTTriggerEfficiencyTask::bookChamberHistos(), DTTriggerEfficiencyTest::bookChambHistos(), DTnoiseDBValidation::bookHisto(), DTDigiForNoiseTask::bookHistos(), BTagPerformanceAnalyzerMC::bookHistos(), DTt0DBValidation::bookHistos(), DTEfficiencyTask::bookHistos(), DTDeadChannelTest::bookHistos(), DTCalibValidation::bookHistos(), DTNoiseTask::bookHistos(), DTEfficiencyTest::bookHistos(), DTResolutionTest::bookHistos(), DTChamberEfficiencyTest::bookHistos(), DTAlbertoBenvenutiTask::bookHistos(), DTTTrigOffsetCalibration::bookHistos(), DTChamberEfficiencyTask::bookHistos(), DTResolutionAnalysisTask::bookHistos(), DTLocalTriggerSynchTask::bookHistos(), DTLocalTriggerBaseTask::bookHistos(), DTResidualCalibration::bookHistos(), DTSegmentAnalysisTask::bookHistos(), DTLocalTriggerLutTask::bookHistos(), DTtTrigCalibrationTest::bookHistos(), DTConfigTrivialProducer::buildManager(), DTTracoChip::calculateAngles(), MuonAlignmentFromReference::chamberPrettyNameFromId(), DTDigiTask::channelsMap(), DTCombinatorialExtendedPatternReco::closeSL(), DTSectCollPhCand::CoarseSync(), DTVDriftMeanTimer::compute(), DTTrigGeomUtils::computeSCCoordinates(), DTConfigDBProducer::configFromCfg(), DTTrig::constTrigUnit(), DTTTrigResidualCorrection::correction(), DTDigiToRaw::createFedBuffers(), DTHVStatusHandler::createSnapshot(), DTTrig::createTUs(), DTSegtoRPC::DTSegtoRPC(), DTTracoChip::DTTracoChip(), DTConfigManager::dumpLUTParam(), DTHVStatusHandler::dumpSnapshot(), DTCreateSummaryHistos::endJob(), DTVDriftCalibration::endJob(), DTChamberEfficiencyTest::endLuminosityBlock(), DTOccupancyTest::endLuminosityBlock(), DTEfficiencyTest::endLuminosityBlock(), DTDeadChannelTest::endLuminosityBlock(), DTResolutionTest::endLuminosityBlock(), DTNoiseAnalysisTest::endLuminosityBlock(), DTResolutionAnalysisTest::endRun(), DTSegmentAnalysisTask::fillHistos(), MuonAlignmentFromReference::fitAndAlign(), DTReadOutMapping::geometryToReadOut(), DTTtrig::get(), DTMtime::get(), DTRunConditionVarClient::getChamberHistos(), DTNoiseComputation::getChamberName(), DTNoiseCalibration::getChannelName(), DTPosNegType::getCT(), DTPosNeg::getCT(), DTConfigManager::getDTConfigBti(), DTConfigManager::getDTConfigBtiMap(), DTConfigManager::getDTConfigLUTs(), DTConfigManager::getDTConfigTraco(), DTConfigManager::getDTConfigTracoMap(), DTConfigManager::getDTConfigTrigUnit(), DTConfigManager::getDTConfigTSPhi(), DTConfigManager::getDTConfigTSTheta(), DTLocalTriggerSynchTest::getFloatFromME(), DTT0Calibration::getHistoName(), DTTTrigT0SegCorrection::getHistoName(), DTVDriftSegment::getHistoName(), DTTPAnalyzer::getHistoName(), DTTTrigResidualCorrection::getHistoName(), DTT0CalibrationNew::getHistoName(), DTNoiseComputation::getLayerName(), DTtTrigCalibrationTest::getMEName(), DTResolutionTest::getMEName(), DTNoiseTest::getMEName(), DTNoiseAnalysisTest::getMEName(), DTResolutionAnalysisTest::getMEName(), DTResolutionTest::getMEName2D(), TrackerMuonHitExtractor::getMuonHits(), DTTTrigCalibration::getOccupancyName(), DTPosNeg::getPN(), DTPosNegType::getPN(), DTNoiseComputation::getSuperLayerName(), DTTTrigCalibration::getTBoxName(), DTTTrigWriter::getTBoxName(), fireworks::info(), DetIdInfo::info(), TAMuonChamberMatch::info(), TrackerMuonHitExtractor::init(), DTHVStatusHandler::layerId(), DTConfigTrivialProducer::mapEntryName(), DTConfigDBProducer::mapEntryName(), DTHVStatusHandler::offlineList(), DTBlockedROChannelsTest::performClientDiagnostic(), DTSegmentAnalysisTest::performClientDiagnostic(), MuonTrackProducer::produce(), MuonSimHitProducer::produce(), DTConfigDBProducer::readDTCCBConfig(), ResidualRefitting::ReturnSector(), DTFineDelayCorr::runClientDiagnostic(), DTLocalTriggerBaseTask::runDDUvsDCCAnalysis(), DTOccupancyTest::runOccupancyTest(), DTTracoId::sector(), DTTrigData::sector(), DTTrigGeom::sector(), DTBtiId::sector(), MuonIdProducer::sectorPhi(), DTTtrig::set(), DTMtime::set(), and TracktoRPC::TracktoRPC().

                     {
    return ((id_>>sectorStartBit_)& sectorMask_);
  }
int DTChamberId::station ( ) const [inline]

Return the station number.

Definition at line 53 of file DTChamberId.h.

References DetId::id_, stationMask_, and stationStartBit_.

Referenced by DTPreCalibrationTask::analyze(), DTChamberEfficiencyTask::analyze(), RPCEfficiency::analyze(), DTLocalTriggerLutTask::analyze(), DTVDriftCalibration::analyze(), DTLocalTriggerSynchTask::analyze(), MuonAlignmentAnalyzer::analyze(), MuonAlignment::analyze(), DTDigiTask::analyze(), DTChamberEfficiency::analyze(), DTResolutionAnalysisTask::beginRun(), DTNoiseComputation::beginRun(), DTTriggerEfficiencyTask::bookChamberHistos(), DTTriggerEfficiencyTest::bookChambHistos(), DTnoiseDBValidation::bookHisto(), DTDigiForNoiseTask::bookHistos(), BTagPerformanceAnalyzerMC::bookHistos(), DTt0DBValidation::bookHistos(), DTEfficiencyTask::bookHistos(), DTDeadChannelTest::bookHistos(), DTCalibValidation::bookHistos(), DTNoiseTask::bookHistos(), DTEfficiencyTest::bookHistos(), DTChamberEfficiencyTest::bookHistos(), DTAlbertoBenvenutiTask::bookHistos(), DTTTrigOffsetCalibration::bookHistos(), DTChamberEfficiencyTask::bookHistos(), DTResolutionAnalysisTask::bookHistos(), DTLocalTriggerSynchTask::bookHistos(), DTLocalTriggerBaseTask::bookHistos(), DTResidualCalibration::bookHistos(), DTSegmentAnalysisTask::bookHistos(), DTLocalTriggerLutTask::bookHistos(), DTtTrigCalibrationTest::bookHistos(), AlignableMuon::buildDTBarrel(), DTConfigTrivialProducer::buildManager(), MuonAlignmentFromReference::chamberPrettyNameFromId(), DTDigiTask::channelsMap(), DTTrig::chThetaSegm(), DTSectCollThCand::CoarseSync(), DTSectCollPhCand::CoarseSync(), ResidualRefitting::CollectTrackHits(), DTLinearDriftFromDBAlgo::compute(), DTVDriftMeanTimer::compute(), DTRecHitQuality::compute(), DTTrigGeomUtils::computeSCCoordinates(), DTConfigDBProducer::configFromCfg(), DTTrig::constTrigUnit(), DTTTrigResidualCorrection::correction(), DTDigiToRaw::createFedBuffers(), DTHVStatusHandler::createSnapshot(), DTSegtoRPC::DTSegtoRPC(), DTTracoChip::DTTracoChip(), DTConfigManager::dumpLUTParam(), DTHVStatusHandler::dumpSnapshot(), DTCreateSummaryHistos::endJob(), DTTTrigOffsetCalibration::endJob(), DTVDriftCalibration::endJob(), DTChamberEfficiencyTest::endLuminosityBlock(), DTOccupancyTest::endLuminosityBlock(), DTEfficiencyTest::endLuminosityBlock(), DTDeadChannelTest::endLuminosityBlock(), DTResolutionTest::endLuminosityBlock(), DTNoiseAnalysisTest::endLuminosityBlock(), DTResolutionAnalysisTest::endRun(), AlignmentMonitorMuonResiduals::event(), DTSegmentAnalysisTask::fillHistos(), DTTimingExtractor::fillTiming(), DynamicTruncation::filteringAlgo(), MuonAlignmentFromReference::fitAndAlign(), DTReadOutMapping::geometryToReadOut(), DTTtrig::get(), DTMtime::get(), DTRunConditionVarClient::getChamberHistos(), DTNoiseComputation::getChamberName(), DTNoiseCalibration::getChannelName(), DTPosNegType::getCT(), DTPosNeg::getCT(), DTConfigManager::getDTConfigBti(), DTConfigManager::getDTConfigBtiMap(), DTConfigManager::getDTConfigLUTs(), DTConfigManager::getDTConfigTraco(), DTConfigManager::getDTConfigTracoMap(), DTConfigManager::getDTConfigTrigUnit(), DTConfigManager::getDTConfigTSPhi(), DTConfigManager::getDTConfigTSTheta(), DTLocalTriggerSynchTest::getFloatFromME(), DTT0Calibration::getHistoName(), DTTTrigT0SegCorrection::getHistoName(), DTVDriftSegment::getHistoName(), DTTPAnalyzer::getHistoName(), DTTTrigResidualCorrection::getHistoName(), DTT0CalibrationNew::getHistoName(), DTNoiseComputation::getLayerName(), DTNoiseComputation::getMaxNumBins(), DTtTrigCalibrationTest::getMEName(), DTResolutionTest::getMEName(), DTNoiseTest::getMEName(), DTNoiseAnalysisTest::getMEName(), DTResolutionAnalysisTest::getMEName(), DTResolutionTest::getMEName2D(), TrackerMuonHitExtractor::getMuonHits(), DTTTrigCalibration::getOccupancyName(), DTPosNeg::getPN(), DTPosNegType::getPN(), GlobalMuonRefitter::getRidOfSelectStationHits(), DTNoiseComputation::getSuperLayerName(), DTTTrigCalibration::getTBoxName(), DTTTrigWriter::getTBoxName(), HLTDTActivityFilter::hltFilter(), fireworks::info(), DetIdInfo::info(), TAMuonChamberMatch::info(), TrackerMuonHitExtractor::init(), DTChamberEfficiencyTask::isGoodSegment(), DTHVStatusHandler::layerId(), DTConfigTrivialProducer::mapEntryName(), DTConfigDBProducer::mapEntryName(), TrackTransformerForGlobalCosmicMuons::MuonKeep(), DTHVStatusHandler::offlineList(), DTChamberIdDetLayerComparator::operator()(), DTBlockedROChannelsTest::performClientDiagnostic(), DTSegmentAnalysisTest::performClientDiagnostic(), MuonTrackProducer::produce(), MuonSimHitProducer::produce(), MuonSeedPtExtractor::pT_extract(), DTConfigDBProducer::readDTCCBConfig(), ResidualRefitting::ReturnStation(), DTFineDelayCorr::runClientDiagnostic(), DTLocalTriggerBaseTask::runDDUvsDCCAnalysis(), DTOccupancyTest::runOccupancyTest(), DTChamberEfficiency::segQualityCut(), DTTtrig::set(), DTMtime::set(), SETSeedFinder::sortByLayer(), DTTracoId::station(), DTTrigGeom::station(), TAMuonChamberMatch::station(), reco::MuonChamberMatch::station(), DTBtiId::station(), DTTrigData::station(), and MuonSeedPtExtractor::stationCode().

                      {
    return ((id_>>stationStartBit_) & stationMask_);
  }
int DTChamberId::wheel ( ) const [inline]

Return the wheel number.

Definition at line 47 of file DTChamberId.h.

References DetId::id_, minWheelId, wheelMask_, and wheelStartBit_.

Referenced by AlignmentMonitorMuonResiduals::afterAlignment(), DTChamberEfficiencyTask::analyze(), DTT0CalibrationNew::analyze(), MuonIdVal::analyze(), RPCEfficiency::analyze(), DTLocalTriggerLutTask::analyze(), DTT0Calibration::analyze(), DTVDriftCalibration::analyze(), DTLocalTriggerSynchTask::analyze(), MuonAlignmentAnalyzer::analyze(), MuonAlignment::analyze(), DTDigiTask::analyze(), DTChamberEfficiency::analyze(), DTNoiseComputation::beginRun(), DTTriggerEfficiencyTask::bookChamberHistos(), DTTriggerEfficiencyTest::bookChambHistos(), DTnoiseDBValidation::bookHisto(), DTDigiForNoiseTask::bookHistos(), BTagPerformanceAnalyzerMC::bookHistos(), DTt0DBValidation::bookHistos(), DTEfficiencyTask::bookHistos(), DTDeadChannelTest::bookHistos(), DTCalibValidation::bookHistos(), DTNoiseTask::bookHistos(), DTEfficiencyTest::bookHistos(), DTResolutionTest::bookHistos(), DTChamberEfficiencyTest::bookHistos(), DTAlbertoBenvenutiTask::bookHistos(), DTTTrigOffsetCalibration::bookHistos(), DTChamberEfficiencyTask::bookHistos(), DTResolutionAnalysisTask::bookHistos(), DTLocalTriggerSynchTask::bookHistos(), DTLocalTriggerBaseTask::bookHistos(), DTResidualCalibration::bookHistos(), DTSegmentAnalysisTask::bookHistos(), DTLocalTriggerLutTask::bookHistos(), DTtTrigCalibrationTest::bookHistos(), AlignableMuon::buildDTBarrel(), DTConfigTrivialProducer::buildManager(), DTTracoChip::calculateAngles(), MuonAlignmentFromReference::chamberPrettyNameFromId(), DTDigiTask::channelsMap(), DTCombinatorialExtendedPatternReco::closeSL(), DTLinearDriftFromDBAlgo::compute(), DTVDriftMeanTimer::compute(), DTRecHitQuality::compute(), DTConfigDBProducer::configFromCfg(), DTTrig::constTrigUnit(), DTTTrigResidualCorrection::correction(), DTDigiToRaw::createFedBuffers(), DTHVStatusHandler::createSnapshot(), DTTrig::createTUs(), DTSegtoRPC::DTSegtoRPC(), DTTracoChip::DTTracoChip(), DTConfigManager::dumpLUTParam(), DTHVStatusHandler::dumpSnapshot(), DTCreateSummaryHistos::endJob(), DTVDriftCalibration::endJob(), DTChamberEfficiencyTest::endLuminosityBlock(), DTOccupancyTest::endLuminosityBlock(), DTEfficiencyTest::endLuminosityBlock(), DTDeadChannelTest::endLuminosityBlock(), DTResolutionTest::endLuminosityBlock(), DTNoiseAnalysisTest::endLuminosityBlock(), DTResolutionAnalysisTest::endRun(), AlignmentMonitorMuonResiduals::event(), DTSegmentAnalysisTask::fillHistos(), MuonAlignmentFromReference::fitAndAlign(), DTReadOutMapping::geometryToReadOut(), DTTtrig::get(), DTMtime::get(), DTRunConditionVarClient::getChamberHistos(), DTNoiseComputation::getChamberName(), DTNoiseCalibration::getChannelName(), DTPosNegType::getCT(), DTPosNeg::getCT(), DTConfigManager::getDTConfigBti(), DTConfigManager::getDTConfigBtiMap(), DTConfigManager::getDTConfigLUTs(), DTConfigManager::getDTConfigTraco(), DTConfigManager::getDTConfigTracoMap(), DTConfigManager::getDTConfigTrigUnit(), DTConfigManager::getDTConfigTSPhi(), DTConfigManager::getDTConfigTSTheta(), DTLocalTriggerSynchTest::getFloatFromME(), DTT0Calibration::getHistoName(), DTTTrigT0SegCorrection::getHistoName(), DTVDriftSegment::getHistoName(), DTTPAnalyzer::getHistoName(), DTTTrigResidualCorrection::getHistoName(), DTT0CalibrationNew::getHistoName(), DTNoiseComputation::getLayerName(), DTtTrigCalibrationTest::getMEName(), DTResolutionTest::getMEName(), DTNoiseTest::getMEName(), DTNoiseAnalysisTest::getMEName(), DTResolutionAnalysisTest::getMEName(), DTResolutionTest::getMEName2D(), TrackerMuonHitExtractor::getMuonHits(), DTTTrigCalibration::getOccupancyName(), DTPosNeg::getPN(), DTPosNegType::getPN(), MuonSeedPtExtractor::getPt(), DTNoiseComputation::getSuperLayerName(), DTTTrigCalibration::getTBoxName(), DTTTrigWriter::getTBoxName(), fireworks::info(), TAMuonChamberMatch::info(), DetIdInfo::info(), TrackerMuonHitExtractor::init(), DTHVStatusHandler::layerId(), DTConfigTrivialProducer::mapEntryName(), DTConfigDBProducer::mapEntryName(), TrackTransformerForGlobalCosmicMuons::MuonKeep(), DTHVStatusHandler::offlineList(), DTBlockedROChannelsTest::performClientDiagnostic(), DTSegmentAnalysisTest::performClientDiagnostic(), MuonTrackProducer::produce(), MuonSimHitProducer::produce(), MuonSeedPtExtractor::pT_extract(), DTConfigDBProducer::readDTCCBConfig(), DTLocalTriggerLutTest::runClientDiagnostic(), DTFineDelayCorr::runClientDiagnostic(), DTTriggerLutTest::runClientDiagnostic(), DTLocalTriggerBaseTask::runDDUvsDCCAnalysis(), DTOccupancyTest::runOccupancyTest(), DTLocalTriggerTask::runSegmentAnalysis(), DTTtrig::set(), DTMtime::set(), TracktoRPC::TracktoRPC(), DTTrigGeom::wheel(), DTBtiId::wheel(), DTTrigData::wheel(), DTTracoId::wheel(), and MuonAlignmentOutputXML::writeComponents().

                    {
    return int((id_>>wheelStartBit_) & wheelMask_)+ minWheelId -1;
  }

Member Data Documentation

const uint32_t DTChamberId::chamberIdMask_ [static, protected]
Initial value:

Definition at line 121 of file DTChamberId.h.

Referenced by DTSuperLayerId::chamberId().

const uint32_t DTChamberId::layerIdMask_ = ~(wireMask_<<wireStartBit_) [static, protected]

Definition at line 118 of file DTChamberId.h.

Referenced by DTLayerId::DTLayerId(), and DTWireId::layerId().

const int DTChamberId::layerNumBits_ = 3 [static, protected]

Definition at line 98 of file DTChamberId.h.

const int DTChamberId::layerStartBit_ = wireStartBit_ + wireNumBits_ [static, protected]

Definition at line 99 of file DTChamberId.h.

Referenced by DTLayerId::DTLayerId(), and DTLayerId::layer().

const uint32_t DTChamberId::lMask_ = 0x7 [static, protected]

Definition at line 115 of file DTChamberId.h.

Referenced by DTLayerId::DTLayerId(), and DTLayerId::layer().

const int DTChamberId::maxLayerId = 4 [static]

highest layer id

Definition at line 87 of file DTChamberId.h.

Referenced by DTLayerId::DTLayerId(), and MuonShowerInformationFiller::fillHitsByStation().

const int DTChamberId::maxSectorId = 14 [static]

highest sector id.

Definition at line 75 of file DTChamberId.h.

Referenced by MuonDTDetLayerGeometryBuilder::buildLayers(), and DTChamberId().

const int DTChamberId::maxStationId = 4 [static]

highest station id

Definition at line 71 of file DTChamberId.h.

Referenced by MuonDTDetLayerGeometryBuilder::buildLayers(), and DTChamberId().

const int DTChamberId::maxSuperLayerId = 3 [static]

highest superlayer id

Definition at line 83 of file DTChamberId.h.

Referenced by DTSuperLayerId::DTSuperLayerId(), and MuonShowerInformationFiller::fillHitsByStation().

const int DTChamberId::maxWheelId = 2 [static]

highest wheel number

Definition at line 79 of file DTChamberId.h.

Referenced by MuonDTDetLayerGeometryBuilder::buildLayers(), and DTChamberId().

const int DTChamberId::maxWireId = 97 [static]

highest wire id (chambers have 48 to 96 wires)

Definition at line 91 of file DTChamberId.h.

Referenced by DTWireId::DTWireId().

const int DTChamberId::minLayerId = 0 [static]

lowest layer id. 0 indicates a full SL

Definition at line 85 of file DTChamberId.h.

Referenced by MuonShowerInformationFiller::fillHitsByStation().

const int DTChamberId::minSectorId = 0 [static]

lowest sector id. 0 indicates all sectors (a station)

Definition at line 73 of file DTChamberId.h.

Referenced by MuonDTDetLayerGeometryBuilder::buildLayers().

const int DTChamberId::minStationId = 1 [static]

lowest station id

Definition at line 69 of file DTChamberId.h.

Referenced by MuonDTDetLayerGeometryBuilder::buildLayers().

const int DTChamberId::minSuperLayerId = 0 [static]

loweset super layer id. 0 indicates a full chamber

Definition at line 81 of file DTChamberId.h.

Referenced by MuonShowerInformationFiller::fillHitsByStation().

const int DTChamberId::minWheelId = -2 [static]

lowest wheel number

Definition at line 77 of file DTChamberId.h.

Referenced by MuonDTDetLayerGeometryBuilder::buildLayers(), DTChamberId(), and wheel().

const int DTChamberId::minWireId = 0 [static]

lowest wire id (numbering starts from 1 or 2). 0 indicates a full layer

Definition at line 89 of file DTChamberId.h.

const uint32_t DTChamberId::sectorMask_ = 0xf [static, protected]

Definition at line 113 of file DTChamberId.h.

Referenced by DTChamberId(), and sector().

const int DTChamberId::sectorNumBits_ = 4 [static, protected]

Definition at line 104 of file DTChamberId.h.

const int DTChamberId::sectorStartBit_ = wheelStartBit_ + wheelNumBits_ [static, protected]

Definition at line 105 of file DTChamberId.h.

Referenced by DTChamberId(), and sector().

const int DTChamberId::slayerNumBits_ = 2 [static, protected]

Definition at line 100 of file DTChamberId.h.

const int DTChamberId::slayerStartBit_ = layerStartBit_+ layerNumBits_ [static, protected]

Definition at line 101 of file DTChamberId.h.

Referenced by DTSuperLayerId::DTSuperLayerId(), and DTSuperLayerId::superLayer().

const uint32_t DTChamberId::slIdMask_ [static, protected]
Initial value:

Definition at line 119 of file DTChamberId.h.

Referenced by DTSuperLayerId::DTSuperLayerId(), and DTLayerId::superlayerId().

const uint32_t DTChamberId::slMask_ = 0x3 [static, protected]

Definition at line 114 of file DTChamberId.h.

Referenced by DTSuperLayerId::DTSuperLayerId(), and DTSuperLayerId::superLayer().

const uint32_t DTChamberId::stationMask_ = 0x7 [static, protected]

Definition at line 112 of file DTChamberId.h.

Referenced by DTChamberId(), and station().

const int DTChamberId::stationNumBits_ = 3 [static, protected]

two bits would be enough, but we could use the number "0" as a wildcard

Definition at line 107 of file DTChamberId.h.

Definition at line 108 of file DTChamberId.h.

Referenced by DTChamberId(), and station().

const uint32_t DTChamberId::wheelMask_ = 0x7 [static, protected]

Definition at line 111 of file DTChamberId.h.

Referenced by DTChamberId(), and wheel().

const int DTChamberId::wheelNumBits_ = 3 [static, protected]

Definition at line 102 of file DTChamberId.h.

const int DTChamberId::wheelStartBit_ = slayerStartBit_ + slayerNumBits_ [static, protected]

Definition at line 103 of file DTChamberId.h.

Referenced by DTChamberId(), and wheel().

const uint32_t DTChamberId::wireMask_ = 0x7f [static, protected]

Definition at line 116 of file DTChamberId.h.

Referenced by DTWireId::DTWireId(), and DTWireId::wire().

const int DTChamberId::wireNumBits_ = 7 [static, protected]

two bits would be enough, but we could use the number "0" as a wildcard

Definition at line 96 of file DTChamberId.h.

const int DTChamberId::wireStartBit_ = 3 [static, protected]

Definition at line 97 of file DTChamberId.h.

Referenced by DTWireId::DTWireId(), and DTWireId::wire().