|
Rivet
1.8.0
|
Specialized version of the FourVector with momentum/energy functionality. More...
#include <Vector4.hh>
Classes | |
| struct | byEAscending |
| Struct for sorting by increasing energy. More... | |
| struct | byEDescending |
| Struct for sorting by decreasing energy. More... | |
Public Member Functions | |
| template<typename V4 > | |
| FourMomentum (const V4 &other) | |
| FourMomentum (const Vector< 4 > &other) | |
| FourMomentum (const double E, const double px, const double py, const double pz) | |
| double | E () const |
Get energy (time component of momentum). | |
| Vector3 | p () const |
Get 3-momentum part, . | |
| double | px () const |
Get x-component of momentum . | |
| double | py () const |
Get y-component of momentum . | |
| double | pz () const |
Get z-component of momentum . | |
| FourMomentum & | setE (double E) |
Set energy (time component of momentum). | |
| FourMomentum & | setPx (double px) |
Set x-component of momentum . | |
| FourMomentum & | setPy (double py) |
Set y-component of momentum . | |
| FourMomentum & | setPz (double pz) |
Set z-component of momentum . | |
| double | mass () const |
Get the mass (the Lorentz self-invariant). | |
| double | massT () const |
Calculate the transverse mass . | |
| double | mass2 () const |
Get the squared mass (the Lorentz self-invariant). | |
| double | massT2 () const |
Calculate the squared transverse mass . | |
| double | rapidity () const |
| Calculate the rapidity. | |
| double | pT2 () const |
Calculate the squared transverse momentum . | |
| double | pT () const |
Calculate the transverse momentum . | |
| double | Et2 () const |
Calculate the transverse energy . | |
| double | Et () const |
Calculate the transverse energy . | |
| Vector3 | boostVector () const |
Calculate the boost vector (in units of ). | |
| FourMomentum & | operator*= (double a) |
| Multiply by a scalar. | |
| FourMomentum & | operator/= (double a) |
| Divide by a scalar. | |
| FourMomentum & | operator+= (const FourMomentum &v) |
| FourMomentum & | operator-= (const FourMomentum &v) |
| FourMomentum | operator- () const |
| Invert the vector. | |
Friends | |
| FourMomentum | multiply (const double a, const FourMomentum &v) |
| FourMomentum | multiply (const FourMomentum &v, const double a) |
| FourMomentum | add (const FourMomentum &a, const FourMomentum &b) |
| FourMomentum | transform (const LorentzTransform <, const FourMomentum &v4) |
Specialized version of the FourVector with momentum/energy functionality.
| Vector3 Rivet::FourMomentum::boostVector | ( | ) | const [inline] |
Calculate the boost vector (in units of
).
References E(), px(), py(), and pz().
Referenced by Rivet::boostVector(), and Rivet::DISKinematics::project().
1.7.6.1