CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends
GeomDet Class Referenceabstract

#include <GeomDet.h>

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

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

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

Definition at line 28 of file GeomDet.h.

Constructor & Destructor Documentation

GeomDet::GeomDet ( BoundPlane plane)
explicit

Definition at line 5 of file GeomDet.cc.

5  :
ReferenceCountingPointer< BoundPlane > thePlane
Definition: GeomDet.h:99
AlignmentPositionError * theAlignmentPositionError
Definition: GeomDet.h:100
GeomDet::GeomDet ( const ReferenceCountingPointer< BoundPlane > &  plane)
explicit

Definition at line 8 of file GeomDet.cc.

8  :
ReferenceCountingPointer< BoundPlane > thePlane
Definition: GeomDet.h:99
AlignmentPositionError * theAlignmentPositionError
Definition: GeomDet.h:100
GeomDet::~GeomDet ( )
virtual

Definition at line 11 of file GeomDet.cc.

References theAlignmentPositionError.

12 {
14 }
AlignmentPositionError * theAlignmentPositionError
Definition: GeomDet.h:100

Member Function Documentation

virtual AlignmentPositionError* GeomDet::alignmentPositionError ( ) const
inlinevirtual

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 AlignableDet::AlignableDet(), AlignableDetUnit::AlignableDetUnit(), HelpertRecHit2DLocalPos::getKfComponents(), HelpertRecHit2DLocalPos::parError(), SiTrackerGaussianSmearingRecHitConverter::smearHits(), and HelpertRecHit2DLocalPos::updateWithAPE().

AlignmentPositionError * theAlignmentPositionError
Definition: GeomDet.h:100
virtual const GeomDet* GeomDet::component ( DetId  id) const
inlinevirtual

Returns a component GeomDet given its DetId, if existing.

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

Definition at line 88 of file GeomDet.h.

88 {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(), TrackerGeometry::addDet(), CSCGeometry::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(), ListIds::analyze(), SiPixelMuonHLT::analyze(), OnDemandMeasurementTracker::assign(), SiStripDetInfoFileWriter::beginRun(), SiPixelDetInfoFileWriter::beginRun(), TSiStripMatchedRecHit::clone(), TSiStripMatchedRecHit::ComputeCoarseLocalPosition(), PixelCPEBase::computeLorentzShifts(), shallow::drift(), StripCPE::driftDirection(), PixelCPEBase::driftDirection(), TkStripMeasurementDet::fastMeasurements(), StripCPE::fillParam(), CSCEfficiency::filter(), GenericProjectedRecHit2D::geographicalId(), ClusterShapeHitFilter::getDrift(), GluedGeomDet::GluedGeomDet(), MuonShowerInformationFiller::hitsFromSegments(), CSCChamber::id(), GeomDetLess::insideOutLess(), TkGeomDetCompatibilityChecker::isCompatible(), CkfDebugger::layer(), FastPixelCPE::localParameters(), PixelCPETemplateReco::localPosition(), PixelCPEGeneric::localPosition(), PixelCPEBase::lorentzShiftX(), PixelCPEBase::lorentzShiftY(), SiStripHashedDetIdESModule::make(), TrajectoryManager::makeSinglePSimHit(), GSRecHitMatcher::match(), SiStripRecHitMatcher::match(), CkfDebugger::nextCorrectHits(), MuonSeedCleaner::NRecHitsFromSegment(), SiPixelFedCablingMapBuilder::produce(), SiStripHashedDetIdESProducer::produce(), L2MuonSeedGenerator::produce(), MuonSimHitProducer::produce(), GSRecHitMatcher::projectOnly(), TSGForRoadSearch::pushTrajectorySeed(), TkPixelMeasurementDet::recHits(), TkStripMeasurementDet::recHits(), MuonDetLayerMeasurements::recHits(), MuonMillepedeAlgorithm::run(), MuonDTLocalMillepedeAlgorithm::run(), SiStripDigitizerAlgorithm::run(), SiPixelDigitizerAlgorithm::run(), MuonSeedCleaner::SeedCandidates(), CSCBaseElectronicsSim::setLayer(), GeomDetUnit::setSurfaceDeformation(), TkStripMeasurementDet::simpleRecHits(), 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().

74 { return m_detId; }
DetId m_detId
Definition: GeomDet.h:101
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 python.Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), DetPositioner::moveGeomDet(), and python.Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().

17 {
18  //
19  // Should recreate the surface like the set* methods ?
20  //
21  thePlane->move(displacement);
22 }
ReferenceCountingPointer< BoundPlane > thePlane
Definition: GeomDet.h:99
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 DeDxDiscriminatorLearner::algoBeginJob(), DeDxDiscriminatorLearnerFromCalibTree::algoBeginJob(), SiStripGainFromData::algoBeginJob(), SiStripGainFromCalibTree::algoBeginJob(), CkfDebugger::analyseCompatibleMeasurements(), ValidationMisalignedTracker::analyze(), ListIds::analyze(), GeomDetLess::barrelForwardLess(), DeDxEstimatorProducer::beginRun(), DeDxEstimatorProducerPixelTripplet::beginRun(), DeDxDiscriminatorProducer::beginRun(), MuonRPCDetLayerGeometryBuilder::buildBarrelLayers(), MuonCSCDetLayerGeometryBuilder::buildLayer(), MuonRPCDetLayerGeometryBuilder::buildLayer(), MuonDTDetLayerGeometryBuilder::buildLayers(), CSCSegAlgoDF::buildSegments(), CSCSegAlgoTC::buildSegments(), CSCSegAlgoSK::buildSegments(), TSiStripMatchedRecHit::clone(), TSiStripMatchedRecHit::ComputeCoarseLocalPosition(), HICTrajectoryCorrector::correct(), DTTrigGeomUtils::DTTrigGeomUtils(), DTTimingExtractor::fillTiming(), TrackerOfflineValidationSummary::fillTree(), TrackerOfflineValidation::fillTree(), DetZLess::operator()(), CompareDetY_plus::operator()(), CompareDetY_minus::operator()(), DTLocalTriggerBaseTest::phiRange(), and MeasurementDet::position().

43 {return surface().position();}
const PositionType & position() const
virtual const BoundPlane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37
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.

25 {
26  //
27  // Should recreate the surface like the set* methods ?
28  //
29  thePlane->rotate(rotation);
30 }
ReferenceCountingPointer< BoundPlane > thePlane
Definition: GeomDet.h:99
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().

46 { return surface().rotation();}
const RotationType & rotation() const
virtual const BoundPlane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37
void GeomDet::setAlignmentPositionError ( const AlignmentPositionError ape)
privatevirtual

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

40 {
43  }
44  else *theAlignmentPositionError = ape;
45 
46 }
AlignmentPositionError * theAlignmentPositionError
Definition: GeomDet.h:100
void GeomDet::setDetId ( DetId  id)
inlineprotected
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().

34 {
35  thePlane = ModifiedSurfaceGenerator<BoundPlane>(thePlane).atNewPosition(position,
36  rotation);
37 }
ReferenceCountingPointer< BoundPlane > thePlane
Definition: GeomDet.h:99
virtual const BoundPlane& GeomDet::specificSurface ( ) const
inlinevirtual
virtual SubDetector GeomDet::subDetector ( ) const
pure virtual
virtual const BoundPlane& GeomDet::surface ( ) const
inlinevirtual

The nominal surface of the GeomDet.

Definition at line 37 of file GeomDet.h.

References thePlane.

Referenced by FWRecoGeometryESProducer::addDTGeometry(), BetaCalculatorRPC::addInfoToCandidate(), DeDxDiscriminatorLearner::algoBeginJob(), DeDxDiscriminatorLearnerFromCalibTree::algoBeginJob(), SiStripCalibLorentzAngle::algoBeginJob(), SiStripGainFromData::algoBeginJob(), SiStripGainFromCalibTree::algoBeginJob(), AlignableCSCChamber::AlignableCSCChamber(), AlignableDet::AlignableDet(), AlignableDTChamber::AlignableDTChamber(), AlignableDTSuperLayer::AlignableDTSuperLayer(), CkfDebugger::analyseCompatibleMeasurements(), CkfDebugger::analyseRecHitExistance(), SiStripLAProfileBooker::analyze(), ElectronSeedAnalyzer::analyze(), SiPixelTrackResidualSource::analyze(), MuonAlignmentAnalyzer::analyze(), SiStripRecHitsValid::analyze(), SiPixelErrorEstimation::analyze(), SiStripTrackingRecHitsValid::analyze(), SiPixelTrackingRecHitsValid::analyze(), MuonAlignment::analyze(), SiPixelLorentzAngle::analyze(), SiPixelMuonHLT::analyze(), SiStripMonitorMuonHLT::analyze(), RPCEfficiency::analyze(), TrackerDpgAnalysis::analyze(), BeamHaloAnalyzer::analyze(), SiStripMonitorMuonHLT::analyzeOnTrackClusters(), GeomDetLess::barrelForwardLess(), TrackingRecHitLessFromGlobalPosition::barrelForwardLess(), SortHitsByGlobalPosition::barrelForwardLess(), SortHitPointersByGlobalPosition::barrelForwardLess(), SiStripLAProfileBooker::beginRun(), DeDxEstimatorProducer::beginRun(), DeDxEstimatorProducerPixelTripplet::beginRun(), DeDxDiscriminatorProducer::beginRun(), TrackerDpgAnalysis::beginRun(), CSCGeometryBuilder::buildChamber(), SeedFromGenericPairOrTriplet::buildSeed(), MuonTrackLoader::buildTrackExtra(), GlobalHaloAlgo::Calculate(), CSCHaloAlgo::Calculate(), TOBLayer::calculatePhiWindow(), PixelBarrelLayer::calculatePhiWindow(), CSCLayer::centerOfStrip(), CSCLayer::centerOfWireGroup(), TkGluedMeasurementDet::checkHitProjection(), TSiStripMatchedRecHit::clone(), ValidateGeometry::compareShape(), PixelHitMatcher::compatibleSeeds(), SiPixelErrorEstimation::computeAnglesFromDetPosition(), PixelCPEBase::computeAnglesFromDetPosition(), TSiStripMatchedRecHit::ComputeCoarseLocalPosition(), TIBRing::computeHelicity(), PixelCPEBase::computeLorentzShifts(), tkDetUtil::computeWindowSize(), TIDLayer::computeWindowSize(), TOBLayer::computeWindowSize(), TOBRod::computeWindowSize(), PixelBlade::computeWindowSize(), PixelBarrelLayer::computeWindowSize(), TIBLayer::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(), StripCPE::driftDirection(), SiHitDigitizer::DriftDirection(), PixelCPEBase::driftDirection(), SiPixelDigitizerAlgorithm::DriftDirection(), DTSegtoRPC::DTSegtoRPC(), DTTrigGeomUtils::DTTrigGeomUtils(), InsideBoundsMeasurementEstimator::estimate(), ForwardMeasurementEstimator::estimate(), BarrelMeasurementEstimator::estimate(), RoadSearchTrackCandidateMakerAlgorithm::extrapolateTrajectory(), RPCSeedPattern::extropolateStep(), TkGluedMeasurementDet::fastMeasurements(), SiPixelClusterModule::fill(), SiPixelRecHitsValid::fillBarrel(), MuonSimHitsValidAnalyzer::fillDT(), GlobalHitsAnalyzer::fillMuon(), GlobalHitsProdHist::fillMuon(), GlobalHitsProducer::fillMuon(), RoadSearchCloudMakerAlgorithm::FillPixRecHitsIntoCloud(), RoadSearchCloudMakerAlgorithm::FillRecHitsIntoCloudGeneral(), MuonSimHitsValidAnalyzer::fillRPC(), FWRecoGeometryESProducer::fillShapeAndPlacement(), CSCTimingExtractor::fillTiming(), DTTimingExtractor::fillTiming(), TrackerOfflineValidationSummary::fillTree(), TrackerOfflineValidation::fillTree(), GlobalHitsAnalyzer::fillTrk(), GlobalHitsProdHist::fillTrk(), GlobalHitsProducer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::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(), TrajectoryStateTransform::innerStateOnSurface(), MultiTrajectoryStateTransform::innerStateOnSurface(), MuonDetIdAssociator::insideElement(), GeomDetLess::insideOutLess(), TrackingRecHitLessFromGlobalPosition::insideOutLess(), SortHitsByGlobalPosition::insideOutLess(), SortHitPointersByGlobalPosition::insideOutLess(), DeDxDiscriminatorTools::IsFarFromBorder(), ShallowGainCalibration::IsFarFromBorder(), SiStripGainFromData::IsFarFromBorder(), CSCPairResidualsConstraint::isFiducial(), SiPixelGaussianSmearingRecHitConverterAlgorithm::isFlipped(), PixelCPEBase::isFlipped(), PixelCPETemplateReco::localPosition(), PixelCPEGeneric::localPosition(), DTTrigGeom::localPosition(), PixelCPEBase::lorentzShiftX(), PixelCPEBase::lorentzShiftY(), HSCPValidator::makeSimDigiPlotsRPC(), TrajectoryManager::makeSinglePSimHit(), MuonRoadTrajectoryBuilder::makeTrajectories_0(), GSRecHitMatcher::match(), SiStripRecHitMatcher::match(), SiTrackerGaussianSmearingRecHitConverter::matchHits(), SiStripGainCosmicCalculator::moduleThickness(), SiStripGainCosmicCalculator::moduleWidth(), CosmicParametersDefinerForTP::momentum(), SiStripMonitorMuonHLT::Normalizer(), DTTTrigSyncFromDB::offset(), DTTTrigSyncTOFCorr::offset(), TSOSFromSimHitFactory::operator()(), DetPhiLess::operator()(), CylinderBuilderFromDet::operator()(), CosmicTrackingParticleSelector::operator()(), SeedFromNuclearInteraction::outerHitPosition(), TrajectoryStateTransform::outerStateOnSurface(), MultiTrajectoryStateTransform::outerStateOnSurface(), TOBRod::overlap(), PixelBlade::overlap(), tkDetUtil::overlapInPhi(), HelpertRecHit2DLocalPos::parError(), SiLinearChargeDivider::PeakShape(), position(), RoadSearchTrackCandidateMakerAlgorithm::PrepareTrackCandidates(), MuonProducer::printTrackRecHits(), EnergyLossPlain::process(), ShallowTrackClustersProducer::produce(), TrackCandidateProducer::produce(), PixelClusterSelectorTopBottom::produce(), TrajectorySeedProducer::produce(), DTDigitizer::produce(), ConvBremSeedProducer::produce(), MuonSimHitProducer::produce(), GSRecHitMatcher::project(), TrackingRecHitPropagator::project(), TrackingRecHitProjector< ResultingHit >::project(), TrackInfoProducerAlgorithm::project(), SiStripRecHitMatcher::project(), TestHits::projectHit(), TestSmoothHits::projectHit(), TestTrackHits::projectHit(), SiStripTrackingRecHitsValid::projectHit(), SiStripRecHitsValid::projectHit(), GlobalRecHitsAnalyzer::projectHit(), GlobalRecHitsProducer::projectHit(), GSRecHitMatcher::projectOnly(), CSCPairResidualsConstraint::radius(), CSCEfficiency::recHitSegment_Efficiencies(), recHitSurface(), SimpleTrackRefitter::refitTrack(), rotation(), RoadSearchHelixMakerAlgorithm::run(), SiStripDigitizerAlgorithm::run(), RoadSearchTrackCandidateMakerAlgorithm::run(), SimpleTrackRefitter::seedMeasurements(), CosmicTrajectoryBuilder::seedMeasurements(), BaseCkfTrajectoryBuilder::seedMeasurements(), CRackTrajectoryBuilder::seedMeasurements(), SETPatternRecognition::segmentCleaning(), PixelCPEBase::setTheDet(), CSCPairResidualsConstraint::setZplane(), SiTrackerGaussianSmearingRecHitConverter::smearHits(), SETSeedFinder::sortByLayer(), StartingLayerFinder::startingLayers(), InvalidTransientRecHit::surface(), MeasurementDet::surface(), TransientTrackingRecHit::surface(), BeamSpotTransientTrackingRecHit::surface(), TkGluedMeasurementDet::testStrips(), toGlobal(), DTTrigGeom::toGlobal(), toLocal(), DTTrigGeom::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().

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

49  {
50  return surface().toGlobal( lp);
51  }
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
Definition: Surface.h:78
virtual const BoundPlane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37
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().

54  {
55  return surface().toGlobal( lp);
56  }
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
Definition: Surface.h:78
virtual const BoundPlane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37
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().

59  {
60  return surface().toGlobal( lv);
61  }
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
Definition: Surface.h:78
virtual const BoundPlane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37
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(), SiStripLAProfileBooker::analyze(), DTVDriftCalibration::analyze(), DTEfficiencyTask::analyze(), DTResolutionAnalysisTask::analyze(), SiStripTrackingRecHitsValid::analyze(), RPCEfficiency::analyze(), BeamSpotTransientTrackingRecHit::BeamSpotTransientTrackingRecHit(), CSCSegAlgoDF::buildSegments(), MuonTrackLoader::buildTrackExtra(), MuonIdTruthInfo::checkSimHitForBestMatch(), DTRecHitSegmentResidual::compute(), DTLinearDriftFromDBAlgo::compute(), DTCalibValidation::compute(), FineDelayHistosUsingDb::computeDelays(), MuonTrackResidualAnalyzer::computeResolution(), CSCSegAlgoST::correctTheCovX(), CSCSegtoRPC::CSCSegtoRPC(), CSCSegAlgoHitPruning::derivativeMatrix(), CSCSegAlgoShowering::derivativeMatrix(), CSCSegAlgoTC::derivativeMatrix(), CSCSegAlgoST::derivativeMatrix(), CSCSegAlgoDF::derivativeMatrix(), CSCSegAlgoSK::derivativeMatrix(), CSCOfflineMonitor::doEfficiencies(), CSCValidation::doEfficiencies(), DTHitPairForFit::DTHitPairForFit(), DTTMax::DTTMax(), DTTrigGeomUtils::DTTrigGeomUtils(), CSCEfficiency::efficienciesPerChamber(), DTCombinatorialExtendedPatternReco::extendCandidates(), CSCSegAlgoHitPruning::fillChiSquared(), CSCSegAlgoST::fillChiSquared(), CSCSegAlgoSK::fillChiSquared(), CSCSegAlgoTC::fillChiSquared(), DTTimingExtractor::fillTiming(), SETFilter::findChi2(), SiStripFineDelayTLA::findtrackangle(), DTSegmentUpdator::fit(), CSCSegAlgoHitPruning::fitSlopes(), CSCSegAlgoST::fitSlopes(), CSCSegAlgoSK::fitSlopes(), CSCSegAlgoTC::fitSlopes(), RPCSeedPattern::getSpecialAlgorithmErrorMatrix(), CSCDriftSim::getWireHit(), DTTMax::InfoLayer::InfoLayer(), DTClusterer::initHits(), MuonDetIdAssociator::insideElement(), CSCSegAlgoShowering::isHitNearSegment(), CSCSegAlgoDF::isHitNearSegment(), TrajectoryManager::makeSinglePSimHit(), DTTTrigSyncFromDB::offset(), DTTTrigSyncTOFCorr::offset(), DTLocalTriggerBaseTest::phiRange(), ShallowTrackClustersProducer::produce(), MuonSimHitProducer::produce(), CSCSegAlgoShowering::pruneFromResidual(), CSCSegAlgoDF::pruneFromResidual(), DTSurvey::ReadChambers(), DTCalibValidation::recHitPosition(), CSCEfficiency::recHitSegment_Efficiencies(), DTMeantimerPatternReco4D::reconstruct(), DTRefitAndCombineReco4D::reconstruct(), DTCombinatorialPatternReco4D::reconstruct(), TrackInfoProducerAlgorithm::run(), DTResidualCalibration::segmentToWireDistance(), CSCSegAlgoShowering::showerSeg(), SiStripMonitorTrack::trackStudy(), DTSegmentUpdator::updateHits(), CSCSegAlgoShowering::updateParameters(), CSCSegAlgoSK::updateParameters(), CSCSegAlgoDF::updateParameters(), and CSCSegAlgoTC::updateParameters().

64  {
65  return surface().toLocal( gp);
66  }
LocalPoint toLocal(const GlobalPoint &gp) const
virtual const BoundPlane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37
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().

69  {
70  return surface().toLocal( gv);
71  }
LocalPoint toLocal(const GlobalPoint &gp) const
virtual const BoundPlane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37

Friends And Related Function Documentation

friend class DetPositioner
friend

Alignment part of interface, available only to friend.

Definition at line 105 of file GeomDet.h.

Member Data Documentation

DetId GeomDet::m_detId
private

Definition at line 101 of file GeomDet.h.

Referenced by geographicalId(), and setDetId().

AlignmentPositionError* GeomDet::theAlignmentPositionError
private

Definition at line 100 of file GeomDet.h.

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

ReferenceCountingPointer<BoundPlane> GeomDet::thePlane
private

Definition at line 99 of file GeomDet.h.

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