Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Member Functions | List of all members
genbb::kinematics Class Reference

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...
 

Detailed Description

Relastivistic particle kinematics.

Constructor & Destructor Documentation

◆ kinematics()

genbb::kinematics::kinematics ( )

Default constructor.

Member Function Documentation

◆ beta()

double genbb::kinematics::beta ( ) const

Return the beta=v/c=p/w factor.

◆ gamma()

double genbb::kinematics::gamma ( ) const

Return the gamma=v/c factor.

◆ initialize_from_m_k()

void genbb::kinematics::initialize_from_m_k ( double  m_,
double  k_ 
)

Initialize from mass and kinetic energy.

◆ initialize_from_m_p()

void genbb::kinematics::initialize_from_m_p ( double  m_,
double  p_ 
)

Initialize from mass and momentum.

◆ initialize_from_m_w()

void genbb::kinematics::initialize_from_m_w ( double  m_,
double  w_ 
)

Initialize from mass and total energy.

◆ k()

double genbb::kinematics::k ( ) const

Return the kinetic energy.

◆ m()

double genbb::kinematics::m ( ) const

Return the mass.

◆ p()

double genbb::kinematics::p ( ) const

Return the momentum.

◆ reset()

void genbb::kinematics::reset ( )

Invalidate.

◆ v()

double genbb::kinematics::v ( ) const

Return the velocity.

◆ w()

double genbb::kinematics::w ( ) const

Return the total energy.


The documentation for this class was generated from the following file: