Minimal, templated four-vector.
No TObject inheritance and virtual functions. Also used in VSD.
Definition at line 242 of file TEveVector.h.
Public Member Functions | |
TEveVector4T () | |
TEveVector4T (const Double_t *v) | |
TEveVector4T (const Float_t *v) | |
template<typename OO > | |
TEveVector4T (const TEveVector4T< OO > &v) | |
template<typename OO > | |
TEveVector4T (const TEveVectorT< OO > &v) | |
template<typename OO > | |
TEveVector4T (const TEveVectorT< OO > &v, Float_t t) | |
TEveVector4T (TT x, TT y, TT z, TT t=0) | |
void | Dump () const |
Dump to stdout as "(x, y, z; t)\n". | |
TClass * | IsA () const |
TEveVector4T & | operator*= (TT s) |
TEveVector4T & | operator+= (const TEveVector4T &v) |
TEveVector4T & | operator-= (const TEveVector4T &v) |
void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
![]() | |
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 |
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". | |
TT | Eta () const |
Calculate eta of the point, pretending it's a momentum vector. | |
TClass * | IsA () const |
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. | |
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). | |
void | OrthoNormBase (TEveVectorT &a, TEveVectorT &b) const |
Set vectors a and b to be normal to this and among themselves, both of length 1. | |
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. | |
void | Set (TT x, TT y, TT z) |
TT | SquareDistance (const TEveVectorT &v) const |
void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
TEveVectorT & | Sub (const TEveVectorT &a, const TEveVectorT &b) |
TT | Theta () const |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
![]() | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Public Attributes | |
TT | fT |
![]() | |
TT | fX |
TT | fY |
TT | fZ |
Private Types | |
typedef TEveVectorT< TT > | TP |
#include <TEveVector.h>
|
private |
Definition at line 244 of file TEveVector.h.
|
inline |
Definition at line 249 of file TEveVector.h.
|
inline |
Definition at line 251 of file TEveVector.h.
|
inline |
Definition at line 253 of file TEveVector.h.
|
inline |
Definition at line 255 of file TEveVector.h.
|
inline |
Definition at line 256 of file TEveVector.h.
|
inline |
Definition at line 257 of file TEveVector.h.
|
inline |
Definition at line 258 of file TEveVector.h.
|
static |
|
static |
|
inlinestaticconstexpr |
Definition at line 269 of file TEveVector.h.
|
inlinestatic |
Definition at line 269 of file TEveVector.h.
void TEveVector4T< TT >::Dump |
Dump to stdout as "(x, y, z; t)\n".
Definition at line 112 of file TEveVector.cxx.
|
inline |
Definition at line 269 of file TEveVector.h.
|
inline |
Definition at line 262 of file TEveVector.h.
|
inline |
Definition at line 263 of file TEveVector.h.
|
inline |
Definition at line 264 of file TEveVector.h.
void TEveVector4T< TT >::Streamer | ( | TBuffer & | ) |
|
inline |
Definition at line 269 of file TEveVector.h.
TT TEveVector4T< TT >::fT |
Definition at line 247 of file TEveVector.h.