![]() |
Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
Relastivistic particle kinematics. More...
#include <bayeux/genbb_help/kinematics.h>
Public Member Functions | |
| kinematics () | |
| Default constructor. More... | |
| double | m () const |
| Return the mass. More... | |
| double | w () const |
| Return the total energy. More... | |
| double | k () const |
| Return the kinetic energy. More... | |
| double | p () const |
| Return the momentum. More... | |
| double | beta () const |
| Return the beta=v/c=p/w factor. More... | |
| double | gamma () const |
| Return the gamma=v/c factor. More... | |
| double | v () const |
| Return the velocity. More... | |
| void | reset () |
| Invalidate. More... | |
| void | initialize_from_m_w (double m_, double w_) |
| Initialize from mass and total energy. More... | |
| void | initialize_from_m_k (double m_, double k_) |
| Initialize from mass and kinetic energy. More... | |
| void | initialize_from_m_p (double m_, double p_) |
| Initialize from mass and momentum. More... | |
Relastivistic particle kinematics.
| genbb::kinematics::kinematics | ( | ) |
Default constructor.
| double genbb::kinematics::beta | ( | ) | const |
Return the beta=v/c=p/w factor.
| double genbb::kinematics::gamma | ( | ) | const |
Return the gamma=v/c factor.
| void genbb::kinematics::initialize_from_m_k | ( | double | m_, |
| double | k_ | ||
| ) |
Initialize from mass and kinetic energy.
| void genbb::kinematics::initialize_from_m_p | ( | double | m_, |
| double | p_ | ||
| ) |
Initialize from mass and momentum.
| void genbb::kinematics::initialize_from_m_w | ( | double | m_, |
| double | w_ | ||
| ) |
Initialize from mass and total energy.
| double genbb::kinematics::k | ( | ) | const |
Return the kinetic energy.
| double genbb::kinematics::m | ( | ) | const |
Return the mass.
| double genbb::kinematics::p | ( | ) | const |
Return the momentum.
| void genbb::kinematics::reset | ( | ) |
Invalidate.
| double genbb::kinematics::v | ( | ) | const |
Return the velocity.
| double genbb::kinematics::w | ( | ) | const |
Return the total energy.
1.8.15