CMS 3D CMS Logo

Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends

GeomDet Class Reference

#include <GeomDet.h>

Inheritance diagram for GeomDet:
BeamSpotGeomDet CSCChamber DTChamber DTSuperLayer GeomDetUnit GluedGeomDet RPCChamber CSCLayer DTLayer PixelGeomDetUnit RPCRoll StripGeomDetUnit

List of all members.

Public Types

typedef
GeomDetEnumerators::SubDetector 
SubDetector

Public Member Functions

virtual AlignmentPositionErroralignmentPositionError () const
virtual const GeomDetcomponent (DetId id) const
 Returns a component GeomDet given its DetId, if existing.
virtual std::vector< const
GeomDet * > 
components () const =0
 Returns direct components, if any.
DetId geographicalId () const
 The label of this GeomDet.
 GeomDet (const ReferenceCountingPointer< BoundPlane > &plane)
 GeomDet (BoundPlane *plane)
const Surface::PositionTypeposition () const
 The position (origin of the R.F.)
const Surface::RotationTyperotation () const
 The rotation defining the local R.F.
virtual const BoundPlanespecificSurface () const
 Same as surface(), kept for backward compatibility.
virtual SubDetector subDetector () const =0
 Which subdetector.
virtual const BoundPlanesurface () const
 The nominal surface of the GeomDet.
GlobalPoint toGlobal (const Local2DPoint &lp) const
 Conversion to the global R.F. from the R.F. of the GeomDet.
GlobalPoint toGlobal (const Local3DPoint &lp) const
 Conversion to the global R.F. from the R.F. of the GeomDet.
GlobalVector toGlobal (const LocalVector &lv) const
 Conversion to the global R.F. from the R.F. of the GeomDet.
LocalVector toLocal (const GlobalVector &gv) const
 Conversion to the R.F. of the GeomDet.
LocalPoint toLocal (const GlobalPoint &gp) const
 Conversion to the R.F. of the GeomDet.
virtual ~GeomDet ()

Protected Member Functions

void setDetId (DetId id)

Private Member Functions

void move (const GlobalVector &displacement)
void rotate (const Surface::RotationType &rotation)
virtual void setAlignmentPositionError (const AlignmentPositionError &ape)
void setPosition (const Surface::PositionType &position, const Surface::RotationType &rotation)

Private Attributes

DetId m_detId
AlignmentPositionErrortheAlignmentPositionError
ReferenceCountingPointer
< BoundPlane
thePlane

Friends

class DetPositioner
 Alignment part of interface, available only to friend.

Detailed Description

Base class for GeomDetUnit and for composite GeomDet s.

Date:
2010/04/09 12:17:26
Revision:
1.12

Definition at line 26 of file GeomDet.h.


Member Typedef Documentation

Reimplemented in BeamSpotGeomDet.

Definition at line 28 of file GeomDet.h.


Constructor & Destructor Documentation

GeomDet::GeomDet ( BoundPlane plane) [explicit]

Definition at line 5 of file GeomDet.cc.

GeomDet::GeomDet ( const ReferenceCountingPointer< BoundPlane > &  plane) [explicit]

Definition at line 8 of file GeomDet.cc.

GeomDet::~GeomDet ( ) [virtual]

Definition at line 11 of file GeomDet.cc.

References theAlignmentPositionError.


Member Function Documentation

virtual AlignmentPositionError* GeomDet::alignmentPositionError ( ) const [inline, virtual]
virtual const GeomDet* GeomDet::component ( DetId  id) const [inline, virtual]

Returns a component GeomDet given its DetId, if existing.

Reimplemented in GeomDetUnit, CSCChamber, DTChamber, DTSuperLayer, and RPCChamber.

Definition at line 88 of file GeomDet.h.

{return 0;}
virtual std::vector< const GeomDet*> GeomDet::components ( ) const [pure virtual]
DetId GeomDet::geographicalId ( ) const [inline]

The label of this GeomDet.

Definition at line 74 of file GeomDet.h.

References m_detId.

Referenced by RPCGeometry::add(), DTGeometry::add(), FWRecoGeometryESProducer::addCSCGeometry(), CSCGeometry::addDet(), TrackerGeometry::addDet(), TrackerGeometry::addDetUnit(), FWRecoGeometryESProducer::addDTGeometry(), MeasurementTracker::addGluedDet(), CSCGeometry::addLayer(), FWRecoGeometryESProducer::addPixelBarrelGeometry(), MeasurementTracker::addPixelDet(), FWRecoGeometryESProducer::addPixelForwardGeometry(), FWRecoGeometryESProducer::addRPCGeometry(), MeasurementTracker::addStripDet(), FWRecoGeometryESProducer::addTECGeometry(), FWRecoGeometryESProducer::addTIBGeometry(), FWRecoGeometryESProducer::addTIDGeometry(), FWRecoGeometryESProducer::addTOBGeometry(), AlignableDet::AlignableDet(), AlignableNavigator::alignableFromGeomDet(), AlignableSiStripDet::AlignableSiStripDet(), CkfDebugger::analyseRecHitExistance(), CkfDebugger::analyseRecHitNotFound(), SiPixelMuonHLT::analyze(), ListIds::analyze(), OnDemandMeasurementTracker::assign(), SiPixelDetInfoFileWriter::beginRun(), SiStripDetInfoFileWriter::beginRun(), TSiStripMatchedRecHit::clone(), TSiStripMatchedRecHit::ComputeCoarseLocalPosition(), PixelCPEBase::computeLorentzShifts(), shallow::drift(), PixelCPEBase::driftDirection(), StripCPE::driftDirection(), StripCPE::fillParam(), CSCEfficiency::filter(), GenericProjectedRecHit2D::geographicalId(), ClusterShapeHitFilter::getDrift(), GluedGeomDet::GluedGeomDet(), CSCChamber::id(), GeomDetLess::insideOutLess(), TkGeomDetCompatibilityChecker::isCompatible(), CkfDebugger::layer(), FastPixelCPE::localParameters(), PixelCPEGeneric::localPosition(), PixelCPETemplateReco::localPosition(), PixelCPEBase::lorentzShiftX(), PixelCPEBase::lorentzShiftY(), SiStripHashedDetIdESModule::make(), TrajectoryManager::makeSinglePSimHit(), SiStripRecHitMatcher::match(), GSRecHitMatcher::match(), CkfDebugger::nextCorrectHits(), MuonSeedCleaner::NRecHitsFromSegment(), L2MuonSeedGenerator::produce(), SiStripHashedDetIdESProducer::produce(), SiPixelFedCablingMapBuilder::produce(), MuonSimHitProducer::produce(), GSRecHitMatcher::projectOnly(), TSGForRoadSearch::pushTrajectorySeed(), MuonDetLayerMeasurements::recHits(), MuonShowerInformationFiller::recHits4D(), SiStripDigitizerAlgorithm::run(), SiPixelDigitizerAlgorithm::run(), MuonDTLocalMillepedeAlgorithm::run(), MuonMillepedeAlgorithm::run(), MuonSeedCleaner::SeedCandidates(), CSCBaseElectronicsSim::setLayer(), GeomDetUnit::setSurfaceDeformation(), MatchedHitRZCorrectionFromBending::tibMatchedHitZFixup(), TkStripMeasurementDet::TkStripMeasurementDet(), TracktoRPC::TracktoRPC(), TrajectoryAtInvalidHit::TrajectoryAtInvalidHit(), MuonTransientTrackingRecHit::transientHits(), TSiPixelRecHit::TSiPixelRecHit(), TSiStripRecHit1D::TSiStripRecHit1D(), TSiStripRecHit2DLocalPos::TSiStripRecHit2DLocalPos(), SiTrivialInduceChargeOnStrips::typeOf(), DynamicTruncation::updateWithCSChits(), ValidateGeometry::validateCSChamberGeometry(), and ValidateGeometry::validateCSCLayerGeometry().

{ return m_detId; }
void GeomDet::move ( const GlobalVector displacement) [private]

Relative displacement (with respect to current position). Does not move components (if any).

Definition at line 16 of file GeomDet.cc.

References thePlane.

Referenced by DetPositioner::moveGeomDet().

{
  //
  // Should recreate the surface like the set* methods ?
  //
  thePlane->move(displacement);
}
const Surface::PositionType& GeomDet::position ( ) const [inline]
void GeomDet::rotate ( const Surface::RotationType rotation) [private]

Relative rotation (with respect to current orientation). Does not move components (if any).

Definition at line 24 of file GeomDet.cc.

References thePlane.

{
  //
  // Should recreate the surface like the set* methods ?
  //
  thePlane->rotate(rotation);
}
const Surface::RotationType& GeomDet::rotation ( void  ) const [inline]

The rotation defining the local R.F.

Definition at line 46 of file GeomDet.h.

References GloballyPositioned< T >::rotation(), and surface().

{ return surface().rotation();}
void GeomDet::setAlignmentPositionError ( const AlignmentPositionError ape) [private, virtual]

create the AlignmentPositionError for this Det if not existing yet, or replace the existing one by the given one. For adding, use the +=,-= methods of the AlignmentPositionError Does not affect the AlignmentPositionError of components (if any).

Definition at line 39 of file GeomDet.cc.

References theAlignmentPositionError.

Referenced by DetPositioner::setAlignmentPositionError().

void GeomDet::setDetId ( DetId  id) [inline, protected]
void GeomDet::setPosition ( const Surface::PositionType position,
const Surface::RotationType rotation 
) [private]

Replaces the current position and rotation with new ones. actually replaces the surface with a new surface. Does not move components (if any).

Definition at line 32 of file GeomDet.cc.

References thePlane.

Referenced by DetPositioner::setGeomDetPosition().

{
  thePlane = ModifiedSurfaceGenerator<BoundPlane>(thePlane).atNewPosition(position,
                                                                          rotation);
}
virtual const BoundPlane& GeomDet::specificSurface ( ) const [inline, virtual]
virtual SubDetector GeomDet::subDetector ( ) const [pure virtual]
virtual const BoundPlane& GeomDet::surface ( ) const [inline, virtual]

The nominal surface of the GeomDet.

Definition at line 37 of file GeomDet.h.

References thePlane.

Referenced by FWRecoGeometryESProducer::addDTGeometry(), SiStripGainFromData::algoBeginJob(), DeDxDiscriminatorLearner::algoBeginJob(), SiStripGainFromCalibTree::algoBeginJob(), SiStripCalibLorentzAngle::algoBeginJob(), AlignableCSCChamber::AlignableCSCChamber(), AlignableDet::AlignableDet(), AlignableDTChamber::AlignableDTChamber(), AlignableDTSuperLayer::AlignableDTSuperLayer(), CkfDebugger::analyseCompatibleMeasurements(), CkfDebugger::analyseRecHitExistance(), TrackerDpgAnalysis::analyze(), BeamHaloAnalyzer::analyze(), SiPixelTrackResidualSource::analyze(), SiPixelMuonHLT::analyze(), SiPixelErrorEstimation::analyze(), RPCEfficiency::analyze(), RPCMonitorDigi::analyze(), SiPixelTrackingRecHitsValid::analyze(), ElectronSeedAnalyzer::analyze(), SiStripMonitorMuonHLT::analyze(), SiPixelLorentzAngle::analyze(), SiStripRecHitsValid::analyze(), MuonAlignmentAnalyzer::analyze(), MuonAlignment::analyze(), SiStripLAProfileBooker::analyze(), SiStripTrackingRecHitsValid::analyze(), SiStripMonitorMuonHLT::analyzeOnTrackClusters(), GeomDetLess::barrelForwardLess(), TrackingRecHitLessFromGlobalPosition::barrelForwardLess(), SortHitsByGlobalPosition::barrelForwardLess(), SortHitPointersByGlobalPosition::barrelForwardLess(), DeDxDiscriminatorProducer::beginRun(), TrackerDpgAnalysis::beginRun(), SiStripLAProfileBooker::beginRun(), DeDxEstimatorProducer::beginRun(), CSCGeometryBuilder::buildChamber(), SeedFromGenericPairOrTriplet::buildSeed(), MuonTrackLoader::buildTrackExtra(), CSCHaloAlgo::Calculate(), GlobalHaloAlgo::Calculate(), PixelBarrelLayer::calculatePhiWindow(), TOBLayer::calculatePhiWindow(), CSCLayer::centerOfStrip(), CSCLayer::centerOfWireGroup(), TkGluedMeasurementDet::checkHitProjection(), TSiStripMatchedRecHit::clone(), ValidateGeometry::compareShape(), PixelHitMatcher::compatibleSeeds(), SiPixelErrorEstimation::computeAnglesFromDetPosition(), PixelCPEBase::computeAnglesFromDetPosition(), TSiStripMatchedRecHit::ComputeCoarseLocalPosition(), TIBRing::computeHelicity(), PixelCPEBase::computeLorentzShifts(), TOBLayer::computeWindowSize(), TIDLayer::computeWindowSize(), tkDetUtil::computeWindowSize(), PixelBarrelLayer::computeWindowSize(), PixelBlade::computeWindowSize(), TIBLayer::computeWindowSize(), TOBRod::computeWindowSize(), PixelForwardLayer::computeWindowSize(), CompositeTECPetal::computeWindowSize(), TIBRing::computeWindowSize(), ReferenceTrajectory::construct(), HICTrajectoryCorrector::correct(), RoadSearchCloudMakerAlgorithm::CorrectMatchedHit(), RoadSearchTrackCandidateMakerAlgorithm::createSeedTrajectory(), CSCSegtoRPC::CSCSegtoRPC(), SiLinearChargeDivider::DeconvolutionShape(), RingMaker::determineExtensions(), DTDigiSyncTOFCorr::digitizerOffset(), shallow::drift(), PixelCPEBase::driftDirection(), StripCPE::driftDirection(), SiHitDigitizer::DriftDirection(), SiPixelDigitizerAlgorithm::DriftDirection(), DTSegtoRPC::DTSegtoRPC(), DTTrigGeomUtils::DTTrigGeomUtils(), ForwardMeasurementEstimator::estimate(), InsideBoundsMeasurementEstimator::estimate(), BarrelMeasurementEstimator::estimate(), RoadSearchTrackCandidateMakerAlgorithm::extrapolateTrajectory(), RPCSeedPattern::extropolateStep(), TkGluedMeasurementDet::fastMeasurements(), SiPixelClusterModule::fill(), SiPixelRecHitsValid::fillBarrel(), MuonSimHitsValidAnalyzer::fillDT(), GlobalHitsProdHist::fillMuon(), GlobalHitsAnalyzer::fillMuon(), GlobalHitsProducer::fillMuon(), RoadSearchCloudMakerAlgorithm::FillPixRecHitsIntoCloud(), RoadSearchCloudMakerAlgorithm::FillRecHitsIntoCloudGeneral(), MuonSimHitsValidAnalyzer::fillRPC(), FWRecoGeometryESProducer::fillShapeAndPlacement(), DTTimingExtractor::fillTiming(), CSCTimingExtractor::fillTiming(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), GlobalRecHitsProducer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalHitsAnalyzer::fillTrk(), GlobalHitsProducer::fillTrk(), GlobalHitsProdHist::fillTrk(), HLTRPCTrigNoSyncFilter::filter(), RoadSearchTrackCandidateMakerAlgorithm::FindBestHits(), SETFilter::findChi2(), SiTrackerGaussianSmearingRecHitConverter::gaussianSmearing(), SiStripMonitorMuonHLT::GeometryFromTrackGeom(), ClusterShapeHitFilter::getCotangent(), MuonDetIdAssociator::getDetIdPoints(), ClusterShapeHitFilter::getDrift(), DTTrigGeom::getGeom(), CSCSectorReceiverLUT::getGlobalEtaValue(), HelpertRecHit2DLocalPos::getKfComponents(), TrackAssociatorByPosition::getState(), TrackDetectorAssociator::getTAMuonChamberMatches(), CSCDriftSim::getWireHit(), TrackerRecHit::globalPosition(), CSCStripElectronicsSim::initParameters(), MultiTrajectoryStateTransform::innerStateOnSurface(), TrajectoryStateTransform::innerStateOnSurface(), MuonDetIdAssociator::insideElement(), TrackingRecHitLessFromGlobalPosition::insideOutLess(), GeomDetLess::insideOutLess(), SortHitPointersByGlobalPosition::insideOutLess(), SortHitsByGlobalPosition::insideOutLess(), ShallowGainCalibration::IsFarFromBorder(), DeDxDiscriminatorTools::IsFarFromBorder(), SiStripGainFromData::IsFarFromBorder(), CSCPairResidualsConstraint::isFiducial(), SiPixelGaussianSmearingRecHitConverterAlgorithm::isFlipped(), PixelCPEBase::isFlipped(), PixelCPEGeneric::localPosition(), DTTrigGeom::localPosition(), PixelCPETemplateReco::localPosition(), PixelCPEBase::lorentzShiftX(), PixelCPEBase::lorentzShiftY(), HSCPValidator::makeSimDigiPlotsRPC(), TrajectoryManager::makeSinglePSimHit(), MuonRoadTrajectoryBuilder::makeTrajectories_0(), SiStripRecHitMatcher::match(), GSRecHitMatcher::match(), SiTrackerGaussianSmearingRecHitConverter::matchHits(), SiStripGainCosmicCalculator::moduleThickness(), SiStripGainCosmicCalculator::moduleWidth(), CosmicParametersDefinerForTP::momentum(), SiStripMonitorMuonHLT::Normalizer(), DTTTrigSyncTOFCorr::offset(), DTTTrigSyncFromDB::offset(), CosmicTrackingParticleSelector::operator()(), DetPhiLess::operator()(), CylinderBuilderFromDet::operator()(), TSOSFromSimHitFactory::operator()(), SeedFromNuclearInteraction::outerHitPosition(), TrajectoryStateTransform::outerStateOnSurface(), MultiTrajectoryStateTransform::outerStateOnSurface(), PixelBlade::overlap(), TOBRod::overlap(), tkDetUtil::overlapInPhi(), HelpertRecHit2DLocalPos::parError(), SiLinearChargeDivider::PeakShape(), position(), RoadSearchTrackCandidateMakerAlgorithm::PrepareTrackCandidates(), MuonProducer::printTrackRecHits(), DTDigitizer::produce(), TrackCandidateProducer::produce(), PixelClusterSelectorTopBottom::produce(), ShallowTrackClustersProducer::produce(), MuonSimHitProducer::produce(), TrajectorySeedProducer::produce(), ConvBremSeedProducer::produce(), GSRecHitMatcher::project(), TrackInfoProducerAlgorithm::project(), TrackingRecHitProjector< ResultingHit >::project(), SiStripRecHitMatcher::project(), TrackingRecHitPropagator::project(), TestSmoothHits::projectHit(), GlobalRecHitsProducer::projectHit(), TestTrackHits::projectHit(), TestHits::projectHit(), GlobalRecHitsAnalyzer::projectHit(), SiStripRecHitsValid::projectHit(), SiStripTrackingRecHitsValid::projectHit(), GSRecHitMatcher::projectOnly(), CSCPairResidualsConstraint::radius(), CSCEfficiency::recHitSegment_Efficiencies(), recHitSurface(), SimpleTrackRefitter::refitTrack(), rotation(), SiStripDigitizerAlgorithm::run(), RoadSearchTrackCandidateMakerAlgorithm::run(), RoadSearchHelixMakerAlgorithm::run(), BaseCkfTrajectoryBuilder::seedMeasurements(), CRackTrajectoryBuilder::seedMeasurements(), CosmicTrajectoryBuilder::seedMeasurements(), SimpleTrackRefitter::seedMeasurements(), SETPatternRecognition::segmentCleaning(), PixelCPEBase::setTheDet(), CSCPairResidualsConstraint::setZplane(), SiTrackerGaussianSmearingRecHitConverter::smearHits(), SETSeedFinder::sortByLayer(), StartingLayerFinder::startingLayers(), TransientTrackingRecHit::surface(), MeasurementDet::surface(), InvalidTransientRecHit::surface(), BeamSpotTransientTrackingRecHit::surface(), TkGluedMeasurementDet::testStrips(), DTTrigGeom::toGlobal(), toGlobal(), DTTrigGeom::toLocal(), toLocal(), FastTSGFromPropagation::trackerSeeds(), LaserDQM::trackerStatistics(), TracktoRPC::TracktoRPC(), TrajectoryAtInvalidHit::TrajectoryAtInvalidHit(), SETFilter::transform(), ResidualRefitting::trkExtrap(), DTTrigGeom::tubePosInCh(), SiTrackerMultiRecHitUpdator::update(), HelpertRecHit2DLocalPos::updateWithAPE(), ValidateGeometry::validateCSChamberGeometry(), ValidateGeometry::validateCSCLayerGeometry(), ValidateGeometry::validateDTChamberGeometry(), ValidateGeometry::validateDTLayerGeometry(), ValidateGeometry::validateRPCGeometry(), and CosmicParametersDefinerForTP::vertex().

{return *thePlane;}
GlobalVector GeomDet::toGlobal ( const LocalVector lv) const [inline]

Conversion to the global R.F. from the R.F. of the GeomDet.

Definition at line 59 of file GeomDet.h.

References surface(), and Surface::toGlobal().

                                                     {
    return surface().toGlobal( lv);
  }
GlobalPoint GeomDet::toGlobal ( const Local3DPoint lp) const [inline]

Conversion to the global R.F. from the R.F. of the GeomDet.

Definition at line 54 of file GeomDet.h.

References surface(), and Surface::toGlobal().

                                                     {
    return surface().toGlobal( lp);
  }
GlobalPoint GeomDet::toGlobal ( const Local2DPoint lp) const [inline]

Conversion to the global R.F. from the R.F. of the GeomDet.

Definition at line 49 of file GeomDet.h.

References surface(), and Surface::toGlobal().

Referenced by RPCStripsRing::addRoll(), TrackDetectorAssociator::addTAMuonSegmentMatch(), DTSegment4DQuality::analyze(), DTTTrigOffsetCalibration::analyze(), DTSegment2DQuality::analyze(), MuonIdVal::analyze(), RPCDigiValid::analyze(), DTResolutionAnalysisTask::analyze(), DTEfficiencyTask::analyze(), RPCEfficiency::analyze(), MuonTrackResidualAnalyzer::analyze(), DTVDriftCalibration::analyze(), ElectronSeedAnalyzer::analyze(), CSCRecHit2DValidation::analyze(), MuonIdDQM::analyze(), MuonAlignmentAnalyzer::analyze(), SiStripLAProfileBooker::analyze(), SiStripTrackingRecHitsValid::analyze(), DTSegment2DSLPhiQuality::analyze(), CSCSegAlgoTC::areHitsCloseInGlobalPhi(), CSCSegAlgoSK::areHitsCloseInGlobalPhi(), DTCombinatorialExtendedPatternReco::buildSegments(), CSCSegAlgoTC::buildSegments(), DTCombinatorialPatternReco::buildSegments(), CSCSegAlgoSK::buildSegments(), CSCSegAlgoDF::buildSegments(), DTMeantimerPatternReco::buildSegments(), CSCHaloAlgo::Calculate(), reco::helper::JetMuonHitsIDHelper::calculate(), RoadSearchSeedFinderAlgorithm::calculateCircleSeedsFromHits(), RoadSearchSeedFinderAlgorithm::calculateCircleSeedsFromRingsOneInnerOneOuter(), RoadSearchSeedFinderAlgorithm::calculateCircleSeedsFromRingsOneInnerTwoOuter(), RoadSearchSeedFinderAlgorithm::calculateCircleSeedsFromRingsTwoInnerOneOuter(), MuonIdTruthInfo::checkSimHitForBestMatch(), DTLinearDriftFromDBAlgo::compute(), DTRecHitQuality::compute(), DTNoDriftAlgo::compute(), DTLinearDriftAlgo::compute(), DTCalibValidation::compute(), HICTrajectoryCorrector::correct(), CSCSegAlgoST::correctTheCovX(), CSCSegtoRPC::CSCSegtoRPC(), CSCSegAlgoDF::derivativeMatrix(), CSCSegAlgoHitPruning::derivativeMatrix(), CSCSegAlgoShowering::derivativeMatrix(), CSCSegAlgoSK::derivativeMatrix(), CSCSegAlgoTC::derivativeMatrix(), CSCSegAlgoST::derivativeMatrix(), CSCOfflineMonitor::doEfficiencies(), CSCValidation::doEfficiencies(), CSCValidation::doRecHits(), CSCOfflineMonitor::doRecHits(), CSCOfflineMonitor::doSegments(), CSCValidation::doSegments(), CSCValidation::doTimeMonitoring(), DTHitPairForFit::DTHitPairForFit(), DTTrigGeom::dumpGeom(), CSCSegAlgoTC::dumpHits(), CSCSegAlgoSK::dumpHits(), DTTrigGeom::dumpLUT(), DTCombinatorialExtendedPatternReco::extendCandidates(), CSCSegAlgoHitPruning::fillChiSquared(), CSCSegAlgoSK::fillChiSquared(), CSCSegAlgoTC::fillChiSquared(), CSCSegAlgoST::fillChiSquared(), CSCSegAlgoSK::fillLocalDirection(), CSCSegAlgoHitPruning::fillLocalDirection(), CSCSegAlgoTC::fillLocalDirection(), CSCSegAlgoST::fillLocalDirection(), QcdLowPtDQM::fillPixels(), RoadSearchCloudMakerAlgorithm::FillPixRecHitsIntoCloud(), RoadSearchCloudMakerAlgorithm::FillRecHitsIntoCloudGeneral(), CSCEfficiency::fillRechitsSegments_info(), DTTimingExtractor::fillTiming(), CSCTimingExtractor::fillTiming(), HLTPixelClusterShapeFilter::filter(), reco::CentralityProducer::filter(), DTHitQualityUtils::findMuSimSegmentDirAndPos(), CSCValidation::findNonAssociatedRecHits(), SiStripFineDelayTLA::findtrackangle(), DTSegmentUpdator::fit(), CSCSegAlgoHitPruning::fitSlopes(), CSCSegAlgoST::fitSlopes(), CSCSegAlgoTC::fitSlopes(), CSCSegAlgoSK::fitSlopes(), MuonDetIdAssociator::getDetIdPoints(), DTTrigGeom::getGeom(), RPCSeedPattern::getSpecialAlgorithmErrorMatrix(), CkfDebugger::SimHit::globalPosition(), CSCMake2DRecHit::hitFromStripAndWire(), NuclearTester::HitPositions(), DTTMax::InfoLayer::InfoLayer(), DTMeantimerPatternReco::initHits(), RoadSearchTrackCandidateMakerAlgorithm::initialTrajectory(), RoadSearchTrackCandidateMakerAlgorithm::initialTrajectoryFromTriplet(), MuonMesh::isClusteredWith(), CSCSegAlgoTC::isHitNearSegment(), CSCSegAlgoShowering::isHitNearSegment(), CSCSegAlgoSK::isHitNearSegment(), CSCSegAlgoDF::isHitNearSegment(), ClusterShapeHitFilter::isNormalOriented(), RPCSeedOverlapper::isShareHit(), DTTrigGeom::localPosition(), CkfDebugger::nextCorrectHits(), DTTTrigSyncTOFCorr::offset(), DTTTrigSyncFromDB::offset(), DTSegmentCand::operator DTChamberRecSegment2D *(), DTSegmentCand::operator DTSLRecSegment2D *(), CompareHitY::operator()(), CompareHitY_plus::operator()(), SortHitsByY::operator()(), FTSFromSimHitFactory::operator()(), MuonTrackResidualAnalyzer::RadiusComparatorInOut::operator()(), SortHitPointersByY::operator()(), MuonSeedCleaner::OverlapSegments(), CSCSegAlgoTC::phiAtZ(), CSCSegAlgoSK::phiAtZ(), CSCSegmentValidation::plotResolution(), CSCRecHit2DValidation::plotResolution(), GlobalRecHitsAnalyzer::plotResolution(), GlobalRecHitsProducer::plotResolution(), CkfDebugger::position(), MuonProducer::printTrackRecHits(), ShallowRechitClustersProducer::produce(), HIPixelClusterVtxProducer::produce(), ShallowTrackClustersProducer::produce(), SiStripElectronAlgo::projectPhiBand(), CSCSegAlgoST::prune_bad_hits(), CSCSegAlgoHitPruning::pruneBadHits(), CSCSegAlgoDF::pruneFromResidual(), CSCSegAlgoShowering::pruneFromResidual(), DTCalibValidation::recHitPosition(), CSCEfficiency::recHitSegment_Efficiencies(), DTRefitAndCombineReco4D::reconstruct(), DTCombinatorialPatternReco4D::reconstruct(), DTMeantimerPatternReco4D::reconstruct(), TrackInfoProducerAlgorithm::run(), RoadSearchTrackCandidateMakerAlgorithm::run(), MuonDTLocalMillepedeAlgorithm::run(), SeedFromGenericPairOrTriplet::seedFromPair(), SeedFromGenericPairOrTriplet::seedFromTriplet(), SeedFromNuclearInteraction::setMeasurements(), CSCSegAlgoShowering::showerSeg(), SiStripMonitorTrack::trackStudy(), CSCSegAlgoTC::tryAddingHitsToSegment(), CSCSegAlgoSK::tryAddingHitsToSegment(), DTTrigGeom::tubePosInCh(), CSCSegAlgoDF::updateParameters(), CSCSegAlgoShowering::updateParameters(), CSCSegAlgoSK::updateParameters(), and CSCSegAlgoTC::updateParameters().

                                                     {
    return surface().toGlobal( lp);
  }
LocalPoint GeomDet::toLocal ( const GlobalPoint gp) const [inline]

Conversion to the R.F. of the GeomDet.

Definition at line 64 of file GeomDet.h.

References surface(), and GloballyPositioned< T >::toLocal().

Referenced by DTSegment4DQuality::analyze(), DTTTrigOffsetCalibration::analyze(), DTResolutionAnalysisTask::analyze(), DTEfficiencyTask::analyze(), RPCEfficiency::analyze(), DTVDriftCalibration::analyze(), SiStripLAProfileBooker::analyze(), SiStripTrackingRecHitsValid::analyze(), BeamSpotTransientTrackingRecHit::BeamSpotTransientTrackingRecHit(), CSCSegAlgoDF::buildSegments(), MuonTrackLoader::buildTrackExtra(), MuonIdTruthInfo::checkSimHitForBestMatch(), DTCalibValidation::compute(), FineDelayHistosUsingDb::computeDelays(), CSCSegAlgoST::correctTheCovX(), CSCSegtoRPC::CSCSegtoRPC(), CSCSegAlgoDF::derivativeMatrix(), CSCSegAlgoHitPruning::derivativeMatrix(), CSCSegAlgoShowering::derivativeMatrix(), CSCSegAlgoSK::derivativeMatrix(), CSCSegAlgoTC::derivativeMatrix(), CSCSegAlgoST::derivativeMatrix(), CSCOfflineMonitor::doEfficiencies(), CSCValidation::doEfficiencies(), DTHitPairForFit::DTHitPairForFit(), DTTrigGeomUtils::DTTrigGeomUtils(), CSCEfficiency::efficienciesPerChamber(), DTCombinatorialExtendedPatternReco::extendCandidates(), CSCSegAlgoHitPruning::fillChiSquared(), CSCSegAlgoSK::fillChiSquared(), CSCSegAlgoTC::fillChiSquared(), CSCSegAlgoST::fillChiSquared(), DTTimingExtractor::fillTiming(), SETFilter::findChi2(), SiStripFineDelayTLA::findtrackangle(), DTSegmentUpdator::fit(), CSCSegAlgoHitPruning::fitSlopes(), CSCSegAlgoST::fitSlopes(), CSCSegAlgoTC::fitSlopes(), CSCSegAlgoSK::fitSlopes(), RPCSeedPattern::getSpecialAlgorithmErrorMatrix(), CSCDriftSim::getWireHit(), DTTMax::InfoLayer::InfoLayer(), DTMeantimerPatternReco::initHits(), MuonDetIdAssociator::insideElement(), CSCSegAlgoShowering::isHitNearSegment(), CSCSegAlgoDF::isHitNearSegment(), TrajectoryManager::makeSinglePSimHit(), DTTTrigSyncTOFCorr::offset(), DTTTrigSyncFromDB::offset(), DTSegmentCand::operator DTChamberRecSegment2D *(), DTLocalTriggerBaseTest::phiRange(), ShallowTrackClustersProducer::produce(), MuonSimHitProducer::produce(), CSCSegAlgoDF::pruneFromResidual(), CSCSegAlgoShowering::pruneFromResidual(), DTSurvey::ReadChambers(), DTCalibValidation::recHitPosition(), CSCEfficiency::recHitSegment_Efficiencies(), DTRefitAndCombineReco4D::reconstruct(), DTCombinatorialPatternReco4D::reconstruct(), DTMeantimerPatternReco4D::reconstruct(), TrackInfoProducerAlgorithm::run(), CSCSegAlgoShowering::showerSeg(), SiStripMonitorTrack::trackStudy(), DTSegmentUpdator::updateHits(), CSCSegAlgoDF::updateParameters(), CSCSegAlgoShowering::updateParameters(), CSCSegAlgoSK::updateParameters(), and CSCSegAlgoTC::updateParameters().

                                                  {
    return surface().toLocal( gp);
  }
LocalVector GeomDet::toLocal ( const GlobalVector gv) const [inline]

Conversion to the R.F. of the GeomDet.

Definition at line 69 of file GeomDet.h.

References surface(), and GloballyPositioned< T >::toLocal().

                                                    {
    return surface().toLocal( gv);
  } 

Friends And Related Function Documentation

friend class DetPositioner [friend]

Alignment part of interface, available only to friend.

Reimplemented in GeomDetUnit.

Definition at line 105 of file GeomDet.h.


Member Data Documentation

Definition at line 101 of file GeomDet.h.

Referenced by geographicalId(), and setDetId().

Definition at line 100 of file GeomDet.h.

Referenced by alignmentPositionError(), setAlignmentPositionError(), and ~GeomDet().

Definition at line 99 of file GeomDet.h.

Referenced by move(), rotate(), setPosition(), specificSurface(), and surface().