CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
ThirdHitPredictionFromInvLine::MappedPoint< T > Class Template Reference

Public Member Functions

 MappedPoint ()
 
 MappedPoint (const T &aU, const T &aV, const TkRotation< T > *aRot)
 
 MappedPoint (const Basic2DVector< T > &point, const TkRotation< T > *aRot)
 
T u () const
 
Basic2DVector< Tunmap () const
 
T v () const
 

Private Attributes

const TkRotation< T > * pRot
 
T theU
 
T theV
 

Detailed Description

template<class T>
class ThirdHitPredictionFromInvLine::MappedPoint< T >

Definition at line 55 of file ThirdHitPredictionFromInvLine.h.

Constructor & Destructor Documentation

◆ MappedPoint() [1/3]

template<class T >
ThirdHitPredictionFromInvLine::MappedPoint< T >::MappedPoint ( )
inline

◆ MappedPoint() [2/3]

template<class T >
ThirdHitPredictionFromInvLine::MappedPoint< T >::MappedPoint ( const T aU,
const T aV,
const TkRotation< T > *  aRot 
)
inline

◆ MappedPoint() [3/3]

template<class T >
ThirdHitPredictionFromInvLine::MappedPoint< T >::MappedPoint ( const Basic2DVector< T > &  point,
const TkRotation< T > *  aRot 
)
inline

Definition at line 59 of file ThirdHitPredictionFromInvLine.h.

References point, ThirdHitPredictionFromInvLine::MappedPoint< T >::theU, ThirdHitPredictionFromInvLine::MappedPoint< T >::theV, Basic3DVector< T >::x(), and Basic3DVector< T >::y().

59  : pRot(aRot) {
60  T radius2 = point.mag2();
61  Basic3DVector<T> rotated = (*pRot) * point;
62  theU = rotated.x() / radius2;
63  theV = rotated.y() / radius2;
64  }
T x() const
Cartesian x coordinate.
T y() const
Cartesian y coordinate.
long double T
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
Definition: invegas.h:5

Member Function Documentation

◆ u()

template<class T >
T ThirdHitPredictionFromInvLine::MappedPoint< T >::u ( ) const
inline

◆ unmap()

template<class T >
Basic2DVector<T> ThirdHitPredictionFromInvLine::MappedPoint< T >::unmap ( ) const
inline

◆ v()

template<class T >
T ThirdHitPredictionFromInvLine::MappedPoint< T >::v ( ) const
inline

Member Data Documentation

◆ pRot

template<class T >
const TkRotation<T>* ThirdHitPredictionFromInvLine::MappedPoint< T >::pRot
private

Definition at line 75 of file ThirdHitPredictionFromInvLine.h.

◆ theU

template<class T >
T ThirdHitPredictionFromInvLine::MappedPoint< T >::theU
private

◆ theV

template<class T >
T ThirdHitPredictionFromInvLine::MappedPoint< T >::theV
private