Enumerations | |
enum | Location { barrel, endcap, invalidLoc } |
enum | SubDetector { PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap, GEM, ME0, P2OTB, P2OTEC, P1PXB, P1PXEC, P2PXEC, invalidDet } |
Functions | |
bool | isBarrel (GeomDetEnumerators::SubDetector m) |
bool | isCSC (const GeomDetEnumerators::SubDetector m) |
bool | isDT (const GeomDetEnumerators::SubDetector m) |
bool | isEndcap (GeomDetEnumerators::SubDetector m) |
bool | isGEM (const GeomDetEnumerators::SubDetector m) |
bool | isME0 (const GeomDetEnumerators::SubDetector m) |
bool | isMuon (const GeomDetEnumerators::SubDetector m) |
bool | isRPC (const GeomDetEnumerators::SubDetector m) |
bool | isTracker (const GeomDetEnumerators::SubDetector m) |
bool | isTrackerPixel (const GeomDetEnumerators::SubDetector m) |
bool | isTrackerStrip (const GeomDetEnumerators::SubDetector m) |
Variables | |
SubDetector | subDetGeom [18] ={PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, invalidDet, invalidDet, invalidDet, invalidDet, invalidDet, invalidDet, TOB, TID, PixelBarrel, PixelEndcap, PixelEndcap, invalidDet} |
unsigned int | subDetId [18] ={1,2,3,5,4,6, 0, 0,0,0,0,0,5,4,1,2,2, 0} |
SubDetector | tkDetEnum [8] ={invalidDet, PixelBarrel, PixelEndcap, TIB, TID, TOB, TEC, invalidDet} |
Global enumerators for Det types.
Enumerator | |
---|---|
PixelBarrel | |
PixelEndcap | |
TIB | |
TOB | |
TID | |
TEC | |
CSC | |
DT | |
RPCBarrel | |
RPCEndcap | |
GEM | |
ME0 | |
P2OTB | |
P2OTEC | |
P1PXB | |
P1PXEC | |
P2PXEC | |
invalidDet |
Definition at line 11 of file GeomDetEnumerators.h.
bool GeomDetEnumerators::isBarrel | ( | GeomDetEnumerators::SubDetector | m | ) |
Definition at line 32 of file GeomDetEnumerators.cc.
References isDT(), P1PXB, P2OTB, PixelBarrel, RPCBarrel, TIB, and TOB.
Referenced by EwkElecDQM::analyze(), EcalDigisValidation::analyze(), EcalMixingModuleValidation::analyze(), ME::apdRefChannels(), MuonSeedSimpleCleaner::checkPt(), GlobalTrackingRegion::checkRZ(), RectangularEtaPhiTrackingRegion::checkRZOld(), EcalClusterToolsT< noZS >::cluster2ndMoments(), PFlow2DClusterizerWithTime::clusterTimeResolution(), PFlow2DClusterizerWithTime::clusterTimeResolutionFromSeed(), PixelCPEBase::driftDirection(), GlobalDigisProducer::fillECal(), GlobalDigisAnalyzer::fillECal(), EMEnrichingFilterAlgo::filterPhotonElectronSeed(), doubleEMEnrichingFilterAlgo::filterPhotonElectronSeed(), ecaldqm::binning::getBinningSM_(), SiPixelCPEGenericDBErrorParametrization::getError(), EcalLaserDbService::getLaserCorrection(), EcalClusterToolsT< noZS >::getNrCrysDiffInEta(), EcalClusterToolsT< noZS >::getNrCrysDiffInPhi(), RectangularEtaPhiTrackingRegion::hits(), EcalDisplaysByEvent::init2DEcalHist(), EcalDisplaysByEvent::init3DEcalHist(), GeomDetType::isBarrel(), isEndcap(), RPCCosmicSeedrecHitFinder::LayerComponent(), ME::lmmodFromDcc(), ME::lmmodFromLmr(), EcalClusterToolsT< noZS >::localCovariances(), PixelCPETemplateReco::localError(), PixelCPEGeneric::localError(), HcalDDDGeometryLoader::makeCell(), EcalDisplaysByEvent::makeHistos(), ME::memFromLmr(), HitComparatorByRadius::operator()(), PixelMatchNextLayers::PixelMatchNextLayers(), ME::pn(), EleIsoDetIdCollectionProducer::produce(), ConversionTrackCandidateProducer::produce(), GamIsoDetIdCollectionProducer::produce(), PixelFitterByConformalMappingAndLine::run(), TrackFitter::run(), PixelFitterByHelixProjections::run(), ecaldqm::RecoSummaryTask::runOnBasicClusters(), ecaldqm::ClusterTask::runOnBasicClusters(), ecaldqm::RecoSummaryTask::runOnRecHits(), ecaldqm::ClusterTask::runOnSuperClusters(), EcalClusterToolsT< noZS >::scLocalCovariances(), EcalMipGraphs::selectDigi(), EcalDisplaysByEvent::selectDigi(), EcalMipGraphs::selectHits(), EcalDisplaysByEvent::selectHits(), SiPixelGaussianSmearingRecHitConverterAlgorithm::SiPixelGaussianSmearingRecHitConverterAlgorithm(), and ExhaustiveMuonTrajectoryBuilder::trajectories().
bool GeomDetEnumerators::isCSC | ( | const GeomDetEnumerators::SubDetector | m | ) |
Definition at line 67 of file GeomDetEnumerators.cc.
References CSC.
Referenced by GeomDetType::isCSC(), MuonSeedOrcaPatternRecognition::markAsUsed(), TrackTransformerForGlobalCosmicMuons::MuonKeep(), and SETSeedFinder::sortByLayer().
bool GeomDetEnumerators::isDT | ( | const GeomDetEnumerators::SubDetector | m | ) |
Definition at line 62 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 37 of file GeomDetEnumerators.cc.
References isBarrel().
Referenced by EwkElecDQM::analyze(), EcalDigisValidation::analyze(), EcalMixingModuleValidation::analyze(), RectangularEtaPhiTrackingRegion::hits(), GeomDetType::isEndcap(), PhotonMVAEstimatorRun2Phys14NonTrig::isEndcapCategory(), PhotonMVAEstimatorRun2Spring15NonTrig::isEndcapCategory(), ElectronMVAEstimatorRun2Phys14NonTrig::isEndcapCategory(), ElectronMVAEstimatorRun2Spring15Trig::isEndcapCategory(), ElectronMVAEstimatorRun2Spring15NonTrig::isEndcapCategory(), RPCCosmicSeedrecHitFinder::LayerComponent(), and PixelCPETemplateReco::localPosition().
bool GeomDetEnumerators::isGEM | ( | const GeomDetEnumerators::SubDetector | m | ) |
Definition at line 78 of file GeomDetEnumerators.cc.
References GEM.
Referenced by GeomDetType::isGEM().
bool GeomDetEnumerators::isME0 | ( | const GeomDetEnumerators::SubDetector | m | ) |
Definition at line 83 of file GeomDetEnumerators.cc.
References ME0.
Referenced by GeomDetType::isME0().
bool GeomDetEnumerators::isMuon | ( | const GeomDetEnumerators::SubDetector | m | ) |
Definition at line 89 of file GeomDetEnumerators.cc.
References CSC, DT, GEM, isRPC(), and ME0.
Referenced by GeomDetType::isMuon().
bool GeomDetEnumerators::isRPC | ( | const GeomDetEnumerators::SubDetector | m | ) |
Definition at line 73 of file GeomDetEnumerators.cc.
References RPCBarrel, and RPCEndcap.
Referenced by isMuon(), GeomDetType::isRPC(), TrackTransformerForGlobalCosmicMuons::MuonKeep(), L1MuGMTLFPhiProEtaConvLUT::TheLookupFunction(), L1MuGMTMIAUEtaConvLUT::TheLookupFunction(), L1MuGMTLFEtaConvLUT::TheLookupFunction(), L1MuGMTLFSortRankPtQLUT::TheLookupFunction(), L1MuGMTLFPhiProLUT::TheLookupFunction(), L1MuGMTMIAUEtaProLUT::TheLookupFunction(), L1MuGMTLFSortRankEtaQLUT::TheLookupFunction(), and L1MuGMTMIAUPhiPro1LUT::TheLookupFunction().
bool GeomDetEnumerators::isTracker | ( | const GeomDetEnumerators::SubDetector | m | ) |
Definition at line 56 of file GeomDetEnumerators.cc.
References isTrackerPixel(), and isTrackerStrip().
Referenced by GeomDetType::isTracker(), and PFMuonSelector::TopPag12LjetsCuts().
bool GeomDetEnumerators::isTrackerPixel | ( | const GeomDetEnumerators::SubDetector | m | ) |
Definition at line 49 of file GeomDetEnumerators.cc.
References P1PXB, P1PXEC, P2OTB, P2OTEC, P2PXEC, PixelBarrel, and PixelEndcap.
Referenced by cms::SiPixelDigitizer::accumulatePixelHits(), SiPixelHLTSource::analyze(), PixelLumiDQM::analyze(), CosmicNavigationSchool::build(), SiPixelRawDataErrorSource::buildStructure(), reco::modules::TrackerTrackHitFilter::checkHitAngle(), reco::modules::TrackerTrackHitFilter::checkStoN(), PixelCPEBase::driftDirection(), SiPixelCPEGenericDBErrorParametrization::getError(), RectangularEtaPhiTrackingRegion::hits(), MeasurementTrackerImpl::initialize(), isTracker(), GeomDetType::isTrackerPixel(), PixelCPETemplateReco::localError(), PixelCPEGeneric::localError(), PixelCPETemplateReco::localPosition(), PixelMatchNextLayers::PixelMatchNextLayers(), SeedClusterRemover::process(), HLTTrackClusterRemoverNew::process(), HITrackClusterRemover::process(), ConvBremSeedProducer::produce(), reco::modules::TrackerTrackHitFilter::produceFromTrajectory(), and SiPixelGaussianSmearingRecHitConverterAlgorithm::SiPixelGaussianSmearingRecHitConverterAlgorithm().
bool GeomDetEnumerators::isTrackerStrip | ( | const GeomDetEnumerators::SubDetector | m | ) |
Definition at line 43 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(), reco::modules::TrackerTrackHitFilter::produceFromTrajectory(), and ClusterShapeTrajectoryFilter::toBeContinued().
SubDetector GeomDetEnumerators::subDetGeom[18] ={PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, invalidDet, invalidDet, invalidDet, invalidDet, invalidDet, invalidDet, TOB, TID, PixelBarrel, PixelEndcap, PixelEndcap, invalidDet} |
Definition at line 17 of file GeomDetEnumerators.h.
Referenced by TrackerGeomBuilderFromGeometricDet::buildPixel(), TrackerGeomBuilderFromGeometricDet::buildSilicon(), CaloDetIdAssociator::getDetIdPoints(), TSGForRoadSearch::makeSeeds_0(), TSGForRoadSearch::makeSeeds_3(), TSGForRoadSearch::makeSeeds_4(), HLTRecHitInAllL1RegionsProducer< RecHitType >::produce(), PixelForwardLayer::subDetector(), PixelForwardLayerPhase1::subDetector(), TECLayer::subDetector(), TIDLayer::subDetector(), Phase2OTECRingedLayer::subDetector(), and TBLayer::subDetector().
unsigned int GeomDetEnumerators::subDetId[18] ={1,2,3,5,4,6, 0, 0,0,0,0,0,5,4,1,2,2, 0} |
Definition at line 13 of file GeomDetEnumerators.h.
SubDetector GeomDetEnumerators::tkDetEnum[8] ={invalidDet, PixelBarrel, PixelEndcap, TIB, TID, TOB, TEC, invalidDet} |
Definition at line 15 of file GeomDetEnumerators.h.
Referenced by TrackerGeomBuilderFromGeometricDet::build(), PixelCPEBase::fillDetParams(), and StripCPE::fillParams().