Enumerations | |
enum | Location { barrel, endcap, invalidLoc } |
enum | SubDetector { PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap, GEM, ME0, P2OTB, P2OTEC, P1PXB, P1PXEC, P2PXB, P2PXEC, TimingBarrel, TimingEndcap, invalidDet } |
Functions | |
bool | isBarrel (GeomDetEnumerators::SubDetector m) |
bool | isCSC (GeomDetEnumerators::SubDetector m) |
bool | isDT (GeomDetEnumerators::SubDetector m) |
bool | isEndcap (GeomDetEnumerators::SubDetector m) |
bool | isGEM (GeomDetEnumerators::SubDetector m) |
bool | isInnerTracker (GeomDetEnumerators::SubDetector m) |
bool | isME0 (GeomDetEnumerators::SubDetector m) |
bool | isMuon (GeomDetEnumerators::SubDetector m) |
bool | isOuterTracker (GeomDetEnumerators::SubDetector m) |
bool | isRPC (GeomDetEnumerators::SubDetector m) |
bool | isTiming (GeomDetEnumerators::SubDetector m) |
bool | isTracker (GeomDetEnumerators::SubDetector m) |
bool | isTrackerPixel (GeomDetEnumerators::SubDetector m) |
bool | isTrackerStrip (GeomDetEnumerators::SubDetector m) |
Variables | |
constexpr SubDetector | subDetGeom [21] |
constexpr unsigned int | subDetId [21] |
constexpr SubDetector | tkDetEnum [8] |
Global enumerators for Det types.
Enumerator | |
---|---|
PixelBarrel | |
PixelEndcap | |
TIB | |
TOB | |
TID | |
TEC | |
CSC | |
DT | |
RPCBarrel | |
RPCEndcap | |
GEM | |
ME0 | |
P2OTB | |
P2OTEC | |
P1PXB | |
P1PXEC | |
P2PXB | |
P2PXEC | |
TimingBarrel | |
TimingEndcap | |
invalidDet |
Definition at line 10 of file GeomDetEnumerators.h.
bool GeomDetEnumerators::isBarrel | ( | GeomDetEnumerators::SubDetector | m | ) |
Definition at line 57 of file GeomDetEnumerators.cc.
References isDT(), P1PXB, P2OTB, P2PXB, PixelBarrel, RPCBarrel, TIB, TimingBarrel, and TOB.
Referenced by GlobalTrackingRegion::checkRZ(), PixelCPEBase::driftDirection(), SiPixelCPEGenericDBErrorParametrization::getError(), RectangularEtaPhiTrackingRegion::hits(), GeomDetType::isBarrel(), isEndcap(), PixelCPEClusterRepair::localError(), PixelCPETemplateReco::localError(), and PixelCPEGeneric::localError().
bool GeomDetEnumerators::isCSC | ( | GeomDetEnumerators::SubDetector | m | ) |
Definition at line 88 of file GeomDetEnumerators.cc.
References CSC.
Referenced by GeomDetType::isCSC(), MuonSeedOrcaPatternRecognition::markAsUsed(), TrackTransformerForGlobalCosmicMuons::MuonKeep(), and SETSeedFinder::sortByLayer().
bool GeomDetEnumerators::isDT | ( | GeomDetEnumerators::SubDetector | m | ) |
Definition at line 86 of file GeomDetEnumerators.cc.
References DT.
Referenced by MuonSeedBuilder::IdentifyShowering(), isBarrel(), GeomDetType::isDT(), TrackTransformerForGlobalCosmicMuons::MuonKeep(), and SETSeedFinder::sortByLayer().
bool GeomDetEnumerators::isEndcap | ( | GeomDetEnumerators::SubDetector | m | ) |
Definition at line 62 of file GeomDetEnumerators.cc.
References isBarrel().
Referenced by EwkElecDQM::analyze(), EcalDigisValidation::analyze(), JetAnalyzer_HeavyIons::analyze(), EcalMixingModuleValidation::analyze(), PixelCPEClusterRepair::callTempReco1D(), PixelCPEClusterRepair::callTempReco2D(), RectangularEtaPhiTrackingRegion::hits(), GeomDetType::isEndcap(), RPCCosmicSeedrecHitFinder::LayerComponent(), PixelCPEClusterRepair::localPosition(), and PixelCPETemplateReco::localPosition().
bool GeomDetEnumerators::isGEM | ( | GeomDetEnumerators::SubDetector | m | ) |
Definition at line 94 of file GeomDetEnumerators.cc.
References GEM.
Referenced by GeomDetType::isGEM().
bool GeomDetEnumerators::isInnerTracker | ( | GeomDetEnumerators::SubDetector | m | ) |
Definition at line 73 of file GeomDetEnumerators.cc.
References P1PXB, P1PXEC, P2PXB, P2PXEC, PixelBarrel, and PixelEndcap.
Referenced by GeomDetType::isInnerTracker().
bool GeomDetEnumerators::isME0 | ( | GeomDetEnumerators::SubDetector | m | ) |
Definition at line 96 of file GeomDetEnumerators.cc.
References ME0.
Referenced by GeomDetType::isME0().
bool GeomDetEnumerators::isMuon | ( | GeomDetEnumerators::SubDetector | m | ) |
bool GeomDetEnumerators::isOuterTracker | ( | GeomDetEnumerators::SubDetector | m | ) |
Definition at line 78 of file GeomDetEnumerators.cc.
References P2OTB, P2OTEC, TEC, TIB, TID, and TOB.
Referenced by Phase2EndcapLayerBuilder::build(), and GeomDetType::isOuterTracker().
bool GeomDetEnumerators::isRPC | ( | GeomDetEnumerators::SubDetector | m | ) |
Definition at line 90 of file GeomDetEnumerators.cc.
References RPCBarrel, and RPCEndcap.
Referenced by L1MuGMTDebugBlock::Eta(), isMuon(), GeomDetType::isRPC(), TrackTransformerForGlobalCosmicMuons::MuonKeep(), L1MuGMTDebugBlock::Phi(), L1MuGMTLFPhiProEtaConvLUT::TheLookupFunction(), L1MuGMTLFEtaConvLUT::TheLookupFunction(), L1MuGMTLFSortRankPtQLUT::TheLookupFunction(), L1MuGMTLFPhiProLUT::TheLookupFunction(), L1MuGMTMIAUEtaConvLUT::TheLookupFunction(), L1MuGMTMIAUEtaProLUT::TheLookupFunction(), L1MuGMTLFSortRankEtaQLUT::TheLookupFunction(), and L1MuGMTMIAUPhiPro1LUT::TheLookupFunction().
bool GeomDetEnumerators::isTiming | ( | GeomDetEnumerators::SubDetector | m | ) |
Definition at line 102 of file GeomDetEnumerators.cc.
References TimingBarrel, and TimingEndcap.
Referenced by GeomDetType::isTiming().
bool GeomDetEnumerators::isTracker | ( | GeomDetEnumerators::SubDetector | m | ) |
Definition at line 82 of file GeomDetEnumerators.cc.
References isTrackerPixel(), and isTrackerStrip().
Referenced by GeomDetType::isTracker().
bool GeomDetEnumerators::isTrackerPixel | ( | GeomDetEnumerators::SubDetector | m | ) |
Definition at line 68 of file GeomDetEnumerators.cc.
References P1PXB, P1PXEC, P2OTB, P2OTEC, P2PXB, P2PXEC, PixelBarrel, and PixelEndcap.
Referenced by cms::SiPixelDigitizer::accumulatePixelHits(), SiPixelHLTSource::analyze(), PixelLumiDQM::analyze(), CosmicNavigationSchool::build(), reco::modules::TrackerTrackHitFilter::checkHitAngle(), reco::modules::TrackerTrackHitFilter::checkStoN(), PixelCPEBase::driftDirection(), SiPixelCPEGenericDBErrorParametrization::getError(), TrajSeedMatcher::getNrValidLayersAlongTraj(), RectangularEtaPhiTrackingRegion::hits(), MeasurementTrackerImpl::initialize(), isTracker(), GeomDetType::isTrackerPixel(), PixelCPEClusterRepair::localError(), PixelCPETemplateReco::localError(), PixelCPEGeneric::localError(), PixelCPEClusterRepair::localPosition(), PixelCPETemplateReco::localPosition(), SeedClusterRemover::process(), HLTTrackClusterRemoverNew::process(), HITrackClusterRemover::process(), ConvBremSeedProducer::produce(), and reco::modules::TrackerTrackHitFilter::produceFromTrajectory().
bool GeomDetEnumerators::isTrackerStrip | ( | GeomDetEnumerators::SubDetector | m | ) |
Definition at line 64 of file GeomDetEnumerators.cc.
References TEC, TIB, TID, and TOB.
Referenced by SiStripDigitizer::accumulateStripHits(), reco::modules::TrackerTrackHitFilter::checkPXLCorrClustCharge(), reco::modules::TrackerTrackHitFilter::checkStoN(), RectangularEtaPhiTrackingRegion::hits(), isTracker(), GeomDetType::isTrackerStrip(), MTVHistoProducerAlgoForTracker::MTVHistoProducerAlgoForTracker(), reco::modules::TrackerTrackHitFilter::produceFromTrajectory(), and ClusterShapeTrajectoryFilter::toBeContinued().
|
constexpr |
Definition at line 40 of file GeomDetEnumerators.h.
Referenced by MTDGeomBuilderFromGeometricTimingDet::buildPixel(), TrackerGeomBuilderFromGeometricDet::buildPixel(), TrackerGeomBuilderFromGeometricDet::buildSilicon(), EgammaHLTExtraProducer::filterRecHits(), EgammaHLTPhase2ExtraProducer::filterRecHits(), CaloDetIdAssociator::getDetIdPoints(), HLTCaloObjInRegionsProducer< CaloObjType, CaloObjCollType >::makeFilteredColl(), TSGForRoadSearch::makeSeeds_0(), TSGForRoadSearch::makeSeeds_3(), TSGForRoadSearch::makeSeeds_4(), HLTRecHitInAllL1RegionsProducer< RecHitType >::produce(), PixelForwardLayer::subDetector(), PixelForwardLayerPhase1::subDetector(), TECLayer::subDetector(), TBLayer::subDetector(), TIDLayer::subDetector(), and Phase2EndcapLayer::subDetector().
|
constexpr |
Definition at line 34 of file GeomDetEnumerators.h.
Referenced by MCMisalignmentScaler::analyze(), MCMisalignmentScaler::decodeSubDetectors(), TrackerOfflineValidation::isBarrel(), TrackerOfflineValidation::isEndCap(), and TrackerOfflineValidation::isPixel().
|
constexpr |
Definition at line 37 of file GeomDetEnumerators.h.
Referenced by TrackerGeomBuilderFromGeometricDet::build(), PixelCPEClusterRepair::fill2DTemplIDs(), PixelCPEBase::fillDetParams(), Phase2StripCPE::fillParam(), StripCPE::fillParams(), and ClusterShapeHitFilter::fillStripData().