CMS 3D CMS Logo

Enumerations | Functions | Variables
GeomDetEnumerators Namespace Reference

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 isME0 (GeomDetEnumerators::SubDetector m)
 
bool isMuon (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

SubDetector subDetGeom [21] ={PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, invalidDet, invalidDet, invalidDet, invalidDet, invalidDet, invalidDet, TOB, TID, PixelBarrel, PixelEndcap, PixelBarrel, PixelEndcap, invalidDet, invalidDet, invalidDet}
 
unsigned int subDetId [21] ={1,2,3,5,4,6, 0, 0,0,0,0,0,5,4,1,2,1,2, 2,2, 0}
 
SubDetector tkDetEnum [8] ={invalidDet, PixelBarrel, PixelEndcap, TIB, TID, TOB, TEC, invalidDet}
 

Detailed Description

Global enumerators for Det types.

Enumeration Type Documentation

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 11 of file GeomDetEnumerators.h.

Function Documentation

bool GeomDetEnumerators::isBarrel ( GeomDetEnumerators::SubDetector  m)

Definition at line 35 of file GeomDetEnumerators.cc.

References isDT(), P1PXB, P2OTB, P2PXB, PixelBarrel, RPCBarrel, TIB, TimingBarrel, and TOB.

Referenced by EwkElecDQM::analyze(), EcalDigisValidation::analyze(), JetAnalyzer_HeavyIons::analyze(), EcalMixingModuleValidation::analyze(), ME::apdRefChannels(), Basic2DGenericPFlowPositionCalc::calculateAndSetPositionActual(), MuonSeedSimpleCleaner::checkPt(), GlobalTrackingRegion::checkRZ(), RectangularEtaPhiTrackingRegion::checkRZOld(), EcalClusterToolsT< noZS >::cluster2ndMoments(), PFlow2DClusterizerWithTime::clusterTimeResolution(), PFlow2DClusterizerWithTime::clusterTimeResolutionFromSeed(), EcalIsolationCorrector::correctForHLTDefinition(), EcalIsolationCorrector::correctForNoise(), MonitorTrackResidualsBase< pixel_or_strip >::createMEs(), PixelCPEBase::driftDirection(), GlobalDigisProducer::fillECal(), GlobalDigisAnalyzer::fillECal(), EMEnrichingFilterAlgo::filterPhotonElectronSeed(), doubleEMEnrichingFilterAlgo::filterPhotonElectronSeed(), ecaldqm::binning::getBinningSM_(), StubPtConsistency::getConsistency(), SiPixelCPEGenericDBErrorParametrization::getError(), ElectronTkIsolation::getIso(), EcalLaserDbService::getLaserCorrection(), OMTFConfiguration::getLayerNumber(), EcalClusterToolsT< noZS >::getNrCrysDiffInEta(), EcalClusterToolsT< noZS >::getNrCrysDiffInPhi(), CAHitTripletGenerator::hitNtuplets(), CAHitQuadrupletGenerator::hitNtuplets(), RectangularEtaPhiTrackingRegion::hits(), EcalDisplaysByEvent::init2DEcalHist(), EcalDisplaysByEvent::init3DEcalHist(), sipixelobjects::PixelROC::initFrameConversionPhase1(), sipixelobjects::PixelROC::initFrameConversionPhase1_CMSSW_9_0_X(), GeomDetType::isBarrel(), isEndcap(), RPCCosmicSeedrecHitFinder::LayerComponent(), ME::lmmodFromDcc(), ME::lmmodFromLmr(), EcalClusterToolsT< noZS >::localCovariances(), PixelCPEClusterRepair::localError(), PixelCPETemplateReco::localError(), PixelCPEGeneric::localError(), HcalDDDGeometryLoader::makeCell(), EcalDisplaysByEvent::makeHistos(), ME::memFromLmr(), HitComparatorByRadius::operator()(), PixelMatchNextLayers::PixelMatchNextLayers(), ME::pn(), EleIsoDetIdCollectionProducer::produce(), GamIsoDetIdCollectionProducer::produce(), ConversionTrackCandidateProducer::produce(), EgammaHLTGsfTrackVarProducer::produce(), TrackingNtuple::DetIdPixelOnly::push_back(), PixelFitterByConformalMappingAndLine::run(), PixelFitterByHelixProjections::run(), TrackFitter::run(), ecaldqm::RecoSummaryTask::runOnBasicClusters(), ecaldqm::ClusterTask::runOnBasicClusters(), ecaldqm::RecoSummaryTask::runOnRecHits(), ecaldqm::ClusterTask::runOnSuperClusters(), EcalClusterToolsT< noZS >::scLocalCovariances(), EcalMipGraphs::selectDigi(), EcalDisplaysByEvent::selectDigi(), EcalMipGraphs::selectHits(), EcalDisplaysByEvent::selectHits(), ExhaustiveMuonTrajectoryBuilder::trajectories(), and EcalIsolationCorrector::~EcalIsolationCorrector().

bool GeomDetEnumerators::isCSC ( GeomDetEnumerators::SubDetector  m)
bool GeomDetEnumerators::isDT ( GeomDetEnumerators::SubDetector  m)
bool GeomDetEnumerators::isEndcap ( GeomDetEnumerators::SubDetector  m)
bool GeomDetEnumerators::isGEM ( GeomDetEnumerators::SubDetector  m)

Definition at line 81 of file GeomDetEnumerators.cc.

References GEM.

Referenced by GeomDetType::isGEM().

82 {
83  return (subdet == GEM ) ;
84 }
bool GeomDetEnumerators::isME0 ( GeomDetEnumerators::SubDetector  m)

Definition at line 86 of file GeomDetEnumerators.cc.

References ME0.

Referenced by GeomDetType::isME0().

87 {
88  return (subdet == ME0 ) ;
89 }
bool GeomDetEnumerators::isMuon ( GeomDetEnumerators::SubDetector  m)

Definition at line 92 of file GeomDetEnumerators.cc.

References CSC, DT, GEM, isRPC(), and ME0.

Referenced by GeomDetType::isMuon().

93 {
94  return (subdet == DT || subdet == CSC || isRPC(subdet) || subdet == GEM || subdet == ME0) ;
95 }
bool isRPC(GeomDetEnumerators::SubDetector m)
bool GeomDetEnumerators::isRPC ( GeomDetEnumerators::SubDetector  m)
bool GeomDetEnumerators::isTiming ( GeomDetEnumerators::SubDetector  m)

Definition at line 97 of file GeomDetEnumerators.cc.

References TimingBarrel, and TimingEndcap.

Referenced by GeomDetType::isTiming().

bool GeomDetEnumerators::isTracker ( GeomDetEnumerators::SubDetector  m)

Definition at line 59 of file GeomDetEnumerators.cc.

References isTrackerPixel(), and isTrackerStrip().

Referenced by GeomDetType::isTracker().

60 {
61  return ( isTrackerStrip(subdet) || isTrackerPixel(subdet) );
62 }
bool isTrackerStrip(GeomDetEnumerators::SubDetector m)
bool isTrackerPixel(GeomDetEnumerators::SubDetector m)
bool GeomDetEnumerators::isTrackerPixel ( GeomDetEnumerators::SubDetector  m)

Definition at line 52 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(), PixelMatchNextLayers::PixelMatchNextLayers(), SeedClusterRemover::process(), HLTTrackClusterRemoverNew::process(), HITrackClusterRemover::process(), ConvBremSeedProducer::produce(), and reco::modules::TrackerTrackHitFilter::produceFromTrajectory().

bool GeomDetEnumerators::isTrackerStrip ( GeomDetEnumerators::SubDetector  m)

Variable Documentation

unsigned int GeomDetEnumerators::subDetId[21] ={1,2,3,5,4,6, 0, 0,0,0,0,0,5,4,1,2,1,2, 2,2, 0}
SubDetector GeomDetEnumerators::tkDetEnum[8] ={invalidDet, PixelBarrel, PixelEndcap, TIB, TID, TOB, TEC, invalidDet}