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 ME0DetId 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).

Definition at line 18 of file DetId.h.

Member Enumeration Documentation

Enumerator
Tracker 
Muon 
Ecal 
Hcal 
Calo 

Definition at line 24 of file DetId.h.

24 { 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 26 of file DetId.h.

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

26 : id_(0) { }
uint32_t id_
Definition: DetId.h:55
DetId::DetId ( uint32_t  id)
inline

Create an id from a raw number.

Definition at line 28 of file DetId.h.

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

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

Definition at line 30 of file DetId.h.

References id_.

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

Member Function Documentation

Detector DetId::det ( ) const
inline

get the detector field from this detid

Definition at line 35 of file DetId.h.

References id_, and kDetOffset.

Referenced by EgammaIsoHcalDetIdCollectionProducer::addDetIds(), FWTrackHitsDetailView::addModules(), FWConvTrackHitsDetailView::addModules(), CaloHitResponse::analogSignalAmplitude(), JetToDigiDump::analyze(), RPCRecHitValid::analyze(), StandaloneTrackMonitor::analyze(), CaloTowersAnalyzer::analyze(), CaloTowersValidation::analyze(), ElectronSeedAnalyzer::analyze(), DQMSourceEleCalib::analyze(), AnaL1CaloCleaner::analyze(), SiPixelTrackResidualSource::analyze(), TestHits::analyze(), TestSmoothHits::analyze(), TestTrackHits::analyze(), DTChamberEfficiency::analyze(), ListIds::analyze(), SeedMultiplicityAnalyzer::analyze(), TrackerOfflineValidationSummary::analyze(), CaloTowersCreationAlgo::assignHitHcal(), SegmentsTrackAssociator::associate(), HcalRawDataClient::beginRun(), HcalRawDataMonitor::bookHistograms(), MuonTransientTrackingRecHitBuilder::build(), FWTracksModulesProxyBuilder::build(), CaloGenericDetId::CaloGenericDetId(), CaloPoint::CaloPoint(), CaloTowerDetId::CaloTowerDetId(), 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(), EcalSelectiveReadoutValidation::dccCh(), 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::fillDT(), GlobalHitsAnalyzer::fillECal(), GlobalHitsProdHist::fillECal(), GlobalHitsProducer::fillECal(), MuonCaloCleanerByDistance::fillEnergyDepositMap(), GlobalHitsAnalyzer::fillHCal(), GlobalHitsProdHist::fillHCal(), GlobalHitsProducer::fillHCal(), HcalDetDiagLEDMonitor::fillHistos(), MuonShowerInformationFiller::fillHitsByStation(), GlobalHitsAnalyzer::fillMuon(), GlobalHitsProdHist::fillMuon(), GlobalHitsProducer::fillMuon(), MuonAlignmentFromReference::fillNtuple(), HcalDetDiagLaserMonitor::fillProblems(), MuonGeometryArrange::fillTree(), GlobalHitsAnalyzer::fillTrk(), GlobalHitsProdHist::fillTrk(), GlobalHitsProducer::fillTrk(), DynamicTruncation::filter(), spr::findDetIdCalo(), CastorPacker::findSamples(), CastorCtdcPacker::findSamples(), HcalPacker::findSamples(), KFTrajectoryFitter::fitOne(), GEMDetId::GEMDetId(), HcalGenericDetId::genericSubdet(), getDetLayer(), L2TauIsolationProducer::getECALHits(), TrackerOfflineValidation::getHistStructFromMap(), DetNaming::getKey(), TestMuonCaloCleaner::getKey(), AnaMuonCaloCleaner::getKey(), getKey(), EcalLaserDbService::getLaserCorrection(), MuonAssociatorByHitsHelper::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(), ecaldqm::isCrystalId(), CaloGenericDetId::isEcal(), ecaldqm::isEcalScDetId(), ecaldqm::isEndcapTTId(), CaloGenericDetId::isHcal(), ecaldqm::isSingleChannelId(), reco::HitPattern::isStereo(), matchMuonDetId(), ME0DetId::ME0DetId(), 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=(), HcalOtherDetId::operator=(), HcalDetId::operator=(), EcalTrigTowerDetId::operator=(), HcalZDCDetId::operator=(), HcalTrigTowerDetId::operator=(), EcalPnDiodeDetId::operator=(), HcalCalibDetId::operator=(), ESDetId::operator=(), HcalCastorDetId::operator=(), EcalScDetId::operator=(), printMuonDetId(), InterestingDetIdFromSuperClusterProducer::produce(), 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(), GeomDet::setSurfaceDeformation(), CaloHitRespoNew::setupSamples(), CosmicMuonLinksProducer::sharedHits(), HcalCondObjectContainerBase::sizeFor(), CaloGenericDetId::sizeForDenseIndexing(), TrackTransformerForCosmicMuons::SlopeSum(), CastorDigiProducer::sortHits(), ResidualRefitting::StoreTrackerRecHits(), SiStripDetId::subDetector(), TrackTransformerForCosmicMuons::SumDy(), EBDetId::switchZSide(), EEDetId::switchZSide(), HcalHitCorrection::timeOfFlight(), CastorHitCorrection::timeOfFlight(), EgammaHadTower::towerOf(), SiStripMonitorTrack::trackStudyFromTrack(), KFTrajectorySmoother::trajectory(), ResidualRefitting::trkExtrap(), HcalUnpacker::unpack(), HcalUnpacker::unpackUTCA(), HcalUnpacker::unpackVME(), CaloGenericDetId::validDetId(), EcalTrigTowerConstituentsMap::wrapEcalTrigTowerDetId(), and EcalTrigTowerConstituentsMap::wrapEEDetId().

35 { return Detector((id_>>kDetOffset)&0xF); }
Detector
Definition: DetId.h:24
uint32_t id_
Definition: DetId.h:55
static const int kDetOffset
Definition: DetId.h:20
bool DetId::null ( ) const
inline

is this a null id ?

Definition at line 45 of file DetId.h.

References id_.

Referenced by EcalSimpleTBAnalyzer::analyze(), EcalSimple2007H4TBAnalyzer::analyze(), HcalLuttoDB::analyze(), CaloTowersCreationAlgo::assignHitEcal(), CaloTowersCreationAlgo::assignHitHcal(), HcalRawDataClient::beginRun(), HcalRawDataMonitor::bookHistograms(), PositionCalc::Calculate_Location(), CaloTowerDetId::CaloTowerDetId(), HcalMonitorModule::CheckSubdetectorStatus(), HcalBaseDQMonitor::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(), EcalDeadChannelRecoveryNN< EBDetId >::makeNxNMatrice_RelDC(), EcalDeadChannelRecoveryNN< EEDetId >::makeNxNMatrice_RelDC(), CaloGeometryHelper::move(), CalorimetryManager::MuonMipSimulation(), CaloTowerDetId::operator=(), HcalDetId::operator=(), EcalTrigTowerDetId::operator=(), HcalZDCDetId::operator=(), HcalTrigTowerDetId::operator=(), EcalPnDiodeDetId::operator=(), HcalCalibDetId::operator=(), ESDetId::operator=(), HcalCastorDetId::operator=(), EcalScDetId::operator=(), HcalPacker::pack(), InterestingDetIdFromSuperClusterProducer::produce(), InterestingDetIdCollectionProducer::produce(), ecaldqm::SummaryClient::producePlots(), CaloTowersCreationAlgo::rescale(), HcalTriggerPrimitiveAlgo::runFEFormatError(), ecaldqm::LedTask::runOnDigis(), ecaldqm::LaserTask::runOnDigis(), SingleEleCalibSelector::select(), CaloTowerConstituentsMap::towerOf(), CastorUnpacker::unpack(), HcalUnpacker::unpack(), HcalUnpacker::unpackUTCA(), HcalUnpacker::unpackVME(), 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().

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

Definition at line 40 of file DetId.h.

References id_.

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

inequality

Definition at line 50 of file DetId.h.

References id_.

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

Definition at line 39 of file DetId.h.

References id_.

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

comparison

Definition at line 52 of file DetId.h.

References id_.

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

equality

Definition at line 48 of file DetId.h.

References id_.

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

get the raw id

Definition at line 43 of file DetId.h.

References id_.

Referenced by SiPixelDigitizerAlgorithm::accumulateSimHits(), SiStripDigitizerAlgorithm::accumulateSimHits(), SiStripDetSummary::add(), SiPixelDigitizerAlgorithm::add_noise(), CaloMiscalibMapHcal::addCell(), CaloMiscalibMapEcal::addCell(), HcalDataFrameContainer< QIE10DataFrame >::addDataFrame(), TrackerGeometry::addDet(), TrackerGeometry::addDetUnit(), FWRecoGeometryESProducer::addDTGeometry(), FWRecoGeometryESProducer::addGEMGeometry(), CRackTrajectoryBuilder::AddHit(), CastorRawGains::addItem(), HcalRawGains::addItem(), FWTrackHitsDetailView::addModules(), FWConvTrackHitsDetailView::addModules(), FWRecoGeometryESProducer::addPixelBarrelGeometry(), FWTGeoRecoGeometryESProducer::addPixelBarrelGeometry(), FWRecoGeometryESProducer::addPixelForwardGeometry(), RPCStripsRing::addRoll(), FWRecoGeometryESProducer::addRPCGeometry(), HcalTriggerPrimitiveAlgo::addSignal(), fireworks::addSiStripClusters(), BetaCalculatorECAL::addStepToXtal(), TrackerGeometryCompare::addSurveyInfo(), MuonAlignmentInputSurveyDB::addSurveyInfo_(), TrackDetectorAssociator::addTAMuonSegmentMatch(), FWRecoGeometryESProducer::addTECGeometry(), FWRecoGeometryESProducer::addTIBGeometry(), FWRecoGeometryESProducer::addTIDGeometry(), FWRecoGeometryESProducer::addTOBGeometry(), CastorRawGains::addValues(), HcalRawGains::addValues(), SiStripGainFromCalibTree::algoAnalyze(), SiStripGainFromData::algoBeginJob(), SiStripGainFromCalibTree::algoBeginRun(), AlignableDet::AlignableDet(), AlignableNavigator::alignableFromDetId(), AlignableDet::alignmentErrors(), AlignableDetUnit::alignmentErrors(), AlignableDet::alignments(), AlignableDetUnit::alignments(), EcalSelectiveReadoutValidation::anaDigi(), CkfDebugger::analyseRecHitNotFound(), EcalTrivialObjectAnalyzer::analyze(), CSCComparatorDigiValidation::analyze(), RPCRecHitValid::analyze(), AlignmentStats::analyze(), MuonTruth::analyze(), SiStripLAProfileBooker::analyze(), HcalAutoPedestalValidator::analyze(), EcalBarrelDigisValidation::analyze(), EcalEndcapDigisValidation::analyze(), SiPixelTrackResidualSource::analyze(), cms::Analyzer_minbias::analyze(), EcalRecHitsValidation::analyze(), EcalTPGParamBuilder::analyze(), DTRunConditionVar::analyze(), TestMuonCaloCleaner::analyze(), EcalDigisValidation::analyze(), DTLocalTriggerLutTask::analyze(), DTChamberEfficiency::analyze(), DTLocalTriggerSynchTask::analyze(), DTTriggerEfficiencyTask::analyze(), ListIds::analyze(), TrackerGeometryIntoNtuples::analyze(), CastorPedestalsAnalysis::analyze(), DTDigiTask::analyze(), EcalMixingModuleValidation::analyze(), SeedMultiplicityAnalyzer::analyze(), TrackerOfflineValidationSummary::analyze(), RPCEfficiency::analyze(), IsolatedTracksCone::analyze(), HcalRaddamMuon::analyze(), HcalHBHEMuonAnalyzer::analyze(), RecAnalyzerMinbias::analyzeHcal(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), CaloTowerConstituentsMap::assign(), EcalTrigTowerConstituentsMap::assign(), SegmentToTrackAssociator::associate(), SegmentsTrackAssociator::associate(), CSCHitAssociator::associateCSCHitId(), TrackerHitAssociator::associateHit(), CSCHitAssociator::associateHitId(), TrackerHitAssociator::associatePixelRecHit(), RPCHitAssociator::associateRecHit(), TrackerHitAssociator::associateSimpleRecHitCluster(), TrackAssociatorByHitsImpl::associateSimToReco(), EcalTPGParamBuilder::beginJob(), SiStripLAProfileBooker::beginRun(), DTTriggerEfficiencyTask::bookChamberHistos(), DTRunConditionVar::bookChamberHistos(), DTLocalTriggerEfficiencyTest::bookChambHistos(), DTLocalTriggerSynchTest::bookChambHistos(), DTTriggerEfficiencyTest::bookChambHistos(), RPCEfficiency::bookDetUnitSeg(), RPCEfficiency::bookHistograms(), DTLocalTriggerTask::bookHistos(), DTLocalTriggerSynchTask::bookHistos(), DTLocalTriggerLutTask::bookHistos(), DTLocalTriggerBaseTask::bookHistos(), FWTrackTrackingRecHitProxyBuilder::build(), FWCSCRecHitProxyBuilder::build(), FWCSCWireDigiProxyBuilder::build(), FWCSCSegmentProxyBuilder::build(), GEMGeometryParsFromDD::buildGeometry(), RPCGeometryParsFromDD::buildGeometry(), CmsTrackerDetIdBuilder::buildId(), SeedFromConsecutiveHitsCreator::buildSeed(), SeedForPhotonConversion1Leg::buildSeed(), SeedForPhotonConversionFromQuadruplets::buildSeed(), SiPixelDigiSource::buildStructure(), SiPixelRawDataErrorSource::buildStructure(), SiPixelRecHitSource::buildStructure(), SiPixelClusterSource::buildStructure(), FWPSimHitProxyBuilder::buildViewType(), FWRPCRecHitProxyBuilder::buildViewType(), FWGEMRecHitProxyBuilder::buildViewType(), FWDTSegmentProxyBuilder::buildViewType(), FWDTDigiProxyBuilder::buildViewType(), EcalHaloAlgo::Calculate(), SurveyResidual::calculate(), CALIBLogicalMapEntry::CALIBLogicalMapEntry(), CaloGenericDetId::CaloGenericDetId(), CaloTowerDetId::CaloTowerDetId(), CastorNumberingScheme::CastorNumberingScheme(), MuonIdProducer::chamberId(), DTDigiTask::channelsMap(), SimpleCosmicBONSeeder::checkCharge(), cond::service::DTHVCheckByAbsoluteValues::checkCurrentStatus(), cond::service::DTHVCheckWithHysteresis::checkCurrentStatus(), reco::modules::TrackerTrackHitFilter::checkHit(), GlobalMuonRefitter::checkMuonHits(), SimpleCosmicBONSeeder::checkNoisyModules(), MuonIdTruthInfo::checkSimHitForBestMatch(), HcalDetDiagPedestalMonitor::CheckStatus(), EgammaHLTNxNClusterProducer::checkStatusOfEcalRecHit(), HLTRegionalEcalResonanceFilter::checkStatusOfEcalRecHit(), HLTEcalResonanceFilter::checkStatusOfEcalRecHit(), ResidualRefitting::CollectTrackHits(), TrackerGeometryCompare::compareGeometries(), PedeSteererWeakModeConstraints::constructConstraints(), CaloVNoiseSignalGenerator::contains(), EcalShowerContainmentCorrections::correctionCoefficients(), LutXml::create_lut_map(), EcalFEtoDigi::create_TPSample(), EcalFEtoDigi::create_TPSampleTcp(), PFCTRecHitProducer::createHcalRecHit(), CosmicMuonSeedGenerator::createSeed(), EcalSelectiveReadoutValidation::dccCh(), ecaldqm::dccId(), CaloGenericDetId::denseIndex(), muonisolation::CaloExtractorByAssociator::deposits(), APVShot::detId(), SiStripFineDelayHit::detId(), SiStripBadComponentsDQMServiceReader::detIdToString(), SiStripFineDelayHit::deviceMask(), SiPixelDigitizerAlgorithm::digitize(), SiStripDigitizerAlgorithm::digitize(), edm::DataMixingSiStripMCDigiWorker::DMinitializeDetUnit(), CSCOfflineMonitor::doBXMonitor(), OutsideInMuonSeeder::doDebug(), MuonAlignmentAnalyzer::doMatching(), MuonAlignment::doMatching(), EcalPreshowerTopology::down(), RPCEfficiencySecond::dqmEndJob(), StripCPE::driftDirection(), PixelCPEBase::driftDirection(), SiPixelDigitizerAlgorithm::DriftDirection(), DTLayerId::DTLayerId(), DTRecSegment4D::DTRecSegment4D(), DTSegtoRPC::DTSegtoRPC(), DTSuperLayerId::DTSuperLayerId(), DTWireId::DTWireId(), DTHVStatusHandler::dumpHVAliases(), InvRingCalib::duringLoop(), EcalEleCalibLooper::duringLoop(), Pi0FixedMassWindowCalibration::duringLoop(), EcalBarrelHardcodedTopology::east(), EcalEndcapHardcodedTopology::east(), EcalEndcapTopology::east(), EcalBarrelTopology::east(), EcalPreshowerTopology::east(), EcalEleCalibLooper::EBRegionDefinition(), EcalPnDiodeDetId::EcalPnDiodeDetId(), EcalScDetId::EcalScDetId(), EcalTrigPrimSpikeESProducer::EcalTrigPrimSpikeESProducer(), EcalTrigTowerDetId::EcalTrigTowerDetId(), EcalEleCalibLooper::EERegionDefinition(), InvRingCalib::EERingDef(), ZeeCalibration::endOfJob(), EcalSimHitsValidProducer::energyInEBMatrix(), EcalSimHitsValidProducer::energyInEEMatrix(), EcalBarrelSimHitsValidation::energyInMatrixEB(), EcalEndcapSimHitsValidation::energyInMatrixEE(), ESDetId::ESDetId(), AlignmentMonitorMuonResiduals::event(), RPCPackingModule::eventRecords(), RPCSeedPattern::extropolateStep(), PFPhotonClusters::FillClusterShape(), reco::HcalNoiseInfoProducer::filldigis(), MuonCaloDistanceProducer::fillDistanceMap(), MatrixFillMap::fillEBMap(), EcalSimHitsValidProducer::fillEBMatrix(), EcalBarrelSimHitsValidation::fillEBMatrix(), GlobalDigisProducer::fillECal(), GlobalDigisAnalyzer::fillECal(), GlobalRecHitsAnalyzer::fillECal(), GlobalRecHitsProducer::fillECal(), MatrixFillMap::fillEEMap(), EcalSimHitsValidProducer::fillEEMatrix(), EcalEndcapSimHitsValidation::fillEEMatrix(), MuonCaloCleanerByDistance::fillEnergyDepositMap(), 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(), MuonGeometryArrange::fillTree(), TrackerGeometryCompare::fillTree(), TrackerOfflineValidationSummary::fillTree(), TrackerOfflineValidation::fillTree(), cms::ClusterMTCCFilter::filter(), cms::TECClusterFilter::filter(), EcalRecHitsValidation::findBarrelMatrix(), FWHFTowerSliceSelector::findBinFromId(), SiStripElectronAlgo::findElectron(), EcalRecHitsValidation::findEndcapMatrix(), EcalCoder::findGains(), EBHitResponse::findIntercalibConstant(), EcalCoder::findIntercalibConstant(), EcalCoder::findPedestal(), EcalMixingModuleValidation::findPedestal(), KFTrajectoryFitter::fitOne(), HcalDcsValues::foundDcsId(), EcalTestDevDB::generateEcalGainRatios(), EcalTestDevDB::generateEcalIntercalibConstants(), EcalTestDevDB::generateEcalPedestals(), EcalTestDevDB::generateEcalWeightXtalGroups(), DTRecoUncertainties::get(), DTRecoConditions::get(), 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(), DetNaming::getKey(), EcalLaserDbService::getLaserCorrection(), DTHVStatusHandler::getLayerValues(), CastorLedAnalysis::GetLedConst(), HcalLedAnalysis::GetLedConst(), EcalTPGScale::getLinearizedTPG(), MuonAssociatorByHitsHelper::getMatchedIds(), TrackAssociatorByHitsImpl::getMatchedIds(), TrackAssociatorByHits::getMatchedIds(), SiStripGainCosmicCalculator::getNewObject(), popcon::EcalPulseCovariancesHandler::getNewObjects(), popcon::EcalPulseShapesHandler::getNewObjects(), popcon::EcalDAQHandler::getNewObjects(), popcon::EcalTPGBadTTHandler::getNewObjects(), popcon::EcalTPGLinConstHandler::getNewObjects(), popcon::EcalTPGPhysicsConstHandler::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(), MuonDetRecHitMixer< T1, T2 >::getRawDetId(), HcalAssistant::getRawIdFromCmssw(), RPCCalibSetUp::getTime(), RPCSimSetUp::getTime(), EcalTrivialConditionRetriever::getTimeCalibConstantsFromConfiguration(), EcalTrivialConditionRetriever::getTimeCalibErrorsFromConfiguration(), EcalTPGScale::getTPGInADC(), EcalTPGScale::getTPGInGeV(), ESTBNumberingScheme::getUnitID(), EcalEndcapNumberingScheme::getUnitID(), EcalHodoscopeNumberingScheme::getUnitID(), EcalPreshowerNumberingScheme::getUnitID(), HcalTestNumberingScheme::getUnitID(), HcalNumberingScheme::getUnitID(), ZdcNumberingScheme::getUnitID(), CastorNumberingScheme::getUnitID(), HcalMaterials::getValue(), CastorRawGains::getValues(), HcalRawGains::getValues(), HcalCovarianceMatrices::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(), SiStripMonitorTrack::hitStudy(), HLTHcalSimpleRecHitFilter::hltFilter(), HLTDTActivityFilter::hltFilter(), HOHXLogicalMapEntry::HOHXLogicalMapEntry(), HTLogicalMapEntry::HTLogicalMapEntry(), ecaldqm::binning::idFromBin(), TrackerGeometry::idToDet(), TrackerGeometry::idToDetUnit(), MuonDetLayerGeometry::idToLayer(), PFHBHERecHitCreator::importRecHits(), PFHcalRecHitCreator< Digi, Geometry, Layer, Detector >::importRecHits(), PFEcalRecHitCreator< Geometry, Layer, Detector >::importRecHits(), PFEcalRecHitCreatorMaxSample< Geometry, Layer, Detector >::importRecHits(), PFHFRecHitCreator::importRecHits(), PFHBHERecHitCreatorMaxSample::importRecHits(), 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(), TrackerDpgAnalysis::insertMeasurement(), EcalRecHitWorkerRecover::insertRecHit(), EcalDccWeightBuilder::intercalib(), Trajectory::isBad(), RPCCosmicSeedrecHitFinder::iscorssEdge(), ecaldqm::isCrystalId(), ecaldqm::isEcalScDetId(), ecaldqm::isEndcapTTId(), CalibrationTrackSelector::isIsolated(), AlignmentTrackSelector::isIsolated(), DetIdSelector::isSelected(), SiStripBadModuleGenerator::isTECDetector(), SiStripBadModuleGenerator::isTIBDetector(), SiStripBadModuleGenerator::isTIDDetector(), SiStripBadModuleGenerator::isTOBDetector(), CmsTrackerDetIdBuilder::iterate(), boost::serialization::load(), ZdcTopology::longitudinal(), HcalElectronicsMap::lookup(), CastorElectronicsMap::lookup(), HcalDcsMap::lookup(), CastorElectronicsMap::lookupTrigger(), HcalElectronicsMap::lookupTrigger(), Trajectory::lost(), TempTrajectory::lost(), CastorDbHardcode::makeCalibrationQIECoder(), XMLDocument::makeChId(), CastorDbHardcode::makeGain(), CastorDbHardcode::makeGainWidth(), CastorDbHardcode::makePedestal(), CastorDbHardcode::makePedestalWidth(), CastorDbHardcode::makeQIECoder(), CastorDbHardcode::makeRecoParam(), CastorDbHardcode::makeSaturationCorr(), TrajectoryManager::makeSinglePSimHit(), HcalElectronicsMap::mapEId2chId(), CastorElectronicsMap::mapEId2chId(), CastorElectronicsMap::mapEId2tId(), HcalElectronicsMap::mapEId2tId(), MuonTrackResidualAnalyzer::mapMuSimHitsPerId(), MuonSeedOrcaPatternRecognition::markAsUsed(), TrackClusterSplitter::markClusters(), ecaldqm::MESet::maskMatches(), MuonSegmentMatcher::matchCSC(), MuonSegmentMatcher::matchDT(), SiTrackerGaussianSmearingRecHitConverter::matchHits(), GlobalTrackerMuonAlignment::muonFitter(), HcalGeometry::newCell(), EcalBarrelHardcodedTopology::north(), EcalEndcapHardcodedTopology::north(), EcalEndcapTopology::north(), EcalBarrelTopology::north(), EcalPreshowerTopology::north(), HcalTopology::north(), DTHVStatusHandler::offlineList(), EBDetId::offsetBy(), EEDetId::offsetBy(), DBSpecToDetUnit::operator()(), CastorDbASCIIIO::DetIdLess::operator()(), DetIdComparator::operator()(), DetIdSelector::operator()(), rpcrawtodigi::DebugDigisPrintout::operator()(), ME0DetId::operator<(), GEMDetId::operator<(), RPCDetId::operator<(), DTOccupancyPoint::operator<(), operator<<(), CaloTowerDetId::operator=(), HcalOtherDetId::operator=(), HcalDetId::operator=(), EcalTrigTowerDetId::operator=(), HcalZDCDetId::operator=(), HcalTrigTowerDetId::operator=(), EcalPnDiodeDetId::operator=(), HcalCalibDetId::operator=(), ESDetId::operator=(), HcalCastorDetId::operator=(), EcalScDetId::operator=(), HcalGenericDetId::otherSubdet(), PFPhotonClusters::PFCrystalCoor(), SiPixelDigitizerAlgorithm::pixel_aging(), SiPixelDigitizerAlgorithm::pixel_inefficiency(), CaloMiscalibMapHcal::prefillMap(), CaloMiscalibMapEcal::prefillMap(), CaloMiscalibMapEcal::print(), BaseCrystal::print(), SiStripQuality::printDetInfo(), sipixelobjects::PixelFEDLink::printForMap(), HcalHitRelabeller::process(), HcalSimpleReconstructor::process(), SeedClusterRemover::process(), HLTTrackClusterRemoverNew::process(), HITrackClusterRemover::process(), EcalFenixTcp::process_part2_barrel(), EcalFenixTcp::process_part2_endcap(), cscdqm::EventProcessor::processCSC(), MuonAlignmentFromReference::processMuonResidualsFromTrack(), HcalSimpleReconstructor::processUpgrade(), ShallowRechitClustersProducer::produce(), SiPixelFedCablingMapBuilder::produce(), CastorSimpleReconstructor::produce(), EcalTBWeightUncalibRecHitProducer::produce(), CSCDCCUnpacker::produce(), AlignmentPrescaler::produce(), MuonReSeeder::produce(), ZdcHitReconstructor::produce(), FakeTrackProducer< T >::produce(), SiClusterTranslator::produce(), TrackCandidateProducer::produce(), TrajectorySeedFromMuonProducer::produce(), HcalHitReconstructor::produce(), RPCRecHitProducer::produce(), RecHitCorrector::produce(), InterestingTrackEcalDetIdProducer::produce(), CastorTowerProducer::produce(), L2MuonSeedGenerator::produce(), ShallowGainCalibration::produce(), TrackClusterSplitter::produce(), TrackerToMuonPropagator::produce(), cms::CosmicTrackFinder::produce(), MuonSimHitProducer::produce(), reco::modules::CosmicTrackSplitter::produce(), TrajectorySeedProducer::produce(), SimHitShifter::produce(), SelectedElectronFEDListProducer< TEle, TCand >::produce(), 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(), ecaldqm::SummaryClient::producePlots(), CkfDebugger::pSimHit(), TSGForRoadSearch::pushTrajectorySeed(), edm::DataMixingSiPixelMCDigiWorker::putSiPixel(), edm::DataMixingSiStripMCDigiWorker::putSiStrip(), HcalMaterials::putValue(), LMap::impl::read(), DTSurvey::ReadChambers(), StoreEcalCondition::readEcalGainRatiosFromFile(), StoreEcalCondition::readEcalIntercalibConstantsFromFile(), StoreEcalCondition::readEcalIntercalibConstantsMCFromFile(), StoreEcalCondition::readEcalWeightXtalGroupsFromFile(), ecaldqm::StatusManager::readFromObj(), TkPixelMeasurementDet::recHits(), MuonDetLayerMeasurements::recHits(), CalorimetryManager::reconstructHCAL(), DTHVStatusHandler::recoverSnapshot(), helper::ClusterStorer::ClusterHitRecord< ClusterRefType >::rekey(), HcalHitRelabeller::relabel(), SiStripHistoryDQMService::returnDetComponent(), ResidualRefitting::ReturnSector(), ResidualRefitting::ReturnStation(), EcalRecHitWorkerSimple::run(), TrackInfoProducerAlgorithm::run(), MuonDTLocalMillepedeAlgorithm::run(), DigiSimLinkAlgorithm::run(), DTLocalTriggerEfficiencyTest::runClientDiagnostic(), DTLocalTriggerSynchTest::runClientDiagnostic(), DTTriggerEfficiencyTest::runClientDiagnostic(), DTLocalTriggerBaseTask::runDCCAnalysis(), DTLocalTriggerTask::runDCCAnalysis(), DTLocalTriggerBaseTask::runDDUAnalysis(), DTLocalTriggerTask::runDDUAnalysis(), ecaldqm::TrigPrimTask::runOnDigis(), ecaldqm::LedTask::runOnDigis(), ecaldqm::LaserTask::runOnDigis(), DTLocalTriggerTask::runSegmentAnalysis(), EcalSelectiveReadout::runSelectiveReadout0(), BaseTrackerRecHit::sameDetModule(), boost::serialization::save(), SiStripBadModuleGenerator::selectDetectors(), CSCTMBHeader::selfTest(), CSCEventData::selfTest(), DTHVStatusHandler::setChannelFlag(), CSCBaseElectronicsSim::setLayer(), MuonTrackCSCChamberResidual::setSegmentResidual(), GeomDet::setSurfaceDeformation(), HcalPulseShapes::shapeForReco(), CosmicMuonLinksProducer::sharedHits(), RPCSimTriv::simulate(), RPCSimSimple::simulate(), RPCSimParam::simulate(), RPCSimAverageNoiseEff::simulate(), RPCSimAverage::simulate(), RPCSimAsymmetricCls::simulate(), RPCSimAverageNoise::simulate(), RPCSimAverageNoiseEffCls::simulate(), RPCSimAverageNoiseEff::simulateNoise(), RPCSimAsymmetricCls::simulateNoise(), RPCSimAverageNoise::simulateNoise(), RPCSimAverageNoiseEffCls::simulateNoise(), GEMTrivialModel::simulateSignal(), GEMSimpleModel::simulateSignal(), SiStripTKNumbers::SiStripTKNumbers(), ctfseeding::HitExtractorSTRP::skipThis(), CRackTrajectoryBuilder::SortHits(), EcalEndcapHardcodedTopology::south(), EcalBarrelHardcodedTopology::south(), EcalEndcapTopology::south(), EcalPreshowerTopology::south(), EcalBarrelTopology::south(), HcalTopology::south(), ResidualRefitting::StoreTrackerRecHits(), SurveyResidual::SurveyResidual(), EBDetId::switchZSide(), EEDetId::switchZSide(), LutXml::test_access(), HcalLutManager::test_xml_access(), StripSubClusterShapeFilterBase::testLastHit(), CaloHitResponse::timeOfFlight(), FastTSGFromPropagation::trackerSeeds(), LaserDQM::trackerStatistics(), GlobalTrackerMuonAlignment::trackFitter(), TracktoRPC::TracktoRPC(), TrajectoryAtInvalidHit::TrajectoryAtInvalidHit(), SiStripMonitorTrack::trajectoryStudy(), ZdcTopology::transverse(), TrackerAlignableId::typeAndLayerFromDetId(), EcalPreshowerTopology::up(), ValidateGeometry::validateCSChamberGeometry(), ValidateGeometry::validateCSCLayerGeometry(), ValidateGeometry::validateDTChamberGeometry(), ValidateGeometry::validateDTLayerGeometry(), ValidateGeometry::validateRPCGeometry(), CaloGenericDetId::validDetId(), TracktoRPC::ValidRPCSurface(), EcalEndcapHardcodedTopology::west(), EcalBarrelHardcodedTopology::west(), EcalEndcapTopology::west(), EcalBarrelTopology::west(), EcalPreshowerTopology::west(), xuti::writeCell(), GlobalTrackerMuonAlignment::writeGlPosRcd(), EcalDccWeightBuilder::writeWeightToAsciiFile(), and ZDCLogicalMapEntry::ZDCLogicalMapEntry().

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

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

Definition at line 37 of file DetId.h.

References id_, and kSubdetOffset.

Referenced by SiPixelDetSummary::add(), SiStripDetSummary::add(), MuonTimingFiller::addEcalTime(), BetaCalculatorECAL::addInfoToCandidate(), FWTrackHitsDetailView::addModules(), FWConvTrackHitsDetailView::addModules(), HcalAmplifier::addPedestals(), SiStripHitEffFromCalibTree::algoAnalyze(), SiStripCalibLorentzAngle::algoBeginJob(), SiStripGainFromData::algoBeginJob(), SiStripGainFromCalibTree::algoBeginRun(), EcalSelectiveReadoutValidation::anaDigi(), EcalHitResponse::analogSignalAmplitude(), CkfDebugger::analyseRecHitExistance(), JetToDigiDump::analyze(), SiPixelDigiValid::analyze(), SiStripDigiValid::analyze(), SiStripQualityStatistics::analyze(), RPCRecHitValid::analyze(), AlignmentStats::analyze(), StandaloneTrackMonitor::analyze(), CaloTowersValidation::analyze(), CaloTowersAnalyzer::analyze(), SiPixelRecHitsValid::analyze(), ElectronStudy::analyze(), ElectronSeedAnalyzer::analyze(), DQMSourceEleCalib::analyze(), SiStripLAProfileBooker::analyze(), AnaL1CaloCleaner::analyze(), MuonAlignmentAnalyzer::analyze(), SiPixelHitEfficiencySource::analyze(), SiPixelDigiSource::analyze(), SiPixelTrackResidualSource::analyze(), SiPixelRawDataErrorSource::analyze(), DTChamberEfficiency::analyze(), SiPixelErrorEstimation::analyze(), ListIds::analyze(), SiPixelTrackingRecHitsValid::analyze(), TrackerGeometryIntoNtuples::analyze(), MuonAlignment::analyze(), SeedMultiplicityAnalyzer::analyze(), TrackerOfflineValidationSummary::analyze(), TrackerDpgAnalysis::analyze(), TrackerOfflineValidation::analyze(), SiStripTrackingRecHitsValid::analyze(), reco::modules::TrackerTrackHitFilter::Rule::apply(), TrackerSystematicMisalignments::applySystematicMisalignment(), EBDetId::approxEta(), CaloTowersCreationAlgo::assignHitEcal(), SegmentsTrackAssociator::associate(), TrackerHitAssociator::associateHitId(), TrackerHitAssociator::associatePixelRecHit(), TrackerHitAssociator::associateSimpleRecHitCluster(), TrackAssociatorByHitsImpl::associateSimToReco(), BaseCrystal::BaseCrystal(), HcalRawDataClient::beginRun(), SiStripLAProfileBooker::beginRun(), SiPixelHitEfficiencyModule::book(), SiPixelTrackResidualModule::book(), SiPixelRecHitModule::book(), SiPixelClusterModule::book(), SiPixelDigiModule::book(), HcalRawDataMonitor::bookHistograms(), TrackerOfflineValidation::bookSummaryHists(), CaloGeometryHelper::borderCrossing(), FWTracksModulesProxyBuilder::build(), CaloGeometryHelper::buildCrystal(), SiPixelDigiSource::buildStructure(), SiPixelRawDataErrorSource::buildStructure(), SiPixelRecHitSource::buildStructure(), SiPixelClusterSource::buildStructure(), HLTEcalResonanceFilter::calcShowerShape(), HLTRegionalEcalResonanceFilter::calcShowerShape(), PhotonIsolationCalculator::calculate(), PositionCalc::Calculate_Location(), GsfElectronAlgo::calculateShowerShape(), GsfElectronFull5x5Filler::calculateShowerShape_full5x5(), GsfElectronAlgo::calculateShowerShape_full5x5(), CaloPoint::CaloPoint(), CaloTowerDetId::CaloTowerDetId(), DTChamberEfficiency::chamberSelection(), EcalTrigTowerConstituentsMap::changeEEDetIdQuadrantAndZ(), spr::chargeIsolationEcal(), MuonGeometryArrange::checkChosen(), reco::modules::TrackerTrackHitFilter::checkHitAngle(), HitEff::checkLayer(), DTChamberId::checkMuonId(), SimpleCosmicBONSeeder::checkNoisyModules(), AlignmentTrackSelector::checkPrescaledHits(), MuonSeedSimpleCleaner::checkPt(), reco::modules::TrackerTrackHitFilter::checkPXLCorrClustCharge(), HcalDetDiagLEDMonitor::CheckStatus(), HcalDetDiagPedestalMonitor::CheckStatus(), HcalMonitorModule::CheckSubdetectorStatus(), HcalBaseDQMonitor::CheckSubdetectorStatus(), PhotonIsolationCalculator::classify(), EcalClusterSeverityLevelAlgo::closestProblematic(), EcalClusterToolsT< noZS >::cluster2ndMoments(), ResidualRefitting::CollectTrackHits(), StripSubClusterShapeSeedFilter::compatible(), PixelClusterShapeSeedComparitor::compatibleHit(), PixelHitMatcher::compatibleSeeds(), SiPixelHitEfficiencyModule::computeEfficiencies(), PixelThresholdClusterizer::copy_to_buffer(), EcalGlobalShowerContainmentCorrectionsVsEta::correction(), GsfElectronAlgo::createElectron(), TrackingLayer::createFromDetId(), SiStripLorentzAngleGenerator::createObject(), CosmicMuonSeedGenerator::createSeed(), EcalDccWeightBuilder::dbId(), EcalSelectiveReadoutValidation::dccCh(), ecaldqm::dccId(), spr::debugEcalDets(), AlignmentTrackSelector::detailedHitsCheck(), AlignableNavigator::detAndSubdetInMap(), SiStripBadComponentsDQMServiceReader::detIdToString(), SiStripDigitizerAlgorithm::digitize(), 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(), ecaldqm::MESetProjection::fill(), SiPixelHitEfficiencyModule::fill(), SiPixelTrackResidualModule::fill(), SiPixelRawDataErrorModule::fill(), SiPixelRecHitModule::fill(), SiPixelClusterModule::fill(), SiPixelDigiModule::fill(), egHLT::OffHelper::fillClusShapeData(), MuonCaloCleanerByDistance::fillEnergyDepositMap(), SiStripQualityDQM::fillGrandSummaryMEs(), TrackerValidationVariables::fillHitQuantities(), MuonShowerInformationFiller::fillHitsByStation(), MatrixFillMap::fillMap(), MuonAlignmentFromReference::fillNtuple(), HcalDetDiagLaserMonitor::fillProblems(), 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(), ecaldqm::binning::findBinCrystal_(), ecaldqm::binning::findBinSuperCrystal_(), ecaldqm::binning::findBinTriggerTower_(), spr::findDetIdCalo(), EcalCoder::findGains(), SiPixelInformationExtractor::findNoisyPixels(), EcalCoder::findPedestal(), ecaldqm::binning::findPlotIndex(), HcalPacker::findSamples(), KFTrajectoryFitter::fitOne(), EcalCoder::fullScaleEnergy(), EcalSignalGenerator< EEDigitizerTraits >::fullScaleEnergy(), GEMDetId::GEMDetId(), HcalGenericDetId::genericSubdet(), SiStripCablingDQM::getActiveDetIds(), ecaldqm::MESetProjection::getBinContent(), ecaldqm::MESetProjection::getBinEntries(), ecaldqm::MESetProjection::getBinError(), CaloGeometryHelper::getClosestCell(), getDetLayer(), L2TauIsolationProducer::getECALHits(), SiStripCorrelateBadStripAndNoise::getHistos(), SiStripPlotGain::getHistos(), SiStripCorrelateNoise::getHistos(), TrackerOfflineValidation::getHistStructFromMap(), DetNaming::getKey(), TestMuonCaloCleaner::getKey(), AnaMuonCaloCleaner::getKey(), getKey(), EcalLaserDbService::getLaserCorrection(), SiStripLAProfileBooker::getlayer(), QuickTrackAssociatorByHitsImpl::getMatchedClusters(), QuickTrackAssociatorByHits::getMatchedClusters(), MuonAssociatorByHitsHelper::getMatchedIds(), CaloGeometryHelper::getNeighbours(), SiStripGainCosmicCalculator::getNewObject(), EcalClusterToolsT< noZS >::getNrCrysDiffInEta(), EcalClusterToolsT< noZS >::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(), CastorCondObjectContainer< Item >::getValues(), HcalCovarianceMatrices::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(), PFHBHERecHitCreator::importRecHits(), PFHcalRecHitCreator< Digi, Geometry, Layer, Detector >::importRecHits(), PFHBHERecHitCreatorMaxSample::importRecHits(), HcalCondObjectContainerBase::indexFor(), TrajectorySeedHitCandidate::init(), HcalCovarianceMatrices::initContainer(), HcalCholeskyMatrices::initContainer(), HcalCondObjectContainer< Item >::initContainer(), RPCCompDetId::initGas(), SiStripDCSStatus::initialise(), edm::DataMixingSiStripMCDigiWorker::initializeEvent(), MeasurementTrackerImpl::initStMeasurementConditionSet(), ESCondObjectContainer< ESStripGroupId >::insert(), EcalRecHitWorkerRecover::insertRecHit(), EcalDccWeightBuilder::intercalib(), CheckHitPattern::interpretDetId(), PFCheckHitPattern::interpretDetId(), CaloGenericDetId::isCaloTower(), CaloGenericDetId::isCastor(), TrackCleaner::isCompatible(), SeedMergerPixelLayer::isContainsDetector(), ecaldqm::isCrystalId(), HitEff::isDoubleSided(), TrajectoryAtInvalidHit::isDoubleSided(), CaloGenericDetId::isEB(), ecaldqm::isEcalScDetId(), CaloGenericDetId::isEE(), ecaldqm::isEndcapTTId(), CaloGenericDetId::isES(), ecaldqm::isForward(), ecaldqm::isSingleChannelId(), reco::HitPattern::isStereo(), CaloGenericDetId::isZDC(), EcalClusterToolsT< noZS >::localCovariances(), ecaldqm::MESet::maskMatches(), MatchedHitRZCorrectionFromBending::MatchedHitRZCorrectionFromBending(), SiTrackerGaussianSmearingRecHitConverter::matchHits(), matchMuonDetId(), spr::matrixECALIds(), ME0DetId::ME0DetId(), EcalClusterToolsT< noZS >::mean5x5PositionInXY(), TrackMerger::merge(), CaloGeometryHelper::move(), PFECALHashNavigator::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=(), HcalDetId::operator=(), HcalOtherDetId::operator=(), EcalTrigTowerDetId::operator=(), HcalZDCDetId::operator=(), HcalTrigTowerDetId::operator=(), EcalPnDiodeDetId::operator=(), HcalCalibDetId::operator=(), ESDetId::operator=(), HcalCastorDetId::operator=(), EcalScDetId::operator=(), HcalGenericDetId::otherSubdet(), AlignmentParameterSelector::outsideDetIdRanges(), EcalSignalGenerator< EEDigitizerTraits >::peToAConversion(), reco::DeDxHitInfo::pixelCluster(), ecaldqm::pnForCrystal(), SiStripQuality::printDetInfo(), printMuonDetId(), QuadrupletSeedMerger::printNtuplet(), SeedClusterRemover::process(), HLTTrackClusterRemoverNew::process(), HITrackClusterRemover::process(), SiPixelFedCablingMapBuilder::produce(), AlignmentPrescaler::produce(), TkAlCaOverlapTagger::produce(), MuonReSeeder::produce(), TrackListMerger::produce(), HLTTrackClusterRemoverNew::produce(), SiClusterTranslator::produce(), InterestingDetIdFromSuperClusterProducer::produce(), InterestingDetIdCollectionProducer::produce(), InterestingTrackEcalDetIdProducer::produce(), HighPtTrackEcalDetIdProducer::produce(), TrackClusterSplitter::produce(), JetCrystalsAssociator::produce(), reco::modules::CosmicTrackSplitter::produce(), reco::modules::TrackerTrackHitFilter::produceFromTrajectory(), spr::propagateCALO(), spr::propagateCosmicCALO(), GsfTrackProducerBase::putInEvt(), MuonDetLayerMeasurements::recHits(), ResidualRefitting::ReturnSector(), ResidualRefitting::ReturnStation(), RPCCompDetId::RPCCompDetId(), RPCDetId::RPCDetId(), ecaldqm::rtHalf(), EcalRecHitWorkerSimple::run(), HIPAlignmentAlgorithm::run(), MuonDTLocalMillepedeAlgorithm::run(), DigiSimLinkAlgorithm::run(), HcalTriggerPrimitiveAlgo::runFEFormatError(), HcalDetDiagLEDMonitor::SaveReference(), HcalDetDiagPedestalMonitor::SaveReference(), HcalDetDiagLaserMonitor::SaveReference(), EcalClusterToolsT< noZS >::scLocalCovariances(), MuonSeedCleaner::SeedCandidates(), MuonPSimHitSelector::select(), SingleEleCalibSelector::select(), HITrackClusterRemover::sensorThickness(), siStripClusterTools::sensorThicknessInverse(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), ecaldqm::MESetProjection::setBinContent(), ecaldqm::MESetProjection::setBinEntries(), ecaldqm::MESetProjection::setBinError(), CreateSurveyRcds::setGeometry(), SiPixelFolderOrganizer::setModuleFolder(), EcalTBDigiProducer::setPhaseShift(), HcalTBDigiProducer::setPhaseShift(), GeomDet::setSurfaceDeformation(), CreateSurveyRcds::setSurveyErrors(), CaloHitRespoNew::setupSamples(), CSCRecHit2D::sharesInput(), EcalSimParameterMap::simParameters(), spr::simpleMove(), CaloGeometryHelper::simplemove(), SiStripTKNumbers::SiStripTKNumbers(), HcalCondObjectContainerBase::sizeFor(), TrackTransformerForCosmicMuons::SlopeSum(), SETSeedFinder::sortByLayer(), CastorDigiProducer::sortHits(), DynamicTruncation::stationfromDet(), PFECALHashNavigator::stdsimplemove(), ResidualRefitting::StoreTrackerRecHits(), reco::DeDxHitInfo::stripCluster(), APVShot::subDet(), HcalDetId::subdet(), HcalTrigTowerDetId::subdet(), ESDetId::subdet(), EcalScDetId::subdet(), SiStripNoisesGenerator::subDetAndLayer(), SiStripNoiseNormalizedWithApvGainBuilder::subDetAndLayer(), SiStripApvGainBuilderFromTag::subDetAndLayer(), SiStripDetId::subDetector(), TrackTransformerForCosmicMuons::SumDy(), EBDetId::switchZSide(), EEDetId::switchZSide(), ecaldqm::tccId(), StripSubClusterShapeFilterBase::testLastHit(), StripSubClusterShapeTrajectoryFilter::testLastHit(), HcalHitCorrection::timeOfFlight(), CastorHitCorrection::timeOfFlight(), ecaldqm::towerId(), LaserDQM::trackerStatistics(), ExhaustiveMuonTrajectoryBuilder::trajectories(), KFTrajectorySmoother::trajectory(), TrajectoryAtInvalidHit::TrajectoryAtInvalidHit(), TrackTransformerForCosmicMuons::transform(), SiPixelOfflineCalibAnalysisBase::translateDetIdToString(), ecaldqm::ttId(), TrackerAlignableId::typeAndLayerFromDetId(), HcalUnpacker::unpack(), HcalRawDataMonitor::unpack(), HcalUnpacker::unpackUTCA(), HcalUnpacker::unpackVME(), CaloSpecificAlgo::update_EmEtInEB_EmEtInEE(), CalorimetryManager::updateHCAL(), EcalSampleMask::useSample(), FWEcalRecHitProxyBuilder::viewContextBoxScale(), EcalTrigTowerConstituentsMap::wrapEcalTrigTowerDetId(), EcalTrigTowerConstituentsMap::wrapEEDetId(), xuti::writeCell(), and ecaldqm::zside().

37 { return ((id_>>kSubdetOffset)&0x7); }
static const int kSubdetOffset
Definition: DetId.h:21
uint32_t id_
Definition: DetId.h:55

Member Data Documentation

uint32_t DetId::id_
protected

Definition at line 55 of file DetId.h.

Referenced by PXFDetId::blade(), HcalCastorDetId::buildMe(), HcalCalibDetId::calibFlavor(), CaloGenericDetId::CaloGenericDetId(), CaloTowerDetId::CaloTowerDetId(), HcalCalibDetId::cboxChannel(), ME0DetId::chamber(), GEMDetId::chamber(), CSCDetId::chamber(), DTSuperLayerId::chamberId(), CSCDetId::chamberId(), ME0DetId::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(), EcalTrigTowerDetId::ietaAbs(), HcalTrigTowerDetId::ietaAbs(), EBDetId::ietaAbs(), ME0DetId::init(), RPCCompDetId::init(), GEMDetId::init(), RPCDetId::init(), CaloTowerDetId::iphi(), HcalDetId::iphi(), L1CaloRegionDetId::iphi(), HcalTrigTowerDetId::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(), ME0DetId::layer(), DTLayerId::layer(), RPCCompDetId::layer(), GEMDetId::layer(), CSCDetId::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=(), HcalOtherDetId::operator=(), HcalDetId::operator=(), EcalTrigTowerDetId::operator=(), HcalZDCDetId::operator=(), HcalTrigTowerDetId::operator=(), EcalPnDiodeDetId::operator=(), EBDetId::operator=(), HcalCalibDetId::operator=(), ESDetId::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(), ME0DetId::region(), RPCCompDetId::region(), GEMDetId::region(), RPCDetId::region(), SiStripDetId::reserved(), HcalDcsDetId::ring(), RPCCompDetId::ring(), TIDDetId::ring(), GEMDetId::ring(), TECDetId::ring(), RPCDetId::ring(), CSCDetId::ring(), TOBDetId::rodNumber(), ME0DetId::roll(), GEMDetId::roll(), RPCDetId::roll(), HcalZDCDetId::section(), RPCCompDetId::sector(), DTChamberId::sector(), HcalCastorDetId::sector(), RPCDetId::sector(), HcalTrigTowerDetId::setVersion(), PXFDetId::side(), TIDDetId::side(), TECDetId::side(), TOBDetId::side(), TIBDetId::side(), SiStripDetId::SiStripDetId(), ESDetId::six(), ESDetId::siy(), HcalDcsDetId::slice(), RPCCompDetId::station(), DTChamberId::station(), GEMDetId::station(), RPCDetId::station(), CSCDetId::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(), HcalTrigTowerDetId::version(), DTChamberId::wheel(), TIDDetId::wheel(), TECDetId::wheel(), DTWireId::wire(), CaloTowerDetId::zside(), HcalDetId::zside(), EcalTrigTowerDetId::zside(), HcalZDCDetId::zside(), HcalTrigTowerDetId::zside(), ESDetId::zside(), HcalDcsDetId::zside(), EBDetId::zside(), HcalCastorDetId::zside(), HcalCalibDetId::zside(), EcalScDetId::zside(), and EEDetId::zside().

const int DetId::kDetOffset = 28
static

Definition at line 20 of file DetId.h.

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

const int DetId::kSubdetOffset = 25
static

Definition at line 21 of file DetId.h.

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