![]() |
![]() |
Public Member Functions | |
MappedPoint (const Basic2DVector< T > &point, const TkRotation< T > *aRot) | |
MappedPoint (const T &aU, const T &aV, const TkRotation< T > *aRot) | |
MappedPoint () | |
T | u () const |
Basic2DVector< T > | unmap () const |
T | v () const |
Private Attributes | |
const TkRotation< T > * | pRot |
T | theU |
T | theV |
Definition at line 47 of file ThirdHitPredictionFromInvParabola.h.
ThirdHitPredictionFromInvParabola::MappedPoint< T >::MappedPoint | ( | ) | [inline] |
ThirdHitPredictionFromInvParabola::MappedPoint< T >::MappedPoint | ( | const T & | aU, | |
const T & | aV, | |||
const TkRotation< T > * | aRot | |||
) | [inline] |
ThirdHitPredictionFromInvParabola::MappedPoint< T >::MappedPoint | ( | const Basic2DVector< T > & | point, | |
const TkRotation< T > * | aRot | |||
) | [inline] |
Definition at line 52 of file ThirdHitPredictionFromInvParabola.h.
References Basic2DVector< T >::mag2(), ThirdHitPredictionFromInvParabola::MappedPoint< T >::theU, ThirdHitPredictionFromInvParabola::MappedPoint< T >::theV, Basic3DVector< T >::x(), and Basic3DVector< T >::y().
00053 : pRot(aRot) { 00054 T radius2 = point.mag2(); 00055 Basic3DVector<T> rotated = (*pRot) * point; 00056 theU = rotated.x() / radius2; 00057 theV = rotated.y() / radius2; 00058 }
T ThirdHitPredictionFromInvParabola::MappedPoint< T >::u | ( | ) | const [inline] |
Definition at line 59 of file ThirdHitPredictionFromInvParabola.h.
References ThirdHitPredictionFromInvParabola::MappedPoint< T >::theU.
Referenced by ThirdHitPredictionFromInvParabola::coeffA(), ThirdHitPredictionFromInvParabola::coeffB(), and ThirdHitPredictionFromInvParabola::ipFromCurvature().
00059 {return theU; }
Basic2DVector<T> ThirdHitPredictionFromInvParabola::MappedPoint< T >::unmap | ( | void | ) | const [inline] |
Definition at line 61 of file ThirdHitPredictionFromInvParabola.h.
References ThirdHitPredictionFromInvParabola::MappedPoint< T >::theU, ThirdHitPredictionFromInvParabola::MappedPoint< T >::theV, tmp, Basic3DVector< T >::x(), and Basic3DVector< T >::y().
Referenced by ThirdHitPredictionFromInvParabola::operator()().
00061 { 00062 T invRadius2 = theU*theU+theV*theV; 00063 Basic3DVector<T> tmp 00064 = (*pRot).multiplyInverse(Basic2DVector<T>(theU,theV)); 00065 return Basic2DVector<T>( tmp.x()/invRadius2, tmp.y()/invRadius2); 00066 }
T ThirdHitPredictionFromInvParabola::MappedPoint< T >::v | ( | ) | const [inline] |
Definition at line 60 of file ThirdHitPredictionFromInvParabola.h.
References ThirdHitPredictionFromInvParabola::MappedPoint< T >::theV.
Referenced by ThirdHitPredictionFromInvParabola::coeffA(), ThirdHitPredictionFromInvParabola::coeffB(), and ThirdHitPredictionFromInvParabola::ipFromCurvature().
00060 {return theV; }
const TkRotation<T>* ThirdHitPredictionFromInvParabola::MappedPoint< T >::pRot [private] |
Definition at line 69 of file ThirdHitPredictionFromInvParabola.h.
T ThirdHitPredictionFromInvParabola::MappedPoint< T >::theU [private] |
T ThirdHitPredictionFromInvParabola::MappedPoint< T >::theV [private] |