#include <Basics.h>
Public Member Functions | |
Vec4 (double xin=0., double yin=0., double zin=0., double tin=0.) | |
Constructors. | |
Vec4 (const Vec4 &v) | |
NOT DOCUMENTED. | |
Vec4 & | operator= (const Vec4 &v) |
NOT DOCUMENTED. | |
void | p (double xin, double yin, double zin, double tin) |
Member functions for input. | |
void | px (double xin) |
NOT DOCUMENTED. | |
void | py (double yin) |
NOT DOCUMENTED. | |
void | pz (double zin) |
NOT DOCUMENTED. | |
void | e (double tin) |
NOT DOCUMENTED. | |
double | px () const |
Member functions for output. | |
double | py () const |
NOT DOCUMENTED. | |
double | pz () const |
NOT DOCUMENTED. | |
double | e () const |
NOT DOCUMENTED. | |
double | m2calc () const |
NOT DOCUMENTED. | |
double | mcalc () const |
NOT DOCUMENTED. | |
double | pT () const |
NOT DOCUMENTED. | |
double | pT2 () const |
NOT DOCUMENTED. | |
double | pAbs () const |
NOT DOCUMENTED. | |
double | p2 () const |
NOT DOCUMENTED. | |
double | theta () const |
NOT DOCUMENTED. | |
double | phi () const |
NOT DOCUMENTED. | |
void | rescalep (double fac) |
Member functions that perform operations. | |
void | flip () |
NOT DOCUMENTED. | |
void | rot (double, double) |
NOT DOCUMENTED. | |
void | rotaxis (double, double, double, double) |
NOT DOCUMENTED. | |
void | rotaxis (double, const Vec4 &) |
NOT DOCUMENTED. | |
void | bst (double, double, double) |
Member functions that perform operations. | |
void | bst (const Vec4 &) |
NOT DOCUMENTED. | |
void | rotbst (const RotBstMatrix &) |
NOT DOCUMENTED. | |
Vec4 & | operator+= (const Vec4 &v) |
Operator overloading with member functions. | |
Vec4 & | operator-= (const Vec4 &v) |
NOT DOCUMENTED. | |
Vec4 & | operator*= (double f) |
NOT DOCUMENTED. | |
Vec4 & | operator/= (double f) |
NOT DOCUMENTED. | |
Private Attributes | |
double | xx |
The x component. | |
double | yy |
The y component. | |
double | zz |
The z component. | |
double | tt |
The time component. | |
Friends | |
Vec4 | operator+ (const Vec4 &, const Vec4 &) |
Operator overloading with friends. | |
Vec4 | operator- (const Vec4 &, const Vec4 &) |
Operator overloading with friends. | |
Vec4 | operator* (double, const Vec4 &) |
Operator overloading with friends. | |
Vec4 | operator* (const Vec4 &, double) |
Operator overloading with friends. | |
Vec4 | operator/ (const Vec4 &, double) |
Operator overloading with friends. | |
double | operator* (const Vec4 &, const Vec4 &) |
Operator overloading with friends. | |
double | dot3 (const Vec4 &, const Vec4 &) |
Scalar product of 3-vector parts. | |
Vec4 | cross3 (const Vec4 &, const Vec4 &) |
Cross product of 3-vector parts. | |
double | costheta (const Vec4 &v1, const Vec4 &v2) |
Cosine of the polar angle between v1 and v2. | |
double | theta (const Vec4 &v1, const Vec4 &v2) |
The polar angle between v1 and v2. | |
double | cosphi (const Vec4 &v1, const Vec4 &v2, const Vec4 &n) |
Cosine of the azimuthal angle between v1 and v2 around the n axis. | |
double | phi (const Vec4 &v1, const Vec4 &v2, const Vec4 &n) |
The azimuthal angle between v1 and v2 around the n axis. | |
ostream & | operator<< (ostream &, const Vec4 &) |
Print a four-vector. |
This class implements four-vectors, in energy-momentum space. (But could equally well be used to hold space-time four-vectors.) Used by the internal Pythia7 Shower classes.
Definition at line 358 of file Basics.h.
double Pythia7::Shower::Vec4::xx [private] |
The x component.
Definition at line 523 of file Basics.h.
Referenced by flip(), m2calc(), mcalc(), Pythia7::Shower::operator*(), operator*=(), operator+=(), operator-=(), operator/=(), operator=(), p(), p2(), pAbs(), phi(), pT(), pT2(), px(), rescalep(), and theta().
double Pythia7::Shower::Vec4::yy [private] |
The y component.
Definition at line 526 of file Basics.h.
Referenced by flip(), m2calc(), mcalc(), Pythia7::Shower::operator*(), operator*=(), operator+=(), operator-=(), operator/=(), operator=(), p(), p2(), pAbs(), phi(), pT(), pT2(), py(), rescalep(), and theta().
double Pythia7::Shower::Vec4::zz [private] |
The z component.
Definition at line 529 of file Basics.h.
Referenced by flip(), m2calc(), mcalc(), Pythia7::Shower::operator*(), operator*=(), operator+=(), operator-=(), operator/=(), operator=(), p(), p2(), pAbs(), pz(), rescalep(), and theta().
double Pythia7::Shower::Vec4::tt [private] |
The time component.
Definition at line 532 of file Basics.h.
Referenced by e(), m2calc(), mcalc(), Pythia7::Shower::operator*(), operator*=(), operator+=(), operator-=(), operator/=(), operator=(), and p().