![]() |
ROOT
6.06/09
Reference Guide
|
Minimal, templated four-vector.
No TObject inheritance and virtual functions. Also used in VSD.
Definition at line 212 of file TEveVector.h.
Public Member Functions | |
TEveVector4T () | |
template<typename OO > | |
TEveVector4T (const TEveVectorT< OO > &v) | |
template<typename OO > | |
TEveVector4T (const TEveVectorT< OO > &v, Float_t t) | |
template<typename OO > | |
TEveVector4T (const TEveVector4T< OO > &v) | |
TEveVector4T (const Float_t *v) | |
TEveVector4T (const Double_t *v) | |
TEveVector4T (TT x, TT y, TT z, TT t=0) | |
void | Dump () const |
Dump to stdout as "(x, y, z; t)\n". More... | |
TEveVector4T & | operator*= (TT s) |
TEveVector4T & | operator+= (const TEveVector4T &v) |
TEveVector4T & | operator-= (const TEveVector4T &v) |
ClassDefNV (TEveVector4T, 1) | |
![]() | |
TEveVectorT () | |
template<typename OO > | |
TEveVectorT (const TEveVectorT< OO > &v) | |
TEveVectorT (const Float_t *v) | |
TEveVectorT (const Double_t *v) | |
TEveVectorT (TT x, TT y, TT z) | |
void | Dump () const |
Dump to stdout as "(x, y, z)\n". More... | |
operator const TT * () const | |
operator TT * () | |
TT | operator[] (Int_t idx) const |
TT & | operator[] (Int_t idx) |
const TT * | Arr () const |
TT * | Arr () |
TEveVectorT & | operator*= (TT s) |
TEveVectorT & | operator+= (const TEveVectorT &v) |
TEveVectorT & | operator-= (const TEveVectorT &v) |
void | Set (const Float_t *v) |
void | Set (const Double_t *v) |
void | Set (TT x, TT y, TT z) |
void | Set (const TVector3 &v) |
Set from TVector3. More... | |
template<typename OO > | |
void | Set (const TEveVectorT< OO > &v) |
void | NegateXYZ () |
TT | Normalize (TT length=1) |
Normalize the vector to length if current length is non-zero. More... | |
TT | Phi () const |
TT | Theta () const |
TT | CosTheta () const |
TT | Eta () const |
Calculate eta of the point, pretending it's a momentum vector. More... | |
TT | Mag2 () const |
TT | Mag () const |
TT | Perp2 () const |
TT | Perp () const |
TT | R () const |
TT | Distance (const TEveVectorT &v) const |
TT | SquareDistance (const TEveVectorT &v) const |
TT | Dot (const TEveVectorT &a) const |
TEveVectorT | Cross (const TEveVectorT &a) const |
TEveVectorT & | Sub (const TEveVectorT &a, const TEveVectorT &b) |
TEveVectorT & | Mult (const TEveVectorT &a, TT af) |
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... | |
Bool_t | IsZero () const |
ClassDefNV (TEveVectorT, 2) | |
Public Attributes | |
TT | fT |
![]() | |
TT | fX |
TT | fY |
TT | fZ |
Private Types | |
typedef TEveVectorT< TT > | TP |
#include <TEveVector.h>
|
private |
Definition at line 214 of file TEveVector.h.
|
inline |
Definition at line 219 of file TEveVector.h.
|
inline |
Definition at line 221 of file TEveVector.h.
|
inline |
Definition at line 223 of file TEveVector.h.
|
inline |
Definition at line 225 of file TEveVector.h.
|
inline |
Definition at line 226 of file TEveVector.h.
|
inline |
Definition at line 227 of file TEveVector.h.
|
inline |
Definition at line 228 of file TEveVector.h.
TEveVector4T< TT >::ClassDefNV | ( | TEveVector4T< TT > | , |
1 | |||
) |
void TEveVector4T< TT >::Dump | ( | ) | const |
Dump to stdout as "(x, y, z; t)\n".
Definition at line 110 of file TEveVector.cxx.
|
inline |
Definition at line 232 of file TEveVector.h.
|
inline |
Definition at line 233 of file TEveVector.h.
|
inline |
Definition at line 234 of file TEveVector.h.
TT TEveVector4T< TT >::fT |
Definition at line 217 of file TEveVector.h.
Referenced by TEveTrackPropagator::LoopToVertex(), operator*(), operator+(), TEveVector4T< TT >::operator+=(), operator-(), TEveVector4T< TT >::operator-=(), TEveTrackPropagator::Helix_t::Step(), and TEveTrackPropagator::Step().