Version: SMASH-3.4
smash::ExperimentParameters Struct Reference

#include <experimentparameters.h>

Helper structure for Experiment.

Experiment has one member of this struct. In essence the members of this struct are members of Experiment, but combined in one structure for easier function argument passing.

Definition at line 26 of file experimentparameters.h.

Collaboration diagram for smash::ExperimentParameters:
[legend]

Public Attributes

std::unique_ptr< Clocklabclock
 System clock (for simulation time keeping in the computational frame) More...
 
std::unique_ptr< Clockoutputclock
 Output clock to keep track of the next output time. More...
 
int n_ensembles
 Number of parallel ensembles. More...
 
int testparticles
 Number of test-particles. More...
 
DerivativesMode derivatives_mode
 mode of calculating gradients for density calculation More...
 
RestFrameDensityDerivativesMode rho_derivatives_mode
 mode of calculating rest frame density gradients (on or off) More...
 
FieldDerivativesMode field_derivatives_mode
 mode of calculating field derivatives More...
 
const SmearingMode smearing_mode
 mode of smearing for density calculation More...
 
double gaussian_sigma
 Width of gaussian Wigner density of particles. More...
 
double gauss_cutoff_in_sigma
 Distance at which gaussian is cut, i.e. set to zero, IN SIGMA (not fm) More...
 
double discrete_weight
 Weight applied to the center cell in the discrete smearing. More...
 
double triangular_range
 Range of lattice nodes, in units of lattice spacing, that the triangular smearing uses. More...
 
const CollisionCriterion coll_crit
 Employed collision criterion. More...
 
bool two_to_one
 This indicates whether string fragmentation is switched on. More...
 
const ReactionsBitSet included_2to2
 This indicates which two to two reactions are switched off. More...
 
const CharmRescattering charm_rescattering
 Method to use for charm rescattering. More...
 
const MultiParticleReactionsBitSet included_multi
 This indicates which multi-particle reactions are switched on. More...
 
bool strings_switch
 This indicates whether string fragmentation is switched on. More...
 
double res_lifetime_factor
 Multiplicative factor to be applied to resonance lifetimes; in the case of thermal multiplicities this should also be applied to initial multiplicities of resonances, so that one does not artificially introduce a non-zero pion chemical potential. More...
 
NNbarTreatment nnbar_treatment
 This indicates how NN̅ annihilation should be treated; options are to neglect it, make it conserve detailed balance using NN̅ → h₁(1170)ρ (which goes to 5 pions on average) or use strings. More...
 
double low_snn_cut
 Elastic collisions between the nucleons with the square root s below low_snn_cut are excluded. More...
 
bool potential_affect_threshold
 This indicates whether the mean field potentials affect the scattering or decaying processes by shifting the threshold energies. More...
 
double box_length
 Length of the box in fm in case of box modus, otherwise -1. More...
 
double maximum_cross_section
 The maximal cross section (in mb) for which it is guaranteed that all collisions with this cross section will be found. More...
 
double fixed_min_cell_length
 Fixed minimal grid cell length (in fm). More...
 
double scale_xs
 Global factor which all cross sections are scaled with. More...
 
bool only_participants
 In thermodynamics outputs, it decides whether to use only participants (true) or also spectators (false, default value). More...
 
bool ignore_unformed
 Ignore unformed particles in thermodynamic outputs. More...
 
bool force_decays_at_end
 This indicates whether we force all resonances to decay in the last timestep. More...
 
bool ignore_minimum_width_at_end
 Do non-strong decays at the end. More...
 
bool decay_initial_particles
 Whether to decay initial state particles. More...
 
DileptonBremsPionFormFactor dilepton_brems_pion_form_factor_type
 Setting the specific form factor for dilepton bremsstrahlung (optional). More...
 
SpinInteractionType spin_interaction_type
 Whether to include spin interactions. More...
 

Member Data Documentation

◆ labclock

std::unique_ptr<Clock> smash::ExperimentParameters::labclock

System clock (for simulation time keeping in the computational frame)

Definition at line 28 of file experimentparameters.h.

◆ outputclock

std::unique_ptr<Clock> smash::ExperimentParameters::outputclock

Output clock to keep track of the next output time.

Definition at line 31 of file experimentparameters.h.

◆ n_ensembles

int smash::ExperimentParameters::n_ensembles

Number of parallel ensembles.

Definition at line 34 of file experimentparameters.h.

◆ testparticles

int smash::ExperimentParameters::testparticles

Number of test-particles.

Definition at line 37 of file experimentparameters.h.

◆ derivatives_mode

DerivativesMode smash::ExperimentParameters::derivatives_mode

mode of calculating gradients for density calculation

Definition at line 40 of file experimentparameters.h.

◆ rho_derivatives_mode

RestFrameDensityDerivativesMode smash::ExperimentParameters::rho_derivatives_mode

mode of calculating rest frame density gradients (on or off)

Definition at line 42 of file experimentparameters.h.

◆ field_derivatives_mode

FieldDerivativesMode smash::ExperimentParameters::field_derivatives_mode

mode of calculating field derivatives

Definition at line 44 of file experimentparameters.h.

◆ smearing_mode

const SmearingMode smash::ExperimentParameters::smearing_mode

mode of smearing for density calculation

Definition at line 47 of file experimentparameters.h.

◆ gaussian_sigma

double smash::ExperimentParameters::gaussian_sigma

Width of gaussian Wigner density of particles.

Definition at line 50 of file experimentparameters.h.

◆ gauss_cutoff_in_sigma

double smash::ExperimentParameters::gauss_cutoff_in_sigma

Distance at which gaussian is cut, i.e. set to zero, IN SIGMA (not fm)

Definition at line 53 of file experimentparameters.h.

◆ discrete_weight

double smash::ExperimentParameters::discrete_weight

Weight applied to the center cell in the discrete smearing.

Definition at line 56 of file experimentparameters.h.

◆ triangular_range

double smash::ExperimentParameters::triangular_range

Range of lattice nodes, in units of lattice spacing, that the triangular smearing uses.

Definition at line 60 of file experimentparameters.h.

◆ coll_crit

const CollisionCriterion smash::ExperimentParameters::coll_crit

Employed collision criterion.

Definition at line 63 of file experimentparameters.h.

◆ two_to_one

bool smash::ExperimentParameters::two_to_one

This indicates whether string fragmentation is switched on.

Definition at line 66 of file experimentparameters.h.

◆ included_2to2

const ReactionsBitSet smash::ExperimentParameters::included_2to2

This indicates which two to two reactions are switched off.

Definition at line 69 of file experimentparameters.h.

◆ charm_rescattering

const CharmRescattering smash::ExperimentParameters::charm_rescattering

Method to use for charm rescattering.

Definition at line 72 of file experimentparameters.h.

◆ included_multi

const MultiParticleReactionsBitSet smash::ExperimentParameters::included_multi

This indicates which multi-particle reactions are switched on.

Definition at line 75 of file experimentparameters.h.

◆ strings_switch

bool smash::ExperimentParameters::strings_switch

This indicates whether string fragmentation is switched on.

Definition at line 78 of file experimentparameters.h.

◆ res_lifetime_factor

double smash::ExperimentParameters::res_lifetime_factor

Multiplicative factor to be applied to resonance lifetimes; in the case of thermal multiplicities this should also be applied to initial multiplicities of resonances, so that one does not artificially introduce a non-zero pion chemical potential.

Definition at line 86 of file experimentparameters.h.

◆ nnbar_treatment

NNbarTreatment smash::ExperimentParameters::nnbar_treatment

This indicates how NN̅ annihilation should be treated; options are to neglect it, make it conserve detailed balance using NN̅ → h₁(1170)ρ (which goes to 5 pions on average) or use strings.

Definition at line 93 of file experimentparameters.h.

◆ low_snn_cut

double smash::ExperimentParameters::low_snn_cut

Elastic collisions between the nucleons with the square root s below low_snn_cut are excluded.

Definition at line 99 of file experimentparameters.h.

◆ potential_affect_threshold

bool smash::ExperimentParameters::potential_affect_threshold

This indicates whether the mean field potentials affect the scattering or decaying processes by shifting the threshold energies.

Definition at line 105 of file experimentparameters.h.

◆ box_length

double smash::ExperimentParameters::box_length

Length of the box in fm in case of box modus, otherwise -1.

Definition at line 110 of file experimentparameters.h.

◆ maximum_cross_section

double smash::ExperimentParameters::maximum_cross_section

The maximal cross section (in mb) for which it is guaranteed that all collisions with this cross section will be found.

This means that all particle pairs, where the transverse distance is smaller or equal to \( \sqrt{\sigma_{max}/\pi} \), will be checked for collions.

The maximal cross section is also scaled with the cross section scaling factor.

Definition at line 123 of file experimentparameters.h.

◆ fixed_min_cell_length

double smash::ExperimentParameters::fixed_min_cell_length

Fixed minimal grid cell length (in fm).

Only used and useful in case of the stochastic criterion, where the grid cell size is calculation parameter. Only particles within the cells are checked for collisions. The cell length is not scaled by the number of test-particles.

Default of 2.5 fm produces (without test-particles) equivalent-sized grid as the maximum cross section default of 200 fm.

In case of the geometric criteria, the cell size is determined by the maximum cross section.

Definition at line 137 of file experimentparameters.h.

◆ scale_xs

double smash::ExperimentParameters::scale_xs

Global factor which all cross sections are scaled with.

Using it will break agreement with experimental data for cross sections that are constrained with data.

Definition at line 145 of file experimentparameters.h.

◆ only_participants

bool smash::ExperimentParameters::only_participants

In thermodynamics outputs, it decides whether to use only participants (true) or also spectators (false, default value).

Definition at line 150 of file experimentparameters.h.

◆ ignore_unformed

bool smash::ExperimentParameters::ignore_unformed

Ignore unformed particles in thermodynamic outputs.

Definition at line 155 of file experimentparameters.h.

◆ force_decays_at_end

bool smash::ExperimentParameters::force_decays_at_end

This indicates whether we force all resonances to decay in the last timestep.

Definition at line 161 of file experimentparameters.h.

◆ ignore_minimum_width_at_end

bool smash::ExperimentParameters::ignore_minimum_width_at_end

Do non-strong decays at the end.

Definition at line 164 of file experimentparameters.h.

◆ decay_initial_particles

bool smash::ExperimentParameters::decay_initial_particles

Whether to decay initial state particles.

Definition at line 169 of file experimentparameters.h.

◆ dilepton_brems_pion_form_factor_type

DileptonBremsPionFormFactor smash::ExperimentParameters::dilepton_brems_pion_form_factor_type

Setting the specific form factor for dilepton bremsstrahlung (optional).

Definition at line 174 of file experimentparameters.h.

◆ spin_interaction_type

SpinInteractionType smash::ExperimentParameters::spin_interaction_type

Whether to include spin interactions.

Definition at line 179 of file experimentparameters.h.


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