#include <DetId.h>
Public Types | |
enum | Detector { Tracker = 1, Muon = 2, Ecal = 3, Hcal = 4, Calo = 5 } |
Public Member Functions | |
Detector | det () const |
get the detector field from this detid | |
DetId () | |
Create an empty or null id (also for persistence) | |
DetId (uint32_t id) | |
Create an id from a raw number. | |
DetId (Detector det, int subdet) | |
Create an id, filling the detector and subdetector fields as specified. | |
bool | null () const |
is this a null id ? | |
operator uint32_t () const | |
bool | operator!= (DetId id) const |
inequality | |
uint32_t | operator() () const |
bool | operator< (DetId id) const |
comparison | |
bool | operator== (DetId id) const |
equality | |
uint32_t | rawId () const |
get the raw id | |
int | subdetId () const |
get the contents of the subdetector field (not cast into any detector's numbering enum) | |
Static Public Attributes | |
static const int | kDetOffset = 28 |
static const int | kSubdetOffset = 25 |
Protected Attributes | |
uint32_t | id_ |
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).
enum DetId::Detector |
DetId::DetId | ( | ) | [inline] |
Create an empty or null id (also for persistence)
Definition at line 28 of file DetId.h.
Referenced by EEDetId::offsetBy(), EBDetId::offsetBy(), EEDetId::switchZSide(), and EBDetId::switchZSide().
: id_(0) { }
DetId::DetId | ( | uint32_t | id | ) | [inline] |
DetId::DetId | ( | Detector | det, |
int | subdet | ||
) | [inline] |
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(), SiPixelTrackResidualSource::analyze(), RPCRecHitValid::analyze(), CaloTowersValidation::analyze(), JetToDigiDump::analyze(), ElectronSeedAnalyzer::analyze(), DQMSourceEleCalib::analyze(), TrackerOfflineValidationSummary::analyze(), CaloTowersAnalyzer::analyze(), ListIds::analyze(), DTChamberEfficiency::analyze(), CaloTowersCreationAlgo::assignHit(), SegmentsTrackAssociator::associate(), MuonAssociatorByHits::associateSimToRecoIndices(), HcalRawDataMonitor::beginRun(), HcalRawDataClient::beginRun(), FWTracksModulesProxyBuilder::build(), MuonTransientTrackingRecHitBuilder::build(), 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(), EcalEleCalibLooper::duringLoop(), InvRingCalib::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(), GlobalHitsProducer::fillECal(), GlobalHitsProdHist::fillECal(), GlobalHitsAnalyzer::fillECal(), GlobalHitsAnalyzer::fillHCal(), GlobalHitsProducer::fillHCal(), GlobalHitsProdHist::fillHCal(), HcalDetDiagLEDMonitor::fillHistos(), MuonShowerInformationFiller::fillHitsByStation(), GlobalHitsProdHist::fillMuon(), GlobalHitsAnalyzer::fillMuon(), GlobalHitsProducer::fillMuon(), MuonAlignmentFromReference::fillNtuple(), HcalDetDiagLaserMonitor::fillProblems(), MuonSimHitsValidAnalyzer::fillRPC(), MuonGeometryArrange::fillTree(), GlobalHitsAnalyzer::fillTrk(), GlobalHitsProducer::fillTrk(), GlobalHitsProdHist::fillTrk(), DynamicTruncation::filter(), spr::findDetIdCalo(), CastorPacker::findSamples(), HcalPacker::findSamples(), CastorCtdcPacker::findSamples(), KFTrajectoryFitter::fit(), HcalGenericDetId::genericSubdet(), TCTauAlgorithm::getClusterEnergy(), getDetLayer(), L2TauIsolationProducer::getECALHits(), TrackerOfflineValidation::getHistStructFromMap(), EcalLaserDbService::getLaserCorrection(), MuonAssociatorByHits::getMatchedIds(), SiStripGainFromAsciiFile::getNewObject(), JetMatchingTools::getPCaloHits(), CaloTowersCreationAlgo::getThresholdAndWeight(), TrackTransformerForCosmicMuons::getTransientRecHits(), TrackTransformerForGlobalCosmicMuons::getTransientRecHits(), GlobalTrajectoryBuilderBase::getTransientRecHits(), GlobalCosmicMuonTrajectoryBuilder::getTransientRecHits(), 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(), MuonAssociatorByHits::LayerFromDetid(), TrackingTruthProducer::LayerFromDetid(), muonisolation::CaloExtractorByAssociator::noiseRecHit(), EEDetId::offsetBy(), EBDetId::offsetBy(), DetIdPXBSameLayerComparator::operator()(), DetIdTIDSameDiskComparator::operator()(), DetIdTOBSameLayerComparator::operator()(), DetIdTECSameDiskComparator::operator()(), DetIdPXFSameDiskComparator::operator()(), DetIdTIBSameLayerComparator::operator()(), operator<<(), HcalOtherDetId::operator=(), HcalTrigTowerDetId::operator=(), HcalZDCDetId::operator=(), EcalPnDiodeDetId::operator=(), HcalCastorDetId::operator=(), EcalScDetId::operator=(), EEDetId::operator=(), HcalDetId::operator=(), CaloTowerDetId::operator=(), EcalTrigTowerDetId::operator=(), HcalCalibDetId::operator=(), EBDetId::operator=(), ESDetId::operator=(), JetCrystalsAssociator::produce(), reco::modules::CosmicTrackSplitter::produce(), InterestingDetIdCollectionProducer::produce(), MuonDetLayerMeasurements::recHits(), CaloTowersCreationAlgo::rescale(), CaloTowersCreationAlgo::rescaleTowers(), ResidualRefitting::ReturnSector(), ResidualRefitting::ReturnStation(), RPCCompDetId::RPCCompDetId(), RPCDetId::RPCDetId(), MuonDTLocalMillepedeAlgorithm::run(), HcalTriggerPrimitiveAlgo::runFEFormatError(), HcalDetDiagPedestalMonitor::SaveReference(), HcalDetDiagLEDMonitor::SaveReference(), HcalDetDiagLaserMonitor::SaveReference(), MuonPSimHitSelector::select(), EcalMipGraphs::selectDigi(), EcalDisplaysByEvent::selectDigi(), GeomDetUnit::setSurfaceDeformation(), CaloHitRespoNew::setupSamples(), CosmicMuonLinksProducer::sharedHits(), TrackTransformerForCosmicMuons::SlopeSum(), CastorDigiProducer::sortHits(), ResidualRefitting::StoreTrackerRecHits(), SiStripDetId::subDetector(), TrackTransformerForCosmicMuons::SumDy(), EEDetId::switchZSide(), EBDetId::switchZSide(), HcalHitCorrection::timeOfFlight(), CastorHitCorrection::timeOfFlight(), EgammaHadTower::towerOf(), TrackingParticle::trackPSimHit(), KFTrajectorySmoother::trajectories(), ResidualRefitting::trkExtrap(), HcalUnpacker::unpack(), EcalTrigTowerConstituentsMap::wrapEcalTrigTowerDetId(), and EcalTrigTowerConstituentsMap::wrapEEDetId().
{ return Detector((id_>>kDetOffset)&0xF); }
bool DetId::null | ( | ) | const [inline] |
is this a null id ?
Definition at line 47 of file DetId.h.
References id_.
Referenced by EcalSimpleTBAnalyzer::analyze(), EcalSimple2007H4TBAnalyzer::analyze(), HcalLuttoDB::analyze(), CaloTowersCreationAlgo::assignHit(), HcalRawDataMonitor::beginRun(), HcalRawDataClient::beginRun(), PositionCalc::Calculate_Location(), CaloTowerDetId::CaloTowerDetId(), HcalMonitorModule::CheckSubdetectorStatus(), 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(), HcalTrigTowerDetId::operator=(), HcalZDCDetId::operator=(), EcalPnDiodeDetId::operator=(), HcalCastorDetId::operator=(), EcalScDetId::operator=(), EEDetId::operator=(), HcalDetId::operator=(), CaloTowerDetId::operator=(), EcalTrigTowerDetId::operator=(), HcalCalibDetId::operator=(), EBDetId::operator=(), ESDetId::operator=(), HcalPacker::pack(), InterestingDetIdCollectionProducer::produce(), CalorimetryManager::reconstructECAL(), CaloTowersCreationAlgo::rescale(), HcalTriggerPrimitiveAlgo::runFEFormatError(), SingleEleCalibSelector::select(), CaloTowerConstituentsMap::towerOf(), CastorUnpacker::unpack(), and HcalUnpacker::unpack().
{ return id_==0; }
DetId::operator uint32_t | ( | ) | const [inline] |
bool DetId::operator!= | ( | DetId | id | ) | const [inline] |
uint32_t DetId::operator() | ( | ) | const [inline] |
bool DetId::operator< | ( | DetId | id | ) | const [inline] |
bool DetId::operator== | ( | DetId | id | ) | const [inline] |
uint32_t DetId::rawId | ( | ) | const [inline] |
get the raw id
Definition at line 45 of file DetId.h.
References id_.
Referenced by SiStripDetSummary::add(), CaloMiscalibMapEcal::addCell(), CaloMiscalibMapHcal::addCell(), TrackerGeometry::addDet(), TrackerGeometry::addDetUnit(), FWRecoGeometryESProducer::addDTGeometry(), CastorRawGains::addItem(), HcalRawGains::addItem(), FWConvTrackHitsDetailView::addModules(), FWTrackHitsDetailView::addModules(), FWTGeoRecoGeometryESProducer::addPixelBarrelGeometry(), FWRecoGeometryESProducer::addPixelBarrelGeometry(), FWTGeoRecoGeometryESProducer::addPixelForwardGeometry(), FWRecoGeometryESProducer::addPixelForwardGeometry(), RPCStripsRing::addRoll(), FWTGeoRecoGeometryESProducer::addRPCGeometry(), FWRecoGeometryESProducer::addRPCGeometry(), HcalTriggerPrimitiveAlgo::addSignal(), fireworks::addSiStripClusters(), BetaCalculatorECAL::addStepToXtal(), TrackerGeometryCompare::addSurveyInfo(), MuonAlignmentInputSurveyDB::addSurveyInfo_(), TrackDetectorAssociator::addTAMuonSegmentMatch(), FWRecoGeometryESProducer::addTECGeometry(), FWTGeoRecoGeometryESProducer::addTECGeometry(), FWRecoGeometryESProducer::addTIBGeometry(), FWTGeoRecoGeometryESProducer::addTIBGeometry(), FWTGeoRecoGeometryESProducer::addTIDGeometry(), FWRecoGeometryESProducer::addTIDGeometry(), FWTGeoRecoGeometryESProducer::addTOBGeometry(), FWRecoGeometryESProducer::addTOBGeometry(), CastorRawGains::addValues(), HcalRawGains::addValues(), SiStripGainFromData::algoBeginJob(), DeDxDiscriminatorLearner::algoBeginJob(), DeDxDiscriminatorLearnerFromCalibTree::algoBeginJob(), SiStripGainFromCalibTree::algoBeginJob(), AlignableDet::AlignableDet(), AlignableNavigator::alignableFromDetId(), AlignableDetUnit::alignmentErrors(), AlignableDet::alignmentErrors(), AlignableDet::alignments(), AlignableDetUnit::alignments(), EcalSelectiveReadoutValidation::anaDigi(), CkfDebugger::analyseRecHitNotFound(), MuonTruth::analyze(), CSCComparatorDigiValidation::analyze(), EcalTrivialObjectAnalyzer::analyze(), HcalPedestalMCWidths::analyze(), EcalTPGParamBuilder::analyze(), SiPixelLorentzAngleDB::analyze(), HcalAutoPedestalValidator::analyze(), SiPixelTrackResidualSource::analyze(), EcalRecHitsValidation::analyze(), EcalDigisValidation::analyze(), DTLocalTriggerLutTask::analyze(), RPCEfficiency::analyze(), EcalEndcapDigisValidation::analyze(), RPCRecHitValid::analyze(), ElectronSeedAnalyzer::analyze(), DTTriggerEfficiencyTask::analyze(), IsolatedTracksCone::analyze(), CastorPedestalsAnalysis::analyze(), EcalBarrelDigisValidation::analyze(), cms::Analyzer_minbias::analyze(), HcalPedestalsAnalysis::analyze(), TrackerOfflineValidationSummary::analyze(), HcalPedestalWidthsValidation::analyze(), DTLocalTriggerSynchTask::analyze(), DTRunConditionVar::analyze(), ListIds::analyze(), SiStripLAProfileBooker::analyze(), AlignmentStats::analyze(), DTChamberEfficiency::analyze(), DTDigiTask::analyze(), EcalMixingModuleValidation::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), CaloTowerConstituentsMap::assign(), EcalTrigTowerConstituentsMap::assign(), SegmentsTrackAssociator::associate(), SegmentToTrackAssociator::associate(), MuonTruth::associateCSCHitId(), TrackerHitAssociator::associateHit(), MuonTruth::associateHitId(), TrackerHitAssociator::associatePixelRecHit(), RPCHitAssociator::associateRecHit(), TrackAssociatorByHits::associateSimToReco(), MuonAssociatorByHits::associateSimToRecoIndices(), EcalTPGParamBuilder::beginJob(), EBDaqInfoTask::beginLuminosityBlock(), EBDcsInfoTask::beginLuminosityBlock(), ecaldqm::TowerStatusTask::beginLuminosityBlock(), DeDxDiscriminatorProducer::beginRun(), DeDxEstimatorProducerPixelTripplet::beginRun(), RPCRecHitValid::beginRun(), ecaldqm::TowerStatusTask::beginRun(), RPCEfficiency::beginRun(), SiStripLAProfileBooker::beginRun(), DeDxEstimatorProducer::beginRun(), DTTriggerEfficiencyTask::bookChamberHistos(), DTTriggerEfficiencyTest::bookChambHistos(), RPCEfficiency::bookDetUnitSeg(), DTLocalTriggerBaseTask::bookHistos(), DTLocalTriggerSynchTask::bookHistos(), DTLocalTriggerLutTask::bookHistos(), DTtTrigCalibrationTest::bookHistos(), FWCSCRecHitProxyBuilder::build(), FWCSCSegmentProxyBuilder::build(), FWCSCWireDigiProxyBuilder::build(), FWTrackTrackingRecHitProxyBuilder::build(), FWDTSegmentProxyBuilder::build(), RPCGeometryParsFromDD::buildGeometry(), CmsTrackerDetIdBuilder::buildId(), SeedForPhotonConversion1Leg::buildSeed(), SeedFromConsecutiveHitsCreator::buildSeed(), SeedForPhotonConversionFromQuadruplets::buildSeed(), SiPixelRecHitSource::buildStructure(), SiPixelDigiSource::buildStructure(), SiPixelRawDataErrorSource::buildStructure(), SiPixelClusterSource::buildStructure(), FWDTDigiProxyBuilder::buildViewType(), FWRPCRecHitProxyBuilder::buildViewType(), SurveyResidual::calculate(), EcalHaloAlgo::Calculate(), CALIBLogicalMapEntry::CALIBLogicalMapEntry(), CaloGenericDetId::CaloGenericDetId(), CaloTowerDetId::CaloTowerDetId(), MuonIdProducer::chamberId(), DTDigiTask::channelsMap(), cond::service::DTHVCheckWithHysteresis::checkCurrentStatus(), cond::service::DTHVCheckByAbsoluteValues::checkCurrentStatus(), reco::modules::TrackerTrackHitFilter::checkHit(), GlobalTrajectoryBuilderBase::checkMuonHits(), SimpleCosmicBONSeeder::checkNoisyModules(), MuonIdTruthInfo::checkSimHitForBestMatch(), HcalDetDiagPedestalMonitor::CheckStatus(), HLTEcalResonanceFilter::checkStatusOfEcalRecHit(), EgammaHLTNxNClusterProducer::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(), PFRecHitProducerPS::createRecHits(), EcalSelectiveReadoutValidation::dccCh(), ecaldqm::dccId(), CaloGenericDetId::denseIndex(), muonisolation::CaloExtractorByAssociator::deposits(), RingMaker::determineExtensions(), APVShot::detId(), SiStripFineDelayHit::detId(), RoadSearchDetIdHelper::detIdsOnSameLayer(), RoadSearchSeedFinderAlgorithm::detIdsOnSameLayer(), SiStripBadComponentsDQMServiceReader::detIdToString(), detSetOrEmpty(), SiStripFineDelayHit::deviceMask(), CSCOfflineMonitor::doBXMonitor(), MuonAlignmentAnalyzer::doMatching(), MuonAlignment::doMatching(), EcalPreshowerTopology::down(), PixelCPEBase::driftDirection(), StripCPE::driftDirection(), DTLayerId::DTLayerId(), DTRecSegment4D::DTRecSegment4D(), DTSegtoRPC::DTSegtoRPC(), DTSuperLayerId::DTSuperLayerId(), DTWireId::DTWireId(), DTHVStatusHandler::dumpHVAliases(), EcalEleCalibLooper::duringLoop(), Pi0FixedMassWindowCalibration::duringLoop(), InvRingCalib::duringLoop(), EcalBarrelTopology::east(), EcalBarrelHardcodedTopology::east(), EcalEndcapHardcodedTopology::east(), EcalEndcapTopology::east(), EcalPreshowerTopology::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(), PFPhotonClusters::FillClusterShape(), reco::HcalNoiseInfoProducer::filldigis(), MatrixFillMap::fillEBMap(), EcalSimHitsValidProducer::fillEBMatrix(), EcalBarrelSimHitsValidation::fillEBMatrix(), GlobalDigisAnalyzer::fillECal(), GlobalRecHitsAnalyzer::fillECal(), GlobalDigisProducer::fillECal(), GlobalRecHitsProducer::fillECal(), MatrixFillMap::fillEEMap(), EcalEndcapSimHitsValidation::fillEEMatrix(), EcalSimHitsValidProducer::fillEEMatrix(), CastorDigiProducer::fillFakeHits(), GlobalRecHitsAnalyzer::fillHCal(), GlobalDigisAnalyzer::fillHCal(), GlobalDigisProducer::fillHCal(), GlobalRecHitsProducer::fillHCal(), HcalDetDiagLEDMonitor::fillHistos(), TrackerValidationVariables::fillHitQuantities(), MuonShowerInformationFiller::fillHitsByStation(), CSCSegmentValidation::fillLayerHitsPerChamber(), MatrixFillMap::fillMap(), ClusterFillMap::fillMap(), EcalElectronicsMapper::fillMaps(), HcalDeadCellMonitor::fillNevents_problemCells(), HcalDetDiagLaserMonitor::fillProblems(), ecaldqm::DQWorkerClient::fillQuality_(), RingMaker::fillTECGeometryArray(), RingMaker::fillTIBGeometryArray(), RingMaker::fillTIDGeometryArray(), RingMaker::fillTOBGeometryArray(), TrackerGeometryCompare::fillTree(), MuonGeometryArrange::fillTree(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), cms::TECClusterFilter::filter(), cms::ClusterMTCCFilter::filter(), EcalRecHitsValidation::findBarrelMatrix(), FWHFTowerSliceSelector::findBinFromId(), PFRecHitProducerECAL::findEcalRecHitGeometry(), EcalRecHitsValidation::findEndcapMatrix(), EcalCoder::findGains(), PFRecHitProducerHO::findHORecHitGeometry(), EcalCoder::findIntercalibConstant(), EBHitResponse::findIntercalibConstant(), EcalCoder::findPedestal(), EcalMixingModuleValidation::findPedestal(), PFRecHitProducerPS::findRecHitNeighbours(), PFRecHitProducerHCAL::findRecHitNeighboursCT(), PFRecHitProducerECAL::findRecHitNeighboursECAL(), PFRecHitProducerHO::findRecHitNeighboursHO(), 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(), EcalEndcapSimHitsValidation::getIdsAroundMax(), EcalBarrelSimHitsValidation::getIdsAroundMax(), EcalTrivialConditionRetriever::getIntercalibConstantsFromConfiguration(), EcalTrivialConditionRetriever::getIntercalibErrorsFromConfiguration(), EcalLaserDbService::getLaserCorrection(), DTHVStatusHandler::getLayerValues(), HcalLedAnalysis::GetLedConst(), EcalTPGScale::getLinearizedTPG(), TrackAssociatorByHits::getMatchedIds(), MuonAssociatorByHits::getMatchedIds(), SiStripGainCosmicCalculator::getNewObject(), popcon::EcalTPGFineGrainEBGroupHandler::getNewObjects(), popcon::EcalDCSHandler::getNewObjects(), popcon::EcalTPGBadXTHandler::getNewObjects(), popcon::EcalDAQHandler::getNewObjects(), popcon::EcalTPGBadTTHandler::getNewObjects(), popcon::EcalTPGSpikeThresholdHandler::getNewObjects(), popcon::EcalTPGPedestalsHandler::getNewObjects(), popcon::EcalTPGPhysicsConstHandler::getNewObjects(), popcon::EcalTPGLinConstHandler::getNewObjects(), popcon::EcalTPGLutGroupHandler::getNewObjects(), popcon::EcalIntercalibHandler::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsH2(), popcon::EcalPedestalsHandler::getNewObjectsP5(), HcalTestHitGenerator::getNoiseHits(), HcalAssistant::getRawIdFromCmssw(), Roads::getRoadSeed(), RPCSimSetUp::getTime(), RPCCalibSetUp::getTime(), EcalTrivialConditionRetriever::getTimeCalibConstantsFromConfiguration(), EcalTrivialConditionRetriever::getTimeCalibErrorsFromConfiguration(), EcalTPGScale::getTPGInADC(), EcalTPGScale::getTPGInGeV(), HcalTestNumberingScheme::getUnitID(), EcalPreshowerNumberingScheme::getUnitID(), EcalEndcapNumberingScheme::getUnitID(), HcalNumberingScheme::getUnitID(), EcalHodoscopeNumberingScheme::getUnitID(), CastorNumberingScheme::getUnitID(), ZdcNumberingScheme::getUnitID(), ESTBNumberingScheme::getUnitID(), HcalMaterials::getValue(), HcalDcsValues::getValues(), CastorRawGains::getValues(), HcalRawGains::getValues(), RPCTrigger::giveFinallCandindates(), 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(), HcalText2DetIdConverter::init(), CastorText2DetIdConverter::init(), TrackerRecHit::init(), SeedFromProtoTrack::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(), MuonAssociatorByHits::LayerFromDetid(), TrackingTruthProducer::LayerFromDetid(), TrackAssociatorByHits::LayerFromDetid(), FastPixelCPE::localParameters(), PixelCPEGeneric::localPosition(), ZdcTopology::longitudinal(), HcalDcsMap::lookup(), CastorElectronicsMap::lookup(), HcalElectronicsMap::lookup(), CastorElectronicsMap::lookupTrigger(), HcalElectronicsMap::lookupTrigger(), PixelCPEBase::lorentzShiftX(), PixelCPEBase::lorentzShiftY(), TempTrajectory::lost(), Trajectory::lost(), CastorDbHardcode::makeCalibrationQIECoder(), XMLDocument::makeChId(), CastorDbHardcode::makeGain(), CastorDbHardcode::makeGainWidth(), FWRPZViewGeometry::makeMuonGeometryRhoZ(), CastorDbHardcode::makePedestal(), CastorDbHardcode::makePedestalWidth(), CastorDbHardcode::makeQIECoder(), CastorDbHardcode::makeRecoParam(), CastorDbHardcode::makeSaturationCorr(), TrajectoryManager::makeSinglePSimHit(), CastorElectronicsMap::mapEId2chId(), HcalElectronicsMap::mapEId2chId(), CastorElectronicsMap::mapEId2tId(), HcalElectronicsMap::mapEId2tId(), MuonSeedOrcaPatternRecognition::markAsUsed(), TrackClusterSplitter::markClusters(), MuonSegmentMatcher::matchCSC(), MuonSegmentMatcher::matchDT(), SiTrackerGaussianSmearingRecHitConverter::matchHits(), GlobalTrackerMuonAlignment::muonFitter(), EcalEndcapHardcodedTopology::north(), EcalPreshowerTopology::north(), EcalBarrelHardcodedTopology::north(), EcalEndcapTopology::north(), EcalBarrelTopology::north(), HcalTopology::north(), DTHVStatusHandler::offlineList(), EEDetId::offsetBy(), EBDetId::offsetBy(), DetIdComparator::operator()(), HashByDetId::operator()(), rpcrawtodigi::DebugDigisPrintout::operator()(), CastorDbASCIIIO::DetIdLess::operator()(), DBSpecToDetUnit::operator()(), DTOccupancyPoint::operator<(), RPCDetId::operator<(), operator<<(), HcalOtherDetId::operator=(), HcalTrigTowerDetId::operator=(), HcalZDCDetId::operator=(), EcalPnDiodeDetId::operator=(), HcalCastorDetId::operator=(), EcalScDetId::operator=(), EEDetId::operator=(), HcalDetId::operator=(), CaloTowerDetId::operator=(), EcalTrigTowerDetId::operator=(), HcalCalibDetId::operator=(), EBDetId::operator=(), ESDetId::operator=(), HcalGenericDetId::otherSubdet(), PFPhotonClusters::PFCrystalCoor(), CaloMiscalibMapHcal::prefillMap(), CaloMiscalibMapEcal::prefillMap(), RoadSearchTrackCandidateMakerAlgorithm::PrepareTrackCandidates(), BaseCrystal::print(), CaloMiscalibMapEcal::print(), SiStripQuality::printDetInfo(), sipixelobjects::PixelFEDLink::printForMap(), HLTTrackClusterRemover::process(), SeedClusterRemover::process(), TrackClusterRemover::process(), HcalSimpleReconstructor::process(), EcalFenixTcp::process_part2_barrel(), EcalFenixTcp::process_part2_endcap(), cscdqm::EventProcessor::processCSC(), CastorPSMonitor::processEvent(), MuonAlignmentFromReference::processMuonResidualsFromTrack(), RPCRecHitProducer::produce(), CastorTowerProducer::produce(), InterestingTrackEcalDetIdProducer::produce(), L2MuonSeedGenerator::produce(), RecHitCorrector::produce(), CastorSimpleReconstructor::produce(), SiClusterTranslator::produce(), ZdcHitReconstructor::produce(), TrajectorySeedFromMuonProducer::produce(), HcalHitReconstructor::produce(), SiPixelFedCablingMapBuilder::produce(), AlignmentPrescaler::produce(), SimHitShifter::produce(), TrackCandidateProducer::produce(), reco::modules::CosmicTrackSplitter::produce(), CSCDCCUnpacker::produce(), TrackClusterSplitter::produce(), MuonSimHitProducer::produce(), TrackerToMuonPropagator::produce(), cms::CkfTrackCandidateMakerBase::produceBase(), CastorHardcodeCalibrations::produceChannelQuality(), EcalTrivialConditionRetriever::produceEcalGainRatios(), EcalTrivialConditionRetriever::produceEcalIntercalibConstants(), EcalTrivialConditionRetriever::produceEcalIntercalibConstantsMC(), EcalTrivialConditionRetriever::produceEcalIntercalibErrors(), EcalTrivialConditionRetriever::produceEcalPedestals(), EcalTrivialConditionRetriever::produceEcalTimeCalibConstants(), EcalTrivialConditionRetriever::produceEcalTimeCalibErrors(), EcalTrivialConditionRetriever::produceEcalWeightXtalGroups(), ESTrivialConditionRetriever::produceESIntercalibConstants(), ESTrivialConditionRetriever::produceESPedestals(), ESTrivialConditionRetriever::produceESWeightStripGroups(), reco::modules::TrackerTrackHitFilter::produceFromTrack(), CkfDebugger::pSimHit(), TSGForRoadSearch::pushTrajectorySeed(), HcalMaterials::putValue(), LMap::impl::read(), DTSurvey::ReadChambers(), StoreEcalCondition::readEcalGainRatiosFromFile(), StoreEcalCondition::readEcalIntercalibConstantsFromFile(), StoreEcalCondition::readEcalIntercalibConstantsMCFromFile(), StoreEcalCondition::readEcalWeightXtalGroupsFromFile(), SurveyDataReader::readFile(), TkPixelMeasurementDet::recHits(), MuonDetLayerMeasurements::recHits(), CalorimetryManager::reconstructECAL(), DTHVStatusHandler::recoverSnapshot(), helper::ClusterStorer::ClusterHitRecord< ClusterRefType >::rekey(), SiStripHistoryDQMService::returnDetComponent(), ResidualRefitting::ReturnSector(), ResidualRefitting::ReturnStation(), RoadMaker::RingsOnSameLayer(), SiStripDigitizerAlgorithm::run(), SiPixelDigitizerAlgorithm::run(), EcalRecHitWorkerSimple::run(), MuonDTLocalMillepedeAlgorithm::run(), DTLocalTriggerSynchTest::runClientDiagnostic(), DTFineDelayCorr::runClientDiagnostic(), DTTriggerEfficiencyTest::runClientDiagnostic(), DTLocalTriggerEfficiencyTest::runClientDiagnostic(), DTLocalTriggerBaseTask::runDCCAnalysis(), DTLocalTriggerTask::runDCCAnalysis(), DTLocalTriggerTask::runDDUAnalysis(), DTLocalTriggerBaseTask::runDDUAnalysis(), ecaldqm::TrigPrimTask::runOnDigis(), ecaldqm::SelectiveReadoutTask::runOnDigis(), ecaldqm::SelectiveReadoutTask::runOnSrFlag_(), DTLocalTriggerTask::runSegmentAnalysis(), EcalSelectiveReadout::runSelectiveReadout0(), BaseTrackerRecHit::sameDetModule(), SiStripBadModuleGenerator::selectDetectors(), CSCTMBHeader::selfTest(), CSCEventData::selfTest(), DTHVStatusHandler::setChannelFlag(), CSCBaseElectronicsSim::setLayer(), MuonTrackCSCChamberResidual::setSegmentResidual(), GeomDetUnit::setSurfaceDeformation(), HcalPulseShapes::shapeForReco(), CosmicMuonLinksProducer::sharedHits(), RPCSimAverageNoiseEff::simulate(), RPCSimAverageNoise::simulate(), RPCSimParam::simulate(), RPCSimAverageNoiseEffCls::simulate(), RPCSimTriv::simulate(), RPCSimSimple::simulate(), RPCSimAverage::simulate(), RPCSimAverageNoise::simulateNoise(), RPCSimAverageNoiseEff::simulateNoise(), RPCSimAverageNoiseEffCls::simulateNoise(), SiStripTKNumbers::SiStripTKNumbers(), SiTrackerGaussianSmearingRecHitConverter::smearHits(), EcalBarrelTopology::south(), EcalPreshowerTopology::south(), HcalTopology::south(), EcalBarrelHardcodedTopology::south(), EcalEndcapHardcodedTopology::south(), EcalEndcapTopology::south(), ResidualRefitting::StoreTrackerRecHits(), SurveyResidual::SurveyResidual(), EEDetId::switchZSide(), EBDetId::switchZSide(), LutXml::test_access(), HcalLutManager::test_xml_access(), CaloHitResponse::timeOfFlight(), FastTSGFromPropagation::trackerSeeds(), LaserDQM::trackerStatistics(), GlobalTrackerMuonAlignment::trackFitter(), TracktoRPC::TracktoRPC(), TrajectoryAtInvalidHit::TrajectoryAtInvalidHit(), ZdcTopology::transverse(), TrackerAlignableId::typeAndLayerFromDetId(), EcalPreshowerTopology::up(), ValidateGeometry::validateCSChamberGeometry(), ValidateGeometry::validateCSCLayerGeometry(), ValidateGeometry::validateDTChamberGeometry(), ValidateGeometry::validateDTLayerGeometry(), ValidateGeometry::validateRPCGeometry(), CaloGenericDetId::validDetId(), TracktoRPC::ValidRPCSurface(), EcalBarrelTopology::west(), EcalBarrelHardcodedTopology::west(), EcalEndcapTopology::west(), EcalEndcapHardcodedTopology::west(), EcalPreshowerTopology::west(), xuti::writeCell(), GlobalTrackerMuonAlignment::writeGlPosRcd(), EcalDccWeightBuilder::writeWeightToAsciiFile(), and ZDCLogicalMapEntry::ZDCLogicalMapEntry().
{ return id_; }
int DetId::subdetId | ( | ) | const [inline] |
get the contents of the subdetector field (not cast into any detector's numbering enum)
Definition at line 39 of file DetId.h.
References id_, and kSubdetOffset.
Referenced by SiPixelDetSummary::add(), SiStripDetSummary::add(), MuonTimingFiller::addEcalTime(), BetaCalculatorECAL::addInfoToCandidate(), FWConvTrackHitsDetailView::addModules(), FWTrackHitsDetailView::addModules(), SiStripHitEffFromCalibTree::algoAnalyze(), SiStripGainFromData::algoBeginJob(), DeDxDiscriminatorLearner::algoBeginJob(), DeDxDiscriminatorLearnerFromCalibTree::algoBeginJob(), SiStripGainFromCalibTree::algoBeginJob(), SiStripCalibLorentzAngle::algoBeginJob(), EcalSelectiveReadoutValidation::anaDigi(), CkfDebugger::analyseRecHitExistance(), SiPixelDigiValid::analyze(), TrackerDpgAnalysis::analyze(), TrackerOfflineValidation::analyze(), SiStripDigiValid::analyze(), SiStripQualityStatistics::analyze(), SiPixelHitEfficiencySource::analyze(), SiPixelTrackResidualSource::analyze(), SiPixelMuonHLT::analyze(), SiPixelLorentzAngleDB::analyze(), SiPixelRecHitsValid::analyze(), SiPixelErrorEstimation::analyze(), RPCRecHitValid::analyze(), SiPixelTrackingRecHitsValid::analyze(), CaloTowersValidation::analyze(), JetToDigiDump::analyze(), ElectronSeedAnalyzer::analyze(), SiPixelDigiSource::analyze(), SiStripRecHitsValid::analyze(), DQMSourceEleCalib::analyze(), CaloTowersAnalyzer::analyze(), TrackerOfflineValidationSummary::analyze(), MuonAlignmentAnalyzer::analyze(), SiPixelRawDataErrorSource::analyze(), AlignmentStats::analyze(), MuonAlignment::analyze(), TrackerGeometryIntoNtuples::analyze(), SiStripLAProfileBooker::analyze(), ListIds::analyze(), SiStripTrackingRecHitsValid::analyze(), DTChamberEfficiency::analyze(), ElectronStudy::analyze(), reco::modules::TrackerTrackHitFilter::Rule::apply(), TrackerSystematicMisalignments::applySystematicMisalignment(), EBDetId::approxEta(), CaloTowersCreationAlgo::assignHit(), SegmentsTrackAssociator::associate(), TrackerHitAssociator::associateHit(), TrackerHitAssociator::associateHitId(), TrackAssociatorByHits::associateSimToReco(), MuonAssociatorByHits::associateSimToRecoIndices(), BaseCrystal::BaseCrystal(), DeDxDiscriminatorProducer::beginRun(), HcalRawDataMonitor::beginRun(), HcalRawDataClient::beginRun(), SiStripLAProfileBooker::beginRun(), AlignmentMonitorGeneric::book(), SiPixelHitEfficiencyModule::book(), SiPixelClusterModule::book(), SiPixelTrackResidualModule::book(), SiPixelRecHitModule::book(), SiPixelDigiModule::book(), TrackerOfflineValidation::bookSummaryHists(), CaloGeometryHelper::borderCrossing(), FWTracksModulesProxyBuilder::build(), CaloGeometryHelper::buildCrystal(), SiPixelRecHitSource::buildStructure(), SiPixelDigiSource::buildStructure(), SiPixelRawDataErrorSource::buildStructure(), SiPixelClusterSource::buildStructure(), HLTEcalResonanceFilter::calcShowerShape(), PhotonIsolationCalculator::calculate(), PositionCalc::Calculate_Location(), GsfElectronAlgo::calculateShowerShape(), CaloPoint::CaloPoint(), CaloTowerDetId::CaloTowerDetId(), CaloRecHitCandidateProducer::cellTresholdAndWeight(), DTChamberEfficiency::chamberSelection(), EcalTrigTowerConstituentsMap::changeEEDetIdQuadrantAndZ(), spr::chargeIsolationEcal(), MuonGeometryArrange::checkChosen(), HitEff::checkLayer(), DTChamberId::checkMuonId(), SimpleCosmicBONSeeder::checkNoisyModules(), AlignmentTrackSelector::checkPrescaledHits(), MuonSeedSimpleCleaner::checkPt(), HcalDetDiagLEDMonitor::CheckStatus(), HcalDetDiagPedestalMonitor::CheckStatus(), HcalMonitorModule::CheckSubdetectorStatus(), PhotonIsolationCalculator::classify(), EcalClusterSeverityLevelAlgo::closestProblematic(), cms::clusterProduct(), ResidualRefitting::CollectTrackHits(), PixelClusterShapeSeedComparitor::compatibleHit(), PixelHitMatcher::compatibleSeeds(), SiPixelHitEfficiencyModule::computeEfficiencies(), EcalGlobalShowerContainmentCorrectionsVsEta::correction(), GsfElectronAlgo::createElectron(), SiStripLorentzAngleGenerator::createObject(), PFRecHitProducerPS::createRecHits(), CSCDetId::CSCDetId(), EcalDccWeightBuilder::dbId(), EcalSelectiveReadoutValidation::dccCh(), ecaldqm::dccId(), EBSelectiveReadoutTask::dccNum(), EESelectiveReadoutTask::dccNum(), EESelectiveReadoutTask::dccNumOfRU(), spr::debugEcalDets(), AlignmentTrackSelector::detailedHitsCheck(), AlignableNavigator::detAndSubdetInMap(), RoadSearchDetIdHelper::detIdsOnSameLayer(), RoadSearchSeedFinderAlgorithm::detIdsOnSameLayer(), SiStripBadComponentsDQMServiceReader::detIdToString(), SiPixelDigitizerAlgorithm::digitize(), 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(), SiPixelClusterModule::fill(), SiPixelDigiModule::fill(), SiPixelRecHitModule::fill(), SiPixelRawDataErrorModule::fill(), SiPixelHitEfficiencyModule::fill(), SiPixelTrackResidualModule::fill(), egHLT::OffHelper::fillClusShapeData(), SiStripQualityDQM::fillGrandSummaryMEs(), TrackerValidationVariables::fillHitQuantities(), MuonShowerInformationFiller::fillHitsByStation(), MatrixFillMap::fillMap(), MuonAlignmentFromReference::fillNtuple(), StripCPE::fillParams(), HcalDetDiagLaserMonitor::fillProblems(), ecaldqm::DQWorkerClient::fillQuality_(), MillePedeMonitor::fillResiduals(), MillePedeMonitor::fillTrack(), MuonGeometryArrange::fillTree(), TrackerGeometryCompare::fillTree(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), GlobalRecHitsProducer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), cms::TECClusterFilter::filter(), FilterScrapingPixelProbability::filter(), cms::ClusterMTCCFilter::filter(), EcalDQMBinningService::findBinsCrystal_(), EcalDQMBinningService::findBinsProjEta_(), EcalDQMBinningService::findBinsProjPhi_(), EcalDQMBinningService::findBinsSuperCrystal_(), EcalDQMBinningService::findBinsTriggerTower_(), spr::findDetIdCalo(), EcalCoder::findGains(), SiPixelInformationExtractor::findNoisyPixels(), EcalCoder::findPedestal(), HcalPacker::findSamples(), 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(), PrintRecoObjects::getString(), SiStripUtility::getSubDetectorTag(), SiStripHistoId::getSubdetid(), SiStripSubStructure::getTECDetectors(), CaloTowersCreationAlgo::getThresholdAndWeight(), SiStripSubStructure::getTIBDetectors(), SiStripSubStructure::getTIDDetectors(), SiStripSubStructure::getTOBDetectors(), TrackTransformerForCosmicMuons::getTransientRecHits(), TrackTransformerForGlobalCosmicMuons::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(), TrackerRecHit::init(), StMeasurementDetSet::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(), MuonAssociatorByHits::LayerFromDetid(), TrackingTruthProducer::LayerFromDetid(), TrackAssociatorByHits::LayerFromDetid(), EcalClusterTools::localCovariances(), MatchedHitRZCorrectionFromBending::MatchedHitRZCorrectionFromBending(), SiTrackerGaussianSmearingRecHitConverter::matchHits(), spr::matrixECALIds(), EcalClusterTools::mean5x5PositionInXY(), SiPixelDigitizerAlgorithm::missCalibrate(), PFRecHitProducerECAL::move(), CaloGeometryHelper::move(), CkfDebugger::nextCorrectHits(), SiStripTKNumbers::nfibres(), SiPixelRecHitModule::nfill(), SiPixelTrackResidualModule::nfill(), SiStripTKNumbers::nmodules(), muonisolation::CaloExtractorByAssociator::noiseRecHit(), MuonSeedCleaner::NRecHitsFromSegment(), EEDetId::offsetBy(), EBDetId::offsetBy(), DetIdPXBSameLayerComparator::operator()(), DetIdTIDSameDiskComparator::operator()(), DetIdTOBSameLayerComparator::operator()(), DetIdTECSameDiskComparator::operator()(), DetIdPXFSameDiskComparator::operator()(), DetIdTIBSameLayerComparator::operator()(), HitComparatorByRadius::operator()(), operator<<(), HcalTrigTowerDetId::operator=(), HcalOtherDetId::operator=(), HcalZDCDetId::operator=(), EcalPnDiodeDetId::operator=(), HcalCastorDetId::operator=(), EEDetId::operator=(), EcalScDetId::operator=(), HcalDetId::operator=(), HcalCalibDetId::operator=(), EcalTrigTowerDetId::operator=(), CaloTowerDetId::operator=(), ESDetId::operator=(), EBDetId::operator=(), HcalGenericDetId::otherSubdet(), AlignmentParameterSelector::outsideDetIdRanges(), SiPixelDigitizerAlgorithm::pixel_inefficiency(), SiStripQuality::printDetInfo(), HLTTrackClusterRemover::process(), SeedClusterRemover::process(), TrackClusterRemover::process(), JetCrystalsAssociator::produce(), pat::PATElectronProducer::produce(), InterestingTrackEcalDetIdProducer::produce(), HighPtTrackEcalDetIdProducer::produce(), SiClusterTranslator::produce(), AlignmentPrescaler::produce(), SiPixelFedCablingMapBuilder::produce(), reco::modules::CosmicTrackSplitter::produce(), TkAlCaOverlapTagger::produce(), TrackClusterSplitter::produce(), EcalRawToRecHitProducer::produce(), InterestingDetIdCollectionProducer::produce(), cms::SiPixelDigitizer::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(), SiStripDigitizerAlgorithm::run(), HIPAlignmentAlgorithm::run(), EcalRecHitWorkerSimple::run(), RoadSearchHelixMakerAlgorithm::run(), MuonDTLocalMillepedeAlgorithm::run(), HcalTriggerPrimitiveAlgo::runFEFormatError(), HcalDetDiagPedestalMonitor::SaveReference(), HcalDetDiagLEDMonitor::SaveReference(), HcalDetDiagLaserMonitor::SaveReference(), EcalClusterTools::scLocalCovariances(), MuonSeedCleaner::SeedCandidates(), SeedFromGenericPairOrTriplet::seedFromTriplet(), MuonPSimHitSelector::select(), SingleEleCalibSelector::select(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), SiPixelFolderOrganizer::setModuleFolder(), HcalTBDigiProducer::setPhaseShift(), EcalTBDigiProducer::setPhaseShift(), GeomDetUnit::setSurfaceDeformation(), TrackingTruthProducer::setTrackingParticle(), CaloHitRespoNew::setupSamples(), CSCRecHit2D::sharesInput(), EcalSimParameterMap::simParameters(), CaloGeometryHelper::simplemove(), spr::simpleMove(), SiStripTKNumbers::SiStripTKNumbers(), TrackTransformerForCosmicMuons::SlopeSum(), SETSeedFinder::sortByLayer(), CastorDigiProducer::sortHits(), PFRecHitProducerECAL::stdsimplemove(), PFRecHitProducerHO::stdsimplemove(), ResidualRefitting::StoreTrackerRecHits(), HcalDetId::subdet(), EcalScDetId::subdet(), ESDetId::subdet(), HcalTrigTowerDetId::subdet(), APVShot::subDet(), SiStripNoiseNormalizedWithApvGainBuilder::subDetAndLayer(), SiStripNoisesGenerator::subDetAndLayer(), SiStripApvGainBuilderFromTag::subDetAndLayer(), SiStripDetId::subDetector(), TrackTransformerForCosmicMuons::SumDy(), EEDetId::switchZSide(), EBDetId::switchZSide(), ecaldqm::tccId(), HcalHitCorrection::timeOfFlight(), CastorHitCorrection::timeOfFlight(), ecaldqm::towerId(), LaserDQM::trackerStatistics(), KFTrajectorySmoother::trajectories(), ExhaustiveMuonTrajectoryBuilder::trajectories(), TrajectoryAtInvalidHit::TrajectoryAtInvalidHit(), TrackTransformerForCosmicMuons::transform(), SiPixelOfflineCalibAnalysisBase::translateDetIdToString(), ecaldqm::ttId(), TrackerAlignableId::typeAndLayerFromDetId(), HcalRawDataMonitor::unpack(), HcalUnpacker::unpack(), EcalSampleMask::useSample(), EcalTrigTowerConstituentsMap::wrapEcalTrigTowerDetId(), EcalTrigTowerConstituentsMap::wrapEEDetId(), and xuti::writeCell().
{ return ((id_>>kSubdetOffset)&0x7); }
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(), RPCDetId::chamberId(), CSCDetId::chamberId(), DTSuperLayerId::chamberId(), HcalZDCDetId::channel(), CSCDetId::CSCDetId(), HcalZDCDetId::depth(), HcalTrigTowerDetId::depth(), HcalDetId::depth(), det(), DetId(), PXFDetId::disk(), DTChamberId::DTChamberId(), DTLayerId::DTLayerId(), DTSuperLayerId::DTSuperLayerId(), DTWireId::DTWireId(), EBDetId::EBDetId(), EcalPnDiodeDetId::EcalPnDiodeDetId(), EcalScDetId::EcalScDetId(), EcalTrigTowerDetId::EcalTrigTowerDetId(), EEDetId::EEDetId(), CSCDetId::endcap(), ESDetId::ESDetId(), StripSubdetector::glued(), SiStripDetId::glued(), HcalCalibDetId::HcalCalibDetId(), HcalCastorDetId::HcalCastorDetId(), HcalDcsDetId::HcalDcsDetId(), HcalDetId::HcalDetId(), HcalOtherDetId::HcalOtherDetId(), HcalCalibDetId::hcalSubdet(), HcalTrigTowerDetId::HcalTrigTowerDetId(), HcalZDCDetId::HcalZDCDetId(), EcalPnDiodeDetId::iDCCId(), EcalPnDiodeDetId::iEcalSubDetectorId(), L1CaloRegionDetId::ieta(), HcalCalibDetId::ieta(), HcalDetId::ietaAbs(), EcalTrigTowerDetId::ietaAbs(), HcalTrigTowerDetId::ietaAbs(), CaloTowerDetId::ietaAbs(), EBDetId::ietaAbs(), RPCDetId::init(), RPCCompDetId::init(), HcalCalibDetId::iphi(), HcalTrigTowerDetId::iphi(), L1CaloRegionDetId::iphi(), HcalDetId::iphi(), EcalTrigTowerDetId::iphi(), EBDetId::iphi(), CaloTowerDetId::iphi(), EcalPnDiodeDetId::iPnId(), EEDetId::ix(), EcalScDetId::ix(), EEDetId::iy(), EcalScDetId::iy(), L1CaloRegionDetId::L1CaloRegionDetId(), csc::L1TrackId::L1TrackId(), PXBDetId::ladder(), TIBDetId::layer(), RPCCompDetId::layer(), TOBDetId::layer(), DTLayerId::layer(), PXBDetId::layer(), CSCDetId::layer(), RPCDetId::layer(), DTWireId::layerId(), PXFDetId::module(), TOBDetId::module(), PXBDetId::module(), TECDetId::module(), HcalCastorDetId::module(), TIBDetId::module(), SiStripDetId::moduleGeometry(), TIDDetId::moduleNumber(), null(), operator uint32_t(), operator!=(), operator()(), operator<(), HcalTrigTowerDetId::operator=(), HcalOtherDetId::operator=(), HcalZDCDetId::operator=(), EcalPnDiodeDetId::operator=(), HcalCastorDetId::operator=(), EEDetId::operator=(), EcalScDetId::operator=(), HcalDetId::operator=(), HcalCalibDetId::operator=(), EcalTrigTowerDetId::operator=(), CaloTowerDetId::operator=(), ESDetId::operator=(), EBDetId::operator=(), operator==(), TIBDetId::order(), TIDDetId::order(), TECDetId::order(), PXFDetId::panel(), StripSubdetector::partnerDetId(), SiStripDetId::partnerDetId(), TECDetId::petalNumber(), ESDetId::plane(), EBDetId::positiveZ(), EEDetId::positiveZ(), PXBDetId::PXBDetId(), PXFDetId::PXFDetId(), rawId(), RPCCompDetId::region(), RPCDetId::region(), SiStripDetId::reserved(), RPCDetId::ring(), RPCCompDetId::ring(), HcalDcsDetId::ring(), CSCDetId::ring(), TIDDetId::ring(), TECDetId::ring(), TOBDetId::rodNumber(), RPCDetId::roll(), HcalZDCDetId::section(), HcalCastorDetId::sector(), RPCDetId::sector(), DTChamberId::sector(), RPCCompDetId::sector(), PXFDetId::side(), TIBDetId::side(), TOBDetId::side(), TIDDetId::side(), TECDetId::side(), SiStripDetId::SiStripDetId(), ESDetId::six(), ESDetId::siy(), HcalDcsDetId::slice(), RPCDetId::station(), DTChamberId::station(), CSCDetId::station(), RPCCompDetId::station(), SiStripDetId::stereo(), StripSubdetector::stereo(), TIBDetId::stringNumber(), ESDetId::strip(), HcalDcsDetId::subchannel(), EcalTrigTowerDetId::subDet(), HcalOtherDetId::subdet(), subdetId(), RPCDetId::subsector(), RPCCompDetId::subsector(), DTSuperLayerId::superLayer(), DTLayerId::superlayerId(), TECDetId::TECDetId(), TIBDetId::TIBDetId(), TIDDetId::TIDDetId(), TOBDetId::TOBDetId(), HcalDcsDetId::type(), TIDDetId::wheel(), DTChamberId::wheel(), TECDetId::wheel(), DTWireId::wire(), HcalCalibDetId::zside(), ESDetId::zside(), CaloTowerDetId::zside(), HcalCastorDetId::zside(), EcalScDetId::zside(), EEDetId::zside(), HcalZDCDetId::zside(), HcalDetId::zside(), HcalTrigTowerDetId::zside(), EcalTrigTowerDetId::zside(), HcalDcsDetId::zside(), and EBDetId::zside().
const int DetId::kDetOffset = 28 [static] |
Definition at line 22 of file DetId.h.
Referenced by det(), AlignableBeamSpot::detId(), and CSCDetId::rawIdMaker().
const int DetId::kSubdetOffset = 25 [static] |
Definition at line 23 of file DetId.h.
Referenced by CSCDetId::rawIdMaker(), BaseTrackerRecHit::sameDetModule(), and subdetId().