Version: SMASH-3.1
kinematics.h File Reference
#include <array>
#include <cassert>
#include <sstream>
#include "constants.h"

Go to the source code of this file.

Namespaces

 smash
 

Functions

double smash::center_of_velocity_v (double s, double ma, double mb)
 
double smash::fixed_target_projectile_v (double s, double ma, double mb)
 
template<typename T >
smash::pCM_sqr_from_s (const T s, const T mass_a, const T mass_b) noexcept
 
template<typename T >
smash::pCM_from_s (const T s, const T mass_a, const T mass_b) noexcept
 
template<typename T >
smash::pCM (const T sqrts, const T mass_a, const T mass_b) noexcept
 
template<typename T >
smash::pCM_sqr (const T sqrts, const T mass_a, const T mass_b) noexcept
 
template<typename T >
std::array< T, 2 > smash::get_t_range (const T sqrts, const T m1, const T m2, const T m3, const T m4)
 Get the range of Mandelstam-t values allowed in a particular 2->2 process, see PDG 2014 booklet, eq. More...
 
static void smash::check_energy (double mandelstam_s, double m_sum)
 Helper function for plab_from_s. More...
 
static void smash::check_radicand (double mandelstam_s, double radicand)
 Helper function for plab_from_s. More...
 
double smash::plab_from_s (double mandelstam_s, double mass)
 Convert Mandelstam-s to p_lab in a fixed-target collision. More...
 
double smash::plab_from_s (double mandelstam_s)
 Convert Mandelstam-s to p_lab in a fixed-target collision. More...
 
double smash::plab_from_s (double mandelstam_s, double m_projectile, double m_target)
 Convert Mandelstam-s to p_lab in a fixed-target collision. More...
 
double smash::s_from_Etot (double e_tot, double m_P, double m_T)
 Convert E_tot to Mandelstam-s for a fixed-target setup, with a projectile of mass m_P and a total energy e_tot and a target of mass m_T at rest. More...
 
double smash::s_from_Etot (double e_tot_p, double e_tot_t, double m_p, double m_t)
 Convert E_tot to Mandelstam-s for two beams with total energies and masses (E,m) More...
 
double smash::s_from_Ekin (double e_kin, double m_P, double m_T)
 Convert E_kin to Mandelstam-s for a fixed-target setup, with a projectile of mass m_P and a kinetic energy e_kin and a target of mass m_T at rest. More...
 
double smash::s_from_Ekin (double e_kin_p, double e_kin_t, double m_p, double m_t)
 Convert E_kin=(E_tot-m) to Mandelstam-s for two beams with total energies and masses (E,m) More...
 
double smash::s_from_plab (double plab, double m_P, double m_T)
 Convert p_lab to Mandelstam-s for a fixed-target setup, with a projectile of mass m_P and momentum plab and a target of mass m_T at rest. More...
 
double smash::s_from_plab (double plab_p, double plab_t, double m_p, double m_t)
 Convert P_lab to Mandelstam-s for two beams with total momenta and masses (P,m) (P_lab gives per nucleon, P=P_lab*A) More...