#include <GeomDet.h>
Public Types | |
typedef GeomDetEnumerators::SubDetector | SubDetector |
Public Member Functions | |
virtual AlignmentPositionError * | alignmentPositionError () const |
virtual const GeomDet * | component (DetId id) const |
Returns a component GeomDet given its DetId, if existing. | |
virtual std::vector< const GeomDet * > | components () const =0 |
Returns direct components, if any. | |
DetId | geographicalId () const |
The label of this GeomDet. | |
GeomDet (const ReferenceCountingPointer< BoundPlane > &plane) | |
GeomDet (BoundPlane *plane) | |
const Surface::PositionType & | position () const |
The position (origin of the R.F.) | |
const Surface::RotationType & | rotation () const |
The rotation defining the local R.F. | |
virtual const BoundPlane & | specificSurface () const |
Same as surface(), kept for backward compatibility. | |
virtual SubDetector | subDetector () const =0 |
Which subdetector. | |
virtual const BoundPlane & | surface () const |
The nominal surface of the GeomDet. | |
GlobalPoint | toGlobal (const Local2DPoint &lp) const |
Conversion to the global R.F. from the R.F. of the GeomDet. | |
GlobalPoint | toGlobal (const Local3DPoint &lp) const |
Conversion to the global R.F. from the R.F. of the GeomDet. | |
GlobalVector | toGlobal (const LocalVector &lv) const |
Conversion to the global R.F. from the R.F. of the GeomDet. | |
LocalVector | toLocal (const GlobalVector &gv) const |
Conversion to the R.F. of the GeomDet. | |
LocalPoint | toLocal (const GlobalPoint &gp) const |
Conversion to the R.F. of the GeomDet. | |
virtual | ~GeomDet () |
Protected Member Functions | |
void | setDetId (DetId id) |
Private Member Functions | |
void | move (const GlobalVector &displacement) |
void | rotate (const Surface::RotationType &rotation) |
virtual void | setAlignmentPositionError (const AlignmentPositionError &ape) |
void | setPosition (const Surface::PositionType &position, const Surface::RotationType &rotation) |
Private Attributes | |
DetId | m_detId |
AlignmentPositionError * | theAlignmentPositionError |
ReferenceCountingPointer < BoundPlane > | thePlane |
Friends | |
class | DetPositioner |
Alignment part of interface, available only to friend. |
Reimplemented in BeamSpotGeomDet.
GeomDet::GeomDet | ( | BoundPlane * | plane | ) | [explicit] |
Definition at line 5 of file GeomDet.cc.
: thePlane(plane), theAlignmentPositionError(0) {}
GeomDet::GeomDet | ( | const ReferenceCountingPointer< BoundPlane > & | plane | ) | [explicit] |
Definition at line 8 of file GeomDet.cc.
: thePlane(plane), theAlignmentPositionError(0) {}
GeomDet::~GeomDet | ( | ) | [virtual] |
Definition at line 11 of file GeomDet.cc.
References theAlignmentPositionError.
{ delete theAlignmentPositionError; }
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 AlignableDet::AlignableDet(), AlignableDetUnit::AlignableDetUnit(), HelpertRecHit2DLocalPos::getKfComponents(), HelpertRecHit2DLocalPos::parError(), SiTrackerGaussianSmearingRecHitConverter::smearHits(), and HelpertRecHit2DLocalPos::updateWithAPE().
{ return theAlignmentPositionError;}
Returns a component GeomDet given its DetId, if existing.
Reimplemented in GeomDetUnit, CSCChamber, DTChamber, DTSuperLayer, and RPCChamber.
Definition at line 88 of file GeomDet.h.
{return 0;}
virtual std::vector< const GeomDet*> GeomDet::components | ( | ) | const [pure virtual] |
Returns direct components, if any.
Implemented in BeamSpotGeomDet, GeomDetUnit, CSCChamber, DTChamber, DTLayer, DTSuperLayer, RPCChamber, and GluedGeomDet.
Referenced by AlignableDet::AlignableDet(), AlignableDTChamber::AlignableDTChamber(), SiPixelTrackResidualSource::analyze(), ListIds::analyze(), TrajectoryManager::makePSimHits(), and MuonTransientTrackingRecHit::transientHits().
DetId GeomDet::geographicalId | ( | ) | const [inline] |
The label of this GeomDet.
Definition at line 74 of file GeomDet.h.
References m_detId.
Referenced by RPCGeometry::add(), DTGeometry::add(), FWRecoGeometryESProducer::addCSCGeometry(), CSCGeometry::addDet(), TrackerGeometry::addDet(), TrackerGeometry::addDetUnit(), FWRecoGeometryESProducer::addDTGeometry(), MeasurementTracker::addGluedDet(), CSCGeometry::addLayer(), FWRecoGeometryESProducer::addPixelBarrelGeometry(), MeasurementTracker::addPixelDet(), FWRecoGeometryESProducer::addPixelForwardGeometry(), FWRecoGeometryESProducer::addRPCGeometry(), MeasurementTracker::addStripDet(), FWRecoGeometryESProducer::addTECGeometry(), FWRecoGeometryESProducer::addTIBGeometry(), FWRecoGeometryESProducer::addTIDGeometry(), FWRecoGeometryESProducer::addTOBGeometry(), AlignableDet::AlignableDet(), AlignableNavigator::alignableFromGeomDet(), AlignableSiStripDet::AlignableSiStripDet(), CkfDebugger::analyseRecHitExistance(), CkfDebugger::analyseRecHitNotFound(), SiPixelMuonHLT::analyze(), ListIds::analyze(), OnDemandMeasurementTracker::assign(), SiPixelDetInfoFileWriter::beginRun(), SiStripDetInfoFileWriter::beginRun(), TSiStripMatchedRecHit::clone(), TSiStripMatchedRecHit::ComputeCoarseLocalPosition(), PixelCPEBase::computeLorentzShifts(), shallow::drift(), PixelCPEBase::driftDirection(), StripCPE::driftDirection(), TkStripMeasurementDet::fastMeasurements(), StripCPE::fillParam(), CSCEfficiency::filter(), GenericProjectedRecHit2D::geographicalId(), ClusterShapeHitFilter::getDrift(), GluedGeomDet::GluedGeomDet(), MuonShowerInformationFiller::hitsFromSegments(), CSCChamber::id(), GeomDetLess::insideOutLess(), TkGeomDetCompatibilityChecker::isCompatible(), CkfDebugger::layer(), FastPixelCPE::localParameters(), PixelCPEGeneric::localPosition(), PixelCPETemplateReco::localPosition(), PixelCPEBase::lorentzShiftX(), PixelCPEBase::lorentzShiftY(), SiStripHashedDetIdESModule::make(), TrajectoryManager::makeSinglePSimHit(), SiStripRecHitMatcher::match(), GSRecHitMatcher::match(), CkfDebugger::nextCorrectHits(), MuonSeedCleaner::NRecHitsFromSegment(), L2MuonSeedGenerator::produce(), SiStripHashedDetIdESProducer::produce(), SiPixelFedCablingMapBuilder::produce(), MuonSimHitProducer::produce(), GSRecHitMatcher::projectOnly(), TSGForRoadSearch::pushTrajectorySeed(), TkPixelMeasurementDet::recHits(), MuonDetLayerMeasurements::recHits(), TkStripMeasurementDet::recHits(), SiStripDigitizerAlgorithm::run(), SiPixelDigitizerAlgorithm::run(), MuonDTLocalMillepedeAlgorithm::run(), MuonMillepedeAlgorithm::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().
{ return m_detId; }
void GeomDet::move | ( | const GlobalVector & | displacement | ) | [private] |
Relative displacement (with respect to current position). Does not move components (if any).
Definition at line 16 of file GeomDet.cc.
References thePlane.
Referenced by DetPositioner::moveGeomDet().
{ // // Should recreate the surface like the set* methods ? // thePlane->move(displacement); }
const Surface::PositionType& GeomDet::position | ( | ) | const [inline] |
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(), DeDxDiscriminatorLearner::algoBeginJob(), DeDxDiscriminatorLearnerFromCalibTree::algoBeginJob(), SiStripGainFromCalibTree::algoBeginJob(), CkfDebugger::analyseCompatibleMeasurements(), ValidationMisalignedTracker::analyze(), ListIds::analyze(), GeomDetLess::barrelForwardLess(), DeDxDiscriminatorProducer::beginRun(), DeDxEstimatorProducerPixelTripplet::beginRun(), DeDxEstimatorProducer::beginRun(), MuonRPCDetLayerGeometryBuilder::buildBarrelLayers(), MuonDTDetLayerGeometryBuilder::buildLayers(), CSCSegAlgoTC::buildSegments(), CSCSegAlgoSK::buildSegments(), CSCSegAlgoDF::buildSegments(), TSiStripMatchedRecHit::clone(), TSiStripMatchedRecHit::ComputeCoarseLocalPosition(), HICTrajectoryCorrector::correct(), DTTrigGeomUtils::DTTrigGeomUtils(), DTTimingExtractor::fillTiming(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), CompareDetY_plus::operator()(), DetZLess::operator()(), CompareDetY_minus::operator()(), DTLocalTriggerBaseTest::phiRange(), and MeasurementDet::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.
{ // // Should recreate the surface like the set* methods ? // thePlane->rotate(rotation); }
const Surface::RotationType& GeomDet::rotation | ( | void | ) | const [inline] |
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().
{ if (!theAlignmentPositionError) { theAlignmentPositionError = new AlignmentPositionError(ape); } else *theAlignmentPositionError = ape; }
void GeomDet::setDetId | ( | DetId | id | ) | [inline, protected] |
Definition at line 93 of file GeomDet.h.
References m_detId.
Referenced by BeamSpotGeomDet::BeamSpotGeomDet(), CSCChamber::CSCChamber(), CSCLayer::CSCLayer(), DTChamber::DTChamber(), DTLayer::DTLayer(), DTSuperLayer::DTSuperLayer(), GluedGeomDet::GluedGeomDet(), PixelGeomDetUnit::PixelGeomDetUnit(), RPCChamber::RPCChamber(), RPCRoll::RPCRoll(), and StripGeomDetUnit::StripGeomDetUnit().
{ m_detId = id; }
void GeomDet::setPosition | ( | const Surface::PositionType & | position, |
const Surface::RotationType & | rotation | ||
) | [private] |
Replaces the current position and rotation with new ones. actually replaces the surface with a new surface. Does not move components (if any).
Definition at line 32 of file GeomDet.cc.
References thePlane.
Referenced by DetPositioner::setGeomDetPosition().
{ thePlane = ModifiedSurfaceGenerator<BoundPlane>(thePlane).atNewPosition(position, rotation); }
virtual const BoundPlane& GeomDet::specificSurface | ( | ) | const [inline, virtual] |
Same as surface(), kept for backward compatibility.
Definition at line 40 of file GeomDet.h.
References thePlane.
Referenced by SiStripCalibLorentzAngle::algoBeginJob(), SiStripLAProfileBooker::analyze(), SiStripLAProfileBooker::beginRun(), SiStripDetInfoFileWriter::beginRun(), ForwardDiskSectorBuilderFromDet::computeTrapezoidalCorners(), SiPixelDigitizerAlgorithm::digitize(), shallow::drift(), StripCPE::fillParam(), TkGeomDetCompatibilityChecker::isCompatible(), GeomDetCompatibilityChecker::isCompatible(), SiHitDigitizer::processHit(), and RecHitPropagator::propagate().
{return *thePlane;}
virtual SubDetector GeomDet::subDetector | ( | ) | const [pure virtual] |
Which subdetector.
Implemented in BeamSpotGeomDet, GeomDetUnit, CSCChamber, DTChamber, DTSuperLayer, RPCChamber, and GluedGeomDet.
Referenced by SiPixelTrackResidualSource::analyze(), ListIds::analyze(), SegmentToTrackAssociator::associate(), HICTrajectoryCorrector::correct(), MuonAlignmentAnalyzer::doMatching(), MuonAlignment::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 FWRecoGeometryESProducer::addDTGeometry(), 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(), SiPixelLorentzAngle::analyze(), SiStripMonitorMuonHLT::analyze(), ElectronSeedAnalyzer::analyze(), SiStripRecHitsValid::analyze(), MuonAlignmentAnalyzer::analyze(), SiStripLAProfileBooker::analyze(), MuonAlignment::analyze(), SiStripTrackingRecHitsValid::analyze(), SiStripMonitorMuonHLT::analyzeOnTrackClusters(), GeomDetLess::barrelForwardLess(), TrackingRecHitLessFromGlobalPosition::barrelForwardLess(), SortHitPointersByGlobalPosition::barrelForwardLess(), SortHitsByGlobalPosition::barrelForwardLess(), DeDxDiscriminatorProducer::beginRun(), DeDxEstimatorProducerPixelTripplet::beginRun(), TrackerDpgAnalysis::beginRun(), SiStripLAProfileBooker::beginRun(), DeDxEstimatorProducer::beginRun(), CSCGeometryBuilder::buildChamber(), SeedFromGenericPairOrTriplet::buildSeed(), MuonTrackLoader::buildTrackExtra(), CSCHaloAlgo::Calculate(), GlobalHaloAlgo::Calculate(), PixelBarrelLayer::calculatePhiWindow(), TOBLayer::calculatePhiWindow(), CSCLayer::centerOfStrip(), CSCLayer::centerOfWireGroup(), TkGluedMeasurementDet::checkHitProjection(), TSiStripMatchedRecHit::clone(), ValidateGeometry::compareShape(), PixelHitMatcher::compatibleSeeds(), SiPixelErrorEstimation::computeAnglesFromDetPosition(), PixelCPEBase::computeAnglesFromDetPosition(), TSiStripMatchedRecHit::ComputeCoarseLocalPosition(), TIBRing::computeHelicity(), PixelCPEBase::computeLorentzShifts(), TIDLayer::computeWindowSize(), TOBLayer::computeWindowSize(), tkDetUtil::computeWindowSize(), PixelBarrelLayer::computeWindowSize(), PixelBlade::computeWindowSize(), TIBLayer::computeWindowSize(), PixelForwardLayer::computeWindowSize(), TOBRod::computeWindowSize(), CompositeTECPetal::computeWindowSize(), TIBRing::computeWindowSize(), ReferenceTrajectory::construct(), HICTrajectoryCorrector::correct(), RoadSearchCloudMakerAlgorithm::CorrectMatchedHit(), RoadSearchTrackCandidateMakerAlgorithm::createSeedTrajectory(), CSCSegtoRPC::CSCSegtoRPC(), SiLinearChargeDivider::DeconvolutionShape(), RingMaker::determineExtensions(), DTDigiSyncTOFCorr::digitizerOffset(), shallow::drift(), PixelCPEBase::driftDirection(), 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(), HLTRPCTrigNoSyncFilter::filter(), RoadSearchTrackCandidateMakerAlgorithm::FindBestHits(), SETFilter::findChi2(), SiTrackerGaussianSmearingRecHitConverter::gaussianSmearing(), SiStripMonitorMuonHLT::GeometryFromTrackGeom(), ClusterShapeHitFilter::getCotangent(), MuonDetIdAssociator::getDetIdPoints(), ClusterShapeHitFilter::getDrift(), DTTrigGeom::getGeom(), CSCSectorReceiverLUT::getGlobalEtaValue(), HelpertRecHit2DLocalPos::getKfComponents(), TrackAssociatorByPosition::getState(), TrackDetectorAssociator::getTAMuonChamberMatches(), CSCDriftSim::getWireHit(), TrackerRecHit::globalPosition(), CSCStripElectronicsSim::initParameters(), MultiTrajectoryStateTransform::innerStateOnSurface(), TrajectoryStateTransform::innerStateOnSurface(), MuonDetIdAssociator::insideElement(), TrackingRecHitLessFromGlobalPosition::insideOutLess(), GeomDetLess::insideOutLess(), SortHitPointersByGlobalPosition::insideOutLess(), SortHitsByGlobalPosition::insideOutLess(), ShallowGainCalibration::IsFarFromBorder(), DeDxDiscriminatorTools::IsFarFromBorder(), SiStripGainFromData::IsFarFromBorder(), CSCPairResidualsConstraint::isFiducial(), SiPixelGaussianSmearingRecHitConverterAlgorithm::isFlipped(), PixelCPEBase::isFlipped(), DTTrigGeom::localPosition(), PixelCPEGeneric::localPosition(), PixelCPETemplateReco::localPosition(), PixelCPEBase::lorentzShiftX(), PixelCPEBase::lorentzShiftY(), HSCPValidator::makeSimDigiPlotsRPC(), TrajectoryManager::makeSinglePSimHit(), MuonRoadTrajectoryBuilder::makeTrajectories_0(), SiStripRecHitMatcher::match(), GSRecHitMatcher::match(), SiTrackerGaussianSmearingRecHitConverter::matchHits(), SiStripGainCosmicCalculator::moduleThickness(), SiStripGainCosmicCalculator::moduleWidth(), CosmicParametersDefinerForTP::momentum(), SiStripMonitorMuonHLT::Normalizer(), DTTTrigSyncTOFCorr::offset(), DTTTrigSyncFromDB::offset(), CosmicTrackingParticleSelector::operator()(), DetPhiLess::operator()(), CylinderBuilderFromDet::operator()(), TSOSFromSimHitFactory::operator()(), SeedFromNuclearInteraction::outerHitPosition(), TrajectoryStateTransform::outerStateOnSurface(), MultiTrajectoryStateTransform::outerStateOnSurface(), PixelBlade::overlap(), TOBRod::overlap(), tkDetUtil::overlapInPhi(), HelpertRecHit2DLocalPos::parError(), SiLinearChargeDivider::PeakShape(), position(), RoadSearchTrackCandidateMakerAlgorithm::PrepareTrackCandidates(), MuonProducer::printTrackRecHits(), DTDigitizer::produce(), TrackCandidateProducer::produce(), ShallowTrackClustersProducer::produce(), PixelClusterSelectorTopBottom::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(), SimpleTrackRefitter::refitTrack(), rotation(), SiStripDigitizerAlgorithm::run(), RoadSearchHelixMakerAlgorithm::run(), RoadSearchTrackCandidateMakerAlgorithm::run(), BaseCkfTrajectoryBuilder::seedMeasurements(), CRackTrajectoryBuilder::seedMeasurements(), CosmicTrajectoryBuilder::seedMeasurements(), SimpleTrackRefitter::seedMeasurements(), SETPatternRecognition::segmentCleaning(), PixelCPEBase::setTheDet(), CSCPairResidualsConstraint::setZplane(), SiTrackerGaussianSmearingRecHitConverter::smearHits(), SETSeedFinder::sortByLayer(), StartingLayerFinder::startingLayers(), TransientTrackingRecHit::surface(), MeasurementDet::surface(), InvalidTransientRecHit::surface(), BeamSpotTransientTrackingRecHit::surface(), TkGluedMeasurementDet::testStrips(), DTTrigGeom::toGlobal(), toGlobal(), DTTrigGeom::toLocal(), toLocal(), FastTSGFromPropagation::trackerSeeds(), LaserDQM::trackerStatistics(), TracktoRPC::TracktoRPC(), TrajectoryAtInvalidHit::TrajectoryAtInvalidHit(), SETFilter::transform(), ResidualRefitting::trkExtrap(), DTTrigGeom::tubePosInCh(), SiTrackerMultiRecHitUpdator::update(), HelpertRecHit2DLocalPos::updateWithAPE(), ValidateGeometry::validateCSChamberGeometry(), ValidateGeometry::validateCSCLayerGeometry(), ValidateGeometry::validateDTChamberGeometry(), ValidateGeometry::validateDTLayerGeometry(), ValidateGeometry::validateRPCGeometry(), and CosmicParametersDefinerForTP::vertex().
{return *thePlane;}
GlobalVector GeomDet::toGlobal | ( | const LocalVector & | lv | ) | const [inline] |
GlobalPoint GeomDet::toGlobal | ( | const Local3DPoint & | lp | ) | const [inline] |
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(), DTVDriftSegmentCalibration::analyze(), DTSegment4DQuality::analyze(), DTTTrigOffsetCalibration::analyze(), DTSegment2DQuality::analyze(), MuonIdVal::analyze(), RPCDigiValid::analyze(), DTResolutionAnalysisTask::analyze(), DTEfficiencyTask::analyze(), RPCEfficiency::analyze(), RPCRecHitValid::analyze(), MuonTrackResidualAnalyzer::analyze(), DTVDriftCalibration::analyze(), ElectronSeedAnalyzer::analyze(), DTResidualCalibration::analyze(), CSCRecHit2DValidation::analyze(), MuonIdDQM::analyze(), MuonAlignmentAnalyzer::analyze(), RPCPointVsRecHit::analyze(), SiStripLAProfileBooker::analyze(), SiStripTrackingRecHitsValid::analyze(), DTSegment2DSLPhiQuality::analyze(), CSCSegAlgoTC::areHitsCloseInGlobalPhi(), CSCSegAlgoSK::areHitsCloseInGlobalPhi(), DTCombinatorialExtendedPatternReco::buildSegments(), CSCSegAlgoTC::buildSegments(), DTCombinatorialPatternReco::buildSegments(), CSCSegAlgoSK::buildSegments(), CSCSegAlgoDF::buildSegments(), DTMeantimerPatternReco::buildSegments(), CSCHaloAlgo::Calculate(), reco::helper::JetMuonHitsIDHelper::calculate(), RoadSearchSeedFinderAlgorithm::calculateCircleSeedsFromHits(), RoadSearchSeedFinderAlgorithm::calculateCircleSeedsFromRingsOneInnerOneOuter(), RoadSearchSeedFinderAlgorithm::calculateCircleSeedsFromRingsOneInnerTwoOuter(), RoadSearchSeedFinderAlgorithm::calculateCircleSeedsFromRingsTwoInnerOneOuter(), MuonIdTruthInfo::checkSimHitForBestMatch(), DTRecHitSegmentResidual::compute(), DTLinearDriftFromDBAlgo::compute(), DTRecHitQuality::compute(), DTNoDriftAlgo::compute(), DTLinearDriftAlgo::compute(), DTCalibValidation::compute(), HICTrajectoryCorrector::correct(), CSCSegAlgoST::correctTheCovX(), CSCSegtoRPC::CSCSegtoRPC(), CSCSegAlgoDF::derivativeMatrix(), CSCSegAlgoHitPruning::derivativeMatrix(), CSCSegAlgoShowering::derivativeMatrix(), CSCSegAlgoSK::derivativeMatrix(), CSCSegAlgoTC::derivativeMatrix(), CSCSegAlgoST::derivativeMatrix(), CSCOfflineMonitor::doEfficiencies(), CSCValidation::doEfficiencies(), CSCValidation::doRecHits(), CSCOfflineMonitor::doRecHits(), CSCOfflineMonitor::doSegments(), CSCValidation::doSegments(), CSCValidation::doTimeMonitoring(), DTHitPairForFit::DTHitPairForFit(), DTTrigGeom::dumpGeom(), CSCSegAlgoTC::dumpHits(), CSCSegAlgoSK::dumpHits(), DTTrigGeom::dumpLUT(), DTCombinatorialExtendedPatternReco::extendCandidates(), CSCSegAlgoHitPruning::fillChiSquared(), CSCSegAlgoSK::fillChiSquared(), CSCSegAlgoTC::fillChiSquared(), CSCSegAlgoST::fillChiSquared(), CSCSegAlgoSK::fillLocalDirection(), CSCSegAlgoHitPruning::fillLocalDirection(), CSCSegAlgoTC::fillLocalDirection(), CSCSegAlgoST::fillLocalDirection(), QcdLowPtDQM::fillPixels(), RoadSearchCloudMakerAlgorithm::FillPixRecHitsIntoCloud(), RoadSearchCloudMakerAlgorithm::FillRecHitsIntoCloudGeneral(), CSCEfficiency::fillRechitsSegments_info(), DTTimingExtractor::fillTiming(), CSCTimingExtractor::fillTiming(), HLTPixelClusterShapeFilter::filter(), reco::CentralityProducer::filter(), DTHitQualityUtils::findMuSimSegmentDirAndPos(), CSCValidation::findNonAssociatedRecHits(), SiStripFineDelayTLA::findtrackangle(), DTSegmentUpdator::fit(), CSCSegAlgoHitPruning::fitSlopes(), CSCSegAlgoST::fitSlopes(), CSCSegAlgoTC::fitSlopes(), CSCSegAlgoSK::fitSlopes(), MuonDetIdAssociator::getDetIdPoints(), DTTrigGeom::getGeom(), RPCSeedPattern::getSpecialAlgorithmErrorMatrix(), CkfDebugger::SimHit::globalPosition(), CSCMake2DRecHit::hitFromStripAndWire(), NuclearTester::HitPositions(), DTTMax::InfoLayer::InfoLayer(), DTMeantimerPatternReco::initHits(), RoadSearchTrackCandidateMakerAlgorithm::initialTrajectory(), RoadSearchTrackCandidateMakerAlgorithm::initialTrajectoryFromTriplet(), MuonMesh::isClusteredWith(), CSCSegAlgoTC::isHitNearSegment(), CSCSegAlgoShowering::isHitNearSegment(), CSCSegAlgoSK::isHitNearSegment(), CSCSegAlgoDF::isHitNearSegment(), ClusterShapeHitFilter::isNormalOriented(), RPCSeedOverlapper::isShareHit(), DTTrigGeom::localPosition(), CkfDebugger::nextCorrectHits(), DTTTrigSyncTOFCorr::offset(), DTTTrigSyncFromDB::offset(), DTSegmentCand::operator DTChamberRecSegment2D *(), DTSegmentCand::operator DTSLRecSegment2D *(), CompareHitY::operator()(), CompareHitY_plus::operator()(), SortHitsByY::operator()(), FTSFromSimHitFactory::operator()(), MuonTrackResidualAnalyzer::RadiusComparatorInOut::operator()(), SortHitPointersByY::operator()(), MuonSeedCleaner::OverlapSegments(), CSCSegAlgoTC::phiAtZ(), CSCSegAlgoSK::phiAtZ(), CSCSegmentValidation::plotResolution(), CSCRecHit2DValidation::plotResolution(), GlobalRecHitsAnalyzer::plotResolution(), GlobalRecHitsProducer::plotResolution(), CkfDebugger::position(), MuonProducer::printTrackRecHits(), ShallowRechitClustersProducer::produce(), HIPixelClusterVtxProducer::produce(), ShallowTrackClustersProducer::produce(), SiStripElectronAlgo::projectPhiBand(), CSCSegAlgoST::prune_bad_hits(), CSCSegAlgoHitPruning::pruneBadHits(), CSCSegAlgoDF::pruneFromResidual(), CSCSegAlgoShowering::pruneFromResidual(), DTCalibValidation::recHitPosition(), CSCEfficiency::recHitSegment_Efficiencies(), DTRefitAndCombineReco4D::reconstruct(), DTCombinatorialPatternReco4D::reconstruct(), DTMeantimerPatternReco4D::reconstruct(), TrackInfoProducerAlgorithm::run(), RoadSearchTrackCandidateMakerAlgorithm::run(), MuonDTLocalMillepedeAlgorithm::run(), SeedFromGenericPairOrTriplet::seedFromPair(), SeedFromGenericPairOrTriplet::seedFromTriplet(), DTResidualCalibration::segmentToWireDistance(), SeedFromNuclearInteraction::setMeasurements(), CSCSegAlgoShowering::showerSeg(), SiStripMonitorTrack::trackStudy(), CSCSegAlgoTC::tryAddingHitsToSegment(), CSCSegAlgoSK::tryAddingHitsToSegment(), DTTrigGeom::tubePosInCh(), CSCSegAlgoDF::updateParameters(), CSCSegAlgoShowering::updateParameters(), CSCSegAlgoSK::updateParameters(), and CSCSegAlgoTC::updateParameters().
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(), 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(), 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().
LocalVector GeomDet::toLocal | ( | const GlobalVector & | gv | ) | const [inline] |
friend class DetPositioner [friend] |
Alignment part of interface, available only to friend.
Reimplemented in GeomDetUnit.
DetId GeomDet::m_detId [private] |
Definition at line 101 of file GeomDet.h.
Referenced by geographicalId(), and setDetId().
Definition at line 100 of file GeomDet.h.
Referenced by alignmentPositionError(), setAlignmentPositionError(), and ~GeomDet().
ReferenceCountingPointer<BoundPlane> GeomDet::thePlane [private] |
Definition at line 99 of file GeomDet.h.
Referenced by move(), rotate(), setPosition(), specificSurface(), and surface().