Collection of useful constants that are known at compile time. More...
#include <cmath>
#include <cstdint>
#include <limits>
Go to the source code of this file.
Namespaces | |
smash | |
Variables | |
constexpr double | smash::hbarc = 0.197327053 |
GeV <-> fm conversion factor. More... | |
constexpr double | smash::fm2_mb = 0.1 |
mb <-> fm^2 conversion factor. More... | |
constexpr double | smash::gev2_mb = hbarc * hbarc / fm2_mb |
GeV^-2 <-> mb conversion factor. More... | |
constexpr double | smash::mev_to_gev = 1.e-3 |
MeV to GeV conversion factor. More... | |
constexpr double | smash::really_small = 1.0e-6 |
Numerical error tolerance. More... | |
constexpr double | smash::very_small_double = 1.0e-15 |
A very small double, used to avoid division by zero. More... | |
constexpr double | smash::twopi = 2. * M_PI |
\( 2\pi \). More... | |
constexpr double | smash::nuclear_density = 0.168 |
Ground state density of symmetric nuclear matter [fm^-3]. More... | |
constexpr double | smash::small_number = 1.0e-4 |
Physical error tolerance. More... | |
constexpr double | smash::nucleon_mass = 0.938 |
Nucleon mass in GeV. More... | |
constexpr double | smash::pion_mass = 0.138 |
Pion mass in GeV. More... | |
constexpr double | smash::kaon_mass = 0.494 |
Kaon mass in GeV. More... | |
constexpr double | smash::omega_mass = 0.783 |
omega mass in GeV. More... | |
constexpr double | smash::delta_mass = 1.232 |
Delta mass in GeV. More... | |
constexpr double | smash::deuteron_mass = 1.8756 |
Deuteron mass in GeV. More... | |
constexpr double | smash::fine_structure = 7.2973525698e-3 |
Fine-struture constant, approximately 1/137. More... | |
const double | smash::elementary_charge = std::sqrt(fine_structure * 4 * M_PI) |
Elementary electric charge in natural units, approximately 0.3. More... | |
constexpr int | smash::maximum_rndm_seed_in_pythia = 900000000 |
The maximum value of the random seed used in PYTHIA. More... | |
constexpr double | smash::minimum_sqrts_pythia_can_handle = 10.0 |
Energy in GeV, below which hard reactions via pythia are impossible. More... | |
constexpr std::uint32_t | smash::ID_PROCESS_PHOTON |
Process ID for any photon process. More... | |
Collection of useful constants that are known at compile time.
Definition in file constants.h.