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 HcalCastorDetId HcalDetId HcalGenericDetId HcalOtherDetId HcalTrigTowerDetId HcalZDCDetId L1CaloRegionDetId PXBDetId PXFDetId RPCCompDetId RPCDetId SiStripDetId StripSubdetector

Public Types

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

Public Member Functions

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

Static Public Attributes

static const int kDetOffset = 28
 
static const int kSubdetOffset = 25
 

Protected Attributes

uint32_t id_
 

Detailed Description

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

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

Definition at line 20 of file DetId.h.

Member Enumeration Documentation

Enumerator
Tracker 
Muon 
Ecal 
Hcal 
Calo 

Definition at line 26 of file DetId.h.

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

Constructor & Destructor Documentation

DetId::DetId ( )
inline

Create an empty or null id (also for persistence)

Definition at line 28 of file DetId.h.

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

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

Create an id from a raw number.

Definition at line 30 of file DetId.h.

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

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

Definition at line 32 of file DetId.h.

References id_.

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

Member Function Documentation

Detector DetId::det ( ) const
inline

get the detector field from this detid

Definition at line 37 of file DetId.h.

References id_, and kDetOffset.

Referenced by FWConvTrackHitsDetailView::addModules(), FWTrackHitsDetailView::addModules(), JetToDigiDump::analyze(), RPCRecHitValid::analyze(), CaloTowersAnalyzer::analyze(), CaloTowersValidation::analyze(), DQMSourceEleCalib::analyze(), ElectronSeedAnalyzer::analyze(), SiPixelTrackResidualSource::analyze(), DTChamberEfficiency::analyze(), ListIds::analyze(), TrackerOfflineValidationSummary::analyze(), CaloTowersCreationAlgo::assignHit(), SegmentsTrackAssociator::associate(), MuonAssociatorByHits::associateSimToRecoIndices(), HcalRawDataClient::beginRun(), HcalRawDataMonitor::beginRun(), MuonTransientTrackingRecHitBuilder::build(), FWTracksModulesProxyBuilder::build(), 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(), AlignableNavigator::detAndSubdetInMap(), RingMaker::determineExtensions(), InvRingCalib::duringLoop(), EcalEleCalibLooper::duringLoop(), EBDetId::EBDetId(), EBHitResponse::EBHitResponse(), EcalPnDiodeDetId::EcalPnDiodeDetId(), EcalScDetId::EcalScDetId(), EcalTrigTowerDetId::EcalTrigTowerDetId(), EEDetId::EEDetId(), EEHitResponse::EEHitResponse(), ESDetId::ESDetId(), ESHitResponse::ESHitResponse(), HITrackingRegionProducer::estimateMultiplicity(), EcalClusterSeverityLevelAlgo::etaphiDistanceClosestProblematic(), TrackQuality::evaluate(), MuonSimHitsValidAnalyzer::fillCSC(), MuonSimHitsValidAnalyzer::fillDT(), GlobalHitsAnalyzer::fillECal(), GlobalHitsProdHist::fillECal(), GlobalHitsProducer::fillECal(), GlobalHitsAnalyzer::fillHCal(), GlobalHitsProdHist::fillHCal(), GlobalHitsProducer::fillHCal(), HcalDetDiagLEDMonitor::fillHistos(), MuonShowerInformationFiller::fillHitsByStation(), GlobalHitsAnalyzer::fillMuon(), GlobalHitsProdHist::fillMuon(), GlobalHitsProducer::fillMuon(), MuonAlignmentFromReference::fillNtuple(), HcalDetDiagLaserMonitor::fillProblems(), MuonSimHitsValidAnalyzer::fillRPC(), MuonGeometryArrange::fillTree(), GlobalHitsAnalyzer::fillTrk(), GlobalHitsProdHist::fillTrk(), GlobalHitsProducer::fillTrk(), DynamicTruncation::filter(), spr::findDetIdCalo(), CastorPacker::findSamples(), CastorCtdcPacker::findSamples(), HcalPacker::findSamples(), KFTrajectoryFitter::fit(), HcalGenericDetId::genericSubdet(), TCTauAlgorithm::getClusterEnergy(), getDetLayer(), L2TauIsolationProducer::getECALHits(), TrackerOfflineValidation::getHistStructFromMap(), EcalLaserDbService::getLaserCorrection(), MuonAssociatorByHits::getMatchedIds(), SiStripGainFromAsciiFile::getNewObject(), JetMatchingTools::getPCaloHits(), CaloTowersCreationAlgo::getThresholdAndWeight(), TrackTransformerForGlobalCosmicMuons::getTransientRecHits(), GlobalCosmicMuonTrajectoryBuilder::getTransientRecHits(), TrackTransformerForCosmicMuons::getTransientRecHits(), GlobalTrajectoryBuilderBase::getTransientRecHits(), HcalCalibDetId::HcalCalibDetId(), HcalCastorDetId::HcalCastorDetId(), HcalDetId::HcalDetId(), HcalOtherDetId::HcalOtherDetId(), HcalTrigTowerDetId::HcalTrigTowerDetId(), HcalZDCDetId::HcalZDCDetId(), GlobalDetLayerGeometry::idToLayer(), SiStripHashedDetId::init(), RPCCompDetId::initGas(), CaloGenericDetId::isCalo(), CaloGenericDetId::isEcal(), CaloGenericDetId::isHcal(), ClusterSummary::ModuleSelection::IsPixelSelected(), reco::HitPattern::isStereo(), TrackingTruthProducer::LayerFromDetid(), MuonAssociatorByHits::LayerFromDetid(), muonisolation::CaloExtractorByAssociator::noiseRecHit(), EBDetId::offsetBy(), EEDetId::offsetBy(), DetIdTIBSameLayerComparator::operator()(), DetIdTOBSameLayerComparator::operator()(), DetIdPXBSameLayerComparator::operator()(), DetIdPXFSameDiskComparator::operator()(), DetIdTECSameDiskComparator::operator()(), DetIdTIDSameDiskComparator::operator()(), operator<<(), CaloTowerDetId::operator=(), ESDetId::operator=(), HcalDetId::operator=(), HcalOtherDetId::operator=(), EcalTrigTowerDetId::operator=(), HcalTrigTowerDetId::operator=(), HcalZDCDetId::operator=(), EBDetId::operator=(), EcalPnDiodeDetId::operator=(), HcalCalibDetId::operator=(), HcalCastorDetId::operator=(), EEDetId::operator=(), EcalScDetId::operator=(), InterestingDetIdCollectionProducer::produce(), JetCrystalsAssociator::produce(), reco::modules::CosmicTrackSplitter::produce(), MuonDetLayerMeasurements::recHits(), CaloTowersCreationAlgo::rescale(), CaloTowersCreationAlgo::rescaleTowers(), ResidualRefitting::ReturnSector(), ResidualRefitting::ReturnStation(), RPCCompDetId::RPCCompDetId(), RPCDetId::RPCDetId(), MuonDTLocalMillepedeAlgorithm::run(), HcalTriggerPrimitiveAlgo::runFEFormatError(), HcalDetDiagLEDMonitor::SaveReference(), HcalDetDiagPedestalMonitor::SaveReference(), HcalDetDiagLaserMonitor::SaveReference(), MuonPSimHitSelector::select(), EcalMipGraphs::selectDigi(), EcalDisplaysByEvent::selectDigi(), GeomDetUnit::setSurfaceDeformation(), CaloHitRespoNew::setupSamples(), CosmicMuonLinksProducer::sharedHits(), TrackTransformerForCosmicMuons::SlopeSum(), CastorDigiProducer::sortHits(), ResidualRefitting::StoreTrackerRecHits(), SiStripDetId::subDetector(), TrackTransformerForCosmicMuons::SumDy(), EBDetId::switchZSide(), EEDetId::switchZSide(), CastorHitCorrection::timeOfFlight(), HcalHitCorrection::timeOfFlight(), EgammaHadTower::towerOf(), TrackingParticle::trackPSimHit(), KFTrajectorySmoother::trajectories(), ResidualRefitting::trkExtrap(), HcalUnpacker::unpack(), EcalTrigTowerConstituentsMap::wrapEcalTrigTowerDetId(), and EcalTrigTowerConstituentsMap::wrapEEDetId().

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

is this a null id ?

Definition at line 47 of file DetId.h.

References id_.

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

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

Definition at line 42 of file DetId.h.

References id_.

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

inequality

Definition at line 52 of file DetId.h.

References id_.

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

Definition at line 41 of file DetId.h.

References id_.

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

comparison

Definition at line 54 of file DetId.h.

References id_.

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

equality

Definition at line 50 of file DetId.h.

References id_.

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

get the raw id

Definition at line 45 of file DetId.h.

References id_.

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

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

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

Definition at line 39 of file DetId.h.

References id_, and kSubdetOffset.

Referenced by SiPixelDetSummary::add(), SiStripDetSummary::add(), MuonTimingFiller::addEcalTime(), BetaCalculatorECAL::addInfoToCandidate(), FWConvTrackHitsDetailView::addModules(), FWTrackHitsDetailView::addModules(), SiStripHitEffFromCalibTree::algoAnalyze(), DeDxDiscriminatorLearner::algoBeginJob(), DeDxDiscriminatorLearnerFromCalibTree::algoBeginJob(), SiStripCalibLorentzAngle::algoBeginJob(), SiStripGainFromData::algoBeginJob(), SiStripGainFromCalibTree::algoBeginJob(), EcalSelectiveReadoutValidation::anaDigi(), CkfDebugger::analyseRecHitExistance(), JetToDigiDump::analyze(), RPCRecHitValid::analyze(), SiPixelDigiValid::analyze(), SiStripQualityStatistics::analyze(), SiStripDigiValid::analyze(), AlignmentStats::analyze(), CaloTowersAnalyzer::analyze(), CaloTowersValidation::analyze(), DQMSourceEleCalib::analyze(), SiPixelLorentzAngleDB::analyze(), ElectronStudy::analyze(), SiStripLAProfileBooker::analyze(), ElectronSeedAnalyzer::analyze(), SiPixelHitEfficiencySource::analyze(), SiPixelTrackResidualSource::analyze(), MuonAlignmentAnalyzer::analyze(), SiPixelDigiSource::analyze(), SiPixelRawDataErrorSource::analyze(), SiPixelRecHitsValid::analyze(), SiStripRecHitsValid::analyze(), DTChamberEfficiency::analyze(), SiPixelErrorEstimation::analyze(), SiStripTrackingRecHitsValid::analyze(), ListIds::analyze(), SiPixelTrackingRecHitsValid::analyze(), TrackerGeometryIntoNtuples::analyze(), MuonAlignment::analyze(), SiPixelMuonHLT::analyze(), TrackerOfflineValidationSummary::analyze(), TrackerDpgAnalysis::analyze(), TrackerOfflineValidation::analyze(), reco::modules::TrackerTrackHitFilter::Rule::apply(), TrackerSystematicMisalignments::applySystematicMisalignment(), EBDetId::approxEta(), CaloTowersCreationAlgo::assignHit(), SegmentsTrackAssociator::associate(), TrackerHitAssociator::associateHit(), TrackerHitAssociator::associateHitId(), TrackAssociatorByHits::associateSimToReco(), MuonAssociatorByHits::associateSimToRecoIndices(), BaseCrystal::BaseCrystal(), ggPFClusters::BasicClusterPFCandLink(), HcalRawDataClient::beginRun(), SiStripLAProfileBooker::beginRun(), HcalRawDataMonitor::beginRun(), DeDxDiscriminatorProducer::beginRun(), SiPixelHitEfficiencyModule::book(), SiPixelTrackResidualModule::book(), AlignmentMonitorGeneric::book(), SiPixelRecHitModule::book(), SiPixelDigiModule::book(), SiPixelClusterModule::book(), TrackerOfflineValidation::bookSummaryHists(), CaloGeometryHelper::borderCrossing(), FWTracksModulesProxyBuilder::build(), CaloGeometryHelper::buildCrystal(), SiPixelDigiSource::buildStructure(), SiPixelRawDataErrorSource::buildStructure(), SiPixelRecHitSource::buildStructure(), SiPixelClusterSource::buildStructure(), HLTEcalResonanceFilter::calcShowerShape(), PhotonIsolationCalculator::calculate(), PositionCalc::Calculate_Location(), GsfElectronAlgo::calculateShowerShape(), CaloPoint::CaloPoint(), CaloTowerDetId::CaloTowerDetId(), CaloRecHitCandidateProducer::cellTresholdAndWeight(), DTChamberEfficiency::chamberSelection(), EcalTrigTowerConstituentsMap::changeEEDetIdQuadrantAndZ(), spr::chargeIsolationEcal(), MuonGeometryArrange::checkChosen(), HitEff::checkLayer(), DTChamberId::checkMuonId(), SimpleCosmicBONSeeder::checkNoisyModules(), AlignmentTrackSelector::checkPrescaledHits(), MuonSeedSimpleCleaner::checkPt(), HcalDetDiagLEDMonitor::CheckStatus(), HcalDetDiagPedestalMonitor::CheckStatus(), HcalMonitorModule::CheckSubdetectorStatus(), PhotonIsolationCalculator::classify(), EcalClusterSeverityLevelAlgo::closestProblematic(), cms::clusterProduct(), ggPFClusters::ClusterWidth(), ResidualRefitting::CollectTrackHits(), PixelClusterShapeSeedComparitor::compatibleHit(), PixelHitMatcher::compatibleSeeds(), SiPixelHitEfficiencyModule::computeEfficiencies(), EcalGlobalShowerContainmentCorrectionsVsEta::correction(), GsfElectronAlgo::createElectron(), SiStripLorentzAngleGenerator::createObject(), PFRecHitProducerHO::createRecHits(), PFRecHitProducerECAL::createRecHits(), CSCDetId::CSCDetId(), EcalDccWeightBuilder::dbId(), EcalSelectiveReadoutValidation::dccCh(), ecaldqm::dccId(), EBSelectiveReadoutTask::dccNum(), EESelectiveReadoutTask::dccNum(), EESelectiveReadoutTask::dccNumOfRU(), spr::debugEcalDets(), AlignmentTrackSelector::detailedHitsCheck(), AlignableNavigator::detAndSubdetInMap(), RoadSearchDetIdHelper::detIdsOnSameLayer(), RoadSearchSeedFinderAlgorithm::detIdsOnSameLayer(), SiStripBadComponentsDQMServiceReader::detIdToString(), SiPixelDigitizerAlgorithm::digitize(), SiPixelDigitizerAlgorithm::DriftDirection(), EBDetId::EBDetId(), EBHitResponse::EBHitResponse(), EcalPnDiodeDetId::EcalPnDiodeDetId(), EcalScDetId::EcalScDetId(), EcalTrigTowerDetId::EcalTrigTowerDetId(), EEDetId::EEDetId(), EEHitResponse::EEHitResponse(), AlignmentStats::endJob(), ElectronCalibrationUniv::endJob(), ErrorChecker::errorDetId(), ESDetId::ESDetId(), ESHitResponse::ESHitResponse(), HITrackingRegionProducer::estimateMultiplicity(), EcalClusterSeverityLevelAlgo::etaphiDistanceClosestProblematic(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), spr::extraIds(), SiPixelHitEfficiencyModule::fill(), SiPixelTrackResidualModule::fill(), SiPixelRawDataErrorModule::fill(), SiPixelRecHitModule::fill(), SiPixelClusterModule::fill(), SiPixelDigiModule::fill(), egHLT::OffHelper::fillClusShapeData(), SiStripQualityDQM::fillGrandSummaryMEs(), TrackerValidationVariables::fillHitQuantities(), MuonShowerInformationFiller::fillHitsByStation(), MatrixFillMap::fillMap(), MuonAlignmentFromReference::fillNtuple(), StripCPE::fillParams(), HcalDetDiagLaserMonitor::fillProblems(), ecaldqm::DQWorkerClient::fillQuality_(), MillePedeMonitor::fillResiduals(), MillePedeMonitor::fillTrack(), MuonGeometryArrange::fillTree(), TrackerGeometryCompare::fillTree(), TrackerOfflineValidationSummary::fillTree(), TrackerOfflineValidation::fillTree(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), cms::ClusterMTCCFilter::filter(), cms::TECClusterFilter::filter(), FilterScrapingPixelProbability::filter(), EcalDQMBinningService::findBinsCrystal_(), EcalDQMBinningService::findBinsProjEta_(), EcalDQMBinningService::findBinsProjPhi_(), EcalDQMBinningService::findBinsSuperCrystal_(), EcalDQMBinningService::findBinsTriggerTower_(), spr::findDetIdCalo(), EcalCoder::findGains(), SiPixelInformationExtractor::findNoisyPixels(), EcalCoder::findPedestal(), HcalPacker::findSamples(), KFTrajectoryFitter::fit(), EcalCoder::fullScaleEnergy(), 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(), ggPFClusters::getPFClusters(), ggPFClusters::getPFSuperclusterOverlap(), PrintRecoObjects::getString(), SiStripUtility::getSubDetectorTag(), SiStripHistoId::getSubdetid(), SiStripSubStructure::getTECDetectors(), CaloTowersCreationAlgo::getThresholdAndWeight(), SiStripSubStructure::getTIBDetectors(), SiStripSubStructure::getTIDDetectors(), SiStripSubStructure::getTOBDetectors(), TrackTransformerForGlobalCosmicMuons::getTransientRecHits(), TrackTransformerForCosmicMuons::getTransientRecHits(), 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(), StMeasurementDetSet::init(), TrackerRecHit::init(), RPCCompDetId::initGas(), SiStripDCSStatus::initialise(), EcalRecHitWorkerRecover::insertRecHit(), EcalDccWeightBuilder::intercalib(), CheckHitPattern::interpretDetId(), PFCheckHitPattern::interpretDetId(), CaloGenericDetId::isCaloTower(), CaloGenericDetId::isCastor(), TrackCleaner::isCompatible(), TrajectoryAtInvalidHit::isDoubleSided(), HitEff::isDoubleSided(), CaloGenericDetId::isEB(), ecaldqm::isEcalScDetId(), CaloGenericDetId::isEE(), CaloGenericDetId::isES(), CaloGenericDetId::isHB(), CaloGenericDetId::isHE(), CaloGenericDetId::isHF(), CaloGenericDetId::isHO(), ClusterSummary::ModuleSelection::IsPixelSelected(), reco::HitPattern::isStereo(), CaloGenericDetId::isZDC(), reco::modules::TrackerTrackHitFilter::Rule::layer(), TrackingTruthProducer::LayerFromDetid(), TrackAssociatorByHits::LayerFromDetid(), MuonAssociatorByHits::LayerFromDetid(), EcalClusterTools::localCovariances(), ggPFClusters::LocalEnergyCorrection(), MatchedHitRZCorrectionFromBending::MatchedHitRZCorrectionFromBending(), SiTrackerGaussianSmearingRecHitConverter::matchHits(), spr::matrixECALIds(), EcalClusterTools::mean5x5PositionInXY(), SiPixelDigitizerAlgorithm::missCalibrate(), CaloGeometryHelper::move(), PFRecHitProducerECAL::move(), CkfDebugger::nextCorrectHits(), SiStripTKNumbers::nfibres(), SiPixelTrackResidualModule::nfill(), SiPixelRecHitModule::nfill(), SiStripTKNumbers::nmodules(), muonisolation::CaloExtractorByAssociator::noiseRecHit(), MuonSeedCleaner::NRecHitsFromSegment(), EBDetId::offsetBy(), EEDetId::offsetBy(), HitComparatorByRadius::operator()(), DetIdTIBSameLayerComparator::operator()(), DetIdTOBSameLayerComparator::operator()(), DetIdPXBSameLayerComparator::operator()(), DetIdPXFSameDiskComparator::operator()(), DetIdTECSameDiskComparator::operator()(), DetIdTIDSameDiskComparator::operator()(), operator<<(), CaloTowerDetId::operator=(), ESDetId::operator=(), HcalDetId::operator=(), HcalOtherDetId::operator=(), EcalTrigTowerDetId::operator=(), HcalTrigTowerDetId::operator=(), HcalZDCDetId::operator=(), EBDetId::operator=(), EcalPnDiodeDetId::operator=(), HcalCalibDetId::operator=(), HcalCastorDetId::operator=(), EEDetId::operator=(), EcalScDetId::operator=(), HcalGenericDetId::otherSubdet(), AlignmentParameterSelector::outsideDetIdRanges(), SiPixelDigitizerAlgorithm::pixel_inefficiency(), SiStripQuality::printDetInfo(), HLTTrackClusterRemover::process(), TrackClusterRemover::process(), SeedClusterRemover::process(), SiPixelFedCablingMapBuilder::produce(), AlignmentPrescaler::produce(), TkAlCaOverlapTagger::produce(), SiClusterTranslator::produce(), cms::SiPixelDigitizer::produce(), InterestingDetIdCollectionProducer::produce(), InterestingTrackEcalDetIdProducer::produce(), HighPtTrackEcalDetIdProducer::produce(), pat::PATElectronProducer::produce(), EcalRawToRecHitProducer::produce(), TrackClusterSplitter::produce(), JetCrystalsAssociator::produce(), reco::modules::CosmicTrackSplitter::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(), EcalRecHitWorkerSimple::run(), RoadSearchHelixMakerAlgorithm::run(), HIPAlignmentAlgorithm::run(), MuonDTLocalMillepedeAlgorithm::run(), SiStripDigitizerAlgorithm::run(), HcalTriggerPrimitiveAlgo::runFEFormatError(), HcalDetDiagLEDMonitor::SaveReference(), HcalDetDiagPedestalMonitor::SaveReference(), HcalDetDiagLaserMonitor::SaveReference(), EcalClusterTools::scLocalCovariances(), MuonSeedCleaner::SeedCandidates(), SeedFromGenericPairOrTriplet::seedFromTriplet(), MuonPSimHitSelector::select(), SingleEleCalibSelector::select(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), SiPixelFolderOrganizer::setModuleFolder(), EcalTBDigiProducer::setPhaseShift(), HcalTBDigiProducer::setPhaseShift(), GeomDetUnit::setSurfaceDeformation(), TrackingTruthProducer::setTrackingParticle(), CaloHitRespoNew::setupSamples(), CSCRecHit2D::sharesInput(), EcalSimParameterMap::simParameters(), spr::simpleMove(), CaloGeometryHelper::simplemove(), SiStripTKNumbers::SiStripTKNumbers(), TrackTransformerForCosmicMuons::SlopeSum(), SETSeedFinder::sortByLayer(), CastorDigiProducer::sortHits(), PFRecHitProducerHO::stdsimplemove(), PFRecHitProducerECAL::stdsimplemove(), ResidualRefitting::StoreTrackerRecHits(), APVShot::subDet(), ESDetId::subdet(), HcalDetId::subdet(), HcalTrigTowerDetId::subdet(), EcalScDetId::subdet(), SiStripNoisesGenerator::subDetAndLayer(), SiStripNoiseNormalizedWithApvGainBuilder::subDetAndLayer(), SiStripApvGainBuilderFromTag::subDetAndLayer(), SiStripDetId::subDetector(), TrackTransformerForCosmicMuons::SumDy(), ggPFPhotons::SuperClusterSize(), EBDetId::switchZSide(), EEDetId::switchZSide(), ecaldqm::tccId(), CastorHitCorrection::timeOfFlight(), HcalHitCorrection::timeOfFlight(), ecaldqm::towerId(), LaserDQM::trackerStatistics(), ExhaustiveMuonTrajectoryBuilder::trajectories(), KFTrajectorySmoother::trajectories(), TrajectoryAtInvalidHit::TrajectoryAtInvalidHit(), TrackTransformerForCosmicMuons::transform(), SiPixelOfflineCalibAnalysisBase::translateDetIdToString(), ecaldqm::ttId(), TrackerAlignableId::typeAndLayerFromDetId(), HcalUnpacker::unpack(), HcalRawDataMonitor::unpack(), EcalSampleMask::useSample(), FWEcalRecHitProxyBuilder::viewContextBoxScale(), EcalTrigTowerConstituentsMap::wrapEcalTrigTowerDetId(), EcalTrigTowerConstituentsMap::wrapEEDetId(), and xuti::writeCell().

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

Member Data Documentation

uint32_t DetId::id_
protected

Definition at line 57 of file DetId.h.

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