template<
typename TT>
class ROOT::Experimental::REveVector4T< TT >
REveVector4T A four-vector template without TObject inheritance and virtual functions.
Minimal, templated four-vector.
No TObject inheritance and virtual functions. Also used in VSD.
Definition at line 238 of file REveVector.hxx.
|
| | REveVector4T () |
| |
| | REveVector4T (const Double_t *v) |
| |
| | REveVector4T (const Float_t *v) |
| |
| template<typename OO > |
| | REveVector4T (const REveVector4T< OO > &v) |
| |
| template<typename OO > |
| | REveVector4T (const REveVectorT< OO > &v) |
| |
| template<typename OO > |
| | REveVector4T (const REveVectorT< OO > &v, Float_t t) |
| |
| | REveVector4T (TT x, TT y, TT z, TT t=0) |
| |
| void | Dump () const |
| | Dump to stdout as "(x, y, z; t)\n".
|
| |
| REveVector4T & | operator*= (TT s) |
| |
| REveVector4T & | operator+= (const REveVector4T &v) |
| |
| REveVector4T & | operator-= (const REveVector4T &v) |
| |
| | REveVectorT ()=default |
| |
| | REveVectorT (const Double_t *v) |
| |
| | REveVectorT (const Float_t *v) |
| |
| template<typename OO > |
| | REveVectorT (const REveVectorT< OO > &v) |
| |
| | REveVectorT (TT x, TT y, TT z) |
| |
| TT * | Arr () |
| |
| const TT * | Arr () const |
| |
| TT | CosTheta () const |
| |
| REveVectorT | Cross (const REveVectorT &a) const |
| |
| TT | Distance (const REveVectorT &v) const |
| |
| TT | Dot (const REveVectorT &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.
|
| |
| Bool_t | IsZero () const |
| |
| TT | Mag () const |
| |
| TT | Mag2 () const |
| |
| REveVectorT & | Mult (const REveVectorT &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 * () |
| |
| REveVectorT & | operator*= (TT s) |
| |
| REveVectorT & | operator+= (const REveVectorT &v) |
| |
| REveVectorT & | operator-= (const REveVectorT &v) |
| |
| TT & | operator[] (Int_t idx) |
| |
| TT | operator[] (Int_t idx) const |
| |
| REveVectorT | Orthogonal () const |
| | Returns an orthogonal vector (not normalized).
|
| |
| void | OrthoNormBase (REveVectorT &a, REveVectorT &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 REveVectorT< OO > &v) |
| |
| void | Set (const TVector3 &v) |
| | Set from TVector3.
|
| |
| void | Set (TT x, TT y, TT z) |
| |
| TT | SquareDistance (const REveVectorT &v) const |
| |
| REveVectorT & | Sub (const REveVectorT &a, const REveVectorT &b) |
| |
| TT | Theta () const |
| |