CMS 3D CMS Logo

DetId Class Reference

Parent class for all detector ids in CMS. More...

#include <DataFormats/DetId/interface/DetId.h>

Inheritance diagram for DetId:

CaloTowerDetId CSCDetId DTChamberId EBDetId EcalPnDiodeDetId EcalScDetId EcalTrigTowerDetId EEDetId ESDetId HcalCastorDetId HcalDetId HcalGenericDetId HcalOtherDetId HcalTrigTowerDetId HcalZDCDetId HodoscopeDetId L1CaloRegionDetId PXBDetId PXFDetId RPCDetId SiStripDetId StripSubdetector

List of all members.

Public Types

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

Public Member Functions

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

Static Public Attributes

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

Protected Attributes

uint32_t id_


Detailed Description

Parent class for all detector ids in CMS.

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

Date
2007/07/31 15:20:00
Revision
1.9

Definition at line 19 of file DetId.h.


Member Enumeration Documentation

enum DetId::Detector

Enumerator:
Tracker 
Muon 
Ecal 
Hcal 
Calo 

Definition at line 25 of file DetId.h.

00025 { 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 27 of file DetId.h.

Referenced by SiPixelTrackResidualSource::analyze(), SiPixelRawDataErrorModule::book(), SiPixelClusterModule::book(), SiPixelTrackResidualModule::book(), SiPixelRecHitModule::book(), SiPixelDigiModule::book(), SiPixelRecHitSource::buildStructure(), SiPixelDigiSource::buildStructure(), SiPixelRawDataErrorSource::buildStructure(), SiPixelClusterSource::buildStructure(), ErrorChecker::errorDetId(), SiPixelClusterModule::fill(), SiPixelDigiModule::fill(), SiPixelRecHitModule::fill(), SiPixelRawDataErrorModule::fill(), SiPixelTrackResidualModule::fill(), SiPixelFolderOrganizer::getModuleFolder(), SiPixelRecHitModule::nfill(), and SiPixelFolderOrganizer::setModuleFolder().

00027 : id_(0) { }

DetId::DetId ( uint32_t  id  )  [inline]

Create an id from a raw number.

Definition at line 29 of file DetId.h.

00029 : id_(id) { }

DetId::DetId ( Detector  det,
int  subdet 
) [inline]

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

Definition at line 31 of file DetId.h.

References id_.

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


Member Function Documentation

Detector DetId::det (  )  const [inline]

get the detector field from this detid

Definition at line 36 of file DetId.h.

References id_, and kDetOffset.

Referenced by ZDCHitFilter::accepts(), CastorHitFilter::accepts(), PedeLabeler::alignableLabel(), ElectronPixelSeedAnalyzer::analyze(), JetToDigiDump::analyze(), CaloTowersCreationAlgo::assignHit(), SegmentsTrackAssociator::associate(), MuonAssociatorByHits::associateSimToReco(), HcalMonitorModule::beginJob(), ListIds::beginJob(), MuonTransientTrackingRecHitBuilder::build(), CaloTowerDetId::CaloTowerDetId(), CaloRecHitCandidateProducer::cellTresholdAndWeight(), DTChamberEfficiency::chamberSelection(), EcalTrigTowerConstituentsMap::changeEEDetIdQuadrantAndZ(), DTChamberId::checkMuonId(), helper::MuonCollectionStoreManager::clusterRefsOK(), EcalGlobalShowerContainmentCorrectionsVsEta::correction(), CSCDetId::CSCDetId(), EBSelectiveReadoutTask::dccNum(), EESelectiveReadoutTask::dccNum(), HcalHitCorrection::delay(), CastorHitCorrection::delay(), AlignmentTrackSelector::detailedHitsCheck(), CalibrationTrackSelector::detailedHitsCheck(), AlignableNavigator::detAndSubdetInMap(), RingMaker::determineExtensions(), AlignmentParameterSelector::detUnitDeselected(), CSCSkim::doBFieldStudySelection(), CSCSkim::doLongSATrack(), CSCValidation::doStandalone(), EcalEleCalibLooper::duringLoop(), InvRingCalib::duringLoop(), EBDetId::EBDetId(), EcalPnDiodeDetId::EcalPnDiodeDetId(), EcalScDetId::EcalScDetId(), EcalTrigTowerDetId::EcalTrigTowerDetId(), EEDetId::EEDetId(), ESDetId::ESDetId(), HITrackingRegionProducer::estimateMultiplicity(), TrackQuality::evaluate(), JetAnalyzer::fillRecHitHists(), CastorPacker::findSamples(), HcalPacker::findSamples(), KFTrajectoryFitter::fit(), HcalGenericDetId::genericSubdet(), HardTauAlgorithm::getClusterEnergy(), getDetLayer(), L2TauIsolationProducer::getECALHits(), TrackerOfflineValidation::GetHistStructFromMap(), EcalLaserDbService::getLaserCorrection(), MuonAssociatorByHits::getMatchedIds(), JetMatchingTools::getPCaloHits(), CaloRecoTauTagInfoAlgorithm::getPositionAndEnergyEcalRecHits(), CaloTowersCreationAlgo::getThresholdAndWeight(), GlobalCosmicMuonTrajectoryBuilder::getTransientRecHits(), HcalCalibDetId::HcalCalibDetId(), HcalCastorDetId::HcalCastorDetId(), HcalDetId::HcalDetId(), HcalOtherDetId::HcalOtherDetId(), HcalTrigTowerDetId::HcalTrigTowerDetId(), HcalZDCDetId::HcalZDCDetId(), HodoscopeDetId::HodoscopeDetId(), SiStripHashedDetId::init(), CalibrationTrackSelector::isHit2D(), AlignmentTrackSelector::isHit2D(), reco::HitPattern::isStereo(), MuonAssociatorByHits::LayerFromDetid(), TrackingTruthProducer::LayerFromDetid(), VisTrackerRechit2DTwig::localPosition(), VisLocalPosition::localPosition(), VisEventSetupService::localPosition(), VisEventSetupService::localPositions(), VisLocalPosition::localPositions(), VisTrackerRechit2DTwig::localPositions(), JetAnalyzer::MakeCellListFromCaloTowers(), muonisolation::CaloExtractorByAssociator::noiseRecHit(), DetIdPXBSameLayerComparator::operator()(), DetIdTIDSameDiskComparator::operator()(), DetIdTOBSameLayerComparator::operator()(), DetIdTECSameDiskComparator::operator()(), DetIdPXFSameDiskComparator::operator()(), DetIdTIBSameLayerComparator::operator()(), operator<<(), HcalOtherDetId::operator=(), HcalTrigTowerDetId::operator=(), HcalZDCDetId::operator=(), EcalPnDiodeDetId::operator=(), HodoscopeDetId::operator=(), HcalCastorDetId::operator=(), EcalScDetId::operator=(), EEDetId::operator=(), HcalDetId::operator=(), CaloTowerDetId::operator=(), EcalTrigTowerDetId::operator=(), HcalCalibDetId::operator=(), EBDetId::operator=(), ESDetId::operator=(), helper::MuonCollectionStoreManager::processHit(), processHits(), helper::TrackCollectionStoreManager::processTrack(), JetCrystalsAssociator::produce(), reco::modules::CosmicTrackSplitter::produce(), reco::modules::TrackerTrackHitFilter::produce(), InterestingDetIdCollectionProducer::produce(), AlignableNavigator::recursiveGetId(), CaloTowersCreationAlgo::rescale(), RPCDetId::RPCDetId(), reco::HitPattern::set(), CosmicMuonLinksProducer::sharedHits(), CastorDigiProducer::sortHits(), SiStripDetId::subDetector(), HcalHitCorrection::timeOfFlight(), CastorHitCorrection::timeOfFlight(), KFTrajectorySmoother::trajectories(), HcalUnpacker::unpack(), VisPCaloHitTwig::update(), EcalTrigTowerConstituentsMap::wrapEcalTrigTowerDetId(), and EcalTrigTowerConstituentsMap::wrapEEDetId().

00036 { return Detector((id_>>kDetOffset)&0xF); }

bool DetId::null (  )  const [inline]

is this a null id ?

Definition at line 46 of file DetId.h.

References id_.

Referenced by PreshowerHitMaker::addHit(), ElectronCalibrationUniv::analyze(), EcalSimpleTBAnalyzer::analyze(), HcalLuttoDB::analyze(), ElectronCalibration::analyze(), CaloTowersCreationAlgo::assignHit(), HcalMonitorModule::beginJob(), PositionCalc::Calculate_Location(), CaloTowerDetId::CaloTowerDetId(), HcalMonitorModule::CheckSubdetectorStatus(), EBDetId::EBDetId(), EcalPnDiodeDetId::EcalPnDiodeDetId(), EcalScDetId::EcalScDetId(), EcalTrigTowerDetId::EcalTrigTowerDetId(), EEDetId::EEDetId(), ESDetId::ESDetId(), HcalGenericDetId::genericSubdet(), CaloGeometryHelper::getClosestCell(), HcalCalibDetId::HcalCalibDetId(), HcalCastorDetId::HcalCastorDetId(), HcalDetId::HcalDetId(), HcalTrigTowerDetId::HcalTrigTowerDetId(), HcalZDCDetId::HcalZDCDetId(), CalorimetryManager::HDShowerSimulation(), HodoscopeDetId::HodoscopeDetId(), HybridClusterAlgo::mainSearch(), EcalDeadChannelRecoveryAlgos::MakeNxNMatrice(), CaloGeometryHelper::move(), operator<<(), HcalTrigTowerDetId::operator=(), HcalZDCDetId::operator=(), EcalPnDiodeDetId::operator=(), HcalCastorDetId::operator=(), HodoscopeDetId::operator=(), EcalScDetId::operator=(), EEDetId::operator=(), HcalDetId::operator=(), CaloTowerDetId::operator=(), EcalTrigTowerDetId::operator=(), HcalCalibDetId::operator=(), EBDetId::operator=(), ESDetId::operator=(), HcalPacker::pack(), AlCaPi0BasicClusterRecHitsProducer::produce(), AlCaElectronsProducer::produce(), InterestingDetIdCollectionProducer::produce(), CalorimetryManager::reconstructECAL(), SingleEleCalibSelector::select(), CaloTowerConstituentsMap::towerOf(), HcalDataFormatMonitor::unpack(), CastorUnpacker::unpack(), HcalUnpacker::unpack(), VisEcalUncalibratedRecHitTwig::update(), and VisCaloTowerTwig::update().

00046 { return id_==0; }

DetId::operator uint32_t (  )  const [inline]

Definition at line 41 of file DetId.h.

References id_.

00041 { return id_; }

bool DetId::operator!= ( DetId  id  )  const [inline]

inequality

Definition at line 51 of file DetId.h.

References id_.

00051 { return id_!=id.id_; }

uint32_t DetId::operator() (  )  const [inline]

Definition at line 40 of file DetId.h.

References id_.

00040 { return id_; }

bool DetId::operator< ( DetId  id  )  const [inline]

comparison

Definition at line 53 of file DetId.h.

References id_.

00053 { return id_<id.id_; }

bool DetId::operator== ( DetId  id  )  const [inline]

equality

Definition at line 49 of file DetId.h.

References id_.

00049 { return id_==id.id_; }

uint32_t DetId::rawId (  )  const [inline]

get the raw id

Definition at line 44 of file DetId.h.

References id_.

Referenced by CaloMiscalibMapEcal::addCell(), CaloMiscalibMapHcal::addCell(), CastorQIEData::addCoder(), CastorCalibrationQIEData::addCoder(), TrackerGeometry::addDet(), TrackerGeometry::addDetUnit(), PreshowerHitMaker::addHit(), CastorRawGains::addItem(), HcalRawGains::addItem(), RPCStripsRing::addRoll(), HcalTriggerPrimitiveAlgo::addSignal(), TrackerGeometryCompare::addSurveyInfo(), MuonAlignmentInputSurveyDB::addSurveyInfo_(), TrackDetectorAssociator::addTAMuonSegmentMatch(), CastorGainWidths::addValue(), CastorPedestals::addValue(), CastorGains::addValue(), CastorRawGains::addValues(), HcalRawGains::addValues(), SiStripGainFromData::algoBeginJob(), AlignableNavigator::alignableFromDetId(), AlignableDetUnit::alignmentErrors(), AlignableDet::alignmentErrors(), AlignableDet::alignments(), AlignableDetUnit::alignments(), CkfDebugger::analyseRecHitNotFound(), RPCMonitorEfficiency::analyze(), MuonTruth::analyze(), CSCComparatorDigiValidation::analyze(), EcalTrivialObjectAnalyzer::analyze(), ElectronPixelSeedAnalyzer::analyze(), EcalTPGParamBuilder::analyze(), EcalRecHitsValidation::analyze(), DTAlbertoBenvenutiTask::analyze(), EcalDigisValidation::analyze(), CSCWireDigiValidation::analyze(), CSCSegmentValidation::analyze(), EcalEndcapDigisValidation::analyze(), EcalBarrelDigisValidation::analyze(), HcalPedestalsAnalysis::analyze(), VisSiPixelRecHit::analyze(), CSCRecHit2DValidation::analyze(), CSCStripDigiValidation::analyze(), SiStripLAProfileBooker::analyze(), DTDigiTask::analyze(), EcalMixingModuleValidation::analyze(), CaloTowerConstituentsMap::assign(), EcalTrigTowerConstituentsMap::assign(), SegmentsTrackAssociator::associate(), TrackerHitAssociator::associateHit(), TrackerHitAssociator::associatePixelRecHit(), RPCHitAssociator::associateRecHit(), TrackerHitAssociator::associateSimpleRecHit(), MuonAssociatorByHits::associateSimToReco(), TrackAssociatorByHits::associateSimToReco(), PhiSymmetryCalibration::beginJob(), SiStripLAProfileBooker::beginJob(), ListIds::beginJob(), EcalTPGParamBuilder::beginJob(), DeDxDiscriminatorProducer::beginJob(), Pi0FixedMassWindowCalibration::beginOfJob(), InvRingCalib::beginOfJob(), AlignmentMonitorMuonHIP::book(), DTtTrigCalibrationTest::bookHistos(), TkTransientTrackingRecHitBuilder::build(), VisEventSetup::buildCSC(), VisEventSetup::buildDriftTubes(), CmsTrackerDetIdBuilder::buildId(), VisEventSetup::buildRPC(), SiPixelRecHitSource::buildStructure(), SiPixelDigiSource::buildStructure(), SiPixelRawDataErrorSource::buildStructure(), SiPixelClusterSource::buildStructure(), SurveyResidual::calculate(), CaloTowerDetId::CaloTowerDetId(), MuonIdProducer::chamberId(), SimpleCosmicBONSeeder::checkCharge(), GlobalTrajectoryBuilderBase::checkMuonHits(), GlobalMuonRefitter::checkMuonHits(), SimpleCosmicBONSeeder::checkNoisyModules(), MuonIdTruthInfo::checkSimHitForBestMatch(), TrackerGeometryCompare::compareGeometries(), PixelCPEBase::computeLorentzShifts(), SeedFromConsecutiveHits::construct(), EcalShowerContainmentCorrections::correctionCoefficients(), EcalFEtoDigi::create_TPSample(), EcalFEtoDigi::create_TPSampleTcp(), PFRecHitProducerECAL::createEcalRecHit(), PFRecHitProducerHCAL::createHcalRecHit(), muonisolation::CaloExtractorByAssociator::deposits(), RingMaker::determineExtensions(), RoadSearchDetIdHelper::detIdsOnSameLayer(), RoadSearchSeedFinderAlgorithm::detIdsOnSameLayer(), TrackerGeometryCompare::diffCommonTrackerSystem(), BeamProfileFitter::doFit(), MuonAlignmentAnalyzer::doMatching(), MuonStandaloneAlgorithm::doMatching(), EcalPreshowerTopology::down(), VisCuTrackerSimHit::drawsimhit(), PixelCPEBase::driftDirection(), StripCPE::driftDirection(), SiHitDigitizer::DriftDirection(), DTLayerId::DTLayerId(), DTRecSegment4D::DTRecSegment4D(), DTSuperLayerId::DTSuperLayerId(), DTWireId::DTWireId(), dumpChannelId(), EcalEleCalibLooper::duringLoop(), InvRingCalib::duringLoop(), EcalBarrelTopology::east(), EcalBarrelHardcodedTopology::east(), EcalEndcapTopology::east(), EcalPreshowerTopology::east(), EBDetId::EBDetId(), EcalEleCalibLooper::EBRegionDefinition(), EcalEleCalibLooper::EcalEleCalibLooper(), EcalPnDiodeDetId::EcalPnDiodeDetId(), EcalScDetId::EcalScDetId(), EcalTrigTowerDetId::EcalTrigTowerDetId(), EEDetId::EEDetId(), InvRingCalib::EERingDef(), MuonSegmentEff::endJob(), ZeeCalibration::endOfJob(), InvRingCalib::endOfJob(), ESDetId::ESDetId(), AlignmentMonitorMuonResiduals::event(), RPCPackingModule::eventRecords(), LaserAlignment::fillAdcCounts(), EcalEleCalibLooper::fillEBMap(), InvRingCalib::fillEBMap(), GlobalDigisAnalyzer::fillECal(), GlobalRecHitsAnalyzer::fillECal(), GlobalDigisProducer::fillECal(), GlobalRecHitsProducer::fillECal(), InvRingCalib::fillEEMap(), EcalEleCalibLooper::fillEEMap(), CastorDigiProducer::fillFakeHits(), GlobalRecHitsAnalyzer::fillHCal(), GlobalDigisAnalyzer::fillHCal(), GlobalDigisProducer::fillHCal(), GlobalRecHitsProducer::fillHCal(), TrackerValidationVariables::fillHitQuantities(), CSCSegmentValidation::fillLayerHitsPerChamber(), EcalElectronicsMapper::fillMaps(), GlobalRecHitsProducer::fillMuon(), GlobalRecHitsAnalyzer::fillMuon(), RingMaker::fillTECGeometryArray(), RingMaker::fillTIBGeometryArray(), RingMaker::fillTIDGeometryArray(), RingMaker::fillTOBGeometryArray(), TrackerGeometryCompare::fillTree(), cms::TECClusterFilter::filter(), cms::ClusterMTCCFilter::filter(), PFRecHitProducerECAL::findEcalRecHitGeometry(), SiStripElectronAlgo::findElectron(), EcalCoder::findGains(), EcalCoder::findPedestal(), EcalMixingModuleValidation::findPedestal(), KFTrajectoryFitter::fit(), MuonRoadTrajectoryBuilder::GatherHits(), EcalTestDevDB::generateEcalGainRatios(), EcalTestDevDB::generateEcalIntercalibConstants(), EcalTestDevDB::generateEcalPedestals(), EcalTestDevDB::generateEcalWeightXtalGroups(), GluedGeomDet::geographicalId(), CastorCalibrationQIEData::getCoder(), CastorQIEData::getCoder(), MuonAlignmentInputXML::getCSCnode(), MuonAlignmentInputXML::getDTnode(), TrackerOfflineValidation::GetHistStructFromMap(), MuonGeometryIntoNtuples::getId(), EcalTrivialConditionRetriever::getIntercalibConstantsFromConfiguration(), EcalTrivialConditionRetriever::getIntercalibErrorsFromConfiguration(), EcalTPGScale::getLinearizedTPG(), EcalLaserDbService::getLMNumber(), TrackAssociatorByHits::getMatchedIds(), MuonAssociatorByHits::getMatchedIds(), VisCuTracker::getModuleName(), SiStripGainCosmicCalculator::getNewObject(), popcon::EcalPedestalsHandler::getNewObjectsH2(), popcon::EcalPedestalsHandler::getNewObjectsP5(), HcalTestHitGenerator::getNoiseHits(), Roads::getRoadSeed(), getSimHits(), TrackDetectorAssociator::getTAMuonChamberMatches(), RPCTriggerGeo::getTowersForStrip(), CastorNumberingScheme::getUnitID(), ZdcNumberingScheme::getUnitID(), HcalMaterials::getValue(), CastorGainWidths::getValues(), CastorRawGains::getValues(), CastorPedestals::getValues(), CastorPedestalWidths::getValues(), HcalRawGains::getValues(), CastorGains::getValues(), gluedId(), HcalGenericDetId::hashedId(), HcalCalibDetId::HcalCalibDetId(), HcalCastorDetId::HcalCastorDetId(), HcalDetId::HcalDetId(), HcalOtherDetId::HcalOtherDetId(), HcalTrigTowerDetId::HcalTrigTowerDetId(), HcalZDCDetId::HcalZDCDetId(), CalorimetryManager::HDShowerSimulation(), HodoscopeDetId::HodoscopeDetId(), TrackerGeometry::idToDet(), TrackerGeometry::idToDetUnit(), MuonDetLayerGeometry::idToLayer(), CastorTopology::incModule(), CastorTopology::incSector(), HcalText2DetIdConverter::init(), CastorText2DetIdConverter::init(), TrackerRecHit::init(), SeedFromProtoTrack::init(), RoadSearchDetIdHelper::IsGluedRPhi(), CalibrationTrackSelector::isIsolated(), AlignmentTrackSelector::isIsolated(), RoadSearchDetIdHelper::IsSingleRPhi(), RoadSearchDetIdHelper::IsStereo(), SiStripQualityConfigurableFakeESSource::isTECDetector(), SiStripQualityConfigurableFakeESSource::isTIBDetector(), SiStripQualityConfigurableFakeESSource::isTIDDetector(), SiStripQualityConfigurableFakeESSource::isTOBDetector(), KalmanAlignmentUserVariables::KalmanAlignmentUserVariables(), MuonAssociatorByHits::LayerFromDetid(), TrackingTruthProducer::LayerFromDetid(), TrackAssociatorByHits::LayerFromDetid(), TrackingElectronProducer::layerFromDetid(), CSCBaseElectronicsSim::layerId(), ZdcTopology::longitudinal(), CastorElectronicsMap::lookup(), HcalElectronicsMap::lookup(), CastorElectronicsMap::lookupTrigger(), HcalElectronicsMap::lookupTrigger(), PixelCPEBase::lorentzShiftX(), PixelCPEBase::lorentzShiftY(), TempTrajectory::lost(), Trajectory::lost(), CastorDbHardcode::makeCalibrationQIECoder(), XMLDocument::makeChId(), CastorDbHardcode::makeGain(), CastorDbHardcode::makeGainWidth(), CastorDbHardcode::makePedestal(), CastorDbHardcode::makePedestalWidth(), CastorDbHardcode::makeQIECoder(), TrajectoryManager::makeSinglePSimHit(), MuonRoadTrajectoryBuilder::makeTrajectories_0(), CastorElectronicsMap::mapEId2chId(), HcalElectronicsMap::mapEId2chId(), CastorElectronicsMap::mapEId2tId(), HcalElectronicsMap::mapEId2tId(), MuonSegmentMatcher::matchDT(), SiTrackerGaussianSmearingRecHitConverter::matchHits(), EcalPreshowerTopology::north(), EcalBarrelHardcodedTopology::north(), EcalEndcapTopology::north(), EcalBarrelTopology::north(), HcalTopology::north(), VisTrackerRechit2DTwig::onNewEvent(), VisL1MuDTChambThContainerTwig::onNewEvent(), VisTrackerRechit2DMatchedTwig::onNewEvent(), VisTrackerPiRechitTwig::onNewEvent(), VisL1MuDTChambPhContainerTwig::onNewEvent(), DetIdComparator::operator()(), rpcrawtodigi::DebugDigisPrintout::operator()(), DBSpecToDetUnit::operator()(), DTOccupancyPoint::operator<(), RPCDetId::operator<(), operator<<(), HcalTrigTowerDetId::operator=(), HcalOtherDetId::operator=(), HcalZDCDetId::operator=(), EcalPnDiodeDetId::operator=(), HcalCastorDetId::operator=(), HodoscopeDetId::operator=(), EEDetId::operator=(), EcalScDetId::operator=(), HcalDetId::operator=(), HcalCalibDetId::operator=(), EcalTrigTowerDetId::operator=(), CaloTowerDetId::operator=(), ESDetId::operator=(), EBDetId::operator=(), HcalGenericDetId::otherSubdet(), StripCPE::param(), CaloMiscalibMapHcal::prefillMap(), CaloMiscalibMapEcal::prefillMap(), RoadSearchTrackCandidateMakerAlgorithm::PrepareTrackCandidates(), BaseCrystal::print(), CaloMiscalibMapEcal::print(), sipixelobjects::PixelFEDLink::printForMap(), HcaluLUTTPGCoder::PrintTPGMap(), TrackClusterRemover::process(), EcalFenixTcp::process_part2_barrel(), EcalFenixTcp::process_part2_endcap(), MuonHIPAlignmentRefitter::produce(), HcalDummyHitProducer::produce(), L2MuonSeedGenerator::produce(), RemainingClusterProducer::produce(), EcalChannelKiller::produce(), SiPixelFedCablingMapBuilder::produce(), TrackCandidateProducer::produce(), reco::modules::CosmicTrackSplitter::produce(), CSCDCCUnpacker::produce(), reco::modules::TrackerTrackHitFilter::produce(), MuonSimHitProducer::produce(), TrackerToMuonPropagator::produce(), EcalTrivialConditionRetriever::produceEcalGainRatios(), EcalTrivialConditionRetriever::produceEcalIntercalibConstants(), EcalTrivialConditionRetriever::produceEcalIntercalibErrors(), EcalTrivialConditionRetriever::produceEcalPedestals(), EcalTrivialConditionRetriever::produceEcalWeightXtalGroups(), CkfDebugger::pSimHit(), TSGForRoadSearch::pushTrajectorySeed(), HcalMaterials::putValue(), LMap::impl::read(), DTSurvey::ReadChambers(), StoreEcalCondition::readEcalGainRatiosFromFile(), StoreEcalCondition::readEcalIntercalibConstantsFromFile(), StoreEcalCondition::readEcalWeightXtalGroupsFromFile(), SurveyDataReader::readFile(), SiStripMonitorTrack::RecHitInfo(), SiStripMonitorTrackEfficiency::RecHitInfo(), cms::ClusterAnalysis::RecHitInfo(), MuonDetLayerMeasurements::recHits(), CalorimetryManager::reconstructECAL(), AlignableNavigator::recursiveGetId(), SimpleTrackRefitter::refitTrack(), ClusterRemovalRefSetter::reKey(), helper::TrackCollectionStoreManager::ClusterHitRecord< RecHitType, ClusterRefType >::rekey(), helper::MuonCollectionStoreManager::ClusterHitRecord< RecHitType, ClusterRefType >::rekey(), RoadMaker::RingsOnSameLayer(), RPCDetInfo::RPCDetInfo(), SiStripDigitizerAlgorithm::run(), SiPixelDigitizerAlgorithm::run(), TrackInfoProducerAlgorithm::run(), DTLocalTriggerEfficiencyTest::runClientDiagnostic(), DTLocalTriggerTask::runDCCAnalysis(), DTLocalTriggerTask::runSegmentAnalysis(), EcalSelectiveReadout::runSelectiveReadout0(), SeedFromConsecutiveHits::SeedFromConsecutiveHits(), CSCTMBHeader::selfTest(), CSCEventData::selfTest(), CastorPedestalWidths::setWidth(), CosmicMuonLinksProducer::sharedHits(), SiStripRecHit2D::sharesInput(), RPCSimAverageNoise::simulate(), RPCSimAverageNoiseEff::simulate(), RPCSimParam::simulate(), RPCSimTriv::simulate(), RPCSimSimple::simulate(), RPCSimAverage::simulate(), RPCSimAverageNoise::simulateNoise(), RPCSimAverageNoiseEff::simulateNoise(), CRackTrajectoryBuilder::SortHits(), EcalBarrelTopology::south(), EcalPreshowerTopology::south(), HcalTopology::south(), EcalBarrelHardcodedTopology::south(), EcalEndcapTopology::south(), VisCuTkGeometryTwig::storeTracks(), SurveyResidual::SurveyResidual(), CaloHitResponse::timeOfFlight(), TkStripMeasurementDet::TkStripMeasurementDet(), LaserDQM::trackerStatistics(), LaserAlignment::trackerStatistics(), SiStripMonitorTrackEfficiency::trackStudy(), SiStripMonitorTrack::trackStudy(), ZdcTopology::transverse(), TrackerAlignableId::typeAndLayerFromDetId(), undefinedCells(), EcalPreshowerTopology::up(), VisCuTrackerSimHit::update(), VisCuTrackerSimHit::updatetext(), EcalBarrelTopology::west(), EcalBarrelHardcodedTopology::west(), EcalEndcapTopology::west(), and EcalPreshowerTopology::west().

00044 { 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 38 of file DetId.h.

References id_, and kSubdetOffset.

Referenced by ZDCHitFilter::accepts(), CastorHitFilter::accepts(), VisEventSetupService::addWafer(), VisTrackingGeometry::addWafer(), SiStripGainFromData::algoBeginJob(), SiStripCalibLorentzAngle::algoBeginJob(), PedeLabeler::alignableLabel(), EcalSelectiveReadoutValidation::anaDigi(), CkfDebugger::analyseRecHitExistance(), SiPixelDigiValid::analyze(), SiStripDigiValid::analyze(), ElectronPixelSeedAnalyzer::analyze(), SiStripQualityStatistics::analyze(), ElectronCalibrationUniv::analyze(), SiPixelTrackResidualSource::analyze(), SiPixelRecHitsValid::analyze(), SiPixelErrorEstimation::analyze(), SiPixelTrackingRecHitsValid::analyze(), JetToDigiDump::analyze(), SiStripRecHitsValid::analyze(), MuonAlignmentAnalyzer::analyze(), SiStripLAProfileBooker::analyze(), SiStripTrackingRecHitsValid::analyze(), reco::modules::TrackerTrackHitFilter::Rule::apply(), SegmentsTrackAssociator::associate(), TrackerHitAssociator::associateHit(), TrackerHitAssociator::associateHitId(), MuonAssociatorByHits::associateSimToReco(), TrackAssociatorByHits::associateSimToReco(), BaseCrystal::BaseCrystal(), HcalMonitorModule::beginJob(), ListIds::beginJob(), SiStripLAProfileBooker::beginJob(), DeDxDiscriminatorProducer::beginJob(), cms::ClusterAnalysis::book(), CaloGeometryHelper::borderCrossing(), CaloGeometryHelper::buildCrystal(), SiPixelRecHitSource::buildStructure(), SiPixelDigiSource::buildStructure(), SiPixelRawDataErrorSource::buildStructure(), SiPixelClusterSource::buildStructure(), CaloTowerDetId::CaloTowerDetId(), CaloRecHitCandidateProducer::cellTresholdAndWeight(), DTChamberEfficiency::chamberSelection(), EcalTrigTowerConstituentsMap::changeEEDetIdQuadrantAndZ(), DTChamberId::checkMuonId(), SimpleCosmicBONSeeder::checkNoisyModules(), HcalMonitorModule::CheckSubdetectorStatus(), cms::ClusterAnalysis::clusterInfos(), PixelHitMatcher::compatibleSeeds(), EcalGlobalShowerContainmentCorrectionsVsEta::correction(), CSCDetId::CSCDetId(), EBSelectiveReadoutTask::dccNum(), EESelectiveReadoutTask::dccNum(), HcalHitCorrection::delay(), CastorHitCorrection::delay(), AlignmentTrackSelector::detailedHitsCheck(), CalibrationTrackSelector::detailedHitsCheck(), AlignableNavigator::detAndSubdetInMap(), RoadSearchDetIdHelper::detIdsOnSameLayer(), RoadSearchSeedFinderAlgorithm::detIdsOnSameLayer(), AlignmentParameterSelector::detUnitDeselected(), CSCSkim::doBFieldStudySelection(), CSCSkim::doLongSATrack(), CSCValidation::doStandalone(), VisCuTrackerCluster::drawcluster(), VisCuTrackerDigi::drawdigi(), EcalEleCalibLooper::duringLoop(), InvRingCalib::duringLoop(), ZeeCalibration::duringLoop(), EBDetId::EBDetId(), EcalPnDiodeDetId::EcalPnDiodeDetId(), EcalScDetId::EcalScDetId(), EcalTrigTowerDetId::EcalTrigTowerDetId(), EEDetId::EEDetId(), ElectronCalibrationUniv::endJob(), ESDetId::ESDetId(), HITrackingRegionProducer::estimateMultiplicity(), AlignmentMonitorMuonHIP::event(), VisCuTkBuilder::fill(), EgHLTOffHelper::fillEgHLTOffEleVec(), SiStripQualityDQM::fillGrandSummaryMEs(), TrackerValidationVariables::fillHitQuantities(), cms::ClusterAnalysis::fillPedNoiseFromDB(), TrackerGeometryCompare::fillTree(), GlobalRecHitsProducer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), cms::TECClusterFilter::filter(), cms::ClusterMTCCFilter::filter(), EcalCoder::findGains(), SiPixelInformationExtractor::findNoisyPixels(), EcalCoder::findPedestal(), KFTrajectoryFitter::fit(), EcalCoder::fullScaleEnergy(), HcalGenericDetId::genericSubdet(), SiStripCablingDQM::getActiveDetIds(), CaloGeometryHelper::getClosestCell(), HardTauAlgorithm::getClusterEnergy(), getDetLayer(), L2TauIsolationProducer::getECALHits(), TrackerOfflineValidation::GetHistStructFromMap(), DetHitAccess::getHitVector(), SiStripLAProfileBooker::getlayer(), SiStripMonitorCluster::getLayerLabel(), SiStripMonitorDigi::getLayerLabel(), EcalLaserDbService::getLMNumber(), MuonAssociatorByHits::getMatchedIds(), VisCuTracker::getModuleName(), CaloGeometryHelper::getNeighbours(), SiStripGainCosmicCalculator::getNewObject(), JetMatchingTools::getPCaloHits(), CaloRecoTauTagInfoAlgorithm::getPositionAndEnergyEcalRecHits(), SiStripSubStructure::getTECDetectors(), CaloTowersCreationAlgo::getThresholdAndWeight(), SiStripSubStructure::getTIBDetectors(), SiStripSubStructure::getTIDDetectors(), SiStripSubStructure::getTOBDetectors(), CaloGeometryHelper::getWindow(), HcalCalibDetId::HcalCalibDetId(), HcalCastorDetId::HcalCastorDetId(), HcalDetId::HcalDetId(), HcalOtherDetId::HcalOtherDetId(), HcalTrigTowerDetId::HcalTrigTowerDetId(), HcalZDCDetId::HcalZDCDetId(), HodoscopeDetId::HodoscopeDetId(), MuonSeedBuilder::IdentifyShowering(), MuonDetLayerGeometry::idToLayer(), TrackerRecHit::init(), CalibrationTrackSelector::isHit2D(), AlignmentTrackSelector::isHit2D(), reco::HitPattern::isStereo(), reco::modules::TrackerTrackHitFilter::Rule::layer(), MuonAssociatorByHits::LayerFromDetid(), TrackingTruthProducer::LayerFromDetid(), TrackAssociatorByHits::LayerFromDetid(), TrackingElectronProducer::layerFromDetid(), VisTrackerRechit2DTwig::localPosition(), VisEventSetupService::localPosition(), VisEventSetupService::localPositions(), VisTrackerRechit2DTwig::localPositions(), JetAnalyzer::MakeCellListFromCaloTowers(), MuonRoadTrajectoryBuilder::makeTrajectories_0(), SiTrackerGaussianSmearingRecHitConverter::matchHits(), PFRecHitProducerECAL::move(), CaloGeometryHelper::move(), CkfDebugger::nextCorrectHits(), muonisolation::CaloExtractorByAssociator::noiseRecHit(), MuonSeedBuilder::NRecHitsFromSegment(), DetIdPXBSameLayerComparator::operator()(), DetIdTIDSameDiskComparator::operator()(), DetIdTOBSameLayerComparator::operator()(), DetIdTECSameDiskComparator::operator()(), DetIdPXFSameDiskComparator::operator()(), DetIdTIBSameLayerComparator::operator()(), operator<<(), HcalOtherDetId::operator=(), HcalTrigTowerDetId::operator=(), HcalZDCDetId::operator=(), EcalPnDiodeDetId::operator=(), HodoscopeDetId::operator=(), HcalCastorDetId::operator=(), EcalScDetId::operator=(), EEDetId::operator=(), HcalDetId::operator=(), CaloTowerDetId::operator=(), EcalTrigTowerDetId::operator=(), HcalCalibDetId::operator=(), EBDetId::operator=(), ESDetId::operator=(), HcalGenericDetId::otherSubdet(), TrackClusterRemover::process(), processHits(), JetCrystalsAssociator::produce(), RemainingClusterProducer::produce(), SiPixelFedCablingMapBuilder::produce(), EcalRawToRecHitProducer::produce(), cms::SiPixelDigitizer::produce(), InterestingDetIdCollectionProducer::produce(), SiStripDaqInfo::readFedIds(), MuonDetLayerMeasurements::recHits(), CalorimetryManager::reconstructECAL(), AlignableNavigator::recursiveGetId(), MuonGeometryIntoNtuples::recursiveWalk(), ClusterRemovalRefSetter::reKey(), RoadMaker::RingInBarrel(), RoadMaker::RingsOnSameLayer(), RPCDetId::RPCDetId(), RoadSearchHelixMakerAlgorithm::run(), MuonSeedBuilder::SeedCandidates(), SeedFromGenericPairOrTriplet::seedFromTriplet(), ctfseeding::SeedingHit::SeedingHitImpl::SeedingHitImpl(), SingleEleCalibSelector::select(), VisCuTrackerRecHit::setEvent(), HcalTBDigiProducer::setPhaseShift(), EcalTBDigiProducer::setPhaseShift(), EcalSimParameterMap::simParameters(), CaloGeometryHelper::simplemove(), CastorDigiProducer::sortHits(), PFRecHitProducerECAL::stdsimplemove(), HcalDetId::subdet(), EcalScDetId::subdet(), ESDetId::subdet(), HcalTrigTowerDetId::subdet(), HodoscopeDetId::subdet(), SiStripDetId::subDetector(), HcalHitCorrection::timeOfFlight(), CastorHitCorrection::timeOfFlight(), VisEventSetupService::trackerModuleName(), LaserDQM::trackerStatistics(), LaserAlignment::trackerStatistics(), TrackingTruthProducer::trackingParticleAssembler(), KFTrajectorySmoother::trajectories(), SiPixelOfflineCalibAnalysisBase::translateDetIdToString(), TrackerAlignableId::typeAndLayerFromDetId(), HcalDataFormatMonitor::unpack(), HcalUnpacker::unpack(), VisPCaloHitTwig::update(), VisTrackerClusterTwig::update(), VisTrackerPiClusterTwig::update(), VisTrackerRechit2DTwig::update(), VisCuTrackerDigi::update(), VisTrackerPiDigiTwig::update(), VisCuTrackerCluster::update(), VisTrackerDigiTwig::update(), VisCuTrackerCluster::updatetext(), VisCuTrackerDigi::updatetext(), KalmanAlignmentSetup::useForExternalTracking(), KalmanAlignmentSetup::useForTracking(), EcalTrigTowerConstituentsMap::wrapEcalTrigTowerDetId(), and EcalTrigTowerConstituentsMap::wrapEEDetId().

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


Member Data Documentation

uint32_t DetId::id_ [protected]

Definition at line 56 of file DetId.h.

Referenced by PXFDetId::blade(), HcalCalibDetId::calibFlavor(), CaloTowerDetId::CaloTowerDetId(), HcalCalibDetId::cboxChannel(), CSCDetId::chamber(), RPCDetId::chamberId(), CSCDetId::chamberId(), DTSuperLayerId::chamberId(), HcalZDCDetId::channel(), CSCDetId::CSCDetId(), HcalZDCDetId::depth(), HcalDetId::depth(), det(), DetId(), PXFDetId::disk(), DTChamberId::DTChamberId(), DTLayerId::DTLayerId(), DTSuperLayerId::DTSuperLayerId(), DTWireId::DTWireId(), EBDetId::EBDetId(), EcalPnDiodeDetId::EcalPnDiodeDetId(), EcalScDetId::EcalScDetId(), EcalTrigTowerDetId::EcalTrigTowerDetId(), EEDetId::EEDetId(), CSCDetId::endcap(), ESDetId::ESDetId(), HodoscopeDetId::fibrId(), StripSubdetector::glued(), SiStripDetId::glued(), ESDetId::hashedIndex(), HcalCalibDetId::HcalCalibDetId(), HcalCastorDetId::HcalCastorDetId(), HcalDetId::HcalDetId(), HcalOtherDetId::HcalOtherDetId(), HcalCalibDetId::hcalSubdet(), HcalTrigTowerDetId::HcalTrigTowerDetId(), HcalZDCDetId::HcalZDCDetId(), HodoscopeDetId::HodoscopeDetId(), EcalPnDiodeDetId::iDCCId(), EcalPnDiodeDetId::iEcalSubDetectorId(), HcalCalibDetId::ieta(), L1CaloRegionDetId::ieta(), EcalTrigTowerDetId::ietaAbs(), HcalDetId::ietaAbs(), CaloTowerDetId::ietaAbs(), HcalTrigTowerDetId::ietaAbs(), EBDetId::ietaAbs(), RPCDetId::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(), PXBDetId::ladder(), TIBDetId::layer(), TOBDetId::layer(), DTLayerId::layer(), PXBDetId::layer(), CSCDetId::layer(), RPCDetId::layer(), DTWireId::layerId(), PXFDetId::module(), TOBDetId::module(), PXBDetId::module(), TIDDetId::module(), TECDetId::module(), HcalCastorDetId::module(), TIBDetId::module(), null(), operator uint32_t(), operator!=(), operator()(), operator<(), HcalOtherDetId::operator=(), HcalTrigTowerDetId::operator=(), HcalZDCDetId::operator=(), EcalPnDiodeDetId::operator=(), HcalCastorDetId::operator=(), HodoscopeDetId::operator=(), EcalScDetId::operator=(), EEDetId::operator=(), HcalDetId::operator=(), CaloTowerDetId::operator=(), EcalTrigTowerDetId::operator=(), HcalCalibDetId::operator=(), EBDetId::operator=(), ESDetId::operator=(), operator==(), PXFDetId::panel(), StripSubdetector::partnerDetId(), SiStripDetId::partnerDetId(), TECDetId::petal(), ESDetId::plane(), HodoscopeDetId::planeId(), EBDetId::positiveZ(), EEDetId::positiveZ(), PXBDetId::PXBDetId(), PXFDetId::PXFDetId(), rawId(), RPCDetId::region(), SiStripDetId::reserved(), RPCDetId::ring(), CSCDetId::ring(), TIDDetId::ring(), TECDetId::ring(), TOBDetId::rod(), RPCDetId::roll(), HcalZDCDetId::section(), HcalCastorDetId::sector(), DTChamberId::sector(), RPCDetId::sector(), PXFDetId::side(), TIDDetId::side(), TECDetId::side(), SiStripDetId::SiStripDetId(), ESDetId::six(), ESDetId::siy(), RPCDetId::station(), CSCDetId::station(), DTChamberId::station(), SiStripDetId::stereo(), StripSubdetector::stereo(), TIBDetId::string(), ESDetId::strip(), EcalTrigTowerDetId::subDet(), HcalOtherDetId::subdet(), subdetId(), RPCDetId::subsector(), DTSuperLayerId::superLayer(), DTLayerId::superlayerId(), TECDetId::TECDetId(), TIBDetId::TIBDetId(), TIDDetId::TIDDetId(), TOBDetId::TOBDetId(), TIDDetId::wheel(), DTChamberId::wheel(), TECDetId::wheel(), DTWireId::wire(), HcalCalibDetId::zside(), CaloTowerDetId::zside(), ESDetId::zside(), EcalScDetId::zside(), HcalCastorDetId::zside(), EEDetId::zside(), HcalZDCDetId::zside(), HcalDetId::zside(), EcalTrigTowerDetId::zside(), HcalTrigTowerDetId::zside(), and EBDetId::zside().

const int DetId::kDetOffset = 28 [static]

Definition at line 21 of file DetId.h.

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

const int DetId::kSubdetOffset = 25 [static]

Definition at line 22 of file DetId.h.

Referenced by CSCDetId::rawIdMaker(), SiStripRecHit2D::sharesInput(), and subdetId().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:18:23 2009 for CMSSW by  doxygen 1.5.4