ROOT logo
AliRoot » PWGCF » FEMTOSCOPY » ALIFEMTO » AliFmThreeVector<float>

class AliFmThreeVector<float>

Function Members (Methods)

public:
AliFmThreeVector<float>(TRootIOCtor*)
AliFmThreeVector<float>(const AliFmThreeVector<float>&)
AliFmThreeVector<float>(float = 0, float = 0, float = 0)
virtual~AliFmThreeVector<float>()
intBad(double world = 1.e+5) const
floatCosTheta() const
floatMag() const
floatMag2() const
floatMagnitude() const
floatMassHypothesis(float mass) const
floatoperator()(size_t) const
float&operator()(size_t)
AliFmThreeVector<float>&operator*=(double)
AliFmThreeVector<float>operator+()
AliFmThreeVector<float>operator-()
AliFmThreeVector<float>&operator/=(double)
AliFmThreeVector<float>&operator=(const AliFmThreeVector<float>&)
floatoperator[](size_t) const
float&operator[](size_t)
AliFmThreeVector<float>orthogonal() const
floatPerp() const
floatPerp2() const
floatPhi() const
AliFmThreeVector<float>PseudoProduct(double, double, double) const
floatPseudoRapidity() const
voidRotateX(float)
voidRotateY(float)
voidRotateZ(float)
voidSetMag(float)
voidSetMagnitude(float)
voidSetPhi(float)
voidSetTheta(float)
voidSetX(float)
voidSetY(float)
voidSetZ(float)
floatTheta() const
AliFmThreeVector<float>unit() const
intValid(double world = 1.e+5) const
floatx() const
floaty() const
floatz() const

Data Members

protected:
floatmX1
floatmX2
floatmX3Vector components

Class Charts

Inheritance Chart:
AliFmThreeVector<float>

Function documentation

void AliFmThreeVector<T> SetX(float )
{mX1 = ax;}
void AliFmThreeVector<T> SetY(float )
{mX2 = ay;}
void AliFmThreeVector<T> SetZ(float )
{mX3 = az;}
void AliFmThreeVector<T> SetPhi(float )
void AliFmThreeVector<T> SetTheta(float )
void AliFmThreeVector<T> SetMagnitude(float )
void AliFmThreeVector<T> SetMag(float )
T AliFmThreeVector<T> x() const
{return mX1;}
T AliFmThreeVector<T> y() const
{return mX2;}
T AliFmThreeVector<T> z() const
{return mX3;}
T AliFmThreeVector<T> Theta() const
T AliFmThreeVector<T> CosTheta() const
T AliFmThreeVector<T> Phi() const
T AliFmThreeVector<T> PseudoRapidity() const
 change code to more optimal:
 double m = Mag();
 return 0.5*::log( (m+z())/(m-z()) );
AliFmThreeVector<T> AliFmThreeVector<T> unit() const
T AliFmThreeVector<T> MassHypothesis(float mass) const
AliFmThreeVector<T> AliFmThreeVector<T> orthogonal() const
 Direct copy from CLHEP--it is probably better to
 use your own dot/cross product code...
void AliFmThreeVector<T> RotateX(float )
 may in the future make use of the AliFmRotation class!
void AliFmThreeVector<T> RotateY(float )
 may in the future make use of the AliFmRotation class!
void AliFmThreeVector<T> RotateZ(float )
 may in the future make use of the AliFmRotation class!
T AliFmThreeVector<T> Perp() const
T AliFmThreeVector<T> Perp2() const
T AliFmThreeVector<T> Magnitude() const
T AliFmThreeVector<T> Mag() const
T AliFmThreeVector<T> Mag2() const
T AliFmThreeVector<T> operator()(size_t ) const
T& AliFmThreeVector<T> operator()(size_t )
T AliFmThreeVector<T> operator[](size_t ) const
T &AliFmThreeVector<T> operator[](size_t )
AliFmThreeVector<T>& AliFmThreeVector<T> operator*=(double )
AliFmThreeVector<T>& AliFmThreeVector<T> operator/=(double )
AliFmThreeVector<T> PseudoProduct(double , double , double ) const
AliFmThreeVector<T> AliFmThreeVector<T> operator-()
AliFmThreeVector<T> AliFmThreeVector<T> operator+()
AliFmThreeVector<T> operator=(const AliFmThreeVector<float>& )
AliFmThreeVector<T> Valid(double world = 1.e+5) const
{return !Bad(world);}
AliFmThreeVector<T> Bad(double world = 1.e+5) const