CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

template<class T >
ThirdHitPredictionFromInvLine::MappedPoint< T >::MappedPoint ( )
inline
template<class T >
ThirdHitPredictionFromInvLine::MappedPoint< T >::MappedPoint ( const T aU,
const T aV,
const TkRotation< T > *  aRot 
)
inline
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 Basic2DVector< T >::mag2(), 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 y() const
Cartesian y coordinate.
T x() const
Cartesian x coordinate.
T mag2() const
The vector magnitude squared. Equivalent to vec.dot(vec)
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

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

Member Data Documentation

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

Definition at line 75 of file ThirdHitPredictionFromInvLine.h.

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