CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Static Public Attributes | Protected Attributes
DetId Class Reference

#include <DetId.h>

Inheritance diagram for DetId:
CaloGenericDetId CaloTowerDetId CSCDetId DTChamberId EBDetId EcalPnDiodeDetId EcalScDetId EcalTrigTowerDetId EEDetId ESDetId GEMDetId HcalCastorDetId HcalDetId HcalGenericDetId HcalOtherDetId HcalTrigTowerDetId HcalZDCDetId L1CaloRegionDetId PXBDetId PXFDetId RPCCompDetId RPCDetId SiStripDetId StripSubdetector

Public Types

enum  Detector {
  Tracker =1, Muon =2, Ecal =3, Hcal =4,
  Calo =5
}
 

Public Member Functions

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 kDetOffset = 28
 
static const int kSubdetOffset = 25
 

Protected Attributes

uint32_t id_
 

Detailed Description

Parent class for all detector ids in CMS. The DetId is a 32-bit unsigned integer. The four most significant bits ([31:28]) identify the large-scale detector (e.g. Tracker or Ecal) while the next three bits ([27:25]) identify a part of the detector (such as HcalBarrel (HB) for Hcal).

Date:
2009/05/07 19:19:28
Revision:
1.10

Definition at line 20 of file DetId.h.

Member Enumeration Documentation

Enumerator
Tracker 
Muon 
Ecal 
Hcal 
Calo 

Definition at line 26 of file DetId.h.

26 { Tracker=1,Muon=2,Ecal=3,Hcal=4,Calo=5 };

Constructor & Destructor Documentation

DetId::DetId ( )
inline

Create an empty or null id (also for persistence)

Definition at line 28 of file DetId.h.

Referenced by EBDetId::offsetBy(), EEDetId::offsetBy(), EBDetId::switchZSide(), and EEDetId::switchZSide().

28 : id_(0) { }
uint32_t id_
Definition: DetId.h:57
DetId::DetId ( uint32_t  id)
inline

Create an id from a raw number.

Definition at line 30 of file DetId.h.

30 : id_(id) { }
uint32_t id_
Definition: DetId.h:57
DetId::DetId ( Detector  det,
int  subdet 
)
inline

Create an id, filling the detector and subdetector fields as specified.

Definition at line 32 of file DetId.h.

References id_.

32  {
33  id_=((det&0xF)<<28)|((subdet&0x7)<<25);
34  }
uint32_t id_
Definition: DetId.h:57
Detector det() const
get the detector field from this detid
Definition: DetId.h:37

Member Function Documentation

Detector DetId::det ( ) const
inline

get the detector field from this detid

Definition at line 37 of file DetId.h.

References id_, and kDetOffset.

Referenced by FWConvTrackHitsDetailView::addModules(), FWTrackHitsDetailView::addModules(), CaloHitResponse::analogSignalAmplitude(), JetToDigiDump::analyze(), RPCRecHitValid::analyze(), CaloTowersAnalyzer::analyze(), CaloTowersValidation::analyze(), DQMSourceEleCalib::analyze(), ElectronSeedAnalyzer::analyze(), SiPixelTrackResidualSource::analyze(), DTChamberEfficiency::analyze(), ListIds::analyze(), TrackerOfflineValidationSummary::analyze(), CaloTowersCreationAlgo::assignHit(), SegmentsTrackAssociator::associate(), HcalRawDataClient::beginRun(), HcalRawDataMonitor::beginRun(), MuonTransientTrackingRecHitBuilder::build(), FWTracksModulesProxyBuilder::build(), CaloGenericDetId::CaloGenericDetId(), CaloPoint::CaloPoint(), CaloTowerDetId::CaloTowerDetId(), CaloRecHitCandidateProducer::cellTresholdAndWeight(), DTChamberEfficiency::chamberSelection(), EcalTrigTowerConstituentsMap::changeEEDetIdQuadrantAndZ(), MuonGeometryArrange::checkChosen(), reco::modules::TrackerTrackHitFilter::checkHit(), DTChamberId::checkMuonId(), HcalDetDiagLEDMonitor::CheckStatus(), HcalDetDiagPedestalMonitor::CheckStatus(), EcalClusterSeverityLevelAlgo::closestProblematic(), helper::MuonCollectionStoreManager::clusterRefsOK(), ResidualRefitting::CollectTrackHits(), EcalGlobalShowerContainmentCorrectionsVsEta::correction(), RecoMuonValidator::countMuonHits(), RecoMuonValidator::countTrackerHits(), CSCDetId::CSCDetId(), EcalSelectiveReadoutValidation::dccCh(), EBSelectiveReadoutTask::dccNum(), EESelectiveReadoutTask::dccNum(), EESelectiveReadoutTask::dccNumOfRU(), CaloGenericDetId::denseIndex(), AlignableNavigator::detAndSubdetInMap(), InvRingCalib::duringLoop(), EcalEleCalibLooper::duringLoop(), EBHitResponse::EBHitResponse(), EcalPnDiodeDetId::EcalPnDiodeDetId(), EcalScDetId::EcalScDetId(), EcalTrigTowerDetId::EcalTrigTowerDetId(), EEHitResponse::EEHitResponse(), ESDetId::ESDetId(), ESHitResponse::ESHitResponse(), HITrackingRegionProducer::estimateMultiplicity(), EcalClusterSeverityLevelAlgo::etaphiDistanceClosestProblematic(), TrackQuality::evaluate(), MuonSimHitsValidAnalyzer::fillCSC(), MuonSimHitsValidAnalyzer::fillDT(), GlobalHitsAnalyzer::fillECal(), GlobalHitsProdHist::fillECal(), GlobalHitsProducer::fillECal(), GlobalHitsAnalyzer::fillHCal(), GlobalHitsProdHist::fillHCal(), GlobalHitsProducer::fillHCal(), HcalDetDiagLEDMonitor::fillHistos(), MuonShowerInformationFiller::fillHitsByStation(), GlobalHitsAnalyzer::fillMuon(), GlobalHitsProdHist::fillMuon(), GlobalHitsProducer::fillMuon(), MuonAlignmentFromReference::fillNtuple(), HcalDetDiagLaserMonitor::fillProblems(), MuonSimHitsValidAnalyzer::fillRPC(), MuonGeometryArrange::fillTree(), GlobalHitsAnalyzer::fillTrk(), GlobalHitsProdHist::fillTrk(), GlobalHitsProducer::fillTrk(), DynamicTruncation::filter(), spr::findDetIdCalo(), CastorCtdcPacker::findSamples(), CastorPacker::findSamples(), HcalPacker::findSamples(), GEMDetId::GEMDetId(), HcalGenericDetId::genericSubdet(), TCTauAlgorithm::getClusterEnergy(), getDetLayer(), L2TauIsolationProducer::getECALHits(), TrackerOfflineValidation::getHistStructFromMap(), EcalLaserDbService::getLaserCorrection(), MuonAssociatorByHits::getMatchedIds(), SiStripGainFromAsciiFile::getNewObject(), TkModuleGroupSelector::getParameterIndexFromDetId(), JetMatchingTools::getPCaloHits(), CaloTowersCreationAlgo::getThresholdAndWeight(), GlobalCosmicMuonTrajectoryBuilder::getTransientRecHits(), TrackTransformerForGlobalCosmicMuons::getTransientRecHits(), TrackTransformerForCosmicMuons::getTransientRecHits(), GlobalTrajectoryBuilderBase::getTransientRecHits(), HcalCovarianceMatrices::getValues(), CastorCondObjectContainer< Item >::getValues(), HcalCholeskyMatrices::getValues(), HcalCondObjectContainer< Item >::getValues(), HcalCalibDetId::HcalCalibDetId(), HcalCastorDetId::HcalCastorDetId(), HcalDetId::HcalDetId(), HcalOtherDetId::HcalOtherDetId(), HcalTrigTowerDetId::HcalTrigTowerDetId(), HcalZDCDetId::HcalZDCDetId(), GlobalDetLayerGeometry::idToLayer(), HcalCondObjectContainerBase::indexFor(), SiStripHashedDetId::init(), HcalCovarianceMatrices::initContainer(), HcalCholeskyMatrices::initContainer(), HcalCondObjectContainer< Item >::initContainer(), RPCCompDetId::initGas(), CaloGenericDetId::isCalo(), CaloGenericDetId::isEcal(), CaloGenericDetId::isHcal(), ClusterSummary::ModuleSelection::IsPixelSelected(), reco::HitPattern::isStereo(), HcalDDDGeometry::newCell(), HcalGeometry::newCell(), muonisolation::CaloExtractorByAssociator::noiseRecHit(), EBDetId::offsetBy(), EEDetId::offsetBy(), DetIdTIBSameLayerComparator::operator()(), DetIdTOBSameLayerComparator::operator()(), DetIdPXBSameLayerComparator::operator()(), DetIdPXFSameDiskComparator::operator()(), DetIdTECSameDiskComparator::operator()(), DetIdTIDSameDiskComparator::operator()(), operator<<(), CaloTowerDetId::operator=(), ESDetId::operator=(), HcalDetId::operator=(), HcalOtherDetId::operator=(), EcalTrigTowerDetId::operator=(), HcalTrigTowerDetId::operator=(), HcalZDCDetId::operator=(), EcalPnDiodeDetId::operator=(), HcalCalibDetId::operator=(), HcalCastorDetId::operator=(), EcalScDetId::operator=(), InterestingDetIdCollectionProducer::produce(), JetCrystalsAssociator::produce(), reco::modules::CosmicTrackSplitter::produce(), MuonDetLayerMeasurements::recHits(), CaloTowersCreationAlgo::rescale(), CaloTowersCreationAlgo::rescaleTowers(), ResidualRefitting::ReturnSector(), ResidualRefitting::ReturnStation(), RPCCompDetId::RPCCompDetId(), RPCDetId::RPCDetId(), MuonDTLocalMillepedeAlgorithm::run(), HcalTriggerPrimitiveAlgo::runFEFormatError(), HcalDetDiagLEDMonitor::SaveReference(), HcalDetDiagPedestalMonitor::SaveReference(), HcalDetDiagLaserMonitor::SaveReference(), MuonPSimHitSelector::select(), EcalMipGraphs::selectDigi(), EcalDisplaysByEvent::selectDigi(), GeomDetUnit::setSurfaceDeformation(), CaloHitRespoNew::setupSamples(), CosmicMuonLinksProducer::sharedHits(), HcalCondObjectContainerBase::sizeFor(), CaloGenericDetId::sizeForDenseIndexing(), TrackTransformerForCosmicMuons::SlopeSum(), CastorDigiProducer::sortHits(), ResidualRefitting::StoreTrackerRecHits(), SiStripDetId::subDetector(), TrackTransformerForCosmicMuons::SumDy(), EBDetId::switchZSide(), EEDetId::switchZSide(), CastorHitCorrection::timeOfFlight(), HcalHitCorrection::timeOfFlight(), EgammaHadTower::towerOf(), ResidualRefitting::trkExtrap(), HcalUnpacker::unpack(), CaloGenericDetId::validDetId(), EcalTrigTowerConstituentsMap::wrapEcalTrigTowerDetId(), and EcalTrigTowerConstituentsMap::wrapEEDetId().

37 { return Detector((id_>>kDetOffset)&0xF); }
Detector
Definition: DetId.h:26
uint32_t id_
Definition: DetId.h:57
static const int kDetOffset
Definition: DetId.h:22
bool DetId::null ( ) const
inline

is this a null id ?

Definition at line 47 of file DetId.h.

References id_.

Referenced by EcalSimpleTBAnalyzer::analyze(), EcalSimple2007H4TBAnalyzer::analyze(), HcalLuttoDB::analyze(), CaloTowersCreationAlgo::assignHit(), HcalRawDataClient::beginRun(), HcalRawDataMonitor::beginRun(), PositionCalc::Calculate_Location(), CaloTowerDetId::CaloTowerDetId(), HcalMonitorModule::CheckSubdetectorStatus(), EcalPnDiodeDetId::EcalPnDiodeDetId(), EcalScDetId::EcalScDetId(), EcalTrigTowerDetId::EcalTrigTowerDetId(), ESDetId::ESDetId(), EcalClusterSeverityLevelAlgo::etaphiDistanceClosestProblematic(), EcalClusterSeverityLevelAlgo::fractionAroundClosestProblematic(), HcalGenericDetId::genericSubdet(), CaloGeometryHelper::getClosestCell(), HcalCalibDetId::HcalCalibDetId(), HcalCastorDetId::HcalCastorDetId(), HcalDetId::HcalDetId(), HcalTrigTowerDetId::HcalTrigTowerDetId(), HcalZDCDetId::HcalZDCDetId(), CalorimetryManager::HDShowerSimulation(), HybridClusterAlgo::mainSearch(), EcalDeadChannelRecoveryAlgos::MakeNxNMatrice(), CaloGeometryHelper::move(), CalorimetryManager::MuonMipSimulation(), CaloTowerDetId::operator=(), ESDetId::operator=(), HcalDetId::operator=(), EcalTrigTowerDetId::operator=(), HcalTrigTowerDetId::operator=(), HcalZDCDetId::operator=(), EcalPnDiodeDetId::operator=(), HcalCalibDetId::operator=(), HcalCastorDetId::operator=(), EcalScDetId::operator=(), HcalPacker::pack(), InterestingDetIdCollectionProducer::produce(), CaloTowersCreationAlgo::rescale(), HcalTriggerPrimitiveAlgo::runFEFormatError(), SingleEleCalibSelector::select(), CaloTowerConstituentsMap::towerOf(), CastorUnpacker::unpack(), HcalUnpacker::unpack(), CaloSpecificAlgo::update_EmEtInEB_EmEtInEE(), CaloSpecificAlgo::update_HadEtInHB_HadEtInHE_HadEtInHO_HadEtInHF_EmEtInHF(), CaloSpecificAlgo::update_MaxTowerEm_MaxTowerHad(), CaloSpecificAlgo::update_sumEtInpHF_MExInpHF_MEyInpHF_sumEtInmHF_MExInmHF_MEyInmHF(), and CaloSpecificAlgo::update_totalEt_totalEm().

47 { return id_==0; }
uint32_t id_
Definition: DetId.h:57
DetId::operator uint32_t ( ) const
inline

Definition at line 42 of file DetId.h.

References id_.

42 { return id_; }
uint32_t id_
Definition: DetId.h:57
bool DetId::operator!= ( DetId  id) const
inline

inequality

Definition at line 52 of file DetId.h.

References id_.

52 { return id_!=id.id_; }
uint32_t id_
Definition: DetId.h:57
uint32_t DetId::operator() ( ) const
inline

Definition at line 41 of file DetId.h.

References id_.

41 { return id_; }
uint32_t id_
Definition: DetId.h:57
bool DetId::operator< ( DetId  id) const
inline

comparison

Definition at line 54 of file DetId.h.

References id_.

54 { return id_<id.id_; }
uint32_t id_
Definition: DetId.h:57
bool DetId::operator== ( DetId  id) const
inline

equality

Definition at line 50 of file DetId.h.

References id_.

50 { return id_==id.id_; }
uint32_t id_
Definition: DetId.h:57
uint32_t DetId::rawId ( ) const
inline

get the raw id

Definition at line 45 of file DetId.h.

References id_.

Referenced by SiPixelDigitizerAlgorithm::accumulateSimHits(), SiStripDigitizerAlgorithm::accumulateSimHits(), SiStripDetSummary::add(), SiPixelDigitizerAlgorithm::add_noise(), CaloMiscalibMapHcal::addCell(), CaloMiscalibMapEcal::addCell(), TrackerGeometry::addDet(), TrackerGeometry::addDetUnit(), FWRecoGeometryESProducer::addDTGeometry(), FWRecoGeometryESProducer::addGEMGeometry(), CRackTrajectoryBuilder::AddHit(), CastorRawGains::addItem(), HcalRawGains::addItem(), FWConvTrackHitsDetailView::addModules(), FWTrackHitsDetailView::addModules(), FWRecoGeometryESProducer::addPixelBarrelGeometry(), FWTGeoRecoGeometryESProducer::addPixelBarrelGeometry(), FWRecoGeometryESProducer::addPixelForwardGeometry(), FWTGeoRecoGeometryESProducer::addPixelForwardGeometry(), RPCStripsRing::addRoll(), FWRecoGeometryESProducer::addRPCGeometry(), FWTGeoRecoGeometryESProducer::addRPCGeometry(), HcalTriggerPrimitiveAlgo::addSignal(), fireworks::addSiStripClusters(), BetaCalculatorECAL::addStepToXtal(), TrackerGeometryCompare::addSurveyInfo(), MuonAlignmentInputSurveyDB::addSurveyInfo_(), TrackDetectorAssociator::addTAMuonSegmentMatch(), FWRecoGeometryESProducer::addTECGeometry(), FWTGeoRecoGeometryESProducer::addTECGeometry(), FWRecoGeometryESProducer::addTIBGeometry(), FWTGeoRecoGeometryESProducer::addTIBGeometry(), FWRecoGeometryESProducer::addTIDGeometry(), FWTGeoRecoGeometryESProducer::addTIDGeometry(), FWRecoGeometryESProducer::addTOBGeometry(), FWTGeoRecoGeometryESProducer::addTOBGeometry(), CastorRawGains::addValues(), HcalRawGains::addValues(), DeDxDiscriminatorLearner::algoBeginJob(), DeDxDiscriminatorLearnerFromCalibTree::algoBeginJob(), SiStripGainFromData::algoBeginJob(), SiStripGainFromCalibTree::algoBeginJob(), AlignableDet::AlignableDet(), AlignableNavigator::alignableFromDetId(), AlignableDet::alignmentErrors(), AlignableDetUnit::alignmentErrors(), AlignableDet::alignments(), AlignableDetUnit::alignments(), EcalSelectiveReadoutValidation::anaDigi(), CkfDebugger::analyseRecHitNotFound(), CSCComparatorDigiValidation::analyze(), EcalTrivialObjectAnalyzer::analyze(), RPCRecHitValid::analyze(), AlignmentStats::analyze(), RPCDigiValid::analyze(), SiPixelLorentzAngleDB::analyze(), SiStripLAProfileBooker::analyze(), HcalAutoPedestalValidator::analyze(), SiPixelTrackResidualSource::analyze(), EcalEndcapDigisValidation::analyze(), EcalBarrelDigisValidation::analyze(), DTRunConditionVar::analyze(), cms::Analyzer_minbias::analyze(), EcalRecHitsValidation::analyze(), EcalDigisValidation::analyze(), DTChamberEfficiency::analyze(), DTLocalTriggerLutTask::analyze(), DTLocalTriggerSynchTask::analyze(), EcalTPGParamBuilder::analyze(), DTTriggerEfficiencyTask::analyze(), ListIds::analyze(), DTDigiTask::analyze(), HcalPedestalMCWidths::analyze(), TrackerGeometryIntoNtuples::analyze(), HcalPedestalsAnalysis::analyze(), CastorPedestalsAnalysis::analyze(), EcalMixingModuleValidation::analyze(), TrackerOfflineValidationSummary::analyze(), IsolatedTracksCone::analyze(), RPCEfficiency::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), CaloTowerConstituentsMap::assign(), EcalTrigTowerConstituentsMap::assign(), OnDemandMeasurementTracker::assign(), SegmentToTrackAssociator::associate(), SegmentsTrackAssociator::associate(), TrackerHitAssociator::associateHit(), TrackerHitAssociator::associatePixelRecHit(), RPCHitAssociator::associateRecHit(), EcalTPGParamBuilder::beginJob(), ecaldqm::TowerStatusTask::beginLuminosityBlock(), EBDaqInfoTask::beginLuminosityBlock(), EBDcsInfoTask::beginLuminosityBlock(), ecaldqm::TowerStatusTask::beginRun(), SiStripLAProfileBooker::beginRun(), DeDxEstimatorProducer::beginRun(), DeDxEstimatorProducerPixelTripplet::beginRun(), DeDxDiscriminatorProducer::beginRun(), RPCEfficiency::beginRun(), DTRunConditionVar::bookChamberHistos(), DTTriggerEfficiencyTask::bookChamberHistos(), DTLocalTriggerEfficiencyTest::bookChambHistos(), DTLocalTriggerSynchTest::bookChambHistos(), DTTriggerEfficiencyTest::bookChambHistos(), RPCEfficiency::bookDetUnitSeg(), DTLocalTriggerSynchTask::bookHistos(), DTtTrigCalibrationTest::bookHistos(), DTLocalTriggerTask::bookHistos(), DTLocalTriggerLutTask::bookHistos(), DTLocalTriggerBaseTask::bookHistos(), FWTrackTrackingRecHitProxyBuilder::build(), FWCSCWireDigiProxyBuilder::build(), FWDTSegmentProxyBuilder::build(), GEMGeometryParsFromDD::buildGeometry(), RPCGeometryParsFromDD::buildGeometry(), CmsTrackerDetIdBuilder::buildId(), SeedFromConsecutiveHitsCreator::buildSeed(), SeedForPhotonConversion1Leg::buildSeed(), SeedForPhotonConversionFromQuadruplets::buildSeed(), SiPixelDigiSource::buildStructure(), SiPixelRawDataErrorSource::buildStructure(), SiPixelRecHitSource::buildStructure(), SiPixelClusterSource::buildStructure(), FWRPCRecHitProxyBuilder::buildViewType(), FWDTDigiProxyBuilder::buildViewType(), EcalHaloAlgo::Calculate(), SurveyResidual::calculate(), CALIBLogicalMapEntry::CALIBLogicalMapEntry(), CaloGenericDetId::CaloGenericDetId(), CaloTowerDetId::CaloTowerDetId(), MuonIdProducer::chamberId(), DTDigiTask::channelsMap(), cond::service::DTHVCheckByAbsoluteValues::checkCurrentStatus(), cond::service::DTHVCheckWithHysteresis::checkCurrentStatus(), reco::modules::TrackerTrackHitFilter::checkHit(), GlobalMuonRefitter::checkMuonHits(), SimpleCosmicBONSeeder::checkNoisyModules(), MuonIdTruthInfo::checkSimHitForBestMatch(), HcalDetDiagPedestalMonitor::CheckStatus(), EgammaHLTNxNClusterProducer::checkStatusOfEcalRecHit(), HLTEcalResonanceFilter::checkStatusOfEcalRecHit(), ResidualRefitting::CollectTrackHits(), TrackerGeometryCompare::compareGeometries(), CaloVNoiseSignalGenerator::contains(), EcalShowerContainmentCorrections::correctionCoefficients(), LutXml::create_lut_map(), EcalFEtoDigi::create_TPSample(), EcalFEtoDigi::create_TPSampleTcp(), PFRecHitProducerECAL::createEcalRecHit(), PFHCALDualTimeRecHitProducer::createHcalRecHit(), PFRecHitProducerHCAL::createHcalRecHit(), PFRecHitProducerHO::createHORecHit(), PFHCALDualTimeRecHitProducer::createRecHits(), PFRecHitProducerPS::createRecHits(), PFRecHitProducerHCAL::createRecHits(), PFRecHitProducerHO::createRecHits(), PFRecHitProducerECAL::createRecHits(), EcalSelectiveReadoutValidation::dccCh(), ecaldqm::dccId(), CaloGenericDetId::denseIndex(), muonisolation::CaloExtractorByAssociator::deposits(), APVShot::detId(), SiStripFineDelayHit::detId(), SiStripBadComponentsDQMServiceReader::detIdToString(), SiStripFineDelayHit::deviceMask(), SiPixelDigitizerAlgorithm::digitize(), SiStripDigitizerAlgorithm::digitize(), CSCOfflineMonitor::doBXMonitor(), OutsideInMuonSeeder::doDebug(), MuonAlignmentAnalyzer::doMatching(), MuonAlignment::doMatching(), GCC11_FINAL< T, TOPO >::down(), StripCPE::driftDirection(), PixelCPEBase::driftDirection(), SiPixelDigitizerAlgorithm::DriftDirection(), DTLayerId::DTLayerId(), DTRecSegment4D::DTRecSegment4D(), DTSegtoRPC::DTSegtoRPC(), DTSuperLayerId::DTSuperLayerId(), DTWireId::DTWireId(), DTHVStatusHandler::dumpHVAliases(), InvRingCalib::duringLoop(), EcalEleCalibLooper::duringLoop(), Pi0FixedMassWindowCalibration::duringLoop(), GCC11_FINAL< T, TOPO >::east(), EcalEleCalibLooper::EBRegionDefinition(), EcalPnDiodeDetId::EcalPnDiodeDetId(), EcalScDetId::EcalScDetId(), EcalTrigPrimSpikeESProducer::EcalTrigPrimSpikeESProducer(), EcalTrigTowerDetId::EcalTrigTowerDetId(), EcalEleCalibLooper::EERegionDefinition(), InvRingCalib::EERingDef(), ZeeCalibration::endOfJob(), RPCEfficiencySecond::endRun(), EcalSimHitsValidProducer::energyInEBMatrix(), EcalSimHitsValidProducer::energyInEEMatrix(), EcalBarrelSimHitsValidation::energyInMatrixEB(), EcalEndcapSimHitsValidation::energyInMatrixEE(), ESDetId::ESDetId(), AlignmentMonitorMuonResiduals::event(), RPCPackingModule::eventRecords(), RPCSeedPattern::extropolateStep(), PFPhotonClusters::FillClusterShape(), reco::HcalNoiseInfoProducer::filldigis(), MatrixFillMap::fillEBMap(), EcalSimHitsValidProducer::fillEBMatrix(), EcalBarrelSimHitsValidation::fillEBMatrix(), GlobalDigisProducer::fillECal(), GlobalDigisAnalyzer::fillECal(), GlobalRecHitsAnalyzer::fillECal(), GlobalRecHitsProducer::fillECal(), MatrixFillMap::fillEEMap(), EcalSimHitsValidProducer::fillEEMatrix(), EcalEndcapSimHitsValidation::fillEEMatrix(), CastorDigiProducer::fillFakeHits(), GlobalDigisProducer::fillHCal(), GlobalDigisAnalyzer::fillHCal(), GlobalRecHitsAnalyzer::fillHCal(), GlobalRecHitsProducer::fillHCal(), HcalDetDiagLEDMonitor::fillHistos(), TrackerValidationVariables::fillHitQuantities(), MuonShowerInformationFiller::fillHitsByStation(), CSCSegmentValidation::fillLayerHitsPerChamber(), MatrixFillMap::fillMap(), ClusterFillMap::fillMap(), EcalElectronicsMapper::fillMaps(), HcalDeadCellMonitor::fillNevents_problemCells(), StripCPE::fillParams(), HcalDetDiagLaserMonitor::fillProblems(), ecaldqm::DQWorkerClient::fillQuality_(), MuonGeometryArrange::fillTree(), TrackerGeometryCompare::fillTree(), TrackerOfflineValidationSummary::fillTree(), TrackerOfflineValidation::fillTree(), cms::ClusterMTCCFilter::filter(), cms::TECClusterFilter::filter(), EcalRecHitsValidation::findBarrelMatrix(), FWHFTowerSliceSelector::findBinFromId(), PFRecHitProducerECAL::findEcalRecHitGeometry(), EcalRecHitsValidation::findEndcapMatrix(), EcalCoder::findGains(), PFRecHitProducerHO::findHORecHitGeometry(), EBHitResponse::findIntercalibConstant(), EcalCoder::findIntercalibConstant(), EcalCoder::findPedestal(), EcalMixingModuleValidation::findPedestal(), PFRecHitProducerPS::findRecHitNeighbours(), PFHCALDualTimeRecHitProducer::findRecHitNeighbours(), PFRecHitProducerHCAL::findRecHitNeighbours(), PFHCALDualTimeRecHitProducer::findRecHitNeighboursCT(), PFRecHitProducerHCAL::findRecHitNeighboursCT(), PFRecHitProducerECAL::findRecHitNeighboursECAL(), PFRecHitProducerHO::findRecHitNeighboursHO(), HcalDcsValues::foundDcsId(), MuonRoadTrajectoryBuilder::GatherHits(), EcalTestDevDB::generateEcalGainRatios(), EcalTestDevDB::generateEcalIntercalibConstants(), EcalTestDevDB::generateEcalPedestals(), EcalTestDevDB::generateEcalWeightXtalGroups(), DTHVStatusHandler::getChannelSplit(), RPCConeBuilderFromES::getConesFromES(), CSCMonitorModule::getCSCDetId(), MuonAlignmentInputXML::getCSCnode(), ClusterShapeHitFilter::getDrift(), MuonAlignmentInputXML::getDTnode(), GlobalMuonRefitter::getFirstHits(), getHcalMatrixObject(), TrackerOfflineValidation::getHistStructFromMap(), EcalBarrelSimHitsValidation::getIdsAroundMax(), EcalEndcapSimHitsValidation::getIdsAroundMax(), EcalTrivialConditionRetriever::getIntercalibConstantsFromConfiguration(), EcalTrivialConditionRetriever::getIntercalibErrorsFromConfiguration(), EcalLaserDbService::getLaserCorrection(), DTHVStatusHandler::getLayerValues(), CastorLedAnalysis::GetLedConst(), HcalLedAnalysis::GetLedConst(), EcalTPGScale::getLinearizedTPG(), MuonAssociatorByHits::getMatchedIds(), TrackAssociatorByHits::getMatchedIds(), SiStripGainCosmicCalculator::getNewObject(), popcon::EcalDAQHandler::getNewObjects(), popcon::EcalTPGBadTTHandler::getNewObjects(), popcon::EcalTPGPhysicsConstHandler::getNewObjects(), popcon::EcalTPGLinConstHandler::getNewObjects(), popcon::EcalTPGBadXTHandler::getNewObjects(), popcon::EcalTPGFineGrainEBGroupHandler::getNewObjects(), popcon::EcalTPGPedestalsHandler::getNewObjects(), popcon::EcalTPGLutGroupHandler::getNewObjects(), popcon::EcalTPGSpikeThresholdHandler::getNewObjects(), popcon::EcalIntercalibHandler::getNewObjects(), popcon::EcalDCSHandler::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsH2(), popcon::EcalPedestalsHandler::getNewObjectsP5(), HcalTestHitGenerator::getNoiseHits(), HcalAssistant::getRawIdFromCmssw(), RPCCalibSetUp::getTime(), GEMSimSetUp::getTime(), RPCSimSetUp::getTime(), EcalTrivialConditionRetriever::getTimeCalibConstantsFromConfiguration(), EcalTrivialConditionRetriever::getTimeCalibErrorsFromConfiguration(), EcalTPGScale::getTPGInADC(), EcalTPGScale::getTPGInGeV(), ESTBNumberingScheme::getUnitID(), EcalEndcapNumberingScheme::getUnitID(), EcalPreshowerNumberingScheme::getUnitID(), EcalHodoscopeNumberingScheme::getUnitID(), HcalTestNumberingScheme::getUnitID(), HcalNumberingScheme::getUnitID(), ZdcNumberingScheme::getUnitID(), CastorNumberingScheme::getUnitID(), HcalMaterials::getValue(), CastorRawGains::getValues(), HcalCovarianceMatrices::getValues(), HcalRawGains::getValues(), HcalCholeskyMatrices::getValues(), HcalDcsValues::getValues(), GluedGeomDet::GluedGeomDet(), gluedId(), HBHEHFLogicalMapEntry::HBHEHFLogicalMapEntry(), HcalCalibDetId::HcalCalibDetId(), HcalCastorDetId::HcalCastorDetId(), HcalDetId::HcalDetId(), HcalOtherDetId::HcalOtherDetId(), HcalTrigTowerDetId::HcalTrigTowerDetId(), HcalZDCDetId::HcalZDCDetId(), CalorimetryManager::HDShowerSimulation(), HcalHF_PETalgorithm::HFSetFlagFromPET(), HcalHFStatusBitFromRecHits::hfSetFlagFromRecHits(), MuonShowerInformationFiller::hitsFromSegments(), HLTHcalSimpleRecHitFilter::hltFilter(), HLTDTActivityFilter::hltFilter(), HOHXLogicalMapEntry::HOHXLogicalMapEntry(), HTLogicalMapEntry::HTLogicalMapEntry(), TrackerGeometry::idToDet(), TrackerGeometry::idToDetUnit(), MuonDetLayerGeometry::idToLayer(), CastorTopology::incModule(), CastorTopology::incSector(), SiPixelDigitizerAlgorithm::induce_signal(), SeedFromProtoTrack::init(), CastorText2DetIdConverter::init(), HcalText2DetIdConverter::init(), MuonAlignmentFromReference::initialize(), SiStripDigitizerAlgorithm::initializeDetUnit(), MuonHOAcceptance::initIds(), popcon::EcalDCSHandler::insertHVDataSetToOffline(), popcon::EcalDCSHandler::insertLVDataSetToOffline(), EcalRecHitWorkerRecover::insertRecHit(), EcalDccWeightBuilder::intercalib(), Trajectory::isBad(), RPCCosmicSeedrecHitFinder::iscorssEdge(), ecaldqm::isEcalScDetId(), CalibrationTrackSelector::isIsolated(), AlignmentTrackSelector::isIsolated(), DetIdSelector::isSelected(), SiStripBadModuleGenerator::isTECDetector(), SiStripBadModuleGenerator::isTIBDetector(), SiStripBadModuleGenerator::isTIDDetector(), SiStripBadModuleGenerator::isTOBDetector(), FastPixelCPE::localParameters(), PixelCPEGeneric::localPosition(), ZdcTopology::longitudinal(), HcalElectronicsMap::lookup(), CastorElectronicsMap::lookup(), HcalDcsMap::lookup(), HcalElectronicsMap::lookupTrigger(), CastorElectronicsMap::lookupTrigger(), Trajectory::lost(), TempTrajectory::lost(), CastorDbHardcode::makeCalibrationQIECoder(), XMLDocument::makeChId(), CastorDbHardcode::makeGain(), CastorDbHardcode::makeGainWidth(), FWRPZViewGeometry::makeMuonGeometryRhoZ(), CastorDbHardcode::makePedestal(), CastorDbHardcode::makePedestalWidth(), CastorDbHardcode::makeQIECoder(), CastorDbHardcode::makeRecoParam(), CastorDbHardcode::makeSaturationCorr(), TrajectoryManager::makeSinglePSimHit(), HcalElectronicsMap::mapEId2chId(), CastorElectronicsMap::mapEId2chId(), HcalElectronicsMap::mapEId2tId(), CastorElectronicsMap::mapEId2tId(), MuonTrackResidualAnalyzer::mapMuSimHitsPerId(), MuonSeedOrcaPatternRecognition::markAsUsed(), TrackClusterSplitter::markClusters(), MuonSegmentMatcher::matchCSC(), MuonSegmentMatcher::matchDT(), SiTrackerGaussianSmearingRecHitConverter::matchHits(), GlobalTrackerMuonAlignment::muonFitter(), HcalGeometry::newCell(), GCC11_FINAL< T, TOPO >::north(), HcalTopology::north(), DTHVStatusHandler::offlineList(), EBDetId::offsetBy(), EEDetId::offsetBy(), DBSpecToDetUnit::operator()(), CastorDbASCIIIO::DetIdLess::operator()(), DetIdComparator::operator()(), DetIdSelector::operator()(), HashByDetId::operator()(), rpcrawtodigi::DebugDigisPrintout::operator()(), GEMDetId::operator<(), RPCDetId::operator<(), DTOccupancyPoint::operator<(), operator<<(), CaloTowerDetId::operator=(), ESDetId::operator=(), HcalDetId::operator=(), HcalOtherDetId::operator=(), EcalTrigTowerDetId::operator=(), HcalTrigTowerDetId::operator=(), HcalZDCDetId::operator=(), EcalPnDiodeDetId::operator=(), HcalCalibDetId::operator=(), HcalCastorDetId::operator=(), EcalScDetId::operator=(), HcalGenericDetId::otherSubdet(), PixelCPEBase::param(), PFPhotonClusters::PFCrystalCoor(), SiPixelDigitizerAlgorithm::pixel_inefficiency(), CaloMiscalibMapHcal::prefillMap(), CaloMiscalibMapEcal::prefillMap(), CaloMiscalibMapEcal::print(), BaseCrystal::print(), SiStripQuality::printDetInfo(), sipixelobjects::PixelFEDLink::printForMap(), HcalHitRelabeller::process(), HcalSimpleReconstructor::process(), HLTTrackClusterRemover::process(), SeedClusterRemover::process(), TrackClusterRemover::process(), EcalFenixTcp::process_part2_barrel(), EcalFenixTcp::process_part2_endcap(), cscdqm::EventProcessor::processCSC(), CastorPSMonitor::processEvent(), MuonAlignmentFromReference::processMuonResidualsFromTrack(), HcalSimpleReconstructor::processUpgrade(), CastorSimpleReconstructor::produce(), SiPixelFedCablingMapBuilder::produce(), EcalTBWeightUncalibRecHitProducer::produce(), CSCDCCUnpacker::produce(), AlignmentPrescaler::produce(), TrajectorySeedProducer::produce(), MuonReSeeder::produce(), TrackCandidateProducer::produce(), ZdcHitReconstructor::produce(), L2MuonSeedGenerator::produce(), SiClusterTranslator::produce(), FakeTrackProducer< T >::produce(), HcalHitReconstructor::produce(), TrajectorySeedFromMuonProducer::produce(), RPCRecHitProducer::produce(), RecHitCorrector::produce(), InterestingTrackEcalDetIdProducer::produce(), CastorTowerProducer::produce(), TrackClusterSplitter::produce(), TrackerToMuonPropagator::produce(), cms::CosmicTrackFinder::produce(), MuonSimHitProducer::produce(), reco::modules::CosmicTrackSplitter::produce(), SimHitShifter::produce(), cms::CkfTrackCandidateMakerBase::produceBase(), CastorHardcodeCalibrations::produceChannelQuality(), EcalTrivialConditionRetriever::produceEcalGainRatios(), EcalTrivialConditionRetriever::produceEcalIntercalibConstants(), EcalTrivialConditionRetriever::produceEcalIntercalibConstantsMC(), EcalTrivialConditionRetriever::produceEcalIntercalibErrors(), EcalTrivialConditionRetriever::produceEcalPedestals(), EcalTrivialConditionRetriever::produceEcalTimeCalibConstants(), EcalTrivialConditionRetriever::produceEcalTimeCalibErrors(), EcalTrivialConditionRetriever::produceEcalWeightXtalGroups(), ESTrivialConditionRetriever::produceESIntercalibConstants(), ESTrivialConditionRetriever::produceESPedestals(), ESTrivialConditionRetriever::produceESWeightStripGroups(), reco::modules::TrackerTrackHitFilter::produceFromTrack(), CkfDebugger::pSimHit(), TSGForRoadSearch::pushTrajectorySeed(), HcalMaterials::putValue(), LMap::impl::read(), DTSurvey::ReadChambers(), StoreEcalCondition::readEcalGainRatiosFromFile(), StoreEcalCondition::readEcalIntercalibConstantsFromFile(), StoreEcalCondition::readEcalIntercalibConstantsMCFromFile(), StoreEcalCondition::readEcalWeightXtalGroupsFromFile(), TkPixelMeasurementDet::recHits(), MuonDetLayerMeasurements::recHits(), CalorimetryManager::reconstructHCAL(), DTHVStatusHandler::recoverSnapshot(), helper::ClusterStorer::ClusterHitRecord< ClusterRefType >::rekey(), HcalHitRelabeller::relabel(), SiStripHistoryDQMService::returnDetComponent(), ResidualRefitting::ReturnSector(), ResidualRefitting::ReturnStation(), reco::Muon::RPClayerMask(), EcalRecHitWorkerSimple::run(), MuonDTLocalMillepedeAlgorithm::run(), DigiSimLinkAlgorithm::run(), DTLocalTriggerEfficiencyTest::runClientDiagnostic(), DTFineDelayCorr::runClientDiagnostic(), DTLocalTriggerSynchTest::runClientDiagnostic(), DTTriggerEfficiencyTest::runClientDiagnostic(), DTLocalTriggerBaseTask::runDCCAnalysis(), DTLocalTriggerTask::runDCCAnalysis(), DTLocalTriggerTask::runDDUAnalysis(), DTLocalTriggerBaseTask::runDDUAnalysis(), ecaldqm::TrigPrimTask::runOnDigis(), ecaldqm::SelectiveReadoutTask::runOnDigis(), ecaldqm::SelectiveReadoutTask::runOnSrFlag_(), DTLocalTriggerTask::runSegmentAnalysis(), EcalSelectiveReadout::runSelectiveReadout0(), BaseTrackerRecHit::sameDetModule(), SiStripBadModuleGenerator::selectDetectors(), CSCTMBHeader::selfTest(), CSCEventData::selfTest(), DTHVStatusHandler::setChannelFlag(), CSCBaseElectronicsSim::setLayer(), MuonTrackCSCChamberResidual::setSegmentResidual(), GeomDetUnit::setSurfaceDeformation(), HcalPulseShapes::shapeForReco(), CosmicMuonLinksProducer::sharedHits(), RPCSimSimple::simulate(), RPCSimTriv::simulate(), RPCSimParam::simulate(), GEMSimTriv::simulate(), GEMSimAverage::simulate(), RPCSimAverageNoise::simulate(), RPCSimAverageNoiseEffCls::simulate(), RPCSimAverageNoiseEff::simulate(), RPCSimAverage::simulate(), RPCSimAverageNoiseEffCls::simulateNoise(), RPCSimAverageNoiseEff::simulateNoise(), RPCSimAverageNoise::simulateNoise(), SiStripTKNumbers::SiStripTKNumbers(), SiTrackerGaussianSmearingRecHitConverter::smearHits(), GCC11_FINAL< T, TOPO >::south(), HcalTopology::south(), reco::Muon::stationMask(), ResidualRefitting::StoreTrackerRecHits(), SurveyResidual::SurveyResidual(), EBDetId::switchZSide(), EEDetId::switchZSide(), LutXml::test_access(), HcalLutManager::test_xml_access(), CaloHitResponse::timeOfFlight(), FastTSGFromPropagation::trackerSeeds(), LaserDQM::trackerStatistics(), GlobalTrackerMuonAlignment::trackFitter(), TracktoRPC::TracktoRPC(), TrajectoryAtInvalidHit::TrajectoryAtInvalidHit(), ZdcTopology::transverse(), TrackerAlignableId::typeAndLayerFromDetId(), GCC11_FINAL< T, TOPO >::up(), ValidateGeometry::validateCSChamberGeometry(), ValidateGeometry::validateCSCLayerGeometry(), ValidateGeometry::validateDTChamberGeometry(), ValidateGeometry::validateDTLayerGeometry(), ValidateGeometry::validateRPCGeometry(), CaloGenericDetId::validDetId(), TracktoRPC::ValidRPCSurface(), GCC11_FINAL< T, TOPO >::west(), xuti::writeCell(), GlobalTrackerMuonAlignment::writeGlPosRcd(), EcalDccWeightBuilder::writeWeightToAsciiFile(), and ZDCLogicalMapEntry::ZDCLogicalMapEntry().

45 { return id_; }
uint32_t id_
Definition: DetId.h:57
int DetId::subdetId ( ) const
inline

get the contents of the subdetector field (not cast into any detector's numbering enum)

Definition at line 39 of file DetId.h.

References id_, and kSubdetOffset.

Referenced by cms::SiPixelDigitizer::accumulatePixelHits(), SiStripDigitizer::accumulateStripHits(), SiPixelDetSummary::add(), SiStripDetSummary::add(), MuonTimingFiller::addEcalTime(), BetaCalculatorECAL::addInfoToCandidate(), FWConvTrackHitsDetailView::addModules(), FWTrackHitsDetailView::addModules(), HcalAmplifier::addPedestals(), SiStripHitEffFromCalibTree::algoAnalyze(), DeDxDiscriminatorLearner::algoBeginJob(), DeDxDiscriminatorLearnerFromCalibTree::algoBeginJob(), SiStripCalibLorentzAngle::algoBeginJob(), SiStripGainFromData::algoBeginJob(), SiStripGainFromCalibTree::algoBeginJob(), EcalSelectiveReadoutValidation::anaDigi(), EcalHitResponse::analogSignalAmplitude(), CkfDebugger::analyseRecHitExistance(), JetToDigiDump::analyze(), RPCRecHitValid::analyze(), SiPixelDigiValid::analyze(), SiStripQualityStatistics::analyze(), SiStripDigiValid::analyze(), AlignmentStats::analyze(), CaloTowersAnalyzer::analyze(), CaloTowersValidation::analyze(), DQMSourceEleCalib::analyze(), SiPixelLorentzAngleDB::analyze(), ElectronStudy::analyze(), ElectronSeedAnalyzer::analyze(), SiStripLAProfileBooker::analyze(), SiPixelHitEfficiencySource::analyze(), SiPixelTrackResidualSource::analyze(), MuonAlignmentAnalyzer::analyze(), SiPixelDigiSource::analyze(), SiPixelRawDataErrorSource::analyze(), SiStripRecHitsValid::analyze(), SiPixelRecHitsValid::analyze(), DTChamberEfficiency::analyze(), SiPixelErrorEstimation::analyze(), SiStripTrackingRecHitsValid::analyze(), ListIds::analyze(), SiPixelTrackingRecHitsValid::analyze(), TrackerGeometryIntoNtuples::analyze(), MuonAlignment::analyze(), SiPixelMuonHLT::analyze(), TrackerOfflineValidationSummary::analyze(), TrackerDpgAnalysis::analyze(), TrackerOfflineValidation::analyze(), reco::modules::TrackerTrackHitFilter::Rule::apply(), TrackerSystematicMisalignments::applySystematicMisalignment(), EBDetId::approxEta(), CaloTowersCreationAlgo::assignHit(), SegmentsTrackAssociator::associate(), TrackerHitAssociator::associateHit(), TrackerHitAssociator::associateHitId(), BaseCrystal::BaseCrystal(), HcalRawDataClient::beginRun(), SiStripLAProfileBooker::beginRun(), HcalRawDataMonitor::beginRun(), DeDxDiscriminatorProducer::beginRun(), SiPixelHitEfficiencyModule::book(), SiPixelTrackResidualModule::book(), SiPixelRecHitModule::book(), SiPixelDigiModule::book(), SiPixelClusterModule::book(), TrackerOfflineValidation::bookSummaryHists(), CaloGeometryHelper::borderCrossing(), FWTracksModulesProxyBuilder::build(), CaloGeometryHelper::buildCrystal(), SiPixelDigiSource::buildStructure(), SiPixelRawDataErrorSource::buildStructure(), SiPixelRecHitSource::buildStructure(), SiPixelClusterSource::buildStructure(), HLTEcalResonanceFilter::calcShowerShape(), PhotonIsolationCalculator::calculate(), PositionCalc::Calculate_Location(), GsfElectronAlgo::calculateShowerShape(), CaloPoint::CaloPoint(), CaloTowerDetId::CaloTowerDetId(), CaloRecHitCandidateProducer::cellTresholdAndWeight(), DTChamberEfficiency::chamberSelection(), EcalTrigTowerConstituentsMap::changeEEDetIdQuadrantAndZ(), spr::chargeIsolationEcal(), MuonGeometryArrange::checkChosen(), HitEff::checkLayer(), DTChamberId::checkMuonId(), SimpleCosmicBONSeeder::checkNoisyModules(), AlignmentTrackSelector::checkPrescaledHits(), MuonSeedSimpleCleaner::checkPt(), HcalDetDiagLEDMonitor::CheckStatus(), HcalDetDiagPedestalMonitor::CheckStatus(), HcalMonitorModule::CheckSubdetectorStatus(), PhotonIsolationCalculator::classify(), EcalClusterSeverityLevelAlgo::closestProblematic(), cms::clusterProduct(), ResidualRefitting::CollectTrackHits(), PixelClusterShapeSeedComparitor::compatibleHit(), PixelHitMatcher::compatibleSeeds(), SiPixelHitEfficiencyModule::computeEfficiencies(), EcalGlobalShowerContainmentCorrectionsVsEta::correction(), GsfElectronAlgo::createElectron(), SiStripLorentzAngleGenerator::createObject(), PFRecHitProducerHO::createRecHits(), PFRecHitProducerECAL::createRecHits(), CSCDetId::CSCDetId(), EcalDccWeightBuilder::dbId(), EcalSelectiveReadoutValidation::dccCh(), ecaldqm::dccId(), EBSelectiveReadoutTask::dccNum(), EESelectiveReadoutTask::dccNum(), EESelectiveReadoutTask::dccNumOfRU(), spr::debugEcalDets(), AlignmentTrackSelector::detailedHitsCheck(), AlignableNavigator::detAndSubdetInMap(), SiStripBadComponentsDQMServiceReader::detIdToString(), SiPixelDigitizerAlgorithm::digitize(), SiStripDigitizerAlgorithm::digitize(), SiPixelDigitizerAlgorithm::DriftDirection(), EBHitResponse::EBHitResponse(), EcalPnDiodeDetId::EcalPnDiodeDetId(), EcalScDetId::EcalScDetId(), EcalTrigTowerDetId::EcalTrigTowerDetId(), EEHitResponse::EEHitResponse(), AlignmentStats::endJob(), ElectronCalibrationUniv::endJob(), ErrorChecker::errorDetId(), ESDetId::ESDetId(), ESHitResponse::ESHitResponse(), HITrackingRegionProducer::estimateMultiplicity(), EcalClusterSeverityLevelAlgo::etaphiDistanceClosestProblematic(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), spr::extraIds(), SiPixelHitEfficiencyModule::fill(), SiPixelTrackResidualModule::fill(), SiPixelRawDataErrorModule::fill(), SiPixelRecHitModule::fill(), SiPixelDigiModule::fill(), SiPixelClusterModule::fill(), egHLT::OffHelper::fillClusShapeData(), SiStripQualityDQM::fillGrandSummaryMEs(), TrackerValidationVariables::fillHitQuantities(), MuonShowerInformationFiller::fillHitsByStation(), MatrixFillMap::fillMap(), MuonAlignmentFromReference::fillNtuple(), StripCPE::fillParams(), HcalDetDiagLaserMonitor::fillProblems(), ecaldqm::DQWorkerClient::fillQuality_(), MillePedeMonitor::fillResiduals(), MillePedeMonitor::fillTrack(), MuonGeometryArrange::fillTree(), TrackerGeometryCompare::fillTree(), TrackerOfflineValidationSummary::fillTree(), TrackerOfflineValidation::fillTree(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), cms::ClusterMTCCFilter::filter(), cms::TECClusterFilter::filter(), FilterScrapingPixelProbability::filter(), DynamicTruncation::filteringAlgo(), cms::SiPixelDigitizer::finalizeEvent(), EcalDQMBinningService::findBinsCrystal_(), EcalDQMBinningService::findBinsProjEta_(), EcalDQMBinningService::findBinsProjPhi_(), EcalDQMBinningService::findBinsSuperCrystal_(), EcalDQMBinningService::findBinsTriggerTower_(), spr::findDetIdCalo(), EcalCoder::findGains(), SiPixelInformationExtractor::findNoisyPixels(), EcalCoder::findPedestal(), HcalPacker::findSamples(), EcalCoder::fullScaleEnergy(), GEMDetId::GEMDetId(), HcalGenericDetId::genericSubdet(), SiStripCablingDQM::getActiveDetIds(), CaloGeometryHelper::getClosestCell(), TCTauAlgorithm::getClusterEnergy(), getDetLayer(), L2TauIsolationProducer::getECALHits(), SiStripCorrelateBadStripAndNoise::getHistos(), SiStripPlotGain::getHistos(), SiStripCorrelateNoise::getHistos(), TrackerOfflineValidation::getHistStructFromMap(), ecaldqm::MESetChannel::getIndex_(), EcalLaserDbService::getLaserCorrection(), SiStripLAProfileBooker::getlayer(), QuickTrackAssociatorByHits::getMatchedClusters(), MuonAssociatorByHits::getMatchedIds(), CaloGeometryHelper::getNeighbours(), SiStripGainCosmicCalculator::getNewObject(), EcalClusterTools::getNrCrysDiffInEta(), EcalClusterTools::getNrCrysDiffInPhi(), TkModuleGroupSelector::getParameterIndexFromDetId(), JetMatchingTools::getPCaloHits(), PrintRecoObjects::getString(), SiStripUtility::getSubDetectorTag(), SiStripHistoId::getSubdetid(), SiStripSubStructure::getTECDetectors(), CaloTowersCreationAlgo::getThresholdAndWeight(), SiStripSubStructure::getTIBDetectors(), SiStripSubStructure::getTIDDetectors(), SiStripSubStructure::getTOBDetectors(), TrackTransformerForGlobalCosmicMuons::getTransientRecHits(), TrackTransformerForCosmicMuons::getTransientRecHits(), HcalCovarianceMatrices::getValues(), CastorCondObjectContainer< Item >::getValues(), HcalCholeskyMatrices::getValues(), HcalCondObjectContainer< Item >::getValues(), CaloGeometryHelper::getWindow(), HcalCalibDetId::HcalCalibDetId(), HcalCastorDetId::HcalCastorDetId(), HcalDetId::HcalDetId(), HcalOtherDetId::HcalOtherDetId(), HcalTrigTowerDetId::HcalTrigTowerDetId(), HcalZDCDetId::HcalZDCDetId(), MuonChamberResidual::hitlayer(), MuonChamberResidual::hitposition(), MuonShowerInformationFiller::hitsFromSegments(), HLTPixelAsymmetryFilter::hltFilter(), MuonSeedBuilder::IdentifyShowering(), MuonDetLayerGeometry::idToLayer(), HcalCondObjectContainerBase::indexFor(), StMeasurementDetSet::init(), TrackerRecHit::init(), HcalCovarianceMatrices::initContainer(), HcalCholeskyMatrices::initContainer(), HcalCondObjectContainer< Item >::initContainer(), RPCCompDetId::initGas(), SiStripDCSStatus::initialise(), SiStripDigitizer::initializeEvent(), cms::SiPixelDigitizer::initializeEvent(), EcalRecHitWorkerRecover::insertRecHit(), EcalDccWeightBuilder::intercalib(), CheckHitPattern::interpretDetId(), PFCheckHitPattern::interpretDetId(), CaloGenericDetId::isCaloTower(), CaloGenericDetId::isCastor(), TrackCleaner::isCompatible(), SeedMergerPixelLayer::isContainsDetector(), HitEff::isDoubleSided(), TrajectoryAtInvalidHit::isDoubleSided(), CaloGenericDetId::isEB(), ecaldqm::isEcalScDetId(), CaloGenericDetId::isEE(), CaloGenericDetId::isES(), ClusterSummary::ModuleSelection::IsPixelSelected(), reco::HitPattern::isStereo(), CaloGenericDetId::isZDC(), reco::modules::TrackerTrackHitFilter::Rule::layer(), EcalClusterTools::localCovariances(), SiPixelDigitizerAlgorithm::make_digis(), MatchedHitRZCorrectionFromBending::MatchedHitRZCorrectionFromBending(), SiTrackerGaussianSmearingRecHitConverter::matchHits(), spr::matrixECALIds(), EcalClusterTools::mean5x5PositionInXY(), TrackMerger::merge(), SiPixelDigitizerAlgorithm::missCalibrate(), CaloGeometryHelper::move(), PFRecHitProducerECAL::move(), HcalGeometry::newCell(), CkfDebugger::nextCorrectHits(), SiStripTKNumbers::nfibres(), SiPixelTrackResidualModule::nfill(), SiPixelRecHitModule::nfill(), SiStripTKNumbers::nmodules(), muonisolation::CaloExtractorByAssociator::noiseRecHit(), MuonSeedCleaner::NRecHitsFromSegment(), EBDetId::offsetBy(), EEDetId::offsetBy(), HitComparatorByRadius::operator()(), DetIdTIBSameLayerComparator::operator()(), DetIdTOBSameLayerComparator::operator()(), DetIdPXBSameLayerComparator::operator()(), DetIdPXFSameDiskComparator::operator()(), DetIdTECSameDiskComparator::operator()(), DetIdTIDSameDiskComparator::operator()(), operator<<(), CaloTowerDetId::operator=(), ESDetId::operator=(), HcalOtherDetId::operator=(), HcalDetId::operator=(), EcalTrigTowerDetId::operator=(), HcalTrigTowerDetId::operator=(), HcalZDCDetId::operator=(), EcalPnDiodeDetId::operator=(), HcalCalibDetId::operator=(), HcalCastorDetId::operator=(), EcalScDetId::operator=(), HcalGenericDetId::otherSubdet(), AlignmentParameterSelector::outsideDetIdRanges(), SiPixelDigitizerAlgorithm::pixel_inefficiency(), SiStripQuality::printDetInfo(), QuadrupletSeedMerger::printNtuplet(), HLTTrackClusterRemover::process(), SeedClusterRemover::process(), TrackClusterRemover::process(), SiPixelFedCablingMapBuilder::produce(), AlignmentPrescaler::produce(), TkAlCaOverlapTagger::produce(), MuonReSeeder::produce(), TrackClusterRemover::produce(), cms::TrackListMerger::produce(), SiClusterTranslator::produce(), InterestingDetIdCollectionProducer::produce(), InterestingTrackEcalDetIdProducer::produce(), pat::PATElectronProducer::produce(), HighPtTrackEcalDetIdProducer::produce(), EcalRawToRecHitProducer::produce(), TrackClusterSplitter::produce(), JetCrystalsAssociator::produce(), reco::modules::CosmicTrackSplitter::produce(), reco::modules::TrackerTrackHitFilter::produceFromTrajectory(), spr::propagateCALO(), GsfTrackProducerBase::putInEvt(), MuonDetLayerMeasurements::recHits(), ClusterRemovalRefSetter::reKey(), ResidualRefitting::ReturnSector(), ResidualRefitting::ReturnStation(), RPCCompDetId::RPCCompDetId(), RPCDetId::RPCDetId(), EcalRecHitWorkerSimple::run(), HIPAlignmentAlgorithm::run(), MuonDTLocalMillepedeAlgorithm::run(), DigiSimLinkAlgorithm::run(), HcalTriggerPrimitiveAlgo::runFEFormatError(), HcalDetDiagLEDMonitor::SaveReference(), HcalDetDiagPedestalMonitor::SaveReference(), HcalDetDiagLaserMonitor::SaveReference(), EcalClusterTools::scLocalCovariances(), MuonSeedCleaner::SeedCandidates(), SeedFromGenericPairOrTriplet::seedFromTriplet(), MuonPSimHitSelector::select(), SingleEleCalibSelector::select(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), CreateSurveyRcds::setGeometry(), SiPixelFolderOrganizer::setModuleFolder(), EcalTBDigiProducer::setPhaseShift(), HcalTBDigiProducer::setPhaseShift(), GeomDetUnit::setSurfaceDeformation(), CreateSurveyRcds::setSurveyErrors(), CaloHitRespoNew::setupSamples(), EcalSimParameterMap::simParameters(), spr::simpleMove(), CaloGeometryHelper::simplemove(), SiStripTKNumbers::SiStripTKNumbers(), HcalCondObjectContainerBase::sizeFor(), TrackTransformerForCosmicMuons::SlopeSum(), SETSeedFinder::sortByLayer(), CastorDigiProducer::sortHits(), PFRecHitProducerHO::stdsimplemove(), PFRecHitProducerECAL::stdsimplemove(), ResidualRefitting::StoreTrackerRecHits(), APVShot::subDet(), ESDetId::subdet(), HcalDetId::subdet(), HcalTrigTowerDetId::subdet(), EcalScDetId::subdet(), SiStripNoisesGenerator::subDetAndLayer(), SiStripNoiseNormalizedWithApvGainBuilder::subDetAndLayer(), SiStripApvGainBuilderFromTag::subDetAndLayer(), SiStripDetId::subDetector(), TrackTransformerForCosmicMuons::SumDy(), EBDetId::switchZSide(), EEDetId::switchZSide(), ecaldqm::tccId(), CastorHitCorrection::timeOfFlight(), HcalHitCorrection::timeOfFlight(), ecaldqm::towerId(), LaserDQM::trackerStatistics(), ExhaustiveMuonTrajectoryBuilder::trajectories(), TrajectoryAtInvalidHit::TrajectoryAtInvalidHit(), TrackTransformerForCosmicMuons::transform(), SiPixelOfflineCalibAnalysisBase::translateDetIdToString(), ecaldqm::ttId(), TrackerAlignableId::typeAndLayerFromDetId(), HcalUnpacker::unpack(), HcalRawDataMonitor::unpack(), CaloSpecificAlgo::update_EmEtInEB_EmEtInEE(), CalorimetryManager::updateHCAL(), EcalSampleMask::useSample(), FWEcalRecHitProxyBuilder::viewContextBoxScale(), EcalTrigTowerConstituentsMap::wrapEcalTrigTowerDetId(), EcalTrigTowerConstituentsMap::wrapEEDetId(), and xuti::writeCell().

39 { return ((id_>>kSubdetOffset)&0x7); }
static const int kSubdetOffset
Definition: DetId.h:23
uint32_t id_
Definition: DetId.h:57

Member Data Documentation

uint32_t DetId::id_
protected

Definition at line 57 of file DetId.h.

Referenced by PXFDetId::blade(), HcalCastorDetId::buildMe(), HcalCalibDetId::calibFlavor(), CaloGenericDetId::CaloGenericDetId(), CaloTowerDetId::CaloTowerDetId(), HcalCalibDetId::cboxChannel(), CSCDetId::chamber(), GEMDetId::chamber(), CSCDetId::chamberId(), DTSuperLayerId::chamberId(), GEMDetId::chamberId(), RPCDetId::chamberId(), HcalZDCDetId::channel(), CSCDetId::CSCDetId(), HcalZDCDetId::depth(), HcalDetId::depth(), HcalTrigTowerDetId::depth(), det(), DetId(), PXFDetId::disk(), DTChamberId::DTChamberId(), DTLayerId::DTLayerId(), DTSuperLayerId::DTSuperLayerId(), DTWireId::DTWireId(), EBDetId::EBDetId(), EcalPnDiodeDetId::EcalPnDiodeDetId(), EcalScDetId::EcalScDetId(), EcalTrigTowerDetId::EcalTrigTowerDetId(), EEDetId::EEDetId(), CSCDetId::endcap(), ESDetId::ESDetId(), StripSubdetector::glued(), SiStripDetId::glued(), HcalCalibDetId::HcalCalibDetId(), HcalCastorDetId::HcalCastorDetId(), HcalDcsDetId::HcalDcsDetId(), HcalDetId::HcalDetId(), HcalOtherDetId::HcalOtherDetId(), HcalCalibDetId::hcalSubdet(), HcalTrigTowerDetId::HcalTrigTowerDetId(), HcalZDCDetId::HcalZDCDetId(), EcalPnDiodeDetId::iDCCId(), EcalPnDiodeDetId::iEcalSubDetectorId(), L1CaloRegionDetId::ieta(), HcalCalibDetId::ieta(), CaloTowerDetId::ietaAbs(), HcalDetId::ietaAbs(), HcalTrigTowerDetId::ietaAbs(), EcalTrigTowerDetId::ietaAbs(), EBDetId::ietaAbs(), RPCCompDetId::init(), GEMDetId::init(), RPCDetId::init(), CaloTowerDetId::iphi(), HcalDetId::iphi(), HcalTrigTowerDetId::iphi(), L1CaloRegionDetId::iphi(), EBDetId::iphi(), HcalCalibDetId::iphi(), EcalTrigTowerDetId::iphi(), EcalPnDiodeDetId::iPnId(), EcalScDetId::ix(), EEDetId::ix(), EcalScDetId::iy(), EEDetId::iy(), L1CaloRegionDetId::L1CaloRegionDetId(), csc::L1TrackId::L1TrackId(), PXBDetId::ladder(), PXBDetId::layer(), TOBDetId::layer(), TIBDetId::layer(), RPCCompDetId::layer(), DTLayerId::layer(), CSCDetId::layer(), GEMDetId::layer(), RPCDetId::layer(), DTWireId::layerId(), PXBDetId::module(), PXFDetId::module(), TOBDetId::module(), TIBDetId::module(), HcalCastorDetId::module(), TECDetId::module(), SiStripDetId::moduleGeometry(), TIDDetId::moduleNumber(), null(), operator uint32_t(), operator!=(), operator()(), operator<(), CaloTowerDetId::operator=(), ESDetId::operator=(), HcalDetId::operator=(), HcalOtherDetId::operator=(), EcalTrigTowerDetId::operator=(), HcalTrigTowerDetId::operator=(), HcalZDCDetId::operator=(), EcalPnDiodeDetId::operator=(), EBDetId::operator=(), HcalCalibDetId::operator=(), HcalCastorDetId::operator=(), EcalScDetId::operator=(), EEDetId::operator=(), operator==(), TIBDetId::order(), TECDetId::order(), TIDDetId::order(), PXFDetId::panel(), SiStripDetId::partnerDetId(), StripSubdetector::partnerDetId(), TECDetId::petalNumber(), ESDetId::plane(), EBDetId::positiveZ(), EEDetId::positiveZ(), PXBDetId::PXBDetId(), PXFDetId::PXFDetId(), rawId(), RPCCompDetId::region(), GEMDetId::region(), RPCDetId::region(), SiStripDetId::reserved(), HcalDcsDetId::ring(), RPCCompDetId::ring(), TIDDetId::ring(), GEMDetId::ring(), TECDetId::ring(), RPCDetId::ring(), CSCDetId::ring(), TOBDetId::rodNumber(), GEMDetId::roll(), RPCDetId::roll(), HcalZDCDetId::section(), RPCCompDetId::sector(), DTChamberId::sector(), HcalCastorDetId::sector(), RPCDetId::sector(), PXFDetId::side(), TIDDetId::side(), TECDetId::side(), TOBDetId::side(), TIBDetId::side(), SiStripDetId::SiStripDetId(), ESDetId::six(), ESDetId::siy(), HcalDcsDetId::slice(), RPCCompDetId::station(), DTChamberId::station(), GEMDetId::station(), CSCDetId::station(), RPCDetId::station(), StripSubdetector::stereo(), SiStripDetId::stereo(), TIBDetId::stringNumber(), ESDetId::strip(), HcalDcsDetId::subchannel(), HcalOtherDetId::subdet(), EcalTrigTowerDetId::subDet(), subdetId(), RPCCompDetId::subsector(), RPCDetId::subsector(), DTSuperLayerId::superLayer(), DTLayerId::superlayerId(), TECDetId::TECDetId(), TIBDetId::TIBDetId(), TIDDetId::TIDDetId(), TOBDetId::TOBDetId(), HcalDcsDetId::type(), DTChamberId::wheel(), TIDDetId::wheel(), TECDetId::wheel(), DTWireId::wire(), CaloTowerDetId::zside(), ESDetId::zside(), EcalTrigTowerDetId::zside(), HcalDetId::zside(), HcalZDCDetId::zside(), HcalTrigTowerDetId::zside(), HcalDcsDetId::zside(), EBDetId::zside(), HcalCastorDetId::zside(), HcalCalibDetId::zside(), EcalScDetId::zside(), and EEDetId::zside().

const int DetId::kDetOffset = 28
static

Definition at line 22 of file DetId.h.

Referenced by det(), AlignableBeamSpot::detId(), and CSCDetId::rawIdMaker().

const int DetId::kSubdetOffset = 25
static

Definition at line 23 of file DetId.h.

Referenced by CSCDetId::rawIdMaker(), BaseTrackerRecHit::sameDetModule(), and subdetId().