#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__(), and EtaPhiMeasurementEstimator::estimate().
|
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.
|
inline |
Definition at line 46 of file GloballyPositioned.h.
Referenced by Particle.Particle::__str__(), and EtaPhiMeasurementEstimator::estimate().
|
inline |
Definition at line 42 of file GloballyPositioned.h.
Referenced by MuonGeometrySVGTemplate::analyze(), GeomDetLess::barrelForwardLess(), MuDetRod::compatibleDets(), ThreePlaneCrossing::crossing(), BeamHaloPropagator::crossingTk(), DTDigiSyncTOFCorr::digitizerOffset(), shallow::drift(), StripCPE::driftDirection(), SiHitDigitizer::DriftDirection(), EtaPhiMeasurementEstimator::estimate(), fastProp(), SeedFromProtoTrack::init(), GeomDetLess::insideOutLess(), SmartPropagator::insideTkVol(), DTTTrigSyncTOFCorr::offset(), ForwardDiskSectorBuilderFromWedges::operator()(), MuonDetLayerComp::operator()(), CylinderBuilderFromDet::operator()(), HelixForwardPlaneCrossing::pathLength(), StraightLinePlaneCrossing::pathLength(), GeometricSearchDet::position(), SurveyDet::position(), GeomDet::position(), GlobalMuonToMuonProducer::printTrackRecHits(), CSCPairResidualsConstraint::radius(), FrameChanger::toFrame(), GloballyPositioned< align::Scalar >::toGlobal(), GloballyPositioned< align::Scalar >::toLocal(), and FrameChanger::transformPlane().
|
inline |
Rotate the frame in the global frame. Useful e.g. for alignment.
Definition at line 168 of file GloballyPositioned.h.
|
inline |
Definition at line 44 of file GloballyPositioned.h.
Referenced by MagGeoBuilderFromDDD::bLayer::bLayer(), SiHitDigitizer::DriftDirection(), JacobianCartesianToLocal::JacobianCartesianToLocal(), JacobianCurvilinearToLocal::JacobianCurvilinearToLocal(), JacobianLocalToCartesian::JacobianLocalToCartesian(), JacobianLocalToCurvilinear::JacobianLocalToCurvilinear(), GloballyPositioned< align::Scalar >::rotate(), SurveyDet::rotation(), GeomDet::rotation(), FrameChanger::toFrame(), GloballyPositioned< align::Scalar >::toGlobal(), GloballyPositioned< align::Scalar >::toLocal(), ErrorFrameTransformer::transform(), and FrameChanger::transformPlane().
|
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 RKLocalFieldProvider::inTesla(), PathToPlane2Order::operator()(), SpecialCylindricalMFGrid::toGridFrame(), 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 tkDetUtil::calculatePhiWindow(), RodPlaneBuilderFromDet::computeBounds(), PlaneBuilderForGluedDet::computeRectBounds(), GsfConstraintAtVertex::constrainAtPoint(), DTTrigGeomUtils::DTTrigGeomUtils(), fastProp(), SpecialCylindricalMFGrid::fromGridFrame(), HelixBarrelCylinderCrossing::HelixBarrelCylinderCrossing(), RKLocalFieldProvider::inTesla(), RKPropagatorInZ::myPropagate(), RKPropagatorInR::myPropagate(), PathToPlane2Order::operator()(), StraightLinePropagator::propagateParametersOnPlane(), RectangularCartesianMFGrid::RectangularCartesianMFGrid(), RectangularCylindricalMFGrid::RectangularCylindricalMFGrid(), SpecialCylindricalMFGrid::SpecialCylindricalMFGrid(), Traj2TrackHits::split(), FrameChanger::toFrame(), NavSurface::toLocal(), GeomDet::toLocal(), and FrameChanger::transformPlane().
|
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 >::move(), GloballyPositioned< align::Scalar >::position(), and GloballyPositioned< align::Scalar >::setCache().
|
private |
Definition at line 176 of file GloballyPositioned.h.
Referenced by GloballyPositioned< align::Scalar >::rotate(), and GloballyPositioned< align::Scalar >::rotation().