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

Public Types

typedef
GeomDetEnumerators::SubDetector 
SubDetector
 

Public Member Functions

AlignmentPositionError const * alignmentPositionError () const
 Return pointer to alignment errors. More...
 
virtual const GeomDetcomponent (DetId) 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 (Plane *plane)
 
 GeomDet (const ReferenceCountingPointer< Plane > &plane)
 
int index () const
 
LocalError const & localAlignmentError () const
 Return local alligment error. More...
 
const Surface::PositionTypeposition () const
 The position (origin of the R.F.) More...
 
const Surface::RotationTyperotation () const
 The rotation defining the local R.F. More...
 
void setIndex (int i)
 
const PlanespecificSurface () const
 Same as surface(), kept for backward compatibility. More...
 
virtual SubDetector subDetector () const =0
 Which subdetector. More...
 
const Planesurface () 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)
 
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< PlanethePlane
 

Friends

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

Detailed Description

Base class for GeomDetUnit and for composite GeomDet s.

Definition at line 24 of file GeomDet.h.

Member Typedef Documentation

Definition at line 26 of file GeomDet.h.

Constructor & Destructor Documentation

GeomDet::GeomDet ( Plane plane)
explicit

Definition at line 5 of file GeomDet.cc.

5  :
ReferenceCountingPointer< Plane > thePlane
Definition: GeomDet.h:103
LocalError theLocalAlignmentError
Definition: GeomDet.h:105
int m_index
Definition: GeomDet.h:107
AlignmentPositionError * theAlignmentPositionError
Definition: GeomDet.h:104
GeomDet::GeomDet ( const ReferenceCountingPointer< Plane > &  plane)
explicit

Definition at line 8 of file GeomDet.cc.

8  :
ReferenceCountingPointer< Plane > thePlane
Definition: GeomDet.h:103
LocalError theLocalAlignmentError
Definition: GeomDet.h:105
int m_index
Definition: GeomDet.h:107
AlignmentPositionError * theAlignmentPositionError
Definition: GeomDet.h:104
GeomDet::~GeomDet ( )
virtual

Definition at line 11 of file GeomDet.cc.

References theAlignmentPositionError.

AlignmentPositionError * theAlignmentPositionError
Definition: GeomDet.h:104

Member Function Documentation

AlignmentPositionError const* GeomDet::alignmentPositionError ( ) const
inline

Return pointer to alignment errors.

Definition at line 88 of file GeomDet.h.

References theAlignmentPositionError.

Referenced by AlignableDet::AlignableDet(), AlignableDetUnit::AlignableDetUnit(), and SiTrackerGaussianSmearingRecHitConverter::smearHits().

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

Returns a component GeomDet given its DetId, if existing.

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

Definition at line 85 of file GeomDet.h.

85 {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 SiPixelDigitizerAlgorithm::accumulateSimHits(), SiStripDigitizerAlgorithm::accumulateSimHits(), GEMGeometry::add(), RPCGeometry::add(), DTGeometry::add(), SiPixelDigitizerAlgorithm::add_noise(), FWRecoGeometryESProducer::addCSCGeometry(), TrackerGeometry::addDet(), CSCGeometry::addDet(), TrackerGeometry::addDetUnit(), FWRecoGeometryESProducer::addDTGeometry(), FWRecoGeometryESProducer::addGEMGeometry(), FWTGeoRecoGeometryESProducer::addGEMGeometry(), CSCGeometry::addLayer(), FWRecoGeometryESProducer::addPixelBarrelGeometry(), FWRecoGeometryESProducer::addPixelForwardGeometry(), FWRecoGeometryESProducer::addRPCGeometry(), FWTGeoRecoGeometryESProducer::addRPCGeometry(), FWRecoGeometryESProducer::addTECGeometry(), FWRecoGeometryESProducer::addTIBGeometry(), FWRecoGeometryESProducer::addTIDGeometry(), FWRecoGeometryESProducer::addTOBGeometry(), AlignableDet::AlignableDet(), AlignableNavigator::alignableFromGeomDet(), AlignableSiStripDet::AlignableSiStripDet(), CkfDebugger::analyseRecHitExistance(), CkfDebugger::analyseRecHitNotFound(), ListIds::analyze(), SiPixelMuonHLT::analyze(), SiStripDetInfoFileWriter::beginRun(), SiPixelDetInfoFileWriter::beginRun(), SiStripLorentzAngleCalibration::derivatives(), SiPixelLorentzAngleCalibration::derivatives(), SiStripBackplaneCalibration::derivatives(), SiPixelDigitizerAlgorithm::digitize(), SiStripDigitizerAlgorithm::digitize(), edm::DataMixingSiStripMCDigiWorker::DMinitializeDetUnit(), shallow::drift(), StripCPE::driftDirection(), PixelCPEBase::driftDirection(), SiPixelDigitizerAlgorithm::DriftDirection(), SiStripLorentzAngleCalibration::effectiveThickness(), StripCPE::fillParams(), ClusterShapeHitFilter::fillPixelData(), CSCEfficiency::filter(), KFTrajectoryFitter::fitOne(), ClusterShapeHitFilter::getDrift(), GluedGeomDet::GluedGeomDet(), LayerMeasurements::groupedMeasurements(), MuonShowerInformationFiller::hitsFromSegments(), CSCChamber::id(), SiPixelDigitizerAlgorithm::induce_signal(), MeasurementTrackerImpl::initGluedDet(), SiStripDigitizerAlgorithm::initializeDetUnit(), GeomDetLess::insideOutLess(), ProjectedSiStripRecHit2D::isMono(), CkfDebugger::layer(), PixelCPEGeneric::localError(), StripCPEfromTemplate::localParameters(), PixelCPETemplateReco::localPosition(), TrajectoryManager::makeSinglePSimHit(), CkfDebugger::nextCorrectHits(), MuonSeedCleaner::NRecHitsFromSegment(), SiPixelDigitizerAlgorithm::pixel_inefficiency(), SiPixelFedCablingMapBuilder::produce(), SiStripHashedDetIdESProducer::produce(), L2MuonSeedGenerator::produce(), MuonSimHitProducer::produce(), ProjectedSiStripRecHit2D::ProjectedSiStripRecHit2D(), GSRecHitMatcher::projectOnly(), TSGForRoadSearch::pushTrajectorySeed(), edm::DataMixingSiStripMCDigiWorker::putSiStrip(), TkPixelMeasurementDet::recHits(), MuonDetLayerMeasurements::recHits(), MuonMillepedeAlgorithm::run(), MuonDTLocalMillepedeAlgorithm::run(), DigiSimLinkAlgorithm::run(), MuonSeedCleaner::SeedCandidates(), CSCBaseElectronicsSim::setLayer(), GeomDetUnit::setSurfaceDeformation(), MatchedHitRZCorrectionFromBending::tibMatchedHitZFixup(), TracktoRPC::TracktoRPC(), TrajectoryAtInvalidHit::TrajectoryAtInvalidHit(), MuonTransientTrackingRecHit::transientHits(), ValidateGeometry::validateCSChamberGeometry(), and ValidateGeometry::validateCSCLayerGeometry().

72 { return m_detId; }
DetId m_detId
Definition: GeomDet.h:106
int GeomDet::index ( ) const
inline

Definition at line 92 of file GeomDet.h.

References m_index.

Referenced by BeautifulSoup.PageElement::_invert(), PixelCPEBase::detParam(), StripCPE::fillParams(), and StripCPE::param().

92 { return m_index;}
int m_index
Definition: GeomDet.h:107
LocalError const& GeomDet::localAlignmentError ( ) const
inline

Return local alligment error.

Definition at line 78 of file GeomDet.h.

References theLocalAlignmentError.

Referenced by BaseTrackerRecHit::BaseTrackerRecHit(), MuonTransientTrackingRecHit::parametersError(), and HelpertRecHit2DLocalPos::updateWithAPE().

78 { return theLocalAlignmentError;}
LocalError theLocalAlignmentError
Definition: GeomDet.h:105
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(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().

14 {
15  //
16  // Should recreate the surface like the set* methods ?
17  //
18  thePlane->move(displacement);
19 }
ReferenceCountingPointer< Plane > thePlane
Definition: GeomDet.h:103
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.

22 {
23  //
24  // Should recreate the surface like the set* methods ?
25  //
26  thePlane->rotate(rotation);
27 }
ReferenceCountingPointer< Plane > thePlane
Definition: GeomDet.h:103
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().

44 { return surface().rotation();}
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:35
const RotationType & rotation() const
bool GeomDet::setAlignmentPositionError ( const AlignmentPositionError ape)
private

set the LocalAlignmentError properly trasforming the ape Does not affect the AlignmentPositionError of components (if any).

Definition at line 37 of file GeomDet.cc.

References AlignmentPositionError::globalError(), surface(), theAlignmentPositionError, theLocalAlignmentError, ErrorFrameTransformer::transform(), and AlignmentPositionError::valid().

Referenced by DetPositioner::setAlignmentPositionError().

38 {
41  }
42  else *theAlignmentPositionError = ape;
43 
46  surface()
47  ) :
48  InvalidError();
49  return ape.valid();
50 }
static GlobalError transform(const LocalError &le, const Surface &surf)
LocalError theLocalAlignmentError
Definition: GeomDet.h:105
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:35
AlignmentPositionError * theAlignmentPositionError
Definition: GeomDet.h:104
const GlobalError & globalError() const
void GeomDet::setDetId ( DetId  id)
inlineprotected
void GeomDet::setIndex ( int  i)
inline

Definition at line 93 of file GeomDet.h.

References i, and m_index.

93 { m_index=i;}
int i
Definition: DBlmapReader.cc:9
int m_index
Definition: GeomDet.h:107
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().

31 {
32  thePlane = ModifiedSurfaceGenerator<Plane>(thePlane).atNewPosition(position,
33  rotation);
34 }
ReferenceCountingPointer< Plane > thePlane
Definition: GeomDet.h:103
const Plane& GeomDet::specificSurface ( ) const
inline
virtual SubDetector GeomDet::subDetector ( ) const
pure virtual
const Plane& GeomDet::surface ( ) const
inline

The nominal surface of the GeomDet.

Definition at line 35 of file GeomDet.h.

References thePlane.

Referenced by SiPixelDigitizerAlgorithm::accumulateSimHits(), SiStripDigitizerAlgorithm::accumulateSimHits(), FWRecoGeometryESProducer::addDTGeometry(), BetaCalculatorRPC::addInfoToCandidate(), SiStripCalibLorentzAngle::algoBeginJob(), AlignableCSCChamber::AlignableCSCChamber(), AlignableDet::AlignableDet(), AlignableDTChamber::AlignableDTChamber(), AlignableDTSuperLayer::AlignableDTSuperLayer(), CkfDebugger::analyseCompatibleMeasurements(), CkfDebugger::analyseRecHitExistance(), ElectronSeedAnalyzer::analyze(), SiStripLAProfileBooker::analyze(), MuonAlignmentAnalyzer::analyze(), SiPixelTrackResidualSource::analyze(), SiPixelErrorEstimation::analyze(), SiPixelTrackingRecHitsValid::analyze(), MuonAlignment::analyze(), SiPixelMuonHLT::analyze(), analyzer::SiPixelLorentzAngle::analyze(), SiStripMonitorMuonHLT::analyze(), RPCEfficiency::analyze(), TrackerDpgAnalysis::analyze(), BeamHaloAnalyzer::analyze(), SiStripMonitorMuonHLT::analyzeOnTrackClusters(), GeomDetLess::barrelForwardLess(), TrackingRecHitLessFromGlobalPosition::barrelForwardLess(), SiStripLAProfileBooker::beginRun(), TrackerDpgAnalysis::beginRun(), CSCGeometryBuilder::buildChamber(), SeedFromGenericPairOrTriplet::buildSeed(), MuonTrackLoader::buildTrackExtra(), GlobalHaloAlgo::Calculate(), CSCHaloAlgo::Calculate(), barrelUtil::calculatePhiWindow(), CSCLayer::centerOfStrip(), CSCLayer::centerOfWireGroup(), TkGluedMeasurementDet::checkHitProjection(), ValidateGeometry::compareShape(), PixelHitMatcher::compatibleSeeds(), SiPixelErrorEstimation::computeAnglesFromDetPosition(), TIBRing::computeHelicity(), tkDetUtil::computeWindowSize(), barrelUtil::computeWindowSize(), TIBLayer::computeWindowSize(), TIDLayer::computeWindowSize(), TOBRod::computeWindowSize(), PixelBlade::computeWindowSize(), PixelForwardLayer::computeWindowSize(), PixelForwardLayerPhase1::computeWindowSize(), TIBRing::computeWindowSize(), CompositeTECPetal::computeWindowSize(), ReferenceTrajectory::construct(), CosmicMuonSeedGenerator::createSeed(), FWTGeoRecoGeometryESProducer::createShape(), CSCSegtoRPC::CSCSegtoRPC(), SiLinearChargeDivider::DeconvolutionShape(), SiStripLorentzAngleCalibration::derivatives(), SiPixelLorentzAngleCalibration::derivatives(), SiStripBackplaneCalibration::derivatives(), DTDigiSyncTOFCorr::digitizerOffset(), OutsideInMuonSeeder::doDebug(), SiStripRecHitMatcher::doubleMatch(), shallow::drift(), SiPixelDigitizerAlgorithm::drift(), StripCPE::driftDirection(), SiHitDigitizer::DriftDirection(), PixelCPEBase::driftDirection(), SiPixelDigitizerAlgorithm::DriftDirection(), DTSegtoRPC::DTSegtoRPC(), DTTrigGeomUtils::DTTrigGeomUtils(), SiStripLorentzAngleCalibration::effectiveThickness(), InsideBoundsMeasurementEstimator::estimate(), ForwardMeasurementEstimator::estimate(), BarrelMeasurementEstimator::estimate(), RPCSeedPattern::extropolateStep(), SiPixelClusterModule::fill(), SiPixelRecHitsValid::fillBarrel(), MuonSimHitsValidAnalyzer::fillDT(), GlobalHitsAnalyzer::fillMuon(), GlobalHitsProdHist::fillMuon(), GlobalHitsProducer::fillMuon(), MuonSimHitsValidAnalyzer::fillRPC(), FWRecoGeometryESProducer::fillShapeAndPlacement(), CSCTimingExtractor::fillTiming(), DTTimingExtractor::fillTiming(), TrackerOfflineValidationSummary::fillTree(), TrackerOfflineValidation::fillTree(), GlobalHitsAnalyzer::fillTrk(), GlobalHitsProdHist::fillTrk(), GlobalHitsProducer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), 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(), trajectoryStateTransform::innerStateOnSurface(), MultiTrajectoryStateTransform::innerStateOnSurface(), MuonDetIdAssociator::insideElement(), GeomDetLess::insideOutLess(), TrackingRecHitLessFromGlobalPosition::insideOutLess(), DeDxDiscriminatorTools::IsFarFromBorder(), ShallowGainCalibration::IsFarFromBorder(), SiStripGainFromData::IsFarFromBorder(), SiStripGainFromCalibTree::IsFarFromBorder(), CSCPairResidualsConstraint::isFiducial(), SiPixelGaussianSmearingRecHitConverterAlgorithm::isFlipped(), PixelCPEBase::isFlipped(), StripCPEfromTemplate::localParameters(), DTTrigGeom::localPosition(), HSCPValidator::makeSimDigiPlotsRPC(), TrajectoryManager::makeSinglePSimHit(), GSRecHitMatcher::match(), SiStripRecHitMatcher::match(), SiTrackerGaussianSmearingRecHitConverter::matchHits(), TkGluedMeasurementDet::measurements(), SiStripGainCosmicCalculator::moduleThickness(), SiStripGainCosmicCalculator::moduleWidth(), CosmicParametersDefinerForTP::momentum(), SiStripMonitorMuonHLT::Normalizer(), DTTTrigSyncFromDB::offset(), DTTTrigSyncTOFCorr::offset(), TSOSFromSimHitFactory::operator()(), TkClonerImpl::operator()(), CylinderBuilderFromDet::operator()(), CosmicTrackingParticleSelector::operator()(), SeedFromNuclearInteraction::outerHitPosition(), trajectoryStateTransform::outerStateOnSurface(), MultiTrajectoryStateTransform::outerStateOnSurface(), PixelBlade::overlap(), tkDetUtil::overlapInPhi(), SiLinearChargeDivider::PeakShape(), position(), QuadrupletSeedMerger::printHit(), GlobalMuonToMuonProducer::printTrackRecHits(), ShallowTrackClustersProducer::produce(), PixelClusterSelectorTopBottom::produce(), FakeTrackProducer< T >::produce(), TrackCandidateProducer::produce(), TrajectorySeedProducer::produce(), DTDigitizer::produce(), ConvBremSeedProducer::produce(), TrackClusterSplitter::produce(), MuonSimHitProducer::produce(), cms::CkfTrackCandidateMakerBase::produceBase(), GSRecHitMatcher::project(), TkClonerImpl::project(), TrackInfoProducerAlgorithm::project(), SiStripRecHitMatcher::project(), TestHits::projectHit(), TestSmoothHits::projectHit(), TestTrackHits::projectHit(), SiStripRecHitsValid::projectHit(), GlobalRecHitsAnalyzer::projectHit(), GlobalRecHitsProducer::projectHit(), SiStripTrackingRecHitsValid::projectHit(), GSRecHitMatcher::projectOnly(), CSCPairResidualsConstraint::radius(), SiStripTrackingRecHitsValid::rechitanalysis(), SiStripRecHitsValid::rechitanalysis_matched(), SiStripTrackingRecHitsValid::rechitanalysis_matched(), CSCEfficiency::recHitSegment_Efficiencies(), recHitSurface(), rotation(), DigiSimLinkAlgorithm::run(), CosmicTrajectoryBuilder::seedMeasurements(), BaseCkfTrajectoryBuilder::seedMeasurements(), CRackTrajectoryBuilder::seedMeasurements(), SETPatternRecognition::segmentCleaning(), setAlignmentPositionError(), CSCPairResidualsConstraint::setZplane(), SiTrackerGaussianSmearingRecHitConverter::smearHits(), SETSeedFinder::sortByLayer(), TrackClusterSplitter::splitCluster(), StartingLayerFinder::startingLayers(), TValidTrackingRecHit::surface(), MeasurementDetWithData::surface(), MeasurementDet::surface(), BaseTrackerRecHit::surface(), TrackingRecHit::surface(), TkGluedMeasurementDet::testStrips(), toGlobal(), DTTrigGeom::toGlobal(), toLocal(), DTTrigGeom::toLocal(), FastTSGFromPropagation::trackerSeeds(), LaserDQM::trackerStatistics(), InOutConversionTrackFinder::tracks(), OutInConversionTrackFinder::tracks(), TracktoRPC::TracktoRPC(), TrajectoryAtInvalidHit::TrajectoryAtInvalidHit(), SETFilter::transform(), ResidualRefitting::trkExtrap(), DTTrigGeom::tubePosInCh(), DynamicTruncation::updateWithCSChits(), ValidateGeometry::validateCSChamberGeometry(), ValidateGeometry::validateCSCLayerGeometry(), ValidateGeometry::validateDTChamberGeometry(), ValidateGeometry::validateDTLayerGeometry(), ValidateGeometry::validateRPCGeometry(), and CosmicParametersDefinerForTP::vertex().

35 {return *thePlane;}
ReferenceCountingPointer< Plane > thePlane
Definition: GeomDet.h:103
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(), CSCRecHit2DValidation::analyze(), DTVDriftSegmentCalibration::analyze(), DTTTrigOffsetCalibration::analyze(), RPCDigiValid::analyze(), DTResidualCalibration::analyze(), ElectronSeedAnalyzer::analyze(), SiStripLAProfileBooker::analyze(), DTSegment2DQuality::analyze(), DTVDriftCalibration::analyze(), DTSegment2DSLPhiQuality::analyze(), DTEfficiencyTask::analyze(), MuonAlignmentAnalyzer::analyze(), DTResolutionAnalysisTask::analyze(), DTSegment4DQuality::analyze(), MuonTrackResidualAnalyzer::analyze(), MuonIdVal::analyze(), RPCEfficiency::analyze(), CSCSegAlgoSK::areHitsCloseInGlobalPhi(), CSCSegAlgoTC::areHitsCloseInGlobalPhi(), CSCSegAlgoTC::buildSegments(), CSCSegAlgoDF::buildSegments(), CSCSegAlgoSK::buildSegments(), DTCombinatorialPatternReco::buildSegments(), DTCombinatorialExtendedPatternReco::buildSegments(), DTMeantimerPatternReco::buildSegments(), reco::helper::JetMuonHitsIDHelper::calculate(), CSCHaloAlgo::Calculate(), MuonIdTruthInfo::checkSimHitForBestMatch(), DTRecHitSegmentResidual::compute(), DTLinearDriftAlgo::compute(), DTLinearDriftFromDBAlgo::compute(), DTNoDriftAlgo::compute(), DTCalibValidation::compute(), DTRecHitQuality::compute(), CSCSegAlgoST::correctTheCovX(), CSCSegtoRPC::CSCSegtoRPC(), CSCSegAlgoHitPruning::derivativeMatrix(), CSCSegAlgoShowering::derivativeMatrix(), CSCSegAlgoTC::derivativeMatrix(), CSCSegAlgoST::derivativeMatrix(), CSCSegAlgoSK::derivativeMatrix(), CSCSegAlgoDF::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(), CSCEfficiency::fillRechitsSegments_info(), CSCTimingExtractor::fillTiming(), DTTimingExtractor::fillTiming(), 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(), HLTPixelClusterShapeFilter::hltFilter(), DTTMax::InfoLayer::InfoLayer(), DTClusterer::initHits(), MuonMesh::isClusteredWith(), CSCSegAlgoShowering::isHitNearSegment(), CSCSegAlgoSK::isHitNearSegment(), CSCSegAlgoTC::isHitNearSegment(), CSCSegAlgoDF::isHitNearSegment(), ClusterShapeHitFilter::isNormalOriented(), RPCSeedOverlapper::isShareHit(), DTTrigGeom::localPosition(), CkfDebugger::nextCorrectHits(), DTTTrigSyncFromDB::offset(), DTTTrigSyncTOFCorr::offset(), FTSFromSimHitFactory::operator()(), TrackMerger::MomentumSort::operator()(), CompareHitY::operator()(), CompareHitY_plus::operator()(), MuonTrackResidualAnalyzer::RadiusComparatorInOut::operator()(), MuonSeedCleaner::OverlapSegments(), CSCSegAlgoSK::phiAtZ(), CSCSegAlgoTC::phiAtZ(), CSCSegmentValidation::plotResolution(), CSCRecHit2DValidation::plotResolution(), GlobalRecHitsAnalyzer::plotResolution(), GlobalRecHitsProducer::plotResolution(), CkfDebugger::position(), QuadrupletSeedMerger::printHit(), QuadrupletSeedMerger::printNtuplet(), GlobalMuonToMuonProducer::printTrackRecHits(), ShallowRechitClustersProducer::produce(), ShallowTrackClustersProducer::produce(), HIPixelClusterVtxProducer::produce(), FakeTrackProducer< T >::produce(), SiStripElectronAlgo::projectPhiBand(), CSCSegAlgoST::prune_bad_hits(), CSCSegAlgoHitPruning::pruneBadHits(), CSCSegAlgoShowering::pruneFromResidual(), CSCSegAlgoDF::pruneFromResidual(), SiStripTrackingRecHitsValid::rechitanalysis_matched(), DTCalibValidation::recHitPosition(), CSCEfficiency::recHitSegment_Efficiencies(), DTRefitAndCombineReco4D::reconstruct(), DTMeantimerPatternReco4D::reconstruct(), DTCombinatorialPatternReco4D::reconstruct(), TrackInfoProducerAlgorithm::run(), MuonDTLocalMillepedeAlgorithm::run(), SeedFromGenericPairOrTriplet::seedFromPair(), SeedFromGenericPairOrTriplet::seedFromTriplet(), DTResidualCalibration::segmentToWireDistance(), SeedFromNuclearInteraction::setMeasurements(), CSCSegAlgoShowering::showerSeg(), GEMSimpleModel::simulateClustering(), SiStripMonitorTrack::trajectoryStudy(), CSCSegAlgoSK::tryAddingHitsToSegment(), CSCSegAlgoTC::tryAddingHitsToSegment(), DTTrigGeom::tubePosInCh(), CSCSegAlgoShowering::updateParameters(), CSCSegAlgoSK::updateParameters(), CSCSegAlgoDF::updateParameters(), and CSCSegAlgoTC::updateParameters().

47  {
48  return surface().toGlobal( lp);
49  }
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
Definition: Surface.h:114
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:35
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().

52  {
53  return surface().toGlobal( lp);
54  }
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
Definition: Surface.h:114
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:35
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().

57  {
58  return surface().toGlobal( lv);
59  }
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
Definition: Surface.h:114
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:35
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 SiStripLAProfileBooker::analyze(), DTVDriftCalibration::analyze(), DTEfficiencyTask::analyze(), DTResolutionAnalysisTask::analyze(), DTSegment4DQuality::analyze(), RPCEfficiency::analyze(), BeamSpotTransientTrackingRecHit::BeamSpotTransientTrackingRecHit(), CSCSegAlgoDF::buildSegments(), MuonTrackLoader::buildTrackExtra(), MuonIdTruthInfo::checkSimHitForBestMatch(), DTRecHitSegmentResidual::compute(), DTLinearDriftFromDBAlgo::compute(), DTCalibValidation::compute(), FineDelayHistosUsingDb::computeDelays(), MuonTrackResidualAnalyzer::computeResolution(), CSCSegAlgoST::correctTheCovX(), CosmicMuonSeedGenerator::createSeed(), CSCSegtoRPC::CSCSegtoRPC(), CSCSegAlgoHitPruning::derivativeMatrix(), CSCSegAlgoShowering::derivativeMatrix(), CSCSegAlgoTC::derivativeMatrix(), CSCSegAlgoST::derivativeMatrix(), CSCSegAlgoSK::derivativeMatrix(), CSCSegAlgoDF::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(), ClusterShapeHitFilter::isCompatible(), CSCSegAlgoShowering::isHitNearSegment(), CSCSegAlgoDF::isHitNearSegment(), TrajectoryManager::makeSinglePSimHit(), DTTTrigSyncFromDB::offset(), DTTTrigSyncTOFCorr::offset(), DTLocalTriggerBaseTest::phiRange(), ShallowTrackClustersProducer::produce(), MuonSimHitProducer::produce(), CSCSegAlgoShowering::pruneFromResidual(), CSCSegAlgoDF::pruneFromResidual(), DTSurvey::ReadChambers(), SiStripTrackingRecHitsValid::rechitanalysis_matched(), DTCalibValidation::recHitPosition(), CSCEfficiency::recHitSegment_Efficiencies(), DTMeantimerPatternReco4D::reconstruct(), DTCombinatorialPatternReco4D::reconstruct(), DTRefitAndCombineReco4D::reconstruct(), TrackInfoProducerAlgorithm::run(), DTResidualCalibration::segmentToWireDistance(), CSCSegAlgoShowering::showerSeg(), SiStripMonitorTrack::trajectoryStudy(), DTSegmentUpdator::updateHits(), CSCSegAlgoShowering::updateParameters(), CSCSegAlgoSK::updateParameters(), CSCSegAlgoDF::updateParameters(), and CSCSegAlgoTC::updateParameters().

62  {
63  return surface().toLocal( gp);
64  }
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:35
LocalPoint toLocal(const GlobalPoint &gp) const
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().

67  {
68  return surface().toLocal( gv);
69  }
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:35
LocalPoint toLocal(const GlobalPoint &gp) const

Friends And Related Function Documentation

friend class DetPositioner
friend

Alignment part of interface, available only to friend.

Definition at line 110 of file GeomDet.h.

Member Data Documentation

DetId GeomDet::m_detId
private

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

AlignmentPositionError* GeomDet::theAlignmentPositionError
private

Definition at line 104 of file GeomDet.h.

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

LocalError GeomDet::theLocalAlignmentError
private

Definition at line 105 of file GeomDet.h.

Referenced by localAlignmentError(), and setAlignmentPositionError().

ReferenceCountingPointer<Plane> GeomDet::thePlane
private

Definition at line 103 of file GeomDet.h.

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