CMS 3D CMS Logo

GeomDet Class Reference

Base class for GeomDetUnit and for composite GeomDet s. More...

#include <Geometry/CommonDetUnit/interface/GeomDet.h>

Inheritance diagram for GeomDet:

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
 Return pointer to alignment errors.
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.
virtual DetId geographicalId () const =0
 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.
GlobalVector toGlobal (const LocalVector &lv) 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.
GlobalPoint toGlobal (const Local2DPoint &lp) 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 ()

Private Member Functions

void move (const GlobalVector &displacement)
 Relative displacement (with respect to current position).
void rotate (const Surface::RotationType &rotation)
 Relative rotation (with respect to current orientation).
virtual void setAlignmentPositionError (const AlignmentPositionError &ape)
 create the AlignmentPositionError for this Det if not existing yet, or replace the existing one by the given one.
void setPosition (const Surface::PositionType &position, const Surface::RotationType &rotation)
 Replaces the current position and rotation with new ones.

Private Attributes

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
2007/03/09 00:40:39
Revision
1.11

Definition at line 26 of file GeomDet.h.


Member Typedef Documentation

typedef GeomDetEnumerators::SubDetector GeomDet::SubDetector

Definition at line 28 of file GeomDet.h.


Constructor & Destructor Documentation

GeomDet::GeomDet ( BoundPlane plane  )  [explicit]

Definition at line 5 of file GeomDet.cc.

00005                                   :
00006   thePlane(plane), theAlignmentPositionError(0) {}

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

Definition at line 8 of file GeomDet.cc.

00008                                                                    :
00009   thePlane(plane), theAlignmentPositionError(0) {}

GeomDet::~GeomDet (  )  [virtual]

Definition at line 11 of file GeomDet.cc.

References theAlignmentPositionError.

00012 {
00013   delete theAlignmentPositionError;
00014 }


Member Function Documentation

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

Return pointer to alignment errors.

Defaults to "null" if not reimplemented in the derived classes.

Definition at line 81 of file GeomDet.h.

References theAlignmentPositionError.

Referenced by HelpertRecHit2DLocalPos::getKfComponents(), HelpertRecHit2DLocalPos::parError(), and SiTrackerGaussianSmearingRecHitConverter::smearHits().

00081 { return theAlignmentPositionError;}

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.

00088 {return 0;}

virtual std::vector< const GeomDet*> GeomDet::components (  )  const [pure virtual]

Returns direct components, if any.

Implemented in GeomDetUnit, CSCChamber, DTChamber, DTLayer, DTSuperLayer, RPCChamber, and GluedGeomDet.

Referenced by AlignableDet::AlignableDet(), AlignableDTChamber::AlignableDTChamber(), SiPixelTrackResidualSource::analyze(), ListIds::beginJob(), TrajectoryManager::makePSimHits(), VisTkRecTrackDetsTwig::onNewEvent(), VisCuTkGeometryTwig::storeTracks(), and MuonTransientTrackingRecHit::transientHits().

virtual DetId GeomDet::geographicalId (  )  const [pure virtual]

The label of this GeomDet.

Implemented in CSCChamber, CSCLayer, DTChamber, DTLayer, DTSuperLayer, RPCChamber, RPCRoll, GluedGeomDet, PixelGeomDetUnit, and StripGeomDetUnit.

Referenced by CSCGeometry::addDet(), TrackerGeometry::addDet(), TrackerGeometry::addDetUnit(), MeasurementTracker::addGluedDet(), MeasurementTracker::addPixelDet(), MeasurementTracker::addStripDet(), VisEventSetupService::addWafer(), VisTrackingGeometry::addWafer(), AlignableNavigator::alignableDetFromGeomDet(), AlignableNavigator::alignableFromGeomDet(), AlignableSiStripDet::AlignableSiStripDet(), CkfDebugger::analyseRecHitExistance(), CkfDebugger::analyseRecHitNotFound(), OnDemandMeasurementTracker::assign(), ListIds::beginJob(), TSiStripMatchedRecHit::clone(), VisCuTrackerCluster::drawcluster(), VisCuTrackerDigi::drawdigi(), VisCuTrackerSimHit::drawsimhit(), GenericProjectedRecHit2D::geographicalId(), GluedGeomDet::geographicalId(), GeomDetLess::insideOutLess(), TkGeomDetCompatibilityChecker::isCompatible(), CkfDebugger::layer(), TrajectoryManager::makeSinglePSimHit(), CkfDebugger::nextCorrectHits(), MuonSeedBuilder::NRecHitsFromSegment(), L2MuonSeedGenerator::produce(), MuonSimHitProducer::produce(), TSGForRoadSearch::pushTrajectorySeed(), MuonDetLayerMeasurements::recHits(), MuonSeedBuilder::SeedCandidates(), VisCuTrackerRecHit::setEvent(), TkStripMeasurementDet::TkStripMeasurementDet(), MuonTransientTrackingRecHit::transientHits(), VisCuTrackerSimHit::update(), VisCuTrackerDigi::update(), VisCuTrackerCluster::update(), VisCuTrackerCluster::updatetext(), VisCuTrackerSimHit::updatetext(), and VisCuTrackerDigi::updatetext().

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

00017 {
00018   //
00019   // Should recreate the surface like the set* methods ?
00020   //
00021   thePlane->move(displacement);
00022 }

const Surface::PositionType& GeomDet::position (  )  const [inline]

The position (origin of the R.F.).

Definition at line 43 of file GeomDet.h.

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

Referenced by SiStripGainFromData::algoBeginJob(), CkfDebugger::analyseCompatibleMeasurements(), ValidationMisalignedTracker::analyze(), GeomDetLess::barrelForwardLess(), ListIds::beginJob(), DeDxDiscriminatorProducer::beginJob(), MuonRPCDetLayerGeometryBuilder::buildBarrelLayers(), MuonDTDetLayerGeometryBuilder::buildLayers(), CSCSegAlgoTC::buildSegments(), CSCSegAlgoSK::buildSegments(), CSCSegAlgoDF::buildSegments(), TSiStripMatchedRecHit::clone(), DTLocalTriggerTask::computeCoordinates(), HICTrajectoryCorrector::correct(), BeamProfileFitter::doFit(), InOutConversionSeedFinder::fillClusterSeeds(), MuonTimingExtractor::fillTiming(), CompareDetY_plus::operator()(), DetZLess::operator()(), CompareDetY_minus::operator()(), DTLocalTriggerBaseTest::phiRange(), DTLocalTriggerTask::phiRange(), MeasurementDet::position(), and VisCSCCorrelatedLCTDigiTwig::update().

00043 {return surface().position();} 

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.

00025 {
00026   //
00027   // Should recreate the surface like the set* methods ?
00028   //
00029   thePlane->rotate(rotation);
00030 }

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

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

00040 {
00041   if (!theAlignmentPositionError) {
00042     theAlignmentPositionError = new AlignmentPositionError(ape);
00043   } 
00044   else *theAlignmentPositionError = ape;
00045 
00046 }

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

00034 {
00035   thePlane = ModifiedSurfaceGenerator<BoundPlane>(thePlane).atNewPosition(position,
00036                                                                           rotation);
00037 }

virtual const BoundPlane& GeomDet::specificSurface (  )  const [inline, virtual]

Same as surface(), kept for backward compatibility.

Definition at line 40 of file GeomDet.h.

References thePlane.

Referenced by SiStripCalibLorentzAngle::algoBeginJob(), SiStripLAProfileBooker::beginJob(), SiStripDetInfoFileWriter::beginJob(), ForwardDiskSectorBuilderFromDet::computeTrapezoidalCorners(), SiPixelDigitizerAlgorithm::digitize(), StripCPE::fillParam(), TkGeomDetCompatibilityChecker::isCompatible(), GeomDetCompatibilityChecker::isCompatible(), SiHitDigitizer::processHit(), and RecHitPropagator::propagate().

00040 {return *thePlane;}

virtual SubDetector GeomDet::subDetector (  )  const [pure virtual]

Which subdetector.

Implemented in GeomDetUnit, CSCChamber, DTChamber, DTSuperLayer, RPCChamber, and GluedGeomDet.

Referenced by SiPixelTrackResidualSource::analyze(), ListIds::beginJob(), VisEventSetupService::buildHitDets(), HICTrajectoryCorrector::correct(), MuonAlignmentAnalyzer::doMatching(), MuonStandaloneAlgorithm::doMatching(), HICTrajectoryCorrector::findPhiInVertex(), MuonSimHitProducer::produce(), and ClusterShapeTrajectoryFilter::toBeContinued().

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 VisEventSetupService::addBoxWafer(), VisTrackingGeometry::addBoxWafer(), VisEventSetup::addCorners(), VisEventSetupService::addDescription(), VisDTDigiTwig::addDescription(), VisEventSetupService::addWafer(), VisTrackingGeometry::addWafer(), VisDTDigiTwig::addWire(), SiStripGainFromData::algoBeginJob(), SiStripCalibLorentzAngle::algoBeginJob(), AlignableCSCChamber::AlignableCSCChamber(), AlignableDet::AlignableDet(), AlignableDTChamber::AlignableDTChamber(), AlignableDTSuperLayer::AlignableDTSuperLayer(), CkfDebugger::analyseCompatibleMeasurements(), CkfDebugger::analyseRecHitExistance(), RPCMonitorEfficiency::analyze(), ElectronPixelSeedAnalyzer::analyze(), SiPixelTrackResidualSource::analyze(), VisRPCRecHit::analyze(), SiPixelErrorEstimation::analyze(), VisDTDigi::analyze(), RPCEfficiency::analyze(), SiPixelTrackingRecHitsValid::analyze(), RPCMonitorDigi::analyze(), SiPixelLorentzAngle::analyze(), SiStripRecHitsValid::analyze(), VisCSCSegment::analyze(), MuonAlignmentAnalyzer::analyze(), SiStripLAProfileBooker::analyze(), SiStripTrackingRecHitsValid::analyze(), VisEventSetupService::annotateCSCChambers(), GeomDetLess::barrelForwardLess(), TrackingRecHitLessFromGlobalPosition::barrelForwardLess(), SortHitPointersByGlobalPosition::barrelForwardLess(), SortHitsByGlobalPosition::barrelForwardLess(), SiStripLAProfileBooker::beginJob(), DeDxDiscriminatorProducer::beginJob(), CSCGeometryBuilderFromDDD::buildChamber(), VisEventSetupService::buildCSCChambers(), VisEventSetup::buildDriftTubes(), VisEventSetupService::buildHitDets(), SeedFromGenericPairOrTriplet::buildSeed(), VisEventSetup::buildTracker(), PixelBarrelLayer::calculatePhiWindow(), TOBLayer::calculatePhiWindow(), CSCLayer::centerOfStrip(), CSCLayer::centerOfWireGroup(), TkGluedMeasurementDet::checkHitProjection(), TSiStripMatchedRecHit::clone(), cms::ClusterAnalysis::clusterInfos(), PixelHitMatcher::compatibleSeeds(), SiPixelErrorEstimation::computeAnglesFromDetPosition(), PixelCPEBase::computeAnglesFromDetPosition(), TIBRing::computeHelicity(), PixelCPEBase::computeLorentzShifts(), TIDLayer::computeWindowSize(), TOBLayer::computeWindowSize(), tkDetUtil::computeWindowSize(), PixelBarrelLayer::computeWindowSize(), PixelBlade::computeWindowSize(), TIBLayer::computeWindowSize(), PixelForwardLayer::computeWindowSize(), TOBRod::computeWindowSize(), CompositeTECPetal::computeWindowSize(), TIBRing::computeWindowSize(), HICTrajectoryCorrector::correct(), RoadSearchCloudMakerAlgorithm::CorrectMatchedHit(), VisTrackingGeometry::createRotation(), VisEventSetupService::createRotation(), RoadSearchTrackCandidateMakerAlgorithm::createSeedTrajectory(), VisEventSetupService::cscTextRep(), SiLinearChargeDivider::DeconvolutionShape(), MuonStandaloneAlgorithm::Derivative(), RingMaker::determineExtensions(), ClusterShape::determineShape(), DTDigiSyncTOFCorr::digitizerOffset(), BeamProfileFitter::doFit(), VisCuTrackerCluster::drawcluster(), VisCuTrackerDigi::drawdigi(), VisCuTrackerSimHit::drawsimhit(), PixelCPEBase::driftDirection(), SiHitDigitizer::DriftDirection(), StripCPE::driftDirection(), CPEFromDetPosition::driftDirection(), SiPixelDigitizerAlgorithm::DriftDirection(), VisEventSetupService::dtTextRep(), ForwardMeasurementEstimator::estimate(), InsideBoundsMeasurementEstimator::estimate(), BarrelMeasurementEstimator::estimate(), RoadSearchTrackCandidateMakerAlgorithm::extrapolateTrajectory(), TkGluedMeasurementDet::fastMeasurements(), SiPixelRecHitsValid::fillBarrel(), MuonSimHitsValidAnalyzer::fillDT(), GlobalHitsProdHist::fillMuon(), GlobalHitsAnalyzer::fillMuon(), GlobalHitsProducer::fillMuon(), StripCPE::fillParam(), RoadSearchCloudMakerAlgorithm::FillPixRecHitsIntoCloud(), RoadSearchCloudMakerAlgorithm::FillRecHitsIntoCloudGeneral(), MuonSimHitsValidAnalyzer::fillRPC(), MuonTimingExtractor::fillTiming(), GlobalRecHitsProducer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalHitsAnalyzer::fillTrk(), GlobalHitsProducer::fillTrk(), GlobalHitsProdHist::fillTrk(), RoadSearchTrackCandidateMakerAlgorithm::FindBestHits(), MuonCkfTrajectoryBuilder::findCompatibleMeasurements(), BaseCkfTrajectoryBuilder::findStateAndLayers(), SiTrackerGaussianSmearingRecHitConverter::gaussianSmearing(), MuonDetIdAssociator::getDetIdPoints(), DTTrigGeom::getGeom(), CSCSectorReceiverLUT::getGlobalEtaValue(), HelpertRecHit2DLocalPos::getKfComponents(), VisCSCChamberDrawer::getOutline(), TrackAssociatorByPosition::getState(), TrackDetectorAssociator::getTAMuonChamberMatches(), CSCDriftSim::getWireHit(), TrackerRecHit::globalPosition(), CSCStripElectronicsSim::initParameters(), MultiTrajectoryStateTransform::innerStateOnSurface(), TrajectoryStateTransform::innerStateOnSurface(), MuonDetIdAssociator::insideElement(), TrackingRecHitLessFromGlobalPosition::insideOutLess(), GeomDetLess::insideOutLess(), SortHitPointersByGlobalPosition::insideOutLess(), SortHitsByGlobalPosition::insideOutLess(), DeDxDiscriminatorProducer::IsFarFromBorder(), SiStripGainFromData::IsFarFromBorder(), SiPixelGaussianSmearingRecHitConverterAlgorithm::isFlipped(), CPEFromDetPosition::isFlipped(), PixelCPEBase::isFlipped(), DTTrigGeom::localPosition(), CPEFromDetPosition::lorentzShiftX(), PixelCPEBase::lorentzShiftX(), PixelCPEBase::lorentzShiftY(), TrajectoryManager::makeSinglePSimHit(), MuonRoadTrajectoryBuilder::makeTrajectories_0(), SiStripRecHitMatcher::match(), GSRecHitMatcher::match(), SiTrackerGaussianSmearingRecHitConverter::matchHits(), SiStripGainCosmicCalculator::moduleThickness(), SiStripGainCosmicCalculator::moduleWidth(), DTTTrigSyncTOFCorr::offset(), DTTTrigSyncFromDB::offset(), 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(), ClusterShapeTrajectoryFilter::processHit(), DTDigitizer::produce(), MuonStandaloneAlgorithm::produce(), MuonSimHitProducer::produce(), TrackProducerWithSCAssociation::produce(), TrajectorySeedProducer::produce(), ConvBremSeedProducer::produce(), GSRecHitMatcher::project(), TrackInfoProducerAlgorithm::project(), TrackingRecHitProjector< ResultingHit >::project(), SiStripRecHitMatcher::project(), TrackingRecHitPropagator::project(), TestSmoothHits::projectHit(), GlobalRecHitsProducer::projectHit(), TestHits::projectHit(), TestTrackHits::projectHit(), GlobalRecHitsAnalyzer::projectHit(), SiStripRecHitsValid::projectHit(), SiStripTrackingRecHitsValid::projectHit(), GSRecHitMatcher::projectOnly(), recHitSurface(), SimpleTrackRefitter::refitTrack(), rotation(), VisEventSetupService::rpcTextRep(), SiStripDigitizerAlgorithm::run(), RoadSearchHelixMakerAlgorithm::run(), RoadSearchTrackCandidateMakerAlgorithm::run(), DAFTrackProducerAlgorithm::runWithCandidate(), BaseCkfTrajectoryBuilder::seedMeasurements(), CRackTrajectoryBuilder::seedMeasurements(), CosmicTrajectoryBuilder::seedMeasurements(), SimpleTrackRefitter::seedMeasurements(), PixelCPEBase::setTheDet(), CPEFromDetPosition::setTheDet(), SiTrackerGaussianSmearingRecHitConverter::smearHits(), StartingLayerFinder::startingLayers(), TransientTrackingRecHit::surface(), MeasurementDet::surface(), InvalidTransientRecHit::surface(), TkGluedMeasurementDet::testStrips(), DTTrigGeom::toGlobal(), toGlobal(), VisEventSetupService::toGlobal(), DTTrigGeom::toLocal(), toLocal(), LaserDQM::trackerStatistics(), OutInConversionTrackFinder::tracks(), DTTrigGeom::tubePosInCh(), VisCSCSeg2HETwig::update(), VisCSCRecHit2DTwig::update(), VisCuTrackerSimHit::update(), VisCSCSegmentTwig::update(), VisCSCCorrelatedLCTDigiTwig::update(), VisRPCDigiTwig::update(), VisCuTrackerDigi::update(), VisCuTrackerCluster::update(), SiTrackerMultiRecHitUpdator::update(), VisRPCRecHitTwig::update(), VisCuTkGeometryTwig::update(), VisCuTrackerCluster::updatetext(), VisCuTrackerSimHit::updatetext(), and VisCuTrackerDigi::updatetext().

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

00059                                                      {
00060     return surface().toGlobal( lv);
00061   }

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

00054                                                      {
00055     return surface().toGlobal( lp);
00056   }

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(), VisDTRecHitsTwig::addWire(), DTSegment4DQuality::analyze(), ElectronPixelSeedAnalyzer::analyze(), CSCOfflineMonitor::analyze(), DTSegment2DQuality::analyze(), CSCEfficiency::analyze(), MuonIdVal::analyze(), RPCDigiValid::analyze(), DTResolutionAnalysisTask::analyze(), DTEfficiencyTask::analyze(), RPCEfficiency::analyze(), DTVDriftCalibration::analyze(), MuonTrackResidualAnalyzer::analyze(), VisDTRecHit::analyze(), MuonIdDQM::analyze(), MuonAlignmentAnalyzer::analyze(), CSCRecHit2DValidation::analyze(), SiStripLAProfileBooker::analyze(), DTSegment2DSLPhiQuality::analyze(), SiStripTrackingRecHitsValid::analyze(), CSCSegAlgoTC::areHitsCloseInGlobalPhi(), CSCSegAlgoSK::areHitsCloseInGlobalPhi(), DTCombinatorialPatternReco::buildSegments(), CSCSegAlgoTC::buildSegments(), CSCSegAlgoSK::buildSegments(), DTMeantimerPatternReco::buildSegments(), CSCSegAlgoDF::buildSegments(), RoadSearchSeedFinderAlgorithm::calculateCircleSeedsFromHits(), RoadSearchSeedFinderAlgorithm::calculateCircleSeedsFromRingsOneInnerOneOuter(), RoadSearchSeedFinderAlgorithm::calculateCircleSeedsFromRingsOneInnerTwoOuter(), RoadSearchSeedFinderAlgorithm::calculateCircleSeedsFromRingsTwoInnerOneOuter(), CSCEfficiency::CalculateEfficiencies(), CSCSegAlgoShowering::calculateError(), CSCSegAlgoDF::calculateError(), MuonIdTruthInfo::checkSimHitForBestMatch(), DTLinearDriftFromDBAlgo::compute(), DTParametrizedDriftAlgo::compute(), DTRecHitQuality::compute(), DTNoDriftAlgo::compute(), DTLinearDriftAlgo::compute(), DTCalibValidation::compute(), DTLocalTriggerTask::computeCoordinates(), HICTrajectoryCorrector::correct(), CSCSegAlgoSK::derivativeMatrix(), CSCSegAlgoHitPruning::derivativeMatrix(), CSCSegAlgoTC::derivativeMatrix(), CSCValidation::doEfficiencies(), CSCValidation::doRecHits(), CSCValidation::doSegments(), DTHitPairForFit::DTHitPairForFit(), DTTrigGeom::dumpGeom(), CSCSegAlgoTC::dumpHits(), CSCSegAlgoSK::dumpHits(), CSCSegAlgoHitPruning::fillChiSquared(), CSCSegAlgoSK::fillChiSquared(), CSCSegAlgoTC::fillChiSquared(), CSCSegAlgoST::fillChiSquared(), CSCSegAlgoSK::fillLocalDirection(), CSCSegAlgoHitPruning::fillLocalDirection(), CSCSegAlgoTC::fillLocalDirection(), RoadSearchCloudMakerAlgorithm::FillPixRecHitsIntoCloud(), RoadSearchCloudMakerAlgorithm::FillRecHitsIntoCloudGeneral(), MuonIdProducer::fillTime(), MuonTimingExtractor::fillTiming(), CSCValidation::findNonAssociatedRecHits(), SiStripFineDelayTLA::findtrackangle(), CSCSegAlgoHitPruning::fitSlopes(), CSCSegAlgoTC::fitSlopes(), CSCSegAlgoSK::fitSlopes(), MuonDetIdAssociator::getDetIdPoints(), DTTrigGeom::getGeom(), TripletGenerator::getGlobalPosition(), ClusterShape::getOrientation(), VisEventSetupService::globalPosition(), CkfDebugger::SimHit::globalPosition(), RecHitsSortedInPhi::Hit::Hit(), LaserHitPairGeneratorFromLayerPair::hitPairs(), NuclearTester::HitPositions(), DTTMax::InfoLayer::InfoLayer(), RoadSearchTrackCandidateMakerAlgorithm::initialTrajectory(), RoadSearchTrackCandidateMakerAlgorithm::initialTrajectoryFromTriplet(), CSCSegAlgoTC::isHitNearSegment(), CSCSegAlgoSK::isHitNearSegment(), CSCSegAlgoShowering::isHitNearSegment(), CSCSegAlgoDF::isHitNearSegment(), VisTrackerRechit2DTwig::localPosition(), VisLocalPosition::localPosition(), VisEventSetupService::localPosition(), DTTrigGeom::localPosition(), CkfDebugger::nextCorrectHits(), DTTTrigSyncTOFCorr::offset(), DTTTrigSyncFromDB::offset(), DTSegmentCand::operator DTChamberRecSegment2D *(), DTSegmentCand::operator DTSLRecSegment2D *(), CompareHitY_plus::operator()(), CompareHitY::operator()(), SortHitsByY::operator()(), FTSFromSimHitFactory::operator()(), MuonTrackResidualAnalyzer::RadiusComparatorInOut::operator()(), SortHitPointersByY::operator()(), MuonSeedBuilder::OverlapSegments(), CSCSegAlgoTC::phiAtZ(), CSCSegAlgoSK::phiAtZ(), CSCRecHit2DValidation::plotResolution(), CSCSegmentValidation::plotResolution(), GlobalRecHitsAnalyzer::plotResolution(), GlobalRecHitsProducer::plotResolution(), CkfDebugger::position(), MuonProducer::printTrackRecHits(), ClusterShapeTrajectoryFilter::processHit(), MuonStandaloneAlgorithm::produce(), SiStripElectronAlgo::projectPhiBand(), CSCSegAlgoST::prune_bad_hits(), CSCSegAlgoHitPruning::pruneBadHits(), CSCSegAlgoDF::pruneFromResidual(), CSCSegAlgoShowering::pruneFromResidual(), SeedFromGenericPairOrTriplet::qualityFilter(), DTCalibValidation::recHitPosition(), DTRefitAndCombineReco4D::reconstruct(), DTMeantimerPatternReco4D::reconstruct(), DTCombinatorialPatternReco4D::reconstruct(), RPCDetInfo::RPCDetInfo(), TrackInfoProducerAlgorithm::run(), RoadSearchTrackCandidateMakerAlgorithm::run(), SeedFromGenericPairOrTriplet::seedFromPair(), SeedFromGenericPairOrTriplet::seedFromTriplet(), SeedFromNuclearInteraction::setMeasurements(), CSCSegAlgoShowering::showerSeg(), SiStripMonitorTrackEfficiency::trackStudy(), SiStripMonitorTrack::trackStudy(), CSCSegAlgoTC::tryAddingHitsToSegment(), CSCSegAlgoSK::tryAddingHitsToSegment(), DTTrigGeom::tubePosInCh(), VisCSCALCTDigiTwig::update(), VisDT2DSegmentTwig::update(), VisCSCCLCTDigiTwig::update(), VisDTRecHitsTwig::update(), VisDT4DSegmentTwig::update(), CSCSegAlgoSK::updateParameters(), CSCSegAlgoShowering::updateParameters(), CSCSegAlgoDF::updateParameters(), and CSCSegAlgoTC::updateParameters().

00049                                                      {
00050     return surface().toGlobal( lp);
00051   }

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

00069                                                     {
00070     return surface().toLocal( gv);
00071   } 

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(), DTResolutionAnalysisTask::analyze(), DTEfficiencyTask::analyze(), RPCEfficiency::analyze(), DTVDriftCalibration::analyze(), SiStripLAProfileBooker::analyze(), SiStripTrackingRecHitsValid::analyze(), CSCSegAlgoDF::buildSegments(), CSCEfficiency::CalculateEfficiencies(), CSCSegAlgoShowering::calculateError(), CSCSegAlgoDF::calculateError(), MuonIdTruthInfo::checkSimHitForBestMatch(), DTParametrizedDriftAlgo::compute(), DTCalibValidation::compute(), DTLocalTriggerTask::computeCoordinates(), FineDelayHistosUsingDb::computeDelays(), CSCSegAlgoSK::derivativeMatrix(), CSCSegAlgoHitPruning::derivativeMatrix(), CSCSegAlgoTC::derivativeMatrix(), CSCValidation::doEfficiencies(), DTHitPairForFit::DTHitPairForFit(), CSCSegAlgoHitPruning::fillChiSquared(), CSCSegAlgoSK::fillChiSquared(), CSCSegAlgoTC::fillChiSquared(), CSCSegAlgoST::fillChiSquared(), MuonTimingExtractor::fillTiming(), SiStripFineDelayTLA::findtrackangle(), CSCSegAlgoHitPruning::fitSlopes(), CSCSegAlgoTC::fitSlopes(), CSCSegAlgoSK::fitSlopes(), CSCDriftSim::getWireHit(), DTTMax::InfoLayer::InfoLayer(), MuonDetIdAssociator::insideElement(), CSCSegAlgoShowering::isHitNearSegment(), CSCSegAlgoDF::isHitNearSegment(), VisTrackerRechit2DTwig::localPosition(), VisLocalPosition::localPosition(), VisEventSetupService::localPosition(), TrajectoryManager::makeSinglePSimHit(), DTTTrigSyncTOFCorr::offset(), DTTTrigSyncFromDB::offset(), DTSegmentCand::operator DTChamberRecSegment2D *(), DTLocalTriggerBaseTest::phiRange(), DTLocalTriggerTask::phiRange(), ClusterShapeTrajectoryFilter::processHit(), MuonSimHitProducer::produce(), CSCSegAlgoDF::pruneFromResidual(), CSCSegAlgoShowering::pruneFromResidual(), DTSurvey::ReadChambers(), DTCalibValidation::recHitPosition(), DTRefitAndCombineReco4D::reconstruct(), DTMeantimerPatternReco4D::reconstruct(), DTCombinatorialPatternReco4D::reconstruct(), TrackInfoProducerAlgorithm::run(), CSCSegAlgoShowering::showerSeg(), SiStripMonitorTrackEfficiency::trackStudy(), SiStripMonitorTrack::trackStudy(), DTSegmentUpdator::updateHits(), DTSegmentUpdator::updateHitsN(), CSCSegAlgoSK::updateParameters(), CSCSegAlgoShowering::updateParameters(), CSCSegAlgoDF::updateParameters(), and CSCSegAlgoTC::updateParameters().

00064                                                   {
00065     return surface().toLocal( gp);
00066   }


Friends And Related Function Documentation

friend class DetPositioner [friend]

Alignment part of interface, available only to friend.

Definition at line 97 of file GeomDet.h.


Member Data Documentation

AlignmentPositionError* GeomDet::theAlignmentPositionError [private]

Definition at line 94 of file GeomDet.h.

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

ReferenceCountingPointer<BoundPlane> GeomDet::thePlane [private]

Definition at line 93 of file GeomDet.h.

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


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:21:22 2009 for CMSSW by  doxygen 1.5.4