Version: SMASH-1.5
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_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_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...