CMS 3D CMS Logo

List of all members | 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

Public Member Functions

 DTChamberId ()
 
 DTChamberId (const DTChamberId &chId)
 
 DTChamberId (DetId id)
 
 DTChamberId (int wheel, int station, int sector)
 
 DTChamberId (uint32_t id)
 
int sector () const
 
int station () const
 Return the station number. More...
 
int wheel () const
 Return the wheel number. More...
 
- 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 maxLayerId = 4
 highest layer id More...
 
static const int maxSectorId = 14
 highest sector id. More...
 
static const int maxStationId = 4
 highest station id More...
 
static const int maxSuperLayerId = 3
 highest superlayer id More...
 
static const int maxWheelId = 2
 highest wheel number More...
 
static const int maxWireId = 97
 highest wire id (chambers have 48 to 96 wires) More...
 
static const int minLayerId = 0
 lowest layer id. 0 indicates a full SL More...
 
static const int minSectorId = 0
 lowest sector id. 0 indicates all sectors (a station) More...
 
static const int minStationId = 1
 lowest station id More...
 
static const int minSuperLayerId = 0
 loweset super layer id. 0 indicates a full chamber More...
 
static const int minWheelId = -2
 lowest wheel number More...
 
static const int minWireId = 0
 lowest wire id (numbering starts from 1 or 2). 0 indicates a full layer More...
 
- 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
 

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_ = ~((wireMask_ << wireStartBit_) | (lMask_ << layerStartBit_))
 
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 More...
 
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 More...
 
static const int wireStartBit_ = 3
 

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

DetUnit identifier for DT chambers.

Author
Stefano ARGIRO & G. Cerminara

Definition at line 14 of file DTChamberId.h.

Constructor & Destructor Documentation

◆ DTChamberId() [1/5]

DTChamberId::DTChamberId ( )

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

Definition at line 14 of file DTChamberId.cc.

Referenced by DTSuperLayerId::chamberId().

◆ DTChamberId() [2/5]

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 16 of file DTChamberId.cc.

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

References checkMuonId().

◆ DTChamberId() [3/5]

DTChamberId::DTChamberId ( DetId  id)

Definition at line 19 of file DTChamberId.cc.

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

References checkMuonId().

◆ DTChamberId() [4/5]

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 23 of file DTChamberId.cc.

24  // Check that arguments are within the range
25  if (wheel < minWheelId || wheel > maxWheelId || station < minStationId || station > maxStationId ||
26  sector < minSectorId || sector > maxSectorId) {
27  throw cms::Exception("InvalidDetId") << "DTChamberId ctor:"
28  << " Invalid parameters: "
29  << " Wh:" << wheel << " St:" << station << " Se:" << sector << std::endl;
30  }
31 
32  int tmpwheelid = wheel - minWheelId + 1;
33  id_ |= (tmpwheelid & wheelMask_) << wheelStartBit_ | (station & stationMask_) << stationStartBit_ |
35 }

References Exception, DetId::id_, maxSectorId, maxStationId, maxWheelId, minWheelId, sector(), sectorMask_, sectorStartBit_, station(), stationMask_, stationStartBit_, wheel(), wheelMask_, and wheelStartBit_.

◆ DTChamberId() [5/5]

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 37 of file DTChamberId.cc.

39  : DetId(chId.rawId() & chamberIdMask_) {}

Member Function Documentation

◆ checkMuonId()

void DTChamberId::checkMuonId ( )
protected

Definition at line 41 of file DTChamberId.cc.

41  {
42  if (det() != DetId::Muon || subdetId() != MuonSubdetId::DT) {
43  throw cms::Exception("InvalidDetId") << "DTChamberId ctor:"
44  << " det: " << det() << " subdet: " << subdetId() << " is not a valid DT id";
45  }
46 }

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

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

◆ sector()

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 49 of file DTChamberId.h.

49 { return ((id_ >> sectorStartBit_) & sectorMask_); }

References DetId::id_, sectorMask_, and sectorStartBit_.

Referenced by DTT0CalibrationRMS::analyze(), DTVDriftCalibration::analyze(), DTT0Calibration::analyze(), DTChamberEfficiencyTask::analyze(), MuonAlignmentAnalyzer::analyze(), DTChamberEfficiency::analyze(), MuonPathAnalyzerInChamber::analyze(), DTLocalTriggerSynchTask::analyze(), DTDigiTask::analyze(), MuonPathAnalyticAnalyzer::analyze(), DTTriggerEfficiencyTask::bookChamberHistos(), DTRunConditionVar::bookChamberHistos(), DTLocalTriggerEfficiencyTest::bookChambHistos(), DTLocalTriggerSynchTest::bookChambHistos(), DTTriggerEfficiencyTest::bookChambHistos(), DTnoiseDBValidation::bookHisto(), DTEfficiencyTask::bookHistograms(), DTCalibValidation::bookHistograms(), DTCalibValidationFromMuons::bookHistograms(), DTVDriftSegmentCalibration::bookHistos(), DTTTrigOffsetCalibration::bookHistos(), DTResidualCalibration::bookHistos(), DTt0DBValidation::bookHistos(), DTResolutionTest::bookHistos(), DTChamberEfficiencyTest::bookHistos(), DTEfficiencyTest::bookHistos(), DTNoiseTask::bookHistos(), DTChamberEfficiencyTask::bookHistos(), DTLocalTriggerSynchTask::bookHistos(), DTResolutionAnalysisTask::bookHistos(), DTLocalTriggerTask::bookHistos(), DTSegmentAnalysisTask::bookHistos(), DTLocalTriggerBaseTask::bookHistos(), DTLocalTriggerLutTask::bookHistos(), DTConfigTrivialProducer::buildManager(), DTTracoChip::calculateAngles(), MuonHitHelper::chamber(), MuonAlignmentFromReference::chamberPrettyNameFromId(), DTDigiTask::channelsMap(), DTSectCollPhCand::CoarseSync(), dtCalibration::DTVDriftMeanTimer::compute(), DTConfigDBProducer::configFromCfg(), DTTrig::constTrigUnit(), PrimitiveConversion::convert_dt(), dtCalibration::DTT0FEBPathCorrection::correction(), dtCalibration::DTTTrigResidualCorrection::correction(), MuonPathAssociator::correlateMPaths(), DTHVStatusHandler::createSnapshot(), DTTrig::createTUs(), DTResolutionAnalysisTest::dqmEndJob(), DTNoiseAnalysisTest::dqmEndLuminosityBlock(), DTOccupancyTest::dqmEndLuminosityBlock(), DTOccupancyTestML::dqmEndLuminosityBlock(), DTChamberEfficiencyTest::dqmEndLuminosityBlock(), DTResolutionTest::dqmEndLuminosityBlock(), DTEfficiencyTest::dqmEndLuminosityBlock(), DTChamberId(), DTLayerId::DTLayerId(), DTSuperLayerId::DTSuperLayerId(), DTTracoChip::DTTracoChip(), DTWireId::DTWireId(), DTConfigManager::dumpLUTParam(), DTHVStatusHandler::dumpSnapshot(), DTVDriftCalibration::endJob(), DTSegmentAnalysisTask::fillHistos(), MuonAlignmentFromReference::fitAndAlign(), DTReadOutMapping::geometryToReadOut(), DTTtrig::get(), DTMtime::get(), DTRunConditionVarClient::getChamberHistos(), DTNoiseCalibration::getChamberName(), 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(), DTTPAnalyzer::getHistoName(), dtCalibration::DTVDriftSegment::getHistoName(), dtCalibration::DTTTrigT0SegCorrection::getHistoName(), dtCalibration::DTTTrigResidualCorrection::getHistoName(), DTT0CalibrationRMS::getHistoName(), DTT0Calibration::getHistoName(), DTNoiseCalibration::getLayerName(), DTNoiseComputation::getLayerName(), DTResolutionAnalysisTest::getMEName(), DTSegmentAnalysisTest::getMEName(), DTNoiseAnalysisTest::getMEName(), DTResolutionTest::getMEName(), DTChamberEfficiencyTest::getMEName(), DTOccupancyTest::getMEName(), DTEfficiencyTest::getMEName(), DTOccupancyTestML::getMEName(), DTResolutionTest::getMEName2D(), TrackerMuonHitExtractor::getMuonHits(), DTTTrigCalibration::getOccupancyName(), DTPosNegType::getPN(), DTPosNeg::getPN(), DTNoiseCalibration::getSuperLayerName(), DTNoiseComputation::getSuperLayerName(), DTTTrigWriter::getTBoxName(), DTTTrigCalibration::getTBoxName(), geometryXMLparser.DTAlignable::index(), DetIdInfo::info(), TAMuonChamberMatch::info(), fireworks::info(), TrackerMuonHitExtractor::init(), DTHVStatusHandler::layerId(), DTConfigTrivialProducer::mapEntryName(), DTConfigDBProducer::mapEntryName(), RPCIntegrator::matchDTwithRPC(), DTHVStatusHandler::offlineList(), DTBlockedROChannelsTest::performClientDiagnostic(), DTSegmentAnalysisTest::performClientDiagnostic(), DTuROSDigiToRaw::process(), MuonTrackProducer::produce(), MuonSimHitProducer::produce(), DTTrigPhase2Prod::produce(), DTConfigDBProducer::readDTCCBConfig(), DTOccupancyTest::runOccupancyTest(), csctf::TrackStub::sector(), DTTrigData::sector(), DTTracoId::sector(), DTBtiId::sector(), DTTrigGeom::sector(), MuonIdProducer::sectorPhi(), MuonPathAnalyticAnalyzer::segment_fitter(), PrimitiveSelection::select_dt(), DTTtrig::set(), DTMtime::set(), MuonPathAnalyzerInChamber::setWirePosAndTimeInMP(), csctf::TrackStub::subsector(), DTSegtoRPC::thePoints(), and TracktoRPC::thePoints().

◆ station()

int DTChamberId::station ( ) const
inline

Return the station number.

Definition at line 42 of file DTChamberId.h.

42 { return ((id_ >> stationStartBit_) & stationMask_); }

References DetId::id_, stationMask_, and stationStartBit_.

Referenced by DTPreCalibrationTask::analyze(), DTVDriftCalibration::analyze(), DTChamberEfficiencyTask::analyze(), MuonAlignmentAnalyzer::analyze(), DTChamberEfficiency::analyze(), MuonPathAnalyzerInChamber::analyze(), DTLocalTriggerLutTask::analyze(), DTLocalTriggerSynchTask::analyze(), DTDigiTask::analyze(), MuonPathAnalyticAnalyzer::analyze(), DTNoiseComputation::beginRun(), DTTriggerEfficiencyTask::bookChamberHistos(), DTRunConditionVar::bookChamberHistos(), DTLocalTriggerEfficiencyTest::bookChambHistos(), DTLocalTriggerSynchTest::bookChambHistos(), DTTriggerEfficiencyTest::bookChambHistos(), DTnoiseDBValidation::bookHisto(), DTResolutionAnalysisTask::bookHistograms(), DTEfficiencyTask::bookHistograms(), DTCalibValidation::bookHistograms(), DTCalibValidationFromMuons::bookHistograms(), DTVDriftSegmentCalibration::bookHistos(), DTTTrigOffsetCalibration::bookHistos(), DTResidualCalibration::bookHistos(), DTt0DBValidation::bookHistos(), DTChamberEfficiencyTest::bookHistos(), DTEfficiencyTest::bookHistos(), DTNoiseTask::bookHistos(), DTChamberEfficiencyTask::bookHistos(), DTLocalTriggerSynchTask::bookHistos(), DTResolutionAnalysisTask::bookHistos(), DTLocalTriggerTask::bookHistos(), DTSegmentAnalysisTask::bookHistos(), DTLocalTriggerLutTask::bookHistos(), DTLocalTriggerBaseTask::bookHistos(), AlignableMuon::buildDTBarrel(), DTConfigTrivialProducer::buildManager(), L1TMuon::GeometryTranslator::calcDTSpecificPoint(), DTSimHitMatcher::chamberIds(), MuonAlignmentFromReference::chamberPrettyNameFromId(), DTDigiTask::channelsMap(), DTTrig::chThetaSegm(), DTSectCollThCand::CoarseSync(), DTSectCollPhCand::CoarseSync(), dtCalibration::DTVDriftMeanTimer::compute(), DTLinearDriftFromDBAlgo::compute(), DTRecHitQuality::compute(), DTConfigDBProducer::configFromCfg(), DTTrig::constTrigUnit(), PrimitiveConversion::convert_dt(), dtCalibration::DTT0FEBPathCorrection::correction(), dtCalibration::DTTTrigResidualCorrection::correction(), MuonPathAssociator::correlateMPaths(), DTHVStatusHandler::createSnapshot(), DTSimHitMatcher::detIds(), DTSegment4DQuality::dqmAnalyze(), DTResolutionAnalysisTest::dqmEndJob(), DTNoiseAnalysisTest::dqmEndLuminosityBlock(), DTOccupancyTest::dqmEndLuminosityBlock(), DTOccupancyTestML::dqmEndLuminosityBlock(), DTChamberEfficiencyTest::dqmEndLuminosityBlock(), DTResolutionTest::dqmEndLuminosityBlock(), DTEfficiencyTest::dqmEndLuminosityBlock(), DTChamberId(), DTLayerId::DTLayerId(), DTSuperLayerId::DTSuperLayerId(), DTTracoChip::DTTracoChip(), DTWireId::DTWireId(), DTConfigManager::dumpLUTParam(), DTHVStatusHandler::dumpSnapshot(), DTTTrigOffsetCalibration::endJob(), DTVDriftCalibration::endJob(), AlignmentMonitorMuonResiduals::event(), DTSegmentAnalysisTask::fillHistos(), DTTimingExtractor::fillTiming(), MuonAlignmentFromReference::fitAndAlign(), DTReadOutMapping::geometryToReadOut(), DTTtrig::get(), DTMtime::get(), DTRunConditionVarClient::getChamberHistos(), DTNoiseCalibration::getChamberName(), DTNoiseComputation::getChamberName(), DTNoiseCalibration::getChannelName(), DTPosNegType::getCT(), DTPosNeg::getCT(), DTConfigManager::getDTConfigBti(), DTConfigManager::getDTConfigBtiMap(), DTConfigManager::getDTConfigLUTs(), DTConfigManager::getDTConfigTraco(), DTConfigManager::getDTConfigTracoMap(), DTConfigManager::getDTConfigTrigUnit(), DTConfigManager::getDTConfigTSPhi(), DTConfigManager::getDTConfigTSTheta(), GlobalMuonRefitter::getFirstHits(), DTLocalTriggerSynchTest::getFloatFromME(), DTTPAnalyzer::getHistoName(), dtCalibration::DTVDriftSegment::getHistoName(), dtCalibration::DTTTrigT0SegCorrection::getHistoName(), dtCalibration::DTTTrigResidualCorrection::getHistoName(), DTT0CalibrationRMS::getHistoName(), DTT0Calibration::getHistoName(), DTNoiseCalibration::getLayerName(), DTNoiseComputation::getLayerName(), DTNoiseComputation::getMaxNumBins(), DTResolutionAnalysisTest::getMEName(), DTSegmentAnalysisTest::getMEName(), DTNoiseAnalysisTest::getMEName(), DTResolutionTest::getMEName(), DTChamberEfficiencyTest::getMEName(), DTOccupancyTest::getMEName(), DTEfficiencyTest::getMEName(), DTOccupancyTestML::getMEName(), DTResolutionTest::getMEName2D(), TrackerMuonHitExtractor::getMuonHits(), DTTTrigCalibration::getOccupancyName(), DTPosNegType::getPN(), DTPosNeg::getPN(), GlobalMuonRefitter::getRidOfSelectStationHits(), DTNoiseCalibration::getSuperLayerName(), DTNoiseComputation::getSuperLayerName(), DTTTrigWriter::getTBoxName(), DTTTrigCalibration::getTBoxName(), HLTDTActivityFilter::hltFilter(), geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), DetIdInfo::info(), TAMuonChamberMatch::info(), fireworks::info(), TrackerMuonHitExtractor::init(), DTChamberEfficiencyTask::isGoodSegment(), DTHVStatusHandler::layerId(), DTConfigTrivialProducer::mapEntryName(), DTConfigDBProducer::mapEntryName(), RPCIntegrator::matchDTwithRPC(), TrackTransformerForGlobalCosmicMuons::MuonKeep(), DTHVStatusHandler::offlineList(), DTChamberIdDetLayerComparator::operator()(), DTBlockedROChannelsTest::performClientDiagnostic(), DTSegmentAnalysisTest::performClientDiagnostic(), DTuROSDigiToRaw::process(), MuonTrackProducer::produce(), MuonSimHitProducer::produce(), DTTrigPhase2Prod::produce(), MuonSeedPtExtractor::pT_extract(), DTConfigDBProducer::readDTCCBConfig(), DTOccupancyTest::runOccupancyTest(), DTOccupancyTestML::runOccupancyTest(), MuonPathAnalyticAnalyzer::segment_fitter(), DTChamberEfficiency::segQualityCut(), PrimitiveSelection::select_dt(), DTTtrig::set(), DTMtime::set(), MuonPathAnalyzerInChamber::setWirePosAndTimeInMP(), SETSeedFinder::sortByLayer(), TAMuonChamberMatch::station(), reco::MuonChamberMatch::station(), DTTrigData::station(), csctf::TrackStub::station(), DTTracoId::station(), DTBtiId::station(), DTTrigGeom::station(), MuonSeedPtExtractor::stationCode(), DynamicTruncation::stationfromDet(), and DTSegtoRPC::thePoints().

◆ wheel()

int DTChamberId::wheel ( ) const
inline

Return the wheel number.

Definition at line 39 of file DTChamberId.h.

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

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

Referenced by DTT0CalibrationRMS::analyze(), DTVDriftCalibration::analyze(), DTT0Calibration::analyze(), DTChamberEfficiencyTask::analyze(), MuonAlignmentAnalyzer::analyze(), DTChamberEfficiency::analyze(), MuonPathAnalyzerInChamber::analyze(), DTLocalTriggerLutTask::analyze(), DTLocalTriggerSynchTask::analyze(), DTDigiTask::analyze(), MuonPathAnalyticAnalyzer::analyze(), DTNoiseComputation::beginRun(), DTTriggerEfficiencyTask::bookChamberHistos(), DTRunConditionVar::bookChamberHistos(), DTLocalTriggerEfficiencyTest::bookChambHistos(), DTLocalTriggerSynchTest::bookChambHistos(), DTTriggerEfficiencyTest::bookChambHistos(), DTnoiseDBValidation::bookHisto(), DTEfficiencyTask::bookHistograms(), DTCalibValidation::bookHistograms(), DTCalibValidationFromMuons::bookHistograms(), DTVDriftSegmentCalibration::bookHistos(), DTTTrigOffsetCalibration::bookHistos(), DTResidualCalibration::bookHistos(), DTt0DBValidation::bookHistos(), DTResolutionTest::bookHistos(), DTChamberEfficiencyTest::bookHistos(), DTEfficiencyTest::bookHistos(), DTNoiseTask::bookHistos(), DTChamberEfficiencyTask::bookHistos(), DTLocalTriggerSynchTask::bookHistos(), DTResolutionAnalysisTask::bookHistos(), DTLocalTriggerTask::bookHistos(), DTSegmentAnalysisTask::bookHistos(), DTLocalTriggerBaseTask::bookHistos(), DTLocalTriggerLutTask::bookHistos(), AlignableMuon::buildDTBarrel(), DTConfigTrivialProducer::buildManager(), DTTracoChip::calculateAngles(), DTSimHitMatcher::chamberIds(), MuonAlignmentFromReference::chamberPrettyNameFromId(), DTDigiTask::channelsMap(), dtCalibration::DTVDriftMeanTimer::compute(), DTLinearDriftFromDBAlgo::compute(), DTParametrizedDriftAlgo::compute(), DTRecHitQuality::compute(), DTConfigDBProducer::configFromCfg(), DTTrig::constTrigUnit(), PrimitiveConversion::convert_dt(), dtCalibration::DTT0FEBPathCorrection::correction(), dtCalibration::DTTTrigResidualCorrection::correction(), MuonPathAssociator::correlateMPaths(), DTHVStatusHandler::createSnapshot(), DTTrig::createTUs(), DTSimHitMatcher::detIds(), DTSegment4DQuality::dqmAnalyze(), DTResolutionAnalysisTest::dqmEndJob(), DTNoiseAnalysisTest::dqmEndLuminosityBlock(), DTOccupancyTest::dqmEndLuminosityBlock(), DTOccupancyTestML::dqmEndLuminosityBlock(), DTChamberEfficiencyTest::dqmEndLuminosityBlock(), DTResolutionTest::dqmEndLuminosityBlock(), DTEfficiencyTest::dqmEndLuminosityBlock(), DTChamberId(), DTLayerId::DTLayerId(), DTSuperLayerId::DTSuperLayerId(), DTTracoChip::DTTracoChip(), DTWireId::DTWireId(), DTConfigManager::dumpLUTParam(), DTHVStatusHandler::dumpSnapshot(), csctf::TrackStub::endcap(), DTVDriftCalibration::endJob(), AlignmentMonitorMuonResiduals::event(), DTSegmentAnalysisTask::fillHistos(), MuonAlignmentFromReference::fitAndAlign(), DTReadOutMapping::geometryToReadOut(), DTTtrig::get(), DTMtime::get(), DTRunConditionVarClient::getChamberHistos(), DTNoiseCalibration::getChamberName(), 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(), DTTPAnalyzer::getHistoName(), dtCalibration::DTVDriftSegment::getHistoName(), dtCalibration::DTTTrigT0SegCorrection::getHistoName(), dtCalibration::DTTTrigResidualCorrection::getHistoName(), DTT0CalibrationRMS::getHistoName(), DTT0Calibration::getHistoName(), DTNoiseCalibration::getLayerName(), DTNoiseComputation::getLayerName(), DTResolutionAnalysisTest::getMEName(), DTSegmentAnalysisTest::getMEName(), DTNoiseAnalysisTest::getMEName(), DTResolutionTest::getMEName(), DTChamberEfficiencyTest::getMEName(), DTOccupancyTest::getMEName(), DTEfficiencyTest::getMEName(), DTOccupancyTestML::getMEName(), DTResolutionTest::getMEName2D(), TrackerMuonHitExtractor::getMuonHits(), DTTTrigCalibration::getOccupancyName(), DTPosNegType::getPN(), DTPosNeg::getPN(), MuonSeedPtExtractor::getPt(), DTNoiseCalibration::getSuperLayerName(), DTNoiseComputation::getSuperLayerName(), DTTTrigWriter::getTBoxName(), DTTTrigCalibration::getTBoxName(), geometryXMLparser.DTAlignable::index(), DetIdInfo::info(), TAMuonChamberMatch::info(), fireworks::info(), TrackerMuonHitExtractor::init(), DTHVStatusHandler::layerId(), DTConfigTrivialProducer::mapEntryName(), DTConfigDBProducer::mapEntryName(), RPCIntegrator::matchDTwithRPC(), TrackTransformerForGlobalCosmicMuons::MuonKeep(), DTHVStatusHandler::offlineList(), DTBlockedROChannelsTest::performClientDiagnostic(), DTSegmentAnalysisTest::performClientDiagnostic(), DTuROSDigiToRaw::process(), MuonTrackProducer::produce(), MuonSimHitProducer::produce(), DTTrigPhase2Prod::produce(), MuonSeedPtExtractor::pT_extract(), DTConfigDBProducer::readDTCCBConfig(), DTLocalTriggerLutTest::runClientDiagnostic(), DTTriggerLutTest::runClientDiagnostic(), MuonPathAnalyticAnalyzer::segment_fitter(), PrimitiveSelection::select_dt(), DTTtrig::set(), DTMtime::set(), MuonPathAnalyzerInChamber::setWirePosAndTimeInMP(), DTSegtoRPC::thePoints(), TracktoRPC::thePoints(), DTTrigData::wheel(), DTTracoId::wheel(), DTBtiId::wheel(), and DTTrigGeom::wheel().

Member Data Documentation

◆ chamberIdMask_

const uint32_t DTChamberId::chamberIdMask_
staticprotected
Initial value:

Definition at line 101 of file DTChamberId.h.

Referenced by DTSuperLayerId::chamberId().

◆ layerIdMask_

const uint32_t DTChamberId::layerIdMask_ = ~(wireMask_ << wireStartBit_)
staticprotected

Definition at line 99 of file DTChamberId.h.

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

◆ layerNumBits_

const int DTChamberId::layerNumBits_ = 3
staticprotected

Definition at line 80 of file DTChamberId.h.

◆ layerStartBit_

const int DTChamberId::layerStartBit_ = wireStartBit_ + wireNumBits_
staticprotected

Definition at line 81 of file DTChamberId.h.

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

◆ lMask_

const uint32_t DTChamberId::lMask_ = 0x7
staticprotected

Definition at line 96 of file DTChamberId.h.

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

◆ maxLayerId

const int DTChamberId::maxLayerId = 4
static

◆ maxSectorId

const int DTChamberId::maxSectorId = 14
static

highest sector id.

Definition at line 58 of file DTChamberId.h.

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

◆ maxStationId

const int DTChamberId::maxStationId = 4
static

highest station id

Definition at line 54 of file DTChamberId.h.

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

◆ maxSuperLayerId

const int DTChamberId::maxSuperLayerId = 3
static

◆ maxWheelId

const int DTChamberId::maxWheelId = 2
static

highest wheel number

Definition at line 62 of file DTChamberId.h.

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

◆ maxWireId

const int DTChamberId::maxWireId = 97
static

highest wire id (chambers have 48 to 96 wires)

Definition at line 74 of file DTChamberId.h.

Referenced by DTWireId::DTWireId().

◆ minLayerId

const int DTChamberId::minLayerId = 0
static

lowest layer id. 0 indicates a full SL

Definition at line 68 of file DTChamberId.h.

Referenced by MuonShowerInformationFiller::fillHitsByStation().

◆ minSectorId

const int DTChamberId::minSectorId = 0
static

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

Definition at line 56 of file DTChamberId.h.

Referenced by MuonDTDetLayerGeometryBuilder::buildLayers().

◆ minStationId

const int DTChamberId::minStationId = 1
static

lowest station id

Definition at line 52 of file DTChamberId.h.

Referenced by MuonDTDetLayerGeometryBuilder::buildLayers().

◆ minSuperLayerId

const int DTChamberId::minSuperLayerId = 0
static

loweset super layer id. 0 indicates a full chamber

Definition at line 64 of file DTChamberId.h.

Referenced by MuonShowerInformationFiller::fillHitsByStation().

◆ minWheelId

const int DTChamberId::minWheelId = -2
static

lowest wheel number

Definition at line 60 of file DTChamberId.h.

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

◆ minWireId

const int DTChamberId::minWireId = 0
static

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

Definition at line 72 of file DTChamberId.h.

◆ sectorMask_

const uint32_t DTChamberId::sectorMask_ = 0xf
staticprotected

Definition at line 94 of file DTChamberId.h.

Referenced by DTChamberId(), and sector().

◆ sectorNumBits_

const int DTChamberId::sectorNumBits_ = 4
staticprotected

Definition at line 86 of file DTChamberId.h.

◆ sectorStartBit_

const int DTChamberId::sectorStartBit_ = wheelStartBit_ + wheelNumBits_
staticprotected

Definition at line 87 of file DTChamberId.h.

Referenced by DTChamberId(), and sector().

◆ slayerNumBits_

const int DTChamberId::slayerNumBits_ = 2
staticprotected

Definition at line 82 of file DTChamberId.h.

◆ slayerStartBit_

const int DTChamberId::slayerStartBit_ = layerStartBit_ + layerNumBits_
staticprotected

Definition at line 83 of file DTChamberId.h.

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

◆ slIdMask_

const uint32_t DTChamberId::slIdMask_ = ~((wireMask_ << wireStartBit_) | (lMask_ << layerStartBit_))
staticprotected

Definition at line 100 of file DTChamberId.h.

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

◆ slMask_

const uint32_t DTChamberId::slMask_ = 0x3
staticprotected

Definition at line 95 of file DTChamberId.h.

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

◆ stationMask_

const uint32_t DTChamberId::stationMask_ = 0x7
staticprotected

Definition at line 93 of file DTChamberId.h.

Referenced by DTChamberId(), and station().

◆ stationNumBits_

const int DTChamberId::stationNumBits_ = 3
staticprotected

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

Definition at line 89 of file DTChamberId.h.

◆ stationStartBit_

const int DTChamberId::stationStartBit_ = sectorStartBit_ + sectorNumBits_
staticprotected

Definition at line 90 of file DTChamberId.h.

Referenced by DTChamberId(), and station().

◆ wheelMask_

const uint32_t DTChamberId::wheelMask_ = 0x7
staticprotected

Definition at line 92 of file DTChamberId.h.

Referenced by DTChamberId(), and wheel().

◆ wheelNumBits_

const int DTChamberId::wheelNumBits_ = 3
staticprotected

Definition at line 84 of file DTChamberId.h.

◆ wheelStartBit_

const int DTChamberId::wheelStartBit_ = slayerStartBit_ + slayerNumBits_
staticprotected

Definition at line 85 of file DTChamberId.h.

Referenced by DTChamberId(), and wheel().

◆ wireMask_

const uint32_t DTChamberId::wireMask_ = 0x7f
staticprotected

Definition at line 97 of file DTChamberId.h.

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

◆ wireNumBits_

const int DTChamberId::wireNumBits_ = 7
staticprotected

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

Definition at line 78 of file DTChamberId.h.

◆ wireStartBit_

const int DTChamberId::wireStartBit_ = 3
staticprotected

Definition at line 79 of file DTChamberId.h.

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

DTChamberId::stationStartBit_
static const int stationStartBit_
Definition: DTChamberId.h:90
DetId::det
constexpr Detector det() const
get the detector field from this detid
Definition: DetId.h:46
DTChamberId::sectorStartBit_
static const int sectorStartBit_
Definition: DTChamberId.h:87
DTChamberId::wireStartBit_
static const int wireStartBit_
Definition: DTChamberId.h:79
DTChamberId::wheelStartBit_
static const int wheelStartBit_
Definition: DTChamberId.h:85
MuonSubdetId::DT
static constexpr int DT
Definition: MuonSubdetId.h:11
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
DTChamberId::checkMuonId
void checkMuonId()
Definition: DTChamberId.cc:41
DTChamberId::maxWheelId
static const int maxWheelId
highest wheel number
Definition: DTChamberId.h:62
DTChamberId::slMask_
static const uint32_t slMask_
Definition: DTChamberId.h:95
DetId::id_
uint32_t id_
Definition: DetId.h:69
DTChamberId::stationMask_
static const uint32_t stationMask_
Definition: DTChamberId.h:93
DTChamberId::minWheelId
static const int minWheelId
lowest wheel number
Definition: DTChamberId.h:60
DTChamberId::lMask_
static const uint32_t lMask_
Definition: DTChamberId.h:96
createfilelist.int
int
Definition: createfilelist.py:10
DTChamberId::layerStartBit_
static const int layerStartBit_
Definition: DTChamberId.h:81
DTChamberId::wireMask_
static const uint32_t wireMask_
Definition: DTChamberId.h:97
DTChamberId::maxStationId
static const int maxStationId
highest station id
Definition: DTChamberId.h:54
DTChamberId::sectorMask_
static const uint32_t sectorMask_
Definition: DTChamberId.h:94
DTChamberId::sector
int sector() const
Definition: DTChamberId.h:49
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
DTChamberId::chamberIdMask_
static const uint32_t chamberIdMask_
Definition: DTChamberId.h:101
DTChamberId::slayerStartBit_
static const int slayerStartBit_
Definition: DTChamberId.h:83
Exception
Definition: hltDiff.cc:245
DetId::DetId
constexpr DetId()
Create an empty or null id (also for persistence)
Definition: DetId.h:38
DTChamberId::maxSectorId
static const int maxSectorId
highest sector id.
Definition: DTChamberId.h:58
DTChamberId::wheelMask_
static const uint32_t wheelMask_
Definition: DTChamberId.h:92
DetId::Muon
Definition: DetId.h:26
DTChamberId::wheel
int wheel() const
Return the wheel number.
Definition: DTChamberId.h:39
DTChamberId::station
int station() const
Return the station number.
Definition: DTChamberId.h:42