A++ » INCLUDE » TEveVectorT<double>

class TEveVectorT<double>

 TEveVectorT

This class is also known as (typedefs to this class)

TEveVectorD

Function Members (Methods)

public:
~TEveVectorT<double>()
const double*Arr() const
double*Arr()
static TClass*Class()
doubleCosTheta() const
TEveVectorT<double>Cross(const TEveVectorT<double>& a) const
doubleDistance(const TEveVectorT<double>& v) const
doubleDot(const TEveVectorT<double>& a) const
voidDump() const
doubleEta() const
TClass*IsA() const
Bool_tIsZero() const
doubleMag() const
doubleMag2() const
TEveVectorT<double>&Mult(const TEveVectorT<double>& a, double af)
voidNegateXYZ()
doubleNormalize(double length = 1)
const double*operator const double *() const
double*operator double *()
TEveVectorT<double>&operator*=(double s)
TEveVectorT<double>&operator+=(const TEveVectorT<double>& v)
TEveVectorT<double>&operator-=(const TEveVectorT<double>& v)
TEveVectorT<double>&operator=(const TEveVectorT<double>&)
TEveVectorT<double>&operator=(TEveVectorT<double>&&)
doubleoperator[](Int_t idx) const
double&operator[](Int_t idx)
TEveVectorT<double>Orthogonal() const
voidOrthoNormBase(TEveVectorT<double>& a, TEveVectorT<double>& b) const
doublePerp() const
doublePerp2() const
doublePhi() const
doubleR() const
voidSet(const Float_t* v)
voidSet(const Double_t* v)
voidSet(const TVector3& v)
voidSet(double x, double y, double z)
voidShowMembers(TMemberInspector& insp) const
doubleSquareDistance(const TEveVectorT<double>& v) const
voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
TEveVectorT<double>&Sub(const TEveVectorT<double>& a, const TEveVectorT<double>& b)
TEveVectorT<double>()
TEveVectorT<double>(const TEveVectorT<double>& v)
TEveVectorT<double>(const TEveVectorT<float>& v)
TEveVectorT<double>(const Float_t* v)
TEveVectorT<double>(const Double_t* v)
TEveVectorT<double>(const TEveVectorT<double>&)
TEveVectorT<double>(TEveVectorT<double>&&)
TEveVectorT<double>(double x, double y, double z)
doubleTheta() const

Data Members

public:
doublefXComponents of the vector.
doublefYComponents of the vector.
doublefZComponents of the vector.

Class Charts

Inheritance Chart:
TEveVectorT<double>
TEveVector4T<double>

Function documentation

TT TEveVectorT<TT> Phi() const
TT TEveVectorT<TT> Theta() const
TT TEveVectorT<TT> CosTheta() const
TT TEveVectorT<TT> Distance(const TEveVectorT<double>& v) const
TT TEveVectorT<TT> SquareDistance(const TEveVectorT<double>& v) const
TT TEveVectorT<TT> Dot(const TEveVectorT<double>& a) const
TEveVectorT<TT> TEveVectorT<TT> Cross(const TEveVectorT<double>& a) const
TEveVectorT<TT>& TEveVectorT<TT> Sub(const TEveVectorT<double>& a, const TEveVectorT<double>& b)
TEveVectorT<TT>& TEveVectorT<TT> Mult(const TEveVectorT<double>& a, double af)
void Dump() const
const TT* Arr() const
{ return &fX; }
TT* Arr()
{ return &fX; }
TEveVectorT& operator*=(double s)
{ fX *= s; fY *= s; fZ *= s; return *this; }
TEveVectorT& operator+=(const TEveVectorT<double>& v)
{ fX += v.fX; fY += v.fY; fZ += v.fZ; return *this; }
TEveVectorT& operator-=(const TEveVectorT<double>& v)
{ fX -= v.fX; fY -= v.fY; fZ -= v.fZ; return *this; }
void Set(const Float_t* v)
{ fX = v[0]; fY = v[1]; fZ = v[2]; }
void Set(const Double_t* v)
{ fX = v[0]; fY = v[1]; fZ = v[2]; }
void Set(double x, double y, double z)
{ fX = x; fY = y; fZ = z; }
void Set(const TVector3& v)
void NegateXYZ()
{ fX = - fX; fY = -fY; fZ = -fZ; }
TT Normalize(double length = 1)
TT Eta() const
TT Mag2() const
{ return fX*fX + fY*fY + fZ*fZ; }
TT Mag() const
{ return TMath::Sqrt(Mag2()); }
TT Perp2() const
{ return fX*fX + fY*fY; }
TT Perp() const
{ return TMath::Sqrt(Perp2()); }
TT R() const
{ return Perp(); }
TEveVectorT Orthogonal() const
void OrthoNormBase(TEveVectorT<double>& a, TEveVectorT<double>& b) const
Bool_t IsZero() const
{ return fX == 0 && fY == 0 && fZ == 0; }
TT& operator[](Int_t idx)
{ return (&fX)[idx]; }
TT operator[](Int_t idx) const
{ return (&fX)[idx]; }