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 KFBasedPixelFitter::MyBeamSpotGeomDet RPCChamber

List of all members.

Public Types

typedef
GeomDetEnumerators::SubDetector 
SubDetector

Public Member Functions

AlignmentPositionErroralignmentPositionError () const
 Return pointer to alignment errors.
virtual const GeomDetcomponent (DetId) 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)
int index () const
LocalError const & localAlignmentError () const
 Return local alligment error.
const Surface::PositionTypeposition () const
 The position (origin of the R.F.)
const Surface::RotationTyperotation () const
 The rotation defining the local R.F.
void setIndex (int i)
const BoundPlanespecificSurface () const
 Same as surface(), kept for backward compatibility.
virtual SubDetector subDetector () const =0
 Which subdetector.
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 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.
LocalPoint toLocal (const GlobalPoint &gp) const
 Conversion to the R.F. of the GeomDet.
LocalVector toLocal (const GlobalVector &gv) 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)
bool setAlignmentPositionError (const AlignmentPositionError &ape)
void setPosition (const Surface::PositionType &position, const Surface::RotationType &rotation)

Private Attributes

DetId m_detId
int m_index
AlignmentPositionErrortheAlignmentPositionError
LocalError theLocalAlignmentError
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.

Definition at line 24 of file GeomDet.h.


Member Typedef Documentation

Reimplemented in BeamSpotGeomDet.

Definition at line 26 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

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

Returns a component GeomDet given its DetId, if existing.

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

Definition at line 85 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 72 of file GeomDet.h.

References m_detId.

Referenced by RPCGeometry::add(), DTGeometry::add(), FWRecoGeometryESProducer::addCSCGeometry(), CSCGeometry::addDet(), TrackerGeometry::addDet(), TrackerGeometry::addDetUnit(), FWRecoGeometryESProducer::addDTGeometry(), CSCGeometry::addLayer(), FWRecoGeometryESProducer::addPixelBarrelGeometry(), MeasurementTrackerImpl::addPixelDet(), FWRecoGeometryESProducer::addPixelForwardGeometry(), FWTGeoRecoGeometryESProducer::addRPCGeometry(), FWRecoGeometryESProducer::addRPCGeometry(), FWRecoGeometryESProducer::addTECGeometry(), FWRecoGeometryESProducer::addTIBGeometry(), FWRecoGeometryESProducer::addTIDGeometry(), FWRecoGeometryESProducer::addTOBGeometry(), AlignableDet::AlignableDet(), AlignableNavigator::alignableFromGeomDet(), AlignableSiStripDet::AlignableSiStripDet(), CkfDebugger::analyseRecHitExistance(), CkfDebugger::analyseRecHitNotFound(), SiPixelMuonHLT::analyze(), ListIds::analyze(), SiPixelDetInfoFileWriter::beginRun(), RPCRecHitValid::beginRun(), SiStripDetInfoFileWriter::beginRun(), PixelCPEBase::computeLorentzShifts(), shallow::drift(), PixelCPEBase::driftDirection(), StripCPE::driftDirection(), StripCPE::fillParams(), ClusterShapeHitFilter::fillPixelData(), CSCEfficiency::filter(), ClusterShapeHitFilter::getDrift(), GluedGeomDet::GluedGeomDet(), MuonShowerInformationFiller::hitsFromSegments(), CSCChamber::id(), MeasurementTrackerImpl::initGluedDet(), GeomDetLess::insideOutLess(), TkGeomDetCompatibilityChecker::isCompatible(), CkfDebugger::layer(), StripCPEfromTemplate::localParameters(), 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(), TkPixelMeasurementDet::recHits(), MuonDetLayerMeasurements::recHits(), SiStripDigitizerAlgorithm::run(), SiPixelDigitizerAlgorithm::run(), MuonDTLocalMillepedeAlgorithm::run(), MuonMillepedeAlgorithm::run(), MuonSeedCleaner::SeedCandidates(), CSCBaseElectronicsSim::setLayer(), GeomDetUnit::setSurfaceDeformation(), MatchedHitRZCorrectionFromBending::tibMatchedHitZFixup(), TracktoRPC::TracktoRPC(), TrajectoryAtInvalidHit::TrajectoryAtInvalidHit(), MuonTransientTrackingRecHit::transientHits(), GCC11_FINAL::TSiStripRecHit2DLocalPos(), SiTrivialInduceChargeOnStrips::typeOf(), DynamicTruncation::updateWithCSChits(), ValidateGeometry::validateCSChamberGeometry(), and ValidateGeometry::validateCSCLayerGeometry().

{ return m_detId; }
int GeomDet::index ( ) const [inline]

Definition at line 92 of file GeomDet.h.

References m_index.

Referenced by StripCPE::fillParams(), and StripCPE::param().

{ return m_index;}
LocalError const& GeomDet::localAlignmentError ( ) const [inline]
void GeomDet::move ( const GlobalVector displacement) [private]

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

Definition at line 13 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 21 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 44 of file GeomDet.h.

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

{ return surface().rotation();}
bool GeomDet::setAlignmentPositionError ( const AlignmentPositionError ape) [private]
void GeomDet::setDetId ( DetId  id) [inline, protected]
void GeomDet::setIndex ( int  i) [inline]

Definition at line 93 of file GeomDet.h.

References i, and m_index.

Referenced by TrackerGeometry::addDetUnit().

{ m_index=i;}
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 29 of file GeomDet.cc.

References thePlane.

Referenced by DetPositioner::setGeomDetPosition().

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

The nominal surface of the GeomDet.

Definition at line 35 of file GeomDet.h.

References thePlane.

Referenced by FWRecoGeometryESProducer::addDTGeometry(), BetaCalculatorRPC::addInfoToCandidate(), SiStripGainFromData::algoBeginJob(), DeDxDiscriminatorLearner::algoBeginJob(), DeDxDiscriminatorLearnerFromCalibTree::algoBeginJob(), SiStripGainFromCalibTree::algoBeginJob(), SiStripCalibLorentzAngle::algoBeginJob(), AlignableCSCChamber::AlignableCSCChamber(), AlignableDet::AlignableDet(), AlignableDTChamber::AlignableDTChamber(), AlignableDTSuperLayer::AlignableDTSuperLayer(), CkfDebugger::analyseCompatibleMeasurements(), CkfDebugger::analyseRecHitExistance(), TrackerDpgAnalysis::analyze(), BeamHaloAnalyzer::analyze(), SiPixelMuonHLT::analyze(), SiPixelTrackResidualSource::analyze(), SiPixelErrorEstimation::analyze(), RPCEfficiency::analyze(), SiPixelTrackingRecHitsValid::analyze(), ElectronSeedAnalyzer::analyze(), SiPixelLorentzAngle::analyze(), SiStripMonitorMuonHLT::analyze(), SiStripRecHitsValid::analyze(), MuonAlignmentAnalyzer::analyze(), MuonAlignment::analyze(), SiStripLAProfileBooker::analyze(), SiStripTrackingRecHitsValid::analyze(), SiStripMonitorMuonHLT::analyzeOnTrackClusters(), GeomDetLess::barrelForwardLess(), TrackingRecHitLessFromGlobalPosition::barrelForwardLess(), SortHitsByGlobalPosition::barrelForwardLess(), SortHitPointersByGlobalPosition::barrelForwardLess(), DeDxDiscriminatorProducer::beginRun(), DeDxEstimatorProducerPixelTripplet::beginRun(), TrackerDpgAnalysis::beginRun(), SiStripLAProfileBooker::beginRun(), DeDxEstimatorProducer::beginRun(), CSCGeometryBuilder::buildChamber(), SeedFromGenericPairOrTriplet::buildSeed(), MuonTrackLoader::buildTrackExtra(), CSCHaloAlgo::Calculate(), GlobalHaloAlgo::Calculate(), CSCLayer::centerOfStrip(), CSCLayer::centerOfWireGroup(), TkGluedMeasurementDet::checkHitProjection(), ValidateGeometry::compareShape(), PixelHitMatcher::compatibleSeeds(), SiPixelErrorEstimation::computeAnglesFromDetPosition(), PixelCPEBase::computeAnglesFromDetPosition(), PixelCPEBase::computeLorentzShifts(), tkDetUtil::computeWindowSize(), ReferenceTrajectory::construct(), HICTrajectoryCorrector::correct(), RoadSearchCloudMakerAlgorithm::CorrectMatchedHit(), RoadSearchTrackCandidateMakerAlgorithm::createSeedTrajectory(), FWTGeoRecoGeometryESProducer::createShape(), CSCSegtoRPC::CSCSegtoRPC(), SiLinearChargeDivider::DeconvolutionShape(), RingMaker::determineExtensions(), DTDigiSyncTOFCorr::digitizerOffset(), shallow::drift(), PixelCPEBase::driftDirection(), SiHitDigitizer::DriftDirection(), StripCPE::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(), RoadSearchTrackCandidateMakerAlgorithm::FindBestHits(), SETFilter::findChi2(), SiTrackerGaussianSmearingRecHitConverter::gaussianSmearing(), SiStripMonitorMuonHLT::GeometryFromTrackGeom(), ClusterShapeHitFilter::getCotangent(), MuonDetIdAssociator::getDetIdPoints(), ClusterShapeHitFilter::getDrift(), DTTrigGeom::getGeom(), CSCSectorReceiverLUT::getGlobalEtaValue(), TrackAssociatorByPosition::getState(), TrackDetectorAssociator::getTAMuonChamberMatches(), CSCDriftSim::getWireHit(), TrackerRecHit::globalPosition(), HLTRPCTrigNoSyncFilter::hltFilter(), 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(), StripCPEfromTemplate::localParameters(), 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(), MultiTrajectoryStateTransform::outerStateOnSurface(), trajectoryStateTransform::outerStateOnSurface(), tkDetUtil::overlapInPhi(), SiLinearChargeDivider::PeakShape(), position(), RoadSearchTrackCandidateMakerAlgorithm::PrepareTrackCandidates(), GlobalMuonToMuonProducer::printTrackRecHits(), DTDigitizer::produce(), TrackCandidateProducer::produce(), TrackClusterSplitter::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(), TestHits::projectHit(), TestTrackHits::projectHit(), GlobalRecHitsAnalyzer::projectHit(), SiStripRecHitsValid::projectHit(), SiStripTrackingRecHitsValid::projectHit(), GSRecHitMatcher::projectOnly(), CSCPairResidualsConstraint::radius(), CSCEfficiency::recHitSegment_Efficiencies(), recHitSurface(), rotation(), SiStripDigitizerAlgorithm::run(), RoadSearchHelixMakerAlgorithm::run(), RoadSearchTrackCandidateMakerAlgorithm::run(), BaseCkfTrajectoryBuilder::seedMeasurements(), CRackTrajectoryBuilder::seedMeasurements(), CosmicTrajectoryBuilder::seedMeasurements(), SETPatternRecognition::segmentCleaning(), setAlignmentPositionError(), PixelCPEBase::setTheDet(), CSCPairResidualsConstraint::setZplane(), SiTrackerGaussianSmearingRecHitConverter::smearHits(), SETSeedFinder::sortByLayer(), TrackClusterSplitter::splitCluster(), StartingLayerFinder::startingLayers(), TransientTrackingRecHit::surface(), MeasurementDet::surface(), TkGluedMeasurementDet::testStrips(), DTTrigGeom::toGlobal(), toGlobal(), DTTrigGeom::toLocal(), toLocal(), FastTSGFromPropagation::trackerSeeds(), LaserDQM::trackerStatistics(), TracktoRPC::TracktoRPC(), TrajectoryAtInvalidHit::TrajectoryAtInvalidHit(), SETFilter::transform(), ResidualRefitting::trkExtrap(), DTTrigGeom::tubePosInCh(), ValidateGeometry::validateCSChamberGeometry(), ValidateGeometry::validateCSCLayerGeometry(), ValidateGeometry::validateDTChamberGeometry(), ValidateGeometry::validateDTLayerGeometry(), ValidateGeometry::validateRPCGeometry(), and CosmicParametersDefinerForTP::vertex().

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

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

Definition at line 47 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(), ElectronSeedAnalyzer::analyze(), DTVDriftCalibration::analyze(), DTResidualCalibration::analyze(), CSCRecHit2DValidation::analyze(), MuonAlignmentAnalyzer::analyze(), SiStripLAProfileBooker::analyze(), SiStripTrackingRecHitsValid::analyze(), DTSegment2DSLPhiQuality::analyze(), CSCSegAlgoTC::areHitsCloseInGlobalPhi(), CSCSegAlgoSK::areHitsCloseInGlobalPhi(), DTCombinatorialExtendedPatternReco::buildSegments(), DTCombinatorialPatternReco::buildSegments(), CSCSegAlgoTC::buildSegments(), CSCSegAlgoSK::buildSegments(), DTMeantimerPatternReco::buildSegments(), CSCSegAlgoDF::buildSegments(), CSCHaloAlgo::Calculate(), reco::helper::JetMuonHitsIDHelper::calculate(), RoadSearchSeedFinderAlgorithm::calculateCircleSeedsFromHits(), RoadSearchSeedFinderAlgorithm::calculateCircleSeedsFromRingsOneInnerOneOuter(), RoadSearchSeedFinderAlgorithm::calculateCircleSeedsFromRingsOneInnerTwoOuter(), RoadSearchSeedFinderAlgorithm::calculateCircleSeedsFromRingsTwoInnerOneOuter(), MuonIdTruthInfo::checkSimHitForBestMatch(), DTRecHitSegmentResidual::compute(), DTLinearDriftFromDBAlgo::compute(), DTRecHitQuality::compute(), DTNoDriftAlgo::compute(), DTLinearDriftAlgo::compute(), DTCalibValidation::compute(), HICTrajectoryCorrector::correct(), CSCSegAlgoST::correctTheCovX(), CSCSegtoRPC::CSCSegtoRPC(), CSCSegAlgoDF::derivativeMatrix(), CSCSegAlgoSK::derivativeMatrix(), CSCSegAlgoShowering::derivativeMatrix(), CSCSegAlgoHitPruning::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(), 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(), HLTPixelClusterShapeFilter::hltFilter(), DTTMax::InfoLayer::InfoLayer(), DTMeantimerPatternReco::initHits(), RoadSearchTrackCandidateMakerAlgorithm::initialTrajectory(), RoadSearchTrackCandidateMakerAlgorithm::initialTrajectoryFromTriplet(), MuonMesh::isClusteredWith(), CSCSegAlgoTC::isHitNearSegment(), CSCSegAlgoSK::isHitNearSegment(), CSCSegAlgoShowering::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(), GlobalMuonToMuonProducer::printTrackRecHits(), HIPixelClusterVtxProducer::produce(), ShallowRechitClustersProducer::produce(), ShallowTrackClustersProducer::produce(), SiStripElectronAlgo::projectPhiBand(), CSCSegAlgoST::prune_bad_hits(), CSCSegAlgoHitPruning::pruneBadHits(), CSCSegAlgoDF::pruneFromResidual(), CSCSegAlgoShowering::pruneFromResidual(), DTCalibValidation::recHitPosition(), CSCEfficiency::recHitSegment_Efficiencies(), DTRefitAndCombineReco4D::reconstruct(), DTMeantimerPatternReco4D::reconstruct(), DTCombinatorialPatternReco4D::reconstruct(), TrackInfoProducerAlgorithm::run(), RoadSearchTrackCandidateMakerAlgorithm::run(), MuonDTLocalMillepedeAlgorithm::run(), SeedFromGenericPairOrTriplet::seedFromPair(), SeedFromGenericPairOrTriplet::seedFromTriplet(), DTResidualCalibration::segmentToWireDistance(), SeedFromNuclearInteraction::setMeasurements(), CSCSegAlgoShowering::showerSeg(), SiStripMonitorTrack::trackStudy(), CSCSegAlgoTC::tryAddingHitsToSegment(), CSCSegAlgoSK::tryAddingHitsToSegment(), DTTrigGeom::tubePosInCh(), CSCSegAlgoSK::updateParameters(), CSCSegAlgoShowering::updateParameters(), CSCSegAlgoDF::updateParameters(), and CSCSegAlgoTC::updateParameters().

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

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

Definition at line 57 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 52 of file GeomDet.h.

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

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

Conversion to the R.F. of the GeomDet.

Definition at line 67 of file GeomDet.h.

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

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

Conversion to the R.F. of the GeomDet.

Definition at line 62 of file GeomDet.h.

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

Referenced by DTSegment4DQuality::analyze(), DTEfficiencyTask::analyze(), DTResolutionAnalysisTask::analyze(), RPCEfficiency::analyze(), DTVDriftCalibration::analyze(), SiStripLAProfileBooker::analyze(), SiStripTrackingRecHitsValid::analyze(), BeamSpotTransientTrackingRecHit::BeamSpotTransientTrackingRecHit(), CSCSegAlgoDF::buildSegments(), MuonTrackLoader::buildTrackExtra(), MuonIdTruthInfo::checkSimHitForBestMatch(), DTRecHitSegmentResidual::compute(), DTLinearDriftFromDBAlgo::compute(), 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(), ClusterShapeHitFilter::isCompatible(), 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(), DTResidualCalibration::segmentToWireDistance(), CSCSegAlgoShowering::showerSeg(), SiStripMonitorTrack::trackStudy(), DTSegmentUpdator::updateHits(), CSCSegAlgoDF::updateParameters(), CSCSegAlgoShowering::updateParameters(), CSCSegAlgoSK::updateParameters(), and CSCSegAlgoTC::updateParameters().

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

Friends And Related Function Documentation

friend class DetPositioner [friend]

Alignment part of interface, available only to friend.

Reimplemented in GeomDetUnit.

Definition at line 110 of file GeomDet.h.


Member Data Documentation

Definition at line 106 of file GeomDet.h.

Referenced by geographicalId(), and setDetId().

int GeomDet::m_index [private]

Definition at line 107 of file GeomDet.h.

Referenced by index(), and setIndex().

Definition at line 104 of file GeomDet.h.

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

Definition at line 105 of file GeomDet.h.

Referenced by localAlignmentError(), and setAlignmentPositionError().

Definition at line 103 of file GeomDet.h.

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