CMS 3D CMS Logo

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 StackedTrackerDetId StripSubdetector

List of all members.

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
 DetId ()
 Create an empty or null id (also for persistence)
 DetId (uint32_t id)
 Create an id from a raw number.
 DetId (Detector det, int subdet)
 Create an id, filling the detector and subdetector fields as specified.
bool null () const
 is this a null id ?
 operator uint32_t () const
bool operator!= (DetId id) const
 inequality
uint32_t operator() () const
bool operator< (DetId id) const
 comparison
bool operator== (DetId id) const
 equality
uint32_t rawId () const
 get the raw id
int subdetId () const
 get the contents of the subdetector field (not cast into any detector's numbering enum)

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.

{ 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 EEDetId::offsetBy(), EBDetId::offsetBy(), EEDetId::switchZSide(), and EBDetId::switchZSide().

: id_(0) { }
DetId::DetId ( uint32_t  id) [inline]

Create an id from a raw number.

Definition at line 30 of file DetId.h.

: id_(id) { }
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_.

                                   {
    id_=((det&0xF)<<28)|((subdet&0x7)<<25);
  }

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(), SiPixelTrackResidualSource::analyze(), JetToDigiDump::analyze(), CaloTowersValidation::analyze(), RPCRecHitValid::analyze(), ElectronSeedAnalyzer::analyze(), DQMSourceEleCalib::analyze(), TrackerOfflineValidationSummary::analyze(), CaloTowersAnalyzer::analyze(), ListIds::analyze(), DTChamberEfficiency::analyze(), CaloTowersCreationAlgo::assignHit(), SegmentsTrackAssociator::associate(), MuonAssociatorByHits::associateSimToRecoIndices(), HcalRawDataMonitor::beginRun(), HcalRawDataClient::beginRun(), FWTracksModulesProxyBuilder::build(), MuonTransientTrackingRecHitBuilder::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(), RingMaker::determineExtensions(), EcalEleCalibLooper::duringLoop(), InvRingCalib::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(), GlobalHitsProducer::fillECal(), GlobalHitsProdHist::fillECal(), GlobalHitsAnalyzer::fillECal(), GlobalHitsAnalyzer::fillHCal(), GlobalHitsProducer::fillHCal(), GlobalHitsProdHist::fillHCal(), HcalDetDiagLEDMonitor::fillHistos(), MuonShowerInformationFiller::fillHitsByStation(), GlobalHitsProdHist::fillMuon(), GlobalHitsAnalyzer::fillMuon(), GlobalHitsProducer::fillMuon(), MuonAlignmentFromReference::fillNtuple(), HcalDetDiagLaserMonitor::fillProblems(), MuonSimHitsValidAnalyzer::fillRPC(), MuonGeometryArrange::fillTree(), GlobalHitsAnalyzer::fillTrk(), GlobalHitsProducer::fillTrk(), GlobalHitsProdHist::fillTrk(), DynamicTruncation::filter(), spr::findDetIdCalo(), CastorPacker::findSamples(), HcalPacker::findSamples(), CastorCtdcPacker::findSamples(), GEMDetId::GEMDetId(), HcalGenericDetId::genericSubdet(), TCTauAlgorithm::getClusterEnergy(), getDetLayer(), L2TauIsolationProducer::getECALHits(), TrackerOfflineValidation::getHistStructFromMap(), EcalLaserDbService::getLaserCorrection(), MuonAssociatorByHits::getMatchedIds(), SiStripGainFromAsciiFile::getNewObject(), JetMatchingTools::getPCaloHits(), CaloTowersCreationAlgo::getThresholdAndWeight(), TrackTransformerForCosmicMuons::getTransientRecHits(), TrackTransformerForGlobalCosmicMuons::getTransientRecHits(), GlobalTrajectoryBuilderBase::getTransientRecHits(), GlobalCosmicMuonTrajectoryBuilder::getTransientRecHits(), CastorCondObjectContainer< Item >::getValues(), HcalCholeskyMatrices::getValues(), HcalCondObjectContainer< Item >::getValues(), HcalCovarianceMatrices::getValues(), HcalCalibDetId::HcalCalibDetId(), HcalCastorDetId::HcalCastorDetId(), HcalDetId::HcalDetId(), HcalOtherDetId::HcalOtherDetId(), HcalTrigTowerDetId::HcalTrigTowerDetId(), HcalZDCDetId::HcalZDCDetId(), GlobalDetLayerGeometry::idToLayer(), HcalCondObjectContainerBase::indexFor(), SiStripHashedDetId::init(), HcalCholeskyMatrices::initContainer(), HcalCovarianceMatrices::initContainer(), HcalCondObjectContainer< Item >::initContainer(), RPCCompDetId::initGas(), CaloGenericDetId::isCalo(), CaloGenericDetId::isEcal(), CaloGenericDetId::isHcal(), ClusterSummary::ModuleSelection::IsPixelSelected(), reco::HitPattern::isStereo(), MuonAssociatorByHits::LayerFromDetid(), TrackingTruthProducer::LayerFromDetid(), HcalDDDGeometry::newCell(), HcalGeometry::newCell(), muonisolation::CaloExtractorByAssociator::noiseRecHit(), EEDetId::offsetBy(), EBDetId::offsetBy(), DetIdPXBSameLayerComparator::operator()(), DetIdTIDSameDiskComparator::operator()(), DetIdTOBSameLayerComparator::operator()(), DetIdTECSameDiskComparator::operator()(), DetIdPXFSameDiskComparator::operator()(), DetIdTIBSameLayerComparator::operator()(), operator<<(), HcalOtherDetId::operator=(), HcalTrigTowerDetId::operator=(), HcalZDCDetId::operator=(), EcalPnDiodeDetId::operator=(), HcalCastorDetId::operator=(), EcalScDetId::operator=(), HcalDetId::operator=(), CaloTowerDetId::operator=(), EcalTrigTowerDetId::operator=(), HcalCalibDetId::operator=(), ESDetId::operator=(), JetCrystalsAssociator::produce(), reco::modules::CosmicTrackSplitter::produce(), InterestingDetIdCollectionProducer::produce(), MuonDetLayerMeasurements::recHits(), CaloTowersCreationAlgo::rescale(), CaloTowersCreationAlgo::rescaleTowers(), ResidualRefitting::ReturnSector(), ResidualRefitting::ReturnStation(), RPCCompDetId::RPCCompDetId(), RPCDetId::RPCDetId(), MuonDTLocalMillepedeAlgorithm::run(), HcalTriggerPrimitiveAlgo::runFEFormatError(), HcalDetDiagPedestalMonitor::SaveReference(), HcalDetDiagLEDMonitor::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(), EEDetId::switchZSide(), EBDetId::switchZSide(), HcalHitCorrection::timeOfFlight(), CastorHitCorrection::timeOfFlight(), EgammaHadTower::towerOf(), TrackingParticle::trackPSimHit(), ResidualRefitting::trkExtrap(), HcalUnpacker::unpack(), CaloGenericDetId::validDetId(), EcalTrigTowerConstituentsMap::wrapEcalTrigTowerDetId(), and EcalTrigTowerConstituentsMap::wrapEEDetId().

{ return Detector((id_>>kDetOffset)&0xF); }
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(), HcalRawDataMonitor::beginRun(), HcalRawDataClient::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(), HcalTrigTowerDetId::operator=(), HcalZDCDetId::operator=(), EcalPnDiodeDetId::operator=(), HcalCastorDetId::operator=(), EcalScDetId::operator=(), HcalDetId::operator=(), HcalCalibDetId::operator=(), EcalTrigTowerDetId::operator=(), CaloTowerDetId::operator=(), ESDetId::operator=(), HcalPacker::pack(), InterestingDetIdCollectionProducer::produce(), CalorimetryManager::reconstructECAL(), 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().

{ return id_==0; }
DetId::operator uint32_t ( ) const [inline]

Definition at line 42 of file DetId.h.

References id_.

{ return id_; }
bool DetId::operator!= ( DetId  id) const [inline]

inequality

Definition at line 52 of file DetId.h.

References id_.

{ return id_!=id.id_; }
uint32_t DetId::operator() ( ) const [inline]

Definition at line 41 of file DetId.h.

References id_.

{ return id_; }
bool DetId::operator< ( DetId  id) const [inline]

comparison

Definition at line 54 of file DetId.h.

References id_.

{ return id_<id.id_; }
bool DetId::operator== ( DetId  id) const [inline]

equality

Definition at line 50 of file DetId.h.

References id_.

{ return id_==id.id_; }
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(), CaloMiscalibMapEcal::addCell(), CaloMiscalibMapHcal::addCell(), TrackerGeometry::addDet(), TrackerGeometry::addDetUnit(), FWRecoGeometryESProducer::addDTGeometry(), CastorRawGains::addItem(), HcalRawGains::addItem(), FWConvTrackHitsDetailView::addModules(), FWTrackHitsDetailView::addModules(), FWTGeoRecoGeometryESProducer::addPixelBarrelGeometry(), FWRecoGeometryESProducer::addPixelBarrelGeometry(), FWTGeoRecoGeometryESProducer::addPixelForwardGeometry(), FWRecoGeometryESProducer::addPixelForwardGeometry(), RPCStripsRing::addRoll(), FWTGeoRecoGeometryESProducer::addRPCGeometry(), FWRecoGeometryESProducer::addRPCGeometry(), HcalTriggerPrimitiveAlgo::addSignal(), fireworks::addSiStripClusters(), BetaCalculatorECAL::addStepToXtal(), TrackerGeometryCompare::addSurveyInfo(), MuonAlignmentInputSurveyDB::addSurveyInfo_(), TrackDetectorAssociator::addTAMuonSegmentMatch(), FWRecoGeometryESProducer::addTECGeometry(), FWTGeoRecoGeometryESProducer::addTECGeometry(), FWRecoGeometryESProducer::addTIBGeometry(), FWTGeoRecoGeometryESProducer::addTIBGeometry(), FWTGeoRecoGeometryESProducer::addTIDGeometry(), FWRecoGeometryESProducer::addTIDGeometry(), FWTGeoRecoGeometryESProducer::addTOBGeometry(), FWRecoGeometryESProducer::addTOBGeometry(), CastorRawGains::addValues(), HcalRawGains::addValues(), SiStripGainFromData::algoBeginJob(), DeDxDiscriminatorLearnerFromCalibTree::algoBeginJob(), DeDxDiscriminatorLearner::algoBeginJob(), SiStripGainFromCalibTree::algoBeginJob(), AlignableDet::AlignableDet(), AlignableNavigator::alignableFromDetId(), AlignableDetUnit::alignmentErrors(), AlignableDet::alignmentErrors(), AlignableDet::alignments(), AlignableDetUnit::alignments(), EcalSelectiveReadoutValidation::anaDigi(), CkfDebugger::analyseRecHitNotFound(), CSCComparatorDigiValidation::analyze(), EcalTrivialObjectAnalyzer::analyze(), HcalPedestalMCWidths::analyze(), EcalTPGParamBuilder::analyze(), SiPixelLorentzAngleDB::analyze(), HcalAutoPedestalValidator::analyze(), EcalRecHitsValidation::analyze(), HitDump::analyze(), EcalDigisValidation::analyze(), DTLocalTriggerLutTask::analyze(), RPCEfficiency::analyze(), EcalEndcapDigisValidation::analyze(), RPCRecHitValid::analyze(), ElectronSeedAnalyzer::analyze(), DTTriggerEfficiencyTask::analyze(), IsolatedTracksCone::analyze(), CastorPedestalsAnalysis::analyze(), EcalBarrelDigisValidation::analyze(), cms::Analyzer_minbias::analyze(), HcalPedestalsAnalysis::analyze(), TrackerOfflineValidationSummary::analyze(), DTLocalTriggerSynchTask::analyze(), DTRunConditionVar::analyze(), ListIds::analyze(), SiStripLAProfileBooker::analyze(), TrackerGeometryIntoNtuples::analyze(), AlignmentStats::analyze(), DTChamberEfficiency::analyze(), DTDigiTask::analyze(), EcalMixingModuleValidation::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), OnDemandMeasurementTracker::assign(), CaloTowerConstituentsMap::assign(), EcalTrigTowerConstituentsMap::assign(), SegmentsTrackAssociator::associate(), SegmentToTrackAssociator::associate(), TrackerHitAssociator::associateHit(), TrackerHitAssociator::associatePixelRecHit(), RPCHitAssociator::associateRecHit(), MuonAssociatorByHits::associateSimToRecoIndices(), EcalTPGParamBuilder::beginJob(), EBDaqInfoTask::beginLuminosityBlock(), EBDcsInfoTask::beginLuminosityBlock(), ecaldqm::TowerStatusTask::beginLuminosityBlock(), DeDxEstimatorProducerPixelTripplet::beginRun(), DeDxDiscriminatorProducer::beginRun(), RPCRecHitValid::beginRun(), ecaldqm::TowerStatusTask::beginRun(), RPCEfficiency::beginRun(), SiStripLAProfileBooker::beginRun(), DeDxEstimatorProducer::beginRun(), DTTriggerEfficiencyTask::bookChamberHistos(), DTTriggerEfficiencyTest::bookChambHistos(), RPCEfficiency::bookDetUnitSeg(), DTLocalTriggerBaseTask::bookHistos(), DTLocalTriggerSynchTask::bookHistos(), DTLocalTriggerLutTask::bookHistos(), DTtTrigCalibrationTest::bookHistos(), FWCSCWireDigiProxyBuilder::build(), FWTrackTrackingRecHitProxyBuilder::build(), FWDTSegmentProxyBuilder::build(), GEMGeometryParsFromDD::buildGeometry(), RPCGeometryParsFromDD::buildGeometry(), CmsTrackerDetIdBuilder::buildId(), SeedForPhotonConversion1Leg::buildSeed(), SeedFromConsecutiveHitsCreator::buildSeed(), SeedForPhotonConversionFromQuadruplets::buildSeed(), SiPixelRecHitSource::buildStructure(), SiPixelDigiSource::buildStructure(), SiPixelRawDataErrorSource::buildStructure(), SiPixelClusterSource::buildStructure(), FWDTDigiProxyBuilder::buildViewType(), FWRPCRecHitProxyBuilder::buildViewType(), SurveyResidual::calculate(), EcalHaloAlgo::Calculate(), CALIBLogicalMapEntry::CALIBLogicalMapEntry(), CaloGenericDetId::CaloGenericDetId(), CaloTowerDetId::CaloTowerDetId(), MuonIdProducer::chamberId(), DTDigiTask::channelsMap(), cond::service::DTHVCheckWithHysteresis::checkCurrentStatus(), cond::service::DTHVCheckByAbsoluteValues::checkCurrentStatus(), reco::modules::TrackerTrackHitFilter::checkHit(), GlobalTrajectoryBuilderBase::checkMuonHits(), SimpleCosmicBONSeeder::checkNoisyModules(), MuonIdTruthInfo::checkSimHitForBestMatch(), StackedTrackerGeometry::checkSimTrack(), HcalDetDiagPedestalMonitor::CheckStatus(), HLTEcalResonanceFilter::checkStatusOfEcalRecHit(), EgammaHLTNxNClusterProducer::checkStatusOfEcalRecHit(), ResidualRefitting::CollectTrackHits(), TrackerGeometryCompare::compareGeometries(), CaloVNoiseSignalGenerator::contains(), EcalShowerContainmentCorrections::correctionCoefficients(), LutXml::create_lut_map(), EcalFEtoDigi::create_TPSample(), EcalFEtoDigi::create_TPSampleTcp(), PFRecHitProducerECAL::createEcalRecHit(), PFRecHitProducerHCAL::createHcalRecHit(), PFRecHitProducerHO::createHORecHit(), PFRecHitProducerPS::createRecHits(), EcalSelectiveReadoutValidation::dccCh(), ecaldqm::dccId(), CaloGenericDetId::denseIndex(), muonisolation::CaloExtractorByAssociator::deposits(), RingMaker::determineExtensions(), APVShot::detId(), SiStripFineDelayHit::detId(), RoadSearchDetIdHelper::detIdsOnSameLayer(), RoadSearchSeedFinderAlgorithm::detIdsOnSameLayer(), SiStripBadComponentsDQMServiceReader::detIdToString(), detSetOrEmpty(), SiStripFineDelayHit::deviceMask(), SiPixelDigitizerAlgorithm::digitize(), SiStripDigitizerAlgorithm::digitize(), CSCOfflineMonitor::doBXMonitor(), OutsideInMuonSeeder::doDebug(), MuonAlignmentAnalyzer::doMatching(), MuonAlignment::doMatching(), GCC11_FINAL< T >::down(), PixelCPEBase::driftDirection(), StripCPE::driftDirection(), SiPixelDigitizerAlgorithm::DriftDirection(), DTLayerId::DTLayerId(), DTRecSegment4D::DTRecSegment4D(), DTSegtoRPC::DTSegtoRPC(), DTSuperLayerId::DTSuperLayerId(), DTWireId::DTWireId(), DTHVStatusHandler::dumpHVAliases(), EcalEleCalibLooper::duringLoop(), Pi0FixedMassWindowCalibration::duringLoop(), InvRingCalib::duringLoop(), GCC11_FINAL< T >::east(), EcalEleCalibLooper::EBRegionDefinition(), EcalPnDiodeDetId::EcalPnDiodeDetId(), EcalScDetId::EcalScDetId(), EcalTrigPrimSpikeESProducer::EcalTrigPrimSpikeESProducer(), EcalTrigTowerDetId::EcalTrigTowerDetId(), EcalEleCalibLooper::EERegionDefinition(), InvRingCalib::EERingDef(), CalorimetryManager::EMShowerSimulation(), 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(), GlobalDigisAnalyzer::fillECal(), GlobalRecHitsAnalyzer::fillECal(), GlobalDigisProducer::fillECal(), GlobalRecHitsProducer::fillECal(), MatrixFillMap::fillEEMap(), EcalEndcapSimHitsValidation::fillEEMatrix(), EcalSimHitsValidProducer::fillEEMatrix(), CastorDigiProducer::fillFakeHits(), GlobalRecHitsAnalyzer::fillHCal(), GlobalDigisAnalyzer::fillHCal(), GlobalDigisProducer::fillHCal(), GlobalRecHitsProducer::fillHCal(), HcalDetDiagLEDMonitor::fillHistos(), TrackerValidationVariables::fillHitQuantities(), MuonShowerInformationFiller::fillHitsByStation(), CSCSegmentValidation::fillLayerHitsPerChamber(), MatrixFillMap::fillMap(), ClusterFillMap::fillMap(), EcalElectronicsMapper::fillMaps(), HcalDeadCellMonitor::fillNevents_problemCells(), HcalDetDiagLaserMonitor::fillProblems(), ecaldqm::DQWorkerClient::fillQuality_(), RingMaker::fillTECGeometryArray(), RingMaker::fillTIBGeometryArray(), RingMaker::fillTIDGeometryArray(), RingMaker::fillTOBGeometryArray(), TrackerGeometryCompare::fillTree(), MuonGeometryArrange::fillTree(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), cms::TECClusterFilter::filter(), cms::ClusterMTCCFilter::filter(), EcalRecHitsValidation::findBarrelMatrix(), FWHFTowerSliceSelector::findBinFromId(), PFRecHitProducerECAL::findEcalRecHitGeometry(), EcalRecHitsValidation::findEndcapMatrix(), EcalCoder::findGains(), PFRecHitProducerHO::findHORecHitGeometry(), EcalCoder::findIntercalibConstant(), EBHitResponse::findIntercalibConstant(), EcalCoder::findPedestal(), EcalMixingModuleValidation::findPedestal(), PFRecHitProducerPS::findRecHitNeighbours(), 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(), EcalEndcapSimHitsValidation::getIdsAroundMax(), EcalBarrelSimHitsValidation::getIdsAroundMax(), EcalTrivialConditionRetriever::getIntercalibConstantsFromConfiguration(), EcalTrivialConditionRetriever::getIntercalibErrorsFromConfiguration(), EcalLaserDbService::getLaserCorrection(), DTHVStatusHandler::getLayerValues(), HcalLedAnalysis::GetLedConst(), EcalTPGScale::getLinearizedTPG(), TrackAssociatorByHits::getMatchedIds(), MuonAssociatorByHits::getMatchedIds(), SiStripGainCosmicCalculator::getNewObject(), popcon::EcalTPGFineGrainEBGroupHandler::getNewObjects(), popcon::EcalDCSHandler::getNewObjects(), popcon::EcalTPGBadXTHandler::getNewObjects(), popcon::EcalDAQHandler::getNewObjects(), popcon::EcalTPGBadTTHandler::getNewObjects(), popcon::EcalTPGSpikeThresholdHandler::getNewObjects(), popcon::EcalTPGPedestalsHandler::getNewObjects(), popcon::EcalTPGPhysicsConstHandler::getNewObjects(), popcon::EcalTPGLinConstHandler::getNewObjects(), popcon::EcalTPGLutGroupHandler::getNewObjects(), popcon::EcalIntercalibHandler::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsH2(), popcon::EcalPedestalsHandler::getNewObjectsP5(), HcalTestHitGenerator::getNoiseHits(), HcalAssistant::getRawIdFromCmssw(), Roads::getRoadSeed(), RPCSimSetUp::getTime(), RPCCalibSetUp::getTime(), GEMSimSetUp::getTime(), EcalTrivialConditionRetriever::getTimeCalibConstantsFromConfiguration(), EcalTrivialConditionRetriever::getTimeCalibErrorsFromConfiguration(), EcalTPGScale::getTPGInADC(), EcalTPGScale::getTPGInGeV(), HcalTestNumberingScheme::getUnitID(), EcalPreshowerNumberingScheme::getUnitID(), EcalEndcapNumberingScheme::getUnitID(), HcalNumberingScheme::getUnitID(), EcalHodoscopeNumberingScheme::getUnitID(), CastorNumberingScheme::getUnitID(), ESTBNumberingScheme::getUnitID(), ZdcNumberingScheme::getUnitID(), HcalMaterials::getValue(), HcalDcsValues::getValues(), HcalCholeskyMatrices::getValues(), CastorRawGains::getValues(), HcalRawGains::getValues(), HcalCovarianceMatrices::getValues(), RPCTrigger::giveFinallCandindates(), 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(), HcalText2DetIdConverter::init(), CastorText2DetIdConverter::init(), TrackerRecHit::init(), SeedFromProtoTrack::init(), MuonAlignmentFromReference::initialize(), SiStripDigitizerAlgorithm::initializeDetUnit(), MuonHOAcceptance::initIds(), popcon::EcalDCSHandler::insertHVDataSetToOffline(), popcon::EcalDCSHandler::insertLVDataSetToOffline(), EcalRecHitWorkerRecover::insertRecHit(), EcalDccWeightBuilder::intercalib(), Trajectory::isBad(), RPCCosmicSeedrecHitFinder::iscorssEdge(), ecaldqm::isEcalScDetId(), RoadSearchDetIdHelper::IsGluedRPhi(), CalibrationTrackSelector::isIsolated(), AlignmentTrackSelector::isIsolated(), DetIdSelector::isSelected(), RoadSearchDetIdHelper::IsSingleRPhi(), RoadSearchDetIdHelper::IsStereo(), SiStripBadModuleGenerator::isTECDetector(), SiStripBadModuleGenerator::isTIBDetector(), SiStripBadModuleGenerator::isTIDDetector(), SiStripBadModuleGenerator::isTOBDetector(), MuonAssociatorByHits::LayerFromDetid(), TrackingTruthProducer::LayerFromDetid(), TrackAssociatorByHits::LayerFromDetid(), FastPixelCPE::localParameters(), PixelCPEGeneric::localPosition(), ZdcTopology::longitudinal(), HcalDcsMap::lookup(), CastorElectronicsMap::lookup(), HcalElectronicsMap::lookup(), CastorElectronicsMap::lookupTrigger(), HcalElectronicsMap::lookupTrigger(), TempTrajectory::lost(), Trajectory::lost(), CastorDbHardcode::makeCalibrationQIECoder(), XMLDocument::makeChId(), CastorDbHardcode::makeGain(), CastorDbHardcode::makeGainWidth(), FWRPZViewGeometry::makeMuonGeometryRhoZ(), CastorDbHardcode::makePedestal(), CastorDbHardcode::makePedestalWidth(), CastorDbHardcode::makeQIECoder(), CastorDbHardcode::makeRecoParam(), CastorDbHardcode::makeSaturationCorr(), TrajectoryManager::makeSinglePSimHit(), CastorElectronicsMap::mapEId2chId(), HcalElectronicsMap::mapEId2chId(), CastorElectronicsMap::mapEId2tId(), HcalElectronicsMap::mapEId2tId(), MuonSeedOrcaPatternRecognition::markAsUsed(), TrackClusterSplitter::markClusters(), MuonSegmentMatcher::matchCSC(), MuonSegmentMatcher::matchDT(), SiTrackerGaussianSmearingRecHitConverter::matchHits(), GlobalTrackerMuonAlignment::muonFitter(), CalorimetryManager::MuonMipSimulation(), HcalGeometry::newCell(), HcalTopology::north(), GCC11_FINAL< T >::north(), DTHVStatusHandler::offlineList(), EEDetId::offsetBy(), EBDetId::offsetBy(), DetIdSelector::operator()(), DetIdComparator::operator()(), HashByDetId::operator()(), rpcrawtodigi::DebugDigisPrintout::operator()(), CastorDbASCIIIO::DetIdLess::operator()(), DBSpecToDetUnit::operator()(), GEMDetId::operator<(), DTOccupancyPoint::operator<(), RPCDetId::operator<(), operator<<(), HcalOtherDetId::operator=(), HcalTrigTowerDetId::operator=(), HcalZDCDetId::operator=(), EcalPnDiodeDetId::operator=(), HcalCastorDetId::operator=(), EcalScDetId::operator=(), HcalDetId::operator=(), CaloTowerDetId::operator=(), EcalTrigTowerDetId::operator=(), HcalCalibDetId::operator=(), ESDetId::operator=(), HcalGenericDetId::otherSubdet(), PixelCPEBase::param(), PFPhotonClusters::PFCrystalCoor(), SiPixelDigitizerAlgorithm::pixel_inefficiency(), CaloMiscalibMapHcal::prefillMap(), CaloMiscalibMapEcal::prefillMap(), RoadSearchTrackCandidateMakerAlgorithm::PrepareTrackCandidates(), BaseCrystal::print(), CaloMiscalibMapEcal::print(), SiStripQuality::printDetInfo(), sipixelobjects::PixelFEDLink::printForMap(), HLTTrackClusterRemover::process(), SeedClusterRemover::process(), HcalHitRelabeller::process(), TrackClusterRemover::process(), HcalSimpleReconstructor::process(), EcalFenixTcp::process_part2_barrel(), EcalFenixTcp::process_part2_endcap(), cscdqm::EventProcessor::processCSC(), CastorPSMonitor::processEvent(), MuonAlignmentFromReference::processMuonResidualsFromTrack(), HcalSimpleReconstructor::processUpgrade(), RPCRecHitProducer::produce(), CastorTowerProducer::produce(), InterestingTrackEcalDetIdProducer::produce(), L2MuonSeedGenerator::produce(), RecHitCorrector::produce(), CastorSimpleReconstructor::produce(), L1TrackProducer::produce(), SiClusterTranslator::produce(), ZdcHitReconstructor::produce(), TrajectorySeedFromMuonProducer::produce(), HcalHitReconstructor::produce(), SiPixelFedCablingMapBuilder::produce(), AlignmentPrescaler::produce(), SimHitShifter::produce(), MuonReSeeder::produce(), reco::modules::CosmicTrackSplitter::produce(), TrackCandidateProducer::produce(), CSCDCCUnpacker::produce(), TrackClusterSplitter::produce(), FakeTrackProducer< T >::produce(), MuonSimHitProducer::produce(), TrackerToMuonPropagator::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(), SurveyDataReader::readFile(), TkPixelMeasurementDet::recHits(), MuonDetLayerMeasurements::recHits(), CalorimetryManager::reconstructECAL(), CalorimetryManager::reconstructHCAL(), DTHVStatusHandler::recoverSnapshot(), helper::ClusterStorer::ClusterHitRecord< ClusterRefType >::rekey(), HcalHitRelabeller::relabel(), SiStripHistoryDQMService::returnDetComponent(), ResidualRefitting::ReturnSector(), ResidualRefitting::ReturnStation(), RoadMaker::RingsOnSameLayer(), reco::Muon::RPClayerMask(), EcalRecHitWorkerSimple::run(), DigiSimLinkAlgorithm::run(), MuonDTLocalMillepedeAlgorithm::run(), DTLocalTriggerSynchTest::runClientDiagnostic(), DTFineDelayCorr::runClientDiagnostic(), DTTriggerEfficiencyTest::runClientDiagnostic(), DTLocalTriggerEfficiencyTest::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(), RPCSimAverageNoiseEff::simulate(), RPCSimAverageNoise::simulate(), GEMSimAverage::simulate(), RPCSimParam::simulate(), RPCSimAverageNoiseEffCls::simulate(), RPCSimTriv::simulate(), RPCSimSimple::simulate(), RPCSimAverage::simulate(), GEMSimTriv::simulate(), RPCSimAverageNoise::simulateNoise(), RPCSimAverageNoiseEff::simulateNoise(), RPCSimAverageNoiseEffCls::simulateNoise(), SiStripTKNumbers::SiStripTKNumbers(), SiTrackerGaussianSmearingRecHitConverter::smearHits(), HcalTopology::south(), GCC11_FINAL< T >::south(), reco::Muon::stationMask(), ResidualRefitting::StoreTrackerRecHits(), SurveyResidual::SurveyResidual(), EEDetId::switchZSide(), EBDetId::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 >::up(), ValidateGeometry::validateCSChamberGeometry(), ValidateGeometry::validateCSCLayerGeometry(), ValidateGeometry::validateDTChamberGeometry(), ValidateGeometry::validateDTLayerGeometry(), ValidateGeometry::validateRPCGeometry(), CaloGenericDetId::validDetId(), TracktoRPC::ValidRPCSurface(), GCC11_FINAL< T >::west(), xuti::writeCell(), GlobalTrackerMuonAlignment::writeGlPosRcd(), EcalDccWeightBuilder::writeWeightToAsciiFile(), and ZDCLogicalMapEntry::ZDCLogicalMapEntry().

{ return id_; }
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(), SiPixelDetSummary::add(), SiStripDetSummary::add(), MuonTimingFiller::addEcalTime(), BetaCalculatorECAL::addInfoToCandidate(), FWConvTrackHitsDetailView::addModules(), FWTrackHitsDetailView::addModules(), HcalAmplifier::addPedestals(), SiStripHitEffFromCalibTree::algoAnalyze(), SiStripGainFromData::algoBeginJob(), DeDxDiscriminatorLearner::algoBeginJob(), DeDxDiscriminatorLearnerFromCalibTree::algoBeginJob(), SiStripGainFromCalibTree::algoBeginJob(), SiStripCalibLorentzAngle::algoBeginJob(), EcalSelectiveReadoutValidation::anaDigi(), EcalHitResponse::analogSignalAmplitude(), CkfDebugger::analyseRecHitExistance(), SiPixelDigiValid::analyze(), TrackerDpgAnalysis::analyze(), TrackerOfflineValidation::analyze(), SiStripDigiValid::analyze(), SiStripQualityStatistics::analyze(), SiPixelHitEfficiencySource::analyze(), SiPixelTrackResidualSource::analyze(), SiPixelMuonHLT::analyze(), SiPixelLorentzAngleDB::analyze(), SiPixelRecHitsValid::analyze(), SiPixelErrorEstimation::analyze(), HitDump::analyze(), RPCRecHitValid::analyze(), SiPixelTrackingRecHitsValid::analyze(), CaloTowersValidation::analyze(), JetToDigiDump::analyze(), ElectronSeedAnalyzer::analyze(), SiPixelDigiSource::analyze(), SiStripRecHitsValid::analyze(), DQMSourceEleCalib::analyze(), CaloTowersAnalyzer::analyze(), TrackerOfflineValidationSummary::analyze(), MuonAlignmentAnalyzer::analyze(), SiPixelRawDataErrorSource::analyze(), AlignmentStats::analyze(), MuonAlignment::analyze(), TrackerGeometryIntoNtuples::analyze(), SiStripLAProfileBooker::analyze(), ListIds::analyze(), SiStripTrackingRecHitsValid::analyze(), DTChamberEfficiency::analyze(), ElectronStudy::analyze(), reco::modules::TrackerTrackHitFilter::Rule::apply(), TrackerSystematicMisalignments::applySystematicMisalignment(), EBDetId::approxEta(), CaloTowersCreationAlgo::assignHit(), SegmentsTrackAssociator::associate(), TrackerHitAssociator::associateHit(), TrackerHitAssociator::associateHitId(), MuonAssociatorByHits::associateSimToRecoIndices(), BaseCrystal::BaseCrystal(), DeDxDiscriminatorProducer::beginRun(), HcalRawDataMonitor::beginRun(), HcalRawDataClient::beginRun(), SiStripLAProfileBooker::beginRun(), SiPixelHitEfficiencyModule::book(), SiPixelClusterModule::book(), SiPixelTrackResidualModule::book(), SiPixelRecHitModule::book(), SiPixelDigiModule::book(), TrackerOfflineValidation::bookSummaryHists(), CaloGeometryHelper::borderCrossing(), FWTracksModulesProxyBuilder::build(), CaloGeometryHelper::buildCrystal(), SiPixelRecHitSource::buildStructure(), SiPixelDigiSource::buildStructure(), SiPixelRawDataErrorSource::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(), PFRecHitProducerPS::createRecHits(), CSCDetId::CSCDetId(), EcalDccWeightBuilder::dbId(), EcalSelectiveReadoutValidation::dccCh(), ecaldqm::dccId(), EBSelectiveReadoutTask::dccNum(), EESelectiveReadoutTask::dccNum(), EESelectiveReadoutTask::dccNumOfRU(), spr::debugEcalDets(), AlignmentTrackSelector::detailedHitsCheck(), AlignableNavigator::detAndSubdetInMap(), RoadSearchDetIdHelper::detIdsOnSameLayer(), RoadSearchSeedFinderAlgorithm::detIdsOnSameLayer(), 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(), SiPixelClusterModule::fill(), SiPixelDigiModule::fill(), SiPixelRecHitModule::fill(), SiPixelRawDataErrorModule::fill(), SiPixelHitEfficiencyModule::fill(), SiPixelTrackResidualModule::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(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), GlobalRecHitsProducer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), cms::TECClusterFilter::filter(), FilterScrapingPixelProbability::filter(), cms::ClusterMTCCFilter::filter(), 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(), SiStripPlotGain::getHistos(), SiStripCorrelateBadStripAndNoise::getHistos(), SiStripCorrelateNoise::getHistos(), TrackerOfflineValidation::getHistStructFromMap(), DetHitAccess::getHitVector(), ecaldqm::MESetChannel::getIndex_(), EcalLaserDbService::getLaserCorrection(), SiStripLAProfileBooker::getlayer(), MuonAssociatorByHits::getMatchedIds(), CaloGeometryHelper::getNeighbours(), SiStripGainCosmicCalculator::getNewObject(), EcalClusterTools::getNrCrysDiffInEta(), EcalClusterTools::getNrCrysDiffInPhi(), JetMatchingTools::getPCaloHits(), PrintRecoObjects::getString(), SiStripUtility::getSubDetectorTag(), SiStripHistoId::getSubdetid(), SiStripSubStructure::getTECDetectors(), CaloTowersCreationAlgo::getThresholdAndWeight(), SiStripSubStructure::getTIBDetectors(), SiStripSubStructure::getTIDDetectors(), SiStripSubStructure::getTOBDetectors(), TrackTransformerForCosmicMuons::getTransientRecHits(), TrackTransformerForGlobalCosmicMuons::getTransientRecHits(), CastorCondObjectContainer< Item >::getValues(), HcalCholeskyMatrices::getValues(), HcalCondObjectContainer< Item >::getValues(), HcalCovarianceMatrices::getValues(), CaloGeometryHelper::getWindow(), HcalCalibDetId::HcalCalibDetId(), HcalCastorDetId::HcalCastorDetId(), HcalDetId::HcalDetId(), HcalOtherDetId::HcalOtherDetId(), HcalTrigTowerDetId::HcalTrigTowerDetId(), HcalZDCDetId::HcalZDCDetId(), CalorimetryManager::HDShowerSimulation(), MuonChamberResidual::hitlayer(), MuonChamberResidual::hitposition(), MuonShowerInformationFiller::hitsFromSegments(), HLTPixelAsymmetryFilter::hltFilter(), MuonSeedBuilder::IdentifyShowering(), MuonDetLayerGeometry::idToLayer(), HcalCondObjectContainerBase::indexFor(), TrackerRecHit::init(), StMeasurementDetSet::init(), HcalCholeskyMatrices::initContainer(), HcalCovarianceMatrices::initContainer(), HcalCondObjectContainer< Item >::initContainer(), RPCCompDetId::initGas(), SiStripDCSStatus::initialise(), SiStripDigitizer::initializeEvent(), EcalRecHitWorkerRecover::insertRecHit(), EcalDccWeightBuilder::intercalib(), CheckHitPattern::interpretDetId(), PFCheckHitPattern::interpretDetId(), CaloGenericDetId::isCaloTower(), CaloGenericDetId::isCastor(), TrackCleaner::isCompatible(), SeedMergerPixelLayer::isContainsDetector(), TrajectoryAtInvalidHit::isDoubleSided(), HitEff::isDoubleSided(), CaloGenericDetId::isEB(), ecaldqm::isEcalScDetId(), CaloGenericDetId::isEE(), CaloGenericDetId::isES(), ClusterSummary::ModuleSelection::IsPixelSelected(), reco::HitPattern::isStereo(), CaloGenericDetId::isZDC(), MuonReSeeder::layer(), reco::modules::TrackerTrackHitFilter::Rule::layer(), TrackMerger::layer(), MuonAssociatorByHits::LayerFromDetid(), TrackingTruthProducer::LayerFromDetid(), TrackAssociatorByHits::LayerFromDetid(), CalorimetryManager::loadFromHcal(), EcalClusterTools::localCovariances(), SiPixelDigitizerAlgorithm::make_digis(), MatchedHitRZCorrectionFromBending::MatchedHitRZCorrectionFromBending(), SiTrackerGaussianSmearingRecHitConverter::matchHits(), spr::matrixECALIds(), EcalClusterTools::mean5x5PositionInXY(), TrackMerger::merge(), SiPixelDigitizerAlgorithm::missCalibrate(), PFRecHitProducerECAL::move(), CaloGeometryHelper::move(), HcalGeometry::newCell(), CkfDebugger::nextCorrectHits(), SiStripTKNumbers::nfibres(), SiPixelRecHitModule::nfill(), SiPixelTrackResidualModule::nfill(), SiStripTKNumbers::nmodules(), muonisolation::CaloExtractorByAssociator::noiseRecHit(), MuonSeedCleaner::NRecHitsFromSegment(), EEDetId::offsetBy(), EBDetId::offsetBy(), DetIdPXBSameLayerComparator::operator()(), DetIdTIDSameDiskComparator::operator()(), DetIdTOBSameLayerComparator::operator()(), DetIdTECSameDiskComparator::operator()(), DetIdPXFSameDiskComparator::operator()(), DetIdTIBSameLayerComparator::operator()(), HitComparatorByRadius::operator()(), operator<<(), HcalTrigTowerDetId::operator=(), HcalOtherDetId::operator=(), HcalZDCDetId::operator=(), EcalPnDiodeDetId::operator=(), HcalCastorDetId::operator=(), EcalScDetId::operator=(), HcalDetId::operator=(), HcalCalibDetId::operator=(), EcalTrigTowerDetId::operator=(), CaloTowerDetId::operator=(), ESDetId::operator=(), HcalGenericDetId::otherSubdet(), AlignmentParameterSelector::outsideDetIdRanges(), SiPixelDigitizerAlgorithm::pixel_inefficiency(), SiStripQuality::printDetInfo(), QuadrupletSeedMerger::printNtuplet(), HLTTrackClusterRemover::process(), SeedClusterRemover::process(), TrackClusterRemover::process(), JetCrystalsAssociator::produce(), InterestingTrackEcalDetIdProducer::produce(), cms::TrackListMerger::produce(), HighPtTrackEcalDetIdProducer::produce(), SiClusterTranslator::produce(), L1TrackProducer::produce(), AlignmentPrescaler::produce(), SiPixelFedCablingMapBuilder::produce(), reco::modules::CosmicTrackSplitter::produce(), MuonReSeeder::produce(), TkAlCaOverlapTagger::produce(), TrackClusterSplitter::produce(), EcalRawToRecHitProducer::produce(), TrackClusterRemover::produce(), InterestingDetIdCollectionProducer::produce(), reco::modules::TrackerTrackHitFilter::produceFromTrajectory(), spr::propagateCALO(), GsfTrackProducerBase::putInEvt(), MuonDetLayerMeasurements::recHits(), CalorimetryManager::reconstructECAL(), ClusterRemovalRefSetter::reKey(), ResidualRefitting::ReturnSector(), ResidualRefitting::ReturnStation(), RoadMaker::RingInBarrel(), RoadMaker::RingsOnSameLayer(), RPCCompDetId::RPCCompDetId(), RPCDetId::RPCDetId(), HIPAlignmentAlgorithm::run(), EcalRecHitWorkerSimple::run(), RoadSearchHelixMakerAlgorithm::run(), DigiSimLinkAlgorithm::run(), MuonDTLocalMillepedeAlgorithm::run(), HcalTriggerPrimitiveAlgo::runFEFormatError(), HcalDetDiagPedestalMonitor::SaveReference(), HcalDetDiagLEDMonitor::SaveReference(), HcalDetDiagLaserMonitor::SaveReference(), EcalClusterTools::scLocalCovariances(), MuonSeedCleaner::SeedCandidates(), SeedFromGenericPairOrTriplet::seedFromTriplet(), MuonPSimHitSelector::select(), SingleEleCalibSelector::select(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), CreateSurveyRcds::setGeometry(), SiPixelFolderOrganizer::setModuleFolder(), HcalTBDigiProducer::setPhaseShift(), EcalTBDigiProducer::setPhaseShift(), GeomDetUnit::setSurfaceDeformation(), CreateSurveyRcds::setSurveyErrors(), TrackingTruthProducer::setTrackingParticle(), CaloHitRespoNew::setupSamples(), EcalSimParameterMap::simParameters(), CaloGeometryHelper::simplemove(), spr::simpleMove(), SiStripTKNumbers::SiStripTKNumbers(), HcalCondObjectContainerBase::sizeFor(), TrackTransformerForCosmicMuons::SlopeSum(), SETSeedFinder::sortByLayer(), CastorDigiProducer::sortHits(), PFRecHitProducerECAL::stdsimplemove(), PFRecHitProducerHO::stdsimplemove(), ResidualRefitting::StoreTrackerRecHits(), HcalDetId::subdet(), EcalScDetId::subdet(), ESDetId::subdet(), HcalTrigTowerDetId::subdet(), APVShot::subDet(), SiStripNoiseNormalizedWithApvGainBuilder::subDetAndLayer(), SiStripNoisesGenerator::subDetAndLayer(), SiStripApvGainBuilderFromTag::subDetAndLayer(), SiStripDetId::subDetector(), TrackTransformerForCosmicMuons::SumDy(), EEDetId::switchZSide(), EBDetId::switchZSide(), ecaldqm::tccId(), HcalHitCorrection::timeOfFlight(), CastorHitCorrection::timeOfFlight(), ecaldqm::towerId(), LaserDQM::trackerStatistics(), ExhaustiveMuonTrajectoryBuilder::trajectories(), TrajectoryAtInvalidHit::TrajectoryAtInvalidHit(), TrackTransformerForCosmicMuons::transform(), SiPixelOfflineCalibAnalysisBase::translateDetIdToString(), ecaldqm::ttId(), TrackerAlignableId::typeAndLayerFromDetId(), HcalRawDataMonitor::unpack(), HcalUnpacker::unpack(), CaloSpecificAlgo::update_EmEtInEB_EmEtInEE(), EcalSampleMask::useSample(), EcalTrigTowerConstituentsMap::wrapEcalTrigTowerDetId(), EcalTrigTowerConstituentsMap::wrapEEDetId(), and xuti::writeCell().

{ return ((id_>>kSubdetOffset)&0x7); }

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(), GEMDetId::chamber(), CSCDetId::chamber(), RPCDetId::chamberId(), CSCDetId::chamberId(), DTSuperLayerId::chamberId(), GEMDetId::chamberId(), HcalZDCDetId::channel(), CSCDetId::CSCDetId(), HcalTrigTowerDetId::depth(), HcalZDCDetId::depth(), HcalDetId::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(), StackedTrackerDetId::iDisk(), EcalPnDiodeDetId::iEcalSubDetectorId(), HcalCalibDetId::ieta(), L1CaloRegionDetId::ieta(), EcalTrigTowerDetId::ietaAbs(), HcalDetId::ietaAbs(), CaloTowerDetId::ietaAbs(), HcalTrigTowerDetId::ietaAbs(), EBDetId::ietaAbs(), StackedTrackerDetId::iLayer(), GEMDetId::init(), RPCDetId::init(), RPCCompDetId::init(), HcalCalibDetId::iphi(), HcalTrigTowerDetId::iphi(), L1CaloRegionDetId::iphi(), StackedTrackerDetId::iPhi(), HcalDetId::iphi(), EcalTrigTowerDetId::iphi(), EBDetId::iphi(), CaloTowerDetId::iphi(), EcalPnDiodeDetId::iPnId(), StackedTrackerDetId::iRing(), StackedTrackerDetId::isBarrel(), StackedTrackerDetId::isEndcap(), StackedTrackerDetId::iSide(), EEDetId::ix(), EcalScDetId::ix(), EEDetId::iy(), EcalScDetId::iy(), StackedTrackerDetId::iZ(), L1CaloRegionDetId::L1CaloRegionDetId(), csc::L1TrackId::L1TrackId(), PXBDetId::ladder(), RPCCompDetId::layer(), TIBDetId::layer(), TOBDetId::layer(), DTLayerId::layer(), PXBDetId::layer(), CSCDetId::layer(), GEMDetId::layer(), RPCDetId::layer(), DTWireId::layerId(), PXFDetId::module(), TOBDetId::module(), PXBDetId::module(), TECDetId::module(), HcalCastorDetId::module(), TIBDetId::module(), SiStripDetId::moduleGeometry(), TIDDetId::moduleNumber(), null(), operator uint32_t(), operator!=(), operator()(), operator<(), HcalOtherDetId::operator=(), HcalTrigTowerDetId::operator=(), HcalZDCDetId::operator=(), EcalPnDiodeDetId::operator=(), HcalCastorDetId::operator=(), EEDetId::operator=(), EcalScDetId::operator=(), HcalDetId::operator=(), CaloTowerDetId::operator=(), EcalTrigTowerDetId::operator=(), HcalCalibDetId::operator=(), EBDetId::operator=(), ESDetId::operator=(), operator==(), TIBDetId::order(), TIDDetId::order(), TECDetId::order(), PXFDetId::panel(), StripSubdetector::partnerDetId(), SiStripDetId::partnerDetId(), TECDetId::petalNumber(), ESDetId::plane(), EBDetId::positiveZ(), EEDetId::positiveZ(), PXBDetId::PXBDetId(), PXFDetId::PXFDetId(), rawId(), GEMDetId::region(), RPCCompDetId::region(), RPCDetId::region(), SiStripDetId::reserved(), RPCDetId::ring(), RPCCompDetId::ring(), HcalDcsDetId::ring(), PXFDetId::ring(), CSCDetId::ring(), GEMDetId::ring(), TIDDetId::ring(), TECDetId::ring(), TOBDetId::rodNumber(), RPCDetId::roll(), GEMDetId::roll(), HcalZDCDetId::section(), HcalCastorDetId::sector(), DTChamberId::sector(), RPCDetId::sector(), RPCCompDetId::sector(), PXFDetId::side(), TIBDetId::side(), TOBDetId::side(), TIDDetId::side(), TECDetId::side(), SiStripDetId::SiStripDetId(), ESDetId::six(), ESDetId::siy(), HcalDcsDetId::slice(), StackedTrackerDetId::StackedTrackerDetId(), RPCDetId::station(), CSCDetId::station(), DTChamberId::station(), GEMDetId::station(), RPCCompDetId::station(), SiStripDetId::stereo(), StripSubdetector::stereo(), TIBDetId::stringNumber(), ESDetId::strip(), HcalDcsDetId::subchannel(), StackedTrackerDetId::subdet(), EcalTrigTowerDetId::subDet(), HcalOtherDetId::subdet(), subdetId(), RPCDetId::subsector(), RPCCompDetId::subsector(), DTSuperLayerId::superLayer(), DTLayerId::superlayerId(), TECDetId::TECDetId(), TIBDetId::TIBDetId(), TIDDetId::TIDDetId(), TOBDetId::TOBDetId(), HcalDcsDetId::type(), TIDDetId::wheel(), DTChamberId::wheel(), TECDetId::wheel(), DTWireId::wire(), HcalCalibDetId::zside(), CaloTowerDetId::zside(), ESDetId::zside(), EcalScDetId::zside(), HcalCastorDetId::zside(), EEDetId::zside(), HcalZDCDetId::zside(), HcalDetId::zside(), EcalTrigTowerDetId::zside(), HcalTrigTowerDetId::zside(), HcalDcsDetId::zside(), and EBDetId::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().