test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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,
  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}
 

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 
P2PXEC 
invalidDet 

Definition at line 11 of file GeomDetEnumerators.h.

Function Documentation

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().

33 {
34  return (subdet == PixelBarrel || subdet == TIB || subdet == TOB || subdet == P1PXB || subdet == P2OTB || isDT(subdet) || subdet == RPCBarrel);
35 }
bool isDT(const GeomDetEnumerators::SubDetector m)
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().

68 {
69  return (subdet == CSC) ;
70 }
</a ></td >< td >< ahref="RecoLocalMuon_CSCRecHit.html"> csc2DRecHits</a ></td >< tdclass="description"> CSC(x, y) rechits</td >< td >T.Cox</td ></tr >< tr >< td >< a href
bool GeomDetEnumerators::isDT ( const GeomDetEnumerators::SubDetector  m)
bool GeomDetEnumerators::isEndcap ( GeomDetEnumerators::SubDetector  m)
bool GeomDetEnumerators::isGEM ( const GeomDetEnumerators::SubDetector  m)

Definition at line 78 of file GeomDetEnumerators.cc.

References GEM.

Referenced by GeomDetType::isGEM().

79 {
80  return (subdet == GEM ) ;
81 }
bool GeomDetEnumerators::isME0 ( const GeomDetEnumerators::SubDetector  m)

Definition at line 83 of file GeomDetEnumerators.cc.

References ME0.

Referenced by GeomDetType::isME0().

84 {
85  return (subdet == ME0 ) ;
86 }
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().

90 {
91  return (subdet == DT || subdet == CSC || isRPC(subdet) || subdet == GEM || subdet == ME0) ;
92 }
bool isRPC(const GeomDetEnumerators::SubDetector m)
</a ></td >< td >< ahref="RecoLocalMuon_CSCRecHit.html"> csc2DRecHits</a ></td >< tdclass="description"> CSC(x, y) rechits</td >< td >T.Cox</td ></tr >< tr >< td >< a href
bool GeomDetEnumerators::isRPC ( const GeomDetEnumerators::SubDetector  m)
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().

57 {
58  return ( isTrackerStrip(subdet) || isTrackerPixel(subdet) );
59 }
bool isTrackerStrip(const GeomDetEnumerators::SubDetector m)
bool isTrackerPixel(const GeomDetEnumerators::SubDetector m)
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)

Variable Documentation

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}