ROOT 6.16/01 Reference Guide |
Minimal, templated three-vector.
No TObject inheritance and virtual functions. Also used in VSD.
Definition at line 26 of file TEveVector.h.
Public Member Functions | |
TEveVectorT () | |
TEveVectorT (const Double_t *v) | |
TEveVectorT (const Float_t *v) | |
template<typename OO > | |
TEveVectorT (const TEveVectorT< OO > &v) | |
TEveVectorT (TT x, TT y, TT z) | |
TT * | Arr () |
const TT * | Arr () const |
ClassDefNV (TEveVectorT, 2) | |
TT | CosTheta () const |
TEveVectorT | Cross (const TEveVectorT &a) const |
TT | Distance (const TEveVectorT &v) const |
TT | Dot (const TEveVectorT &a) const |
void | Dump () const |
Dump to stdout as "(x, y, z)\n". More... | |
TT | Eta () const |
Calculate eta of the point, pretending it's a momentum vector. More... | |
Bool_t | IsZero () const |
TT | Mag () const |
TT | Mag2 () const |
TEveVectorT & | Mult (const TEveVectorT &a, TT af) |
void | NegateXYZ () |
TT | Normalize (TT length=1) |
Normalize the vector to length if current length is non-zero. More... | |
operator const TT * () const | |
operator TT * () | |
TEveVectorT & | operator*= (TT s) |
TEveVectorT & | operator+= (const TEveVectorT &v) |
TEveVectorT & | operator-= (const TEveVectorT &v) |
TT & | operator[] (Int_t idx) |
TT | operator[] (Int_t idx) const |
TEveVectorT | Orthogonal () const |
Returns an orthogonal vector (not normalized). More... | |
void | OrthoNormBase (TEveVectorT &a, TEveVectorT &b) const |
Set vectors a and b to be normal to this and among themselves, both of length 1. More... | |
TT | Perp () const |
TT | Perp2 () const |
TT | Phi () const |
TT | R () const |
void | Set (const Double_t *v) |
void | Set (const Float_t *v) |
template<typename OO > | |
void | Set (const TEveVectorT< OO > &v) |
void | Set (const TVector3 &v) |
Set from TVector3. More... | |
void | Set (TT x, TT y, TT z) |
TT | SquareDistance (const TEveVectorT &v) const |
TEveVectorT & | Sub (const TEveVectorT &a, const TEveVectorT &b) |
TT | Theta () const |
Public Attributes | |
TT | fX |
TT | fY |
TT | fZ |
#include <TEveVector.h>
|
inline |
Definition at line 31 of file TEveVector.h.
|
inline |
Definition at line 33 of file TEveVector.h.
|
inline |
Definition at line 34 of file TEveVector.h.
|
inline |
Definition at line 35 of file TEveVector.h.
|
inline |
Definition at line 36 of file TEveVector.h.
|
inline |
Definition at line 60 of file TEveVector.h.
|
inline |
Definition at line 54 of file TEveVector.h.
TEveVectorT< TT >::ClassDefNV | ( | TEveVectorT< TT > | , |
2 | |||
) |
|
inline |
Definition at line 139 of file TEveVector.h.
|
inline |
Definition at line 171 of file TEveVector.h.
|
inline |
Definition at line 146 of file TEveVector.h.
|
inline |
Definition at line 164 of file TEveVector.h.
void TEveVectorT< TT >::Dump |
Dump to stdout as "(x, y, z)\n".
Definition at line 28 of file TEveVector.cxx.
TT TEveVectorT< TT >::Eta |
Calculate eta of the point, pretending it's a momentum vector.
Definition at line 44 of file TEveVector.cxx.
|
inline |
Definition at line 114 of file TEveVector.h.
|
inline |
Definition at line 95 of file TEveVector.h.
|
inline |
Definition at line 94 of file TEveVector.h.
|
inline |
Definition at line 192 of file TEveVector.h.
|
inline |
Definition at line 86 of file TEveVector.h.
TT TEveVectorT< TT >::Normalize | ( | TT | length = 1 | ) |
Normalize the vector to length if current length is non-zero.
Returns the old magnitude.
Definition at line 56 of file TEveVector.cxx.
|
inline |
Definition at line 68 of file TEveVector.h.
|
inline |
Definition at line 69 of file TEveVector.h.
|
inline |
Definition at line 74 of file TEveVector.h.
|
inline |
Definition at line 75 of file TEveVector.h.
|
inline |
Definition at line 76 of file TEveVector.h.
|
inline |
Definition at line 72 of file TEveVector.h.
|
inline |
Definition at line 71 of file TEveVector.h.
TEveVectorT< TT > TEveVectorT< TT >::Orthogonal |
Returns an orthogonal vector (not normalized).
Definition at line 70 of file TEveVector.cxx.
void TEveVectorT< TT >::OrthoNormBase | ( | TEveVectorT< TT > & | a, |
TEveVectorT< TT > & | b | ||
) | const |
Set vectors a and b to be normal to this and among themselves, both of length 1.
Definition at line 86 of file TEveVector.cxx.
|
inline |
Definition at line 98 of file TEveVector.h.
|
inline |
Definition at line 97 of file TEveVector.h.
|
inline |
Definition at line 125 of file TEveVector.h.
|
inline |
Definition at line 99 of file TEveVector.h.
|
inline |
Definition at line 79 of file TEveVector.h.
|
inline |
Definition at line 78 of file TEveVector.h.
|
inline |
Definition at line 84 of file TEveVector.h.
void TEveVectorT< TT >::Set | ( | const TVector3 & | v | ) |
Set from TVector3.
Definition at line 36 of file TEveVector.cxx.
|
inline |
Definition at line 80 of file TEveVector.h.
|
inline |
Definition at line 155 of file TEveVector.h.
|
inline |
Definition at line 182 of file TEveVector.h.
|
inline |
Definition at line 132 of file TEveVector.h.
TT TEveVectorT< TT >::fX |
Definition at line 29 of file TEveVector.h.
TT TEveVectorT< TT >::fY |
Definition at line 29 of file TEveVector.h.
TT TEveVectorT< TT >::fZ |
Definition at line 29 of file TEveVector.h.