#include <fourvector.h>
Public Member Functions | |
fourvector (void) | |
fourvector (double t, double x, double y, double z) | |
fourvector & | sum_up (const fourvector &v) |
fourvector & | rescale (double c) |
double | transverse_momentum (void) const |
double | rapidity (void) const |
double | azimuthal_angle (void) const |
double | spatial_norm (void) const |
double | spatial_scalar_product (const fourvector &q) const |
double | energy_component (void) const |
Protected Attributes | |
double | t |
double | x |
double | y |
double | z |
The class fourvector
fourvector | ( | void | ) | [inline] |
Default constructor
fourvector | ( | double | tt, | |
double | xx, | |||
double | yy, | |||
double | zz | |||
) | [inline] |
Standard constructor
double azimuthal_angle | ( | void | ) | const [inline] |
Returns the azimuthal angle .
double energy_component | ( | void | ) | const [inline] |
Returns the energy component.
double rapidity | ( | void | ) | const [inline] |
Returns the rapidity with respect to the -axis.
fourvector & rescale | ( | double | c | ) | [inline] |
Scales all components by .
double spatial_norm | ( | void | ) | const [inline] |
The norm of the spatial components of the fourvector:
double spatial_scalar_product | ( | const fourvector & | q | ) | const [inline] |
Returns
fourvector & sum_up | ( | const fourvector & | v | ) | [inline] |
Adds to the fourvector.
double transverse_momentum | ( | void | ) | const [inline] |
Returns the transverse momentum with respect to the -axis.