7 #ifndef SRC_INCLUDE_SMASH_SPHEREMODUS_H_
8 #define SRC_INCLUDE_SMASH_SPHEREMODUS_H_
Interface to the SMASH configuration files.
Base class for Modus classes that provides default function implementations.
The Particles class abstracts the storage and manipulation of particles.
SphereModus: Provides a modus for expanding matter calculations.
const bool account_for_resonance_widths_
In case of thermal initialization: true – account for resonance spectral functions,...
const bool use_thermal_
Whether to use a thermal initialization for all particles instead of specific numbers.
const double muq_
Charge chemical potential for thermal initialization; only used if use_thermal_ is true.
double sphere_temperature_
Temperature for momentum distribution (in GeV)
const double start_time_
Starting time for the Sphere.
const SphereInitialCondition init_distr_
Initialization scheme for momenta in the sphere; used for expanding metric setup.
const std::optional< PdgCode > jet_pdg_
Optional PDG code of the particle to use as a jet, i.e.
SphereModus(Configuration modus_config, const ExperimentParameters ¶meters)
Constructor.
double initial_conditions(Particles *particles, const ExperimentParameters ¶meters)
Generates initial state of the particles in the system according to specified parameters: number of p...
std::map< PdgCode, double > average_multipl_
Average multiplicities in case of thermal initialization.
const double mub_
Baryon chemical potential for thermal initialization; only used if use_thermal_ is true.
const double jet_mom_
Initial momentum of the jet particle; only used if jet_pdg_ is not nullopt.
const std::map< PdgCode, int > init_multipl_
Particle multiplicities at initialization; required if use_thermal_ is false.
const double mus_
Strange chemical potential for thermal initialization; only used if use_thermal_ is true.
const double radial_velocity_
Wether to add a constant radial velocity profile to the momenta of the particles in the sphere.
double radius_
Sphere radius (in fm)
SphereInitialCondition
Initial condition for a particle in a sphere.
friend std::ostream & operator<<(std::ostream &out, const SphereModus &m)
Writes the initial state for the Sphere to the output stream.
Helper structure for Experiment.