#include <GloballyPositioned.h>
Classes | |
class | ToLocal |
Public Types | |
typedef Point3DBase< T, GlobalTag > | GlobalPoint |
typedef Vector3DBase< T, GlobalTag > | GlobalVector |
typedef Point3DBase< T, LocalTag > | LocalPoint |
typedef Vector3DBase< T, LocalTag > | LocalVector |
typedef Point3DBase< T, GlobalTag > | PositionType |
typedef TkRotation< T > | RotationType |
typedef T | Scalar |
Public Member Functions | |
T | eta () const |
GloballyPositioned () | |
GloballyPositioned (const PositionType &pos, const RotationType &rot) | |
void | move (const GlobalVector &displacement) |
T | phi () const |
const PositionType & | position () const |
void | rotate (const RotationType &rotation) |
const RotationType & | rotation () const |
GlobalPoint | toGlobal (const LocalPoint &lp) const |
template<class U > | |
Point3DBase< U, GlobalTag > | toGlobal (const Point3DBase< U, LocalTag > &lp) const |
GlobalVector | toGlobal (const LocalVector &lv) const |
template<class U > | |
Vector3DBase< U, GlobalTag > | toGlobal (const Vector3DBase< U, LocalTag > &lv) const |
LocalPoint | toLocal (const GlobalPoint &gp) const |
template<class U > | |
Point3DBase< U, LocalTag > | toLocal (const Point3DBase< U, GlobalTag > &gp) const |
LocalVector | toLocal (const GlobalVector &gv) const |
template<class U > | |
Vector3DBase< U, LocalTag > | toLocal (const Vector3DBase< U, GlobalTag > &gv) const |
virtual | ~GloballyPositioned () |
Static Public Member Functions | |
static T | iniEta () |
static T | iniPhi () |
Private Member Functions | |
void | setCache () |
Private Attributes | |
T | theEta |
T | thePhi |
PositionType | thePos |
RotationType | theRot |
Base class for surfaces and volumes positioned in global 3D space. This class defines a cartesian reference frame, called in the following the local frame. It provides position, orientation, and frame transformations for points and vectors.
Definition at line 18 of file GloballyPositioned.h.
typedef Point3DBase<T,GlobalTag> GloballyPositioned< T >::GlobalPoint |
Definition at line 24 of file GloballyPositioned.h.
typedef Vector3DBase<T,GlobalTag> GloballyPositioned< T >::GlobalVector |
Definition at line 26 of file GloballyPositioned.h.
typedef Point3DBase<T,LocalTag> GloballyPositioned< T >::LocalPoint |
Definition at line 25 of file GloballyPositioned.h.
typedef Vector3DBase<T,LocalTag> GloballyPositioned< T >::LocalVector |
Definition at line 27 of file GloballyPositioned.h.
typedef Point3DBase<T,GlobalTag> GloballyPositioned< T >::PositionType |
Definition at line 22 of file GloballyPositioned.h.
typedef TkRotation<T> GloballyPositioned< T >::RotationType |
Definition at line 23 of file GloballyPositioned.h.
typedef T GloballyPositioned< T >::Scalar |
Definition at line 21 of file GloballyPositioned.h.
|
inline |
Definition at line 36 of file GloballyPositioned.h.
|
inline |
Definition at line 37 of file GloballyPositioned.h.
|
inlinevirtual |
Definition at line 40 of file GloballyPositioned.h.
|
inline |
Definition at line 49 of file GloballyPositioned.h.
Referenced by Particle.Particle::__str__(), EtaPhiMeasurementEstimator::estimate(), Jet.Jet::jetID(), Jet.Jet::puJetId(), and TrajectoryFactoryBase::sameSurface().
|
inlinestatic |
Definition at line 32 of file GloballyPositioned.h.
|
inlinestatic |
Definition at line 29 of file GloballyPositioned.h.
|
inline |
Move the position of the frame in the global frame. Useful e.g. for alignment.
Definition at line 160 of file GloballyPositioned.h.
Referenced by AlignableComposite::addComponent(), Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), Vispa.Gui.VispaWidget.VispaWidget::dragWidget(), AlignableBeamSpot::initialize(), AlignableDetUnit::move(), AlignableBeamSpot::move(), AlignableComposite::move(), Alignable::recenterSurface(), Vispa.Gui.VispaWidget.VispaWidget::setZoom(), Vispa.Gui.PortConnection.PointToPointConnection::updateConnection(), and Alignable::updateMother().
|
inline |
Definition at line 46 of file GloballyPositioned.h.
Referenced by Particle.Particle::__str__(), TECLayer::addClosest(), PixelForwardLayer::computeCrossings(), EtaPhiMeasurementEstimator::estimate(), ntupleDataFormat.Track::phiPull(), and TrajectoryFactoryBase::sameSurface().
|
inline |
Definition at line 42 of file GloballyPositioned.h.
Referenced by cms::Phase2TrackerDigitizer::accumulatePixelHits(), SiStripCalibLorentzAngle::algoBeginJob(), MuonGeometrySVGTemplate::analyze(), TestHits::analyze(), TestTrackHits::analyze(), SiPixelErrorEstimation::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), MagGeoBuilderFromDDD::buildInterpolator(), MagGeoBuilderFromDDD::buildMagVolumes(), GroupedDAFHitCollector::buildMultiRecHits(), MTDTrayBarrelLayer::compatibleDets(), MuRodBarrelLayer::compatibleDets(), MTDDetRing::compatibleDets(), MuDetRing::compatibleDets(), MTDDetTray::compatibleDets(), MuDetRod::compatibleDets(), TIBRing::computeCrossings(), TIBRing::computeHelicity(), TIBLayer::computeIndexes(), Phase1PixelBlade::computeRadiusRanges(), AlignableSiStripDet::consistifyAlignments(), fastsim::TrackerSimHitProducer::createHitOnDetector(), BeamHaloPropagator::crossingTk(), SiStripLorentzAngleCalibration::derivatives(), SiPixelLorentzAngleCalibration::derivatives(), SiStripBackplaneCalibration::derivatives(), DTDigiSyncTOFCorr::digitizerOffset(), shallow::drift(), Phase2TrackerDigitizerAlgorithm::drift(), StripCPE::driftDirection(), Phase2StripCPE::driftDirection(), SiHitDigitizer::DriftDirection(), Phase2TrackerDigitizerAlgorithm::DriftDirection(), PixelCPEBase::driftDirection(), SiPixelDigitizerAlgorithm::DriftDirection(), EtaPhiMeasurementEstimator::estimate(), fastProp(), ApeEstimator::fillHitVariables(), FWRecoGeometryESProducer::fillShapeAndPlacement(), DTTimingExtractor::fillTiming(), CSCEfficiency::filter(), KFTrajectoryFitter::fitOne(), ClusterShapeHitFilter::getDrift(), Alignable::globalPosition(), SeedFromProtoTrack::init(), CSCStripElectronicsSim::initParameters(), SmartPropagator::insideTkVol(), SteppingHelixPropagator::isYokeVolume(), OutInConversionSeedFinder::makeEstimator(), TSGForRoadSearch::makeSeeds_3(), MagGeoBuilderFromDDD::volumeHandle::maxPhi(), MagGeoBuilderFromDDD::volumeHandle::maxZ(), MagGeoBuilderFromDDD::volumeHandle::minZ(), GlobalTrackerMuonAlignment::misalignMuonL(), DTTTrigSyncTOFCorr::offset(), DTTTrigSyncFromDB::offset(), ForwardDiskSectorBuilderFromWedges::operator()(), ForwardDiskSectorBuilderFromDet::operator()(), MTDDetLayerComp::operator()(), MuonDetLayerComp::operator()(), CylinderBuilderFromDet::operator()(), HelixArbitraryPlaneCrossing::pathLength(), HelixForwardPlaneCrossing::pathLength(), StraightLinePlaneCrossing::pathLength(), PixelForwardLayer::PixelForwardLayer(), PixelForwardLayerPhase1::PixelForwardLayerPhase1(), GeometricSearchDet::position(), SurveyDet::position(), GeomDet::position(), MTDNavigationPrinter::printLayer(), MuonNavigationPrinter::printLayer(), MTDNavigationPrinter::printLayers(), MuonNavigationPrinter::printLayers(), GlobalMuonToMuonProducer::printTrackRecHits(), ShallowTrackClustersProducer::produce(), CachedTrajectory::propagate(), SteppingHelixPropagator::propagate(), RKPropagatorInS::propagateParametersOnCylinder(), AnalyticalPropagator::propagateParametersOnCylinder(), RKPropagatorInS::propagateParametersOnPlane(), CSCPairResidualsConstraint::radius(), MagGeoBuilderFromDDD::volumeHandle::referencePlane(), SteppingHelixPropagator::refToMagVolume(), KFBasedPixelFitter::run(), MagGeoBuilderFromDDD::volumeHandle::sameSurface(), TrajectoryFactoryBase::sameSurface(), MagGeoBuilderFromDDD::volumeHandle::setSurface(), CSCPairResidualsConstraint::setZplane(), HIPAlignmentAlgorithm::terminate(), FrameChanger::toFrame(), GloballyPositioned< align::Scalar >::toGlobal(), GloballyPositioned< align::Scalar >::toLocal(), LaserDQM::trackerStatistics(), FrameChanger::transformPlane(), Geant4ePropagator::transformToG4SurfaceTarget(), SiTrackerMultiRecHitUpdator::update(), Alignable::update(), AlignableDataIO::writeAbsPos(), and FWTGeoRecoGeometryESProducer::~FWTGeoRecoGeometryESProducer().
|
inline |
Rotate the frame in the global frame. Useful e.g. for alignment.
Definition at line 168 of file GloballyPositioned.h.
Referenced by AlignableBeamSpot::initialize(), AlignableDetUnit::rotateInGlobalFrame(), AlignableBeamSpot::rotateInGlobalFrame(), and AlignableComposite::rotateInGlobalFrame().
|
inline |
Definition at line 44 of file GloballyPositioned.h.
Referenced by GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), MagGeoBuilderFromDDD::bLayer::bLayer(), MagGeoBuilderFromDDD::buildInterpolator(), MagGeoBuilderFromDDD::buildMagVolumes(), AlignableSiStripDet::consistifyAlignments(), SiHitDigitizer::DriftDirection(), Phase2TrackerDigitizerAlgorithm::DriftDirection(), PixelCPEBase::driftDirection(), SiPixelDigitizerAlgorithm::DriftDirection(), FWRecoGeometryESProducer::fillShapeAndPlacement(), Alignable::globalRotation(), JacobianCartesianToLocal::JacobianCartesianToLocal(), JacobianCurvilinearToLocal::JacobianCurvilinearToLocal(), JacobianLocalToCartesian::JacobianLocalToCartesian(), JacobianLocalToCurvilinear::JacobianLocalToCurvilinear(), GlobalTrackerMuonAlignment::misalignMuonL(), SteppingHelixPropagator::propagate(), SteppingHelixPropagator::refToMagVolume(), GloballyPositioned< align::Scalar >::rotate(), SurveyDet::rotation(), GeomDet::rotation(), KFBasedPixelFitter::run(), sqr(), FrameChanger::toFrame(), GloballyPositioned< align::Scalar >::toGlobal(), GloballyPositioned< align::Scalar >::toLocal(), ErrorFrameTransformer::transform(), FrameChanger::transformPlane(), Geant4ePropagator::transformToG4SurfaceTarget(), AlignableDataIO::writeAbsPos(), and FWTGeoRecoGeometryESProducer::~FWTGeoRecoGeometryESProducer().
|
inlineprivate |
Definition at line 189 of file GloballyPositioned.h.
Referenced by GloballyPositioned< align::Scalar >::GloballyPositioned(), GloballyPositioned< align::Scalar >::move(), and GloballyPositioned< align::Scalar >::rotate().
|
inline |
Transform a local point (i.e. a point with coordinates in the local frame) to the global frame
Definition at line 89 of file GloballyPositioned.h.
Referenced by MagGeoBuilderFromDDD::volumeHandle::buildPhiZSurf(), RKPropagatorInS::globalMomentum(), RKPropagatorInS::globalPosition(), RKLocalFieldProvider::inTesla(), PathToPlane2Order::operator()(), RKPropagatorInS::propagateParametersOnPlane(), MagGeoBuilderFromDDD::volumeHandle::referencePlane(), SpecialCylindricalMFGrid::toGridFrame(), TrapezoidalCartesianMFGrid::TrapezoidalCartesianMFGrid(), and GlobalGridWrapper::valueInTesla().
|
inline |
Transform a local point with different float precision from the one of the reference frame, and return a global point with the same precision as the input one.
Definition at line 100 of file GloballyPositioned.h.
|
inline |
Transform a local vector (i.e. a vector with coordinates in the local frame) to the global frame
Definition at line 108 of file GloballyPositioned.h.
|
inline |
Transform a local vector with different float precision from the one of the reference frame, and return a global vector with the same precision as the input one.
Definition at line 118 of file GloballyPositioned.h.
|
inline |
Transform a global point (i.e. a point with coordinates in the global frame) to the local frame
Definition at line 125 of file GloballyPositioned.h.
Referenced by MuonGeometrySanityCheck::analyze(), tkDetUtil::calculatePhiWindow(), TkGluedMeasurementDet::collectRecHits(), RodPlaneBuilderFromDet::computeBounds(), PixelForwardLayer::computeCrossings(), Phase1PixelBlade::computeRadiusRanges(), PlaneBuilderForGluedDet::computeRectBounds(), TOBRod::computeWindowSize(), Phase2OTBarrelRod::computeWindowSize(), Geant4ePropagator::configureAnyPropagation(), GsfConstraintAtVertex::constrainAtPoint(), BasicTrajectoryState::createLocalParameters(), SiStripLorentzAngleCalibration::derivatives(), SiPixelLorentzAngleCalibration::derivatives(), SiStripBackplaneCalibration::derivatives(), DTTrigGeomUtils::DTTrigGeomUtils(), fastProp(), SpecialCylindricalMFGrid::fromGridFrame(), DTTrigGeom::getGeom(), TrackDetectorAssociator::getTAMuonChamberMatches(), HelixBarrelCylinderCrossing::HelixBarrelCylinderCrossing(), RKLocalFieldProvider::inTesla(), SteppingHelixPropagator::loadState(), DTTrigGeom::localPosition(), RKPropagatorInZ::myPropagate(), RKPropagatorInR::myPropagate(), TkClonerImpl::operator()(), PathToPlane2Order::operator()(), PixelBlade::overlap(), Phase1PixelBlade::overlap(), FastTrackerRecHitMatcher::produce(), DTDigitizer::produce(), TkClonerImpl::project(), RKPropagatorInS::propagateParametersOnCylinder(), RKPropagatorInS::propagateParametersOnPlane(), StraightLinePropagator::propagateParametersOnPlane(), RectangularCartesianMFGrid::RectangularCartesianMFGrid(), RectangularCylindricalMFGrid::RectangularCylindricalMFGrid(), RKPropagatorInS::rkMomentum(), RKPropagatorInS::rkPosition(), MagGeoBuilderFromDDD::volumeHandle::sameSurface(), CSCPairResidualsConstraint::setZplane(), SpecialCylindricalMFGrid::SpecialCylindricalMFGrid(), Traj2TrackHits::split(), FrameChanger::toFrame(), GeomDet::toLocal(), DTTrigGeom::toLocal(), toLocal(), FrameChanger::transformPlane(), TrapezoidalCartesianMFGrid::TrapezoidalCartesianMFGrid(), TrapezoidalCylindricalMFGrid::TrapezoidalCylindricalMFGrid(), DTTrigGeom::tubePosInCh(), and TrapezoidalCylindricalMFGrid::uncheckedValueInTesla().
|
inline |
Transform a global point with different float precision from the one of the reference frame, and return a local point with the same precision as the input one.
Definition at line 135 of file GloballyPositioned.h.
|
inline |
Transform a global vector (i.e. a vector with coordinates in the global frame) to the local frame
Definition at line 143 of file GloballyPositioned.h.
|
inline |
Transform a global vector with different float precision from the one of the reference frame, and return a local vector with the same precision as the input one.
Definition at line 153 of file GloballyPositioned.h.
|
private |
Definition at line 199 of file GloballyPositioned.h.
Referenced by GloballyPositioned< align::Scalar >::eta(), and GloballyPositioned< align::Scalar >::setCache().
|
private |
Definition at line 198 of file GloballyPositioned.h.
Referenced by GloballyPositioned< align::Scalar >::phi(), and GloballyPositioned< align::Scalar >::setCache().
|
private |
Definition at line 175 of file GloballyPositioned.h.
Referenced by GloballyPositioned< align::Scalar >::position().
|
private |
Definition at line 176 of file GloballyPositioned.h.
Referenced by GloballyPositioned< align::Scalar >::rotation().