Version: SMASH-3.4
smash::SphereModus Class Reference

#include <spheremodus.h>

SphereModus: Provides a modus for expanding matter calculations.

Matter is put in a sphere of radius R with uniform density; isotropic thermal momenta are typically used for initialization, although other initial momentum states are also included, see Bazow:2016oky [10] and Tindall:2016try [68]

To use this modus, choose

General:
Modus: Sphere

in the configuration file.

Options for SphereModus go in the "Modi"→"Sphere" section of the configuration:

Modi:
Sphere:
# definitions here

The following configuration options are understood: Sphere

Definition at line 49 of file spheremodus.h.

Inheritance diagram for smash::SphereModus:
[legend]
Collaboration diagram for smash::SphereModus:
[legend]

Public Member Functions

 SphereModus (Configuration modus_config, const ExperimentParameters &parameters)
 Constructor. More...
 
double initial_conditions (Particles *particles, const ExperimentParameters &parameters)
 Generates initial state of the particles in the system according to specified parameters: number of particles of each species, momentum and coordinate space distributions. More...
 
bool is_sphere () const
 
double radius () const
 
- Public Member Functions inherited from smash::ModusDefault
int impose_boundary_conditions (Particles *, const OutputsList &={})
 Enforces sensible positions for the particles. More...
 
bool is_collider () const
 
bool is_box () const
 
bool is_list () const
 
bool is_sphere () const
 
double sqrt_s_NN () const
 
double impact_parameter () const
 
void sample_impact () const
 sample impact parameter for collider modus More...
 
double velocity_projectile () const
 
double velocity_target () const
 
FermiMotion fermi_motion () const
 
double max_timestep (double) const
 
double equilibration_time () const
 
double length () const
 
double radius () const
 
bool calculation_frame_is_fixed_target () const
 
double nuclei_passing_time () const
 Get the passing time of the two nuclei in a collision. More...
 
bool is_IC_for_hybrid () const
 
const InitialConditionParametersIC_parameters () const
 
const std::map< int32_t, double > & fluid_background ()
 
const RectangularLattice< EnergyMomentumTensor > & fluid_lattice ()
 
void build_fluidization_lattice ([[maybe_unused]] const double t, [[maybe_unused]] const std::vector< Particles > &ensembles, [[maybe_unused]] const DensityParameters &dens_par)
 Build lattice of energy momentum tensor. More...
 
Grid< GridOptions::Normalcreate_grid (const Particles &particles, double min_cell_length, double timestep_duration, CollisionCriterion crit, const bool include_unformed_particles, CellSizeStrategy strategy=CellSizeStrategy::Optimal) const
 Creates the Grid with normal boundary conditions. More...
 
std::unique_ptr< GrandCanThermalizercreate_grandcan_thermalizer (Configuration &conf) const
 Creates GrandCanThermalizer. More...
 

Private Attributes

double radius_
 Sphere radius (in fm) More...
 
double sphere_temperature_
 Temperature for momentum distribution (in GeV) More...
 
const double start_time_ = 0.
 Starting time for the Sphere. More...
 
const bool use_thermal_ = false
 Whether to use a thermal initialization for all particles instead of specific numbers. More...
 
const double mub_
 Baryon chemical potential for thermal initialization; only used if use_thermal_ is true. More...
 
const double mus_
 Strange chemical potential for thermal initialization; only used if use_thermal_ is true. More...
 
const double muq_
 Charge chemical potential for thermal initialization; only used if use_thermal_ is true. More...
 
const double hf_multiplier_
 Multiplicative factor for thermal multiplicity of heavy flavored hadrons; only used if use_thermal_ is true. More...
 
const bool account_for_resonance_widths_
 In case of thermal initialization: More...
 
const std::map< PdgCode, int > init_multipl_
 Particle multiplicities at initialization; required if use_thermal_ is false. More...
 
std::map< PdgCode, double > average_multipl_
 Average multiplicities in case of thermal initialization. More...
 
const SphereInitialCondition init_distr_
 Initialization scheme for momenta in the sphere; used for expanding metric setup. More...
 
const double radial_velocity_
 Parameter \( u_0\) in the initial flow velocity profile of particles in the sphere, which has the form \( u = u_0 (r / R)^n\). More...
 
const double radial_velocity_exponent_
 Parameter \( n\) in the initial flow velocity profile of particles in the sphere, which has the form \( u = u_0 (r / R)^n\). More...
 
const std::optional< PdgCodejet_pdg_
 Optional PDG code of the particle to use as a jet, i.e. More...
 
const double jet_mom_
 Initial momentum of the jet particle; only used if jet_pdg_ is not nullopt. More...
 
const ThreeVector jet_pos_
 Initial position of the jet particle; only used if jet_pdg_ is not nullopt. More...
 
const bool jet_back_
 Create the back to back jet with the corresponding antiparticle; only used if jet_pdg_ is not nullopt. More...
 
const double jet_back_separation_ = smash_NaN<double>
 Initial separation between the back to back jets; can only be set by the user if jet_back_ is true. More...
 
const SpinInteractionType spin_interaction_type_
 Spin interaction type. More...
 

Friends

std::ostream & operator<< (std::ostream &out, const SphereModus &m)
 Writes the initial state for the Sphere to the output stream. More...
 

Constructor & Destructor Documentation

◆ SphereModus()

smash::SphereModus::SphereModus ( Configuration  modus_config,
const ExperimentParameters parameters 
)
explicit

Constructor.

Takes all there is to take from the (truncated!) configuration object (only contains configuration for this modus).

Parameters
[in]modus_configThe configuration object that sets all initial conditions of the experiment.
[in]parametersUnused, but necessary because of templated initialization

Definition at line 37 of file spheremodus.cc.

39  : radius_(modus_config.take(InputKeys::modi_sphere_radius)),
41  modus_config.take(InputKeys::modi_sphere_temperature)),
53  ? std::map<PdgCode, int>()
54  : modus_config.take(
58  modus_config.take(InputKeys::modi_sphere_addRadialVelocity)),
61  /* Note that it is crucial not to take other keys from the Jet section
62  * before Jet_PDG, since we want here the take to throw in case the user
63  * had a Jet section without the mandatory Jet_PDG key. If all other keys
64  * are taken first, the section is removed from the config because empty,
65  * and has_section(InputSections::m_s_jet) method would return false.
66  */
67  jet_pdg_(modus_config.has_section(InputSections::m_s_jet)
68  ? make_optional<PdgCode>(
69  modus_config.take(InputKeys::modi_sphere_jet_jetPdg))
70  : std::nullopt),
75  jet_back_ ? modus_config.take(
77  : 0),
79  modus_config.take(InputKeys::collTerm_spinInteractions)) {
80  if (!jet_back_ &&
81  modus_config.has_value(InputKeys::modi_sphere_jet_backToBackSeparation)) {
82  throw std::invalid_argument(
83  "In order to specify 'Back_To_Back_Separation', 'Back_To_Back' must be "
84  "true.");
85  }
86 }
const bool account_for_resonance_widths_
In case of thermal initialization:
Definition: spheremodus.h:121
const bool use_thermal_
Whether to use a thermal initialization for all particles instead of specific numbers.
Definition: spheremodus.h:94
const double muq_
Charge chemical potential for thermal initialization; only used if use_thermal_ is true.
Definition: spheremodus.h:109
const ThreeVector jet_pos_
Initial position of the jet particle; only used if jet_pdg_ is not nullopt.
Definition: spheremodus.h:162
double sphere_temperature_
Temperature for momentum distribution (in GeV)
Definition: spheremodus.h:87
const double start_time_
Starting time for the Sphere.
Definition: spheremodus.h:89
const double radial_velocity_exponent_
Parameter in the initial flow velocity profile of particles in the sphere, which has the form .
Definition: spheremodus.h:146
const SphereInitialCondition init_distr_
Initialization scheme for momenta in the sphere; used for expanding metric setup.
Definition: spheremodus.h:136
const std::optional< PdgCode > jet_pdg_
Optional PDG code of the particle to use as a jet, i.e.
Definition: spheremodus.h:154
const bool jet_back_
Create the back to back jet with the corresponding antiparticle; only used if jet_pdg_ is not nullopt...
Definition: spheremodus.h:167
const SpinInteractionType spin_interaction_type_
Spin interaction type.
Definition: spheremodus.h:174
const double hf_multiplier_
Multiplicative factor for thermal multiplicity of heavy flavored hadrons; only used if use_thermal_ i...
Definition: spheremodus.h:114
const double mub_
Baryon chemical potential for thermal initialization; only used if use_thermal_ is true.
Definition: spheremodus.h:99
const double jet_mom_
Initial momentum of the jet particle; only used if jet_pdg_ is not nullopt.
Definition: spheremodus.h:158
const std::map< PdgCode, int > init_multipl_
Particle multiplicities at initialization; required if use_thermal_ is false.
Definition: spheremodus.h:126
const double jet_back_separation_
Initial separation between the back to back jets; can only be set by the user if jet_back_ is true.
Definition: spheremodus.h:172
const double mus_
Strange chemical potential for thermal initialization; only used if use_thermal_ is true.
Definition: spheremodus.h:104
const double radial_velocity_
Parameter in the initial flow velocity profile of particles in the sphere, which has the form .
Definition: spheremodus.h:141
double radius_
Sphere radius (in fm)
Definition: spheremodus.h:85
constexpr Section m_s_jet
Subsection for the jet in sphere modus.
Definition: input_keys.h:202
static const Key< double > modi_sphere_addRadialVelocity
See user guide description for more information.
Definition: input_keys.h:5320
static const Key< double > modi_sphere_addRadialVelocityExponent
See user guide description for more information.
Definition: input_keys.h:5339
static const Key< std::map< PdgCode, int > > modi_sphere_initialMultiplicities
See user guide description for more information.
Definition: input_keys.h:5224
static const Key< double > modi_sphere_chargeChemicalPotential
See user guide description for more information.
Definition: input_keys.h:5377
static const Key< double > modi_sphere_temperature
See user guide description for more information.
Definition: input_keys.h:5271
static const Key< std::array< double, 3 > > modi_sphere_jet_jetPosition
See user guide description for more information.
Definition: input_keys.h:5532
static const Key< PdgCode > modi_sphere_jet_jetPdg
See user guide description for more information.
Definition: input_keys.h:5500
static const Key< double > modi_sphere_jet_jetMomentum
See user guide description for more information.
Definition: input_keys.h:5515
static const Key< bool > modi_sphere_accountResonanceWidths
See user guide description for more information.
Definition: input_keys.h:5296
static const Key< double > modi_sphere_startTime
See user guide description for more information.
Definition: input_keys.h:5257
static const Key< double > modi_sphere_heavyFlavorMultiplier
See user guide description for more information.
Definition: input_keys.h:5449
static const Key< SphereInitialCondition > modi_sphere_initialCondition
See user guide description for more information.
Definition: input_keys.h:5404
static const Key< double > modi_sphere_radius
See user guide description for more information.
Definition: input_keys.h:5243
static const Key< bool > modi_sphere_jet_backToBack
See user guide description for more information.
Definition: input_keys.h:5549
static const Key< double > modi_sphere_baryonChemicalPotential
See user guide description for more information.
Definition: input_keys.h:5358
static const Key< SpinInteractionType > collTerm_spinInteractions
See user guide description for more information.
Definition: input_keys.h:3017
static const Key< double > modi_sphere_jet_backToBackSeparation
See user guide description for more information.
Definition: input_keys.h:5568
static const Key< bool > modi_sphere_useThermalMultiplicities
See user guide description for more information.
Definition: input_keys.h:5474
static const Key< double > modi_sphere_strangeChemicalPotential
See user guide description for more information.
Definition: input_keys.h:5422
Here is the call graph for this function:

Member Function Documentation

◆ initial_conditions()

double smash::SphereModus::initial_conditions ( Particles particles,
const ExperimentParameters parameters 
)

Generates initial state of the particles in the system according to specified parameters: number of particles of each species, momentum and coordinate space distributions.

Susbsequently makes the total 3-momentum 0.

Parameters
[out]particlesAn empty list that gets filled up by this function
[in]parametersThe initialization parameters of the box
Returns
The starting time of the simulation

Definition at line 143 of file spheremodus.cc.

144  {
145  FourVector momentum_total(0, 0, 0, 0);
146  const double T = this->sphere_temperature_;
147  const double V = 4.0 / 3.0 * M_PI * radius_ * radius_ * radius_;
148  /* Create NUMBER OF PARTICLES according to configuration */
149  if (use_thermal_) {
150  if (average_multipl_.empty()) {
151  for (const ParticleType &ptype : ParticleType::list_all()) {
152  const bool is_eos_particle = HadronGasEos::is_eos_particle(ptype);
153  const bool use_heavy_flavor = ptype.pdgcode().is_heavy_flavor() &&
155  if (is_eos_particle || use_heavy_flavor) {
156  const double n = HadronGasEos::partial_density(
158  average_multipl_[ptype.pdgcode()] = n * V * parameters.testparticles;
159  if (ptype.pdgcode().is_heavy_flavor()) {
160  average_multipl_[ptype.pdgcode()] *= hf_multiplier_;
161  }
162  }
163  }
164  }
165  double nb_init = 0.0, ns_init = 0.0, nq_init = 0.0;
166  for (const auto &mult : average_multipl_) {
167  const int thermal_mult_int = random::poisson(mult.second);
168  particles->create(thermal_mult_int, mult.first);
169  nb_init += mult.second * mult.first.baryon_number();
170  ns_init += mult.second * mult.first.strangeness();
171  nq_init += mult.second * mult.first.charge();
172  logg[LSphere].debug(mult.first, " initial multiplicity ",
173  thermal_mult_int);
174  }
175  logg[LSphere].info("Initial hadron gas baryon density ", nb_init);
176  logg[LSphere].info("Initial hadron gas strange density ", ns_init);
177  logg[LSphere].info("Initial hadron gas charge density ", nq_init);
179  logg[LSphere].info("Adding heavy flavor particles with multiplier ",
181  }
182  } else {
183  for (const auto &p : init_multipl_) {
184  particles->create(p.second * parameters.testparticles, p.first);
185  logg[LSphere].debug("Particle ", p.first, " initial multiplicity ",
186  p.second);
187  }
188  }
189  std::unique_ptr<QuantumSampling> quantum_sampling;
191  quantum_sampling = std::make_unique<QuantumSampling>(init_multipl_, V, T);
192  }
193  /* loop over particle data to fill in momentum and position information */
194  for (ParticleData &data : *particles) {
195  Angles phitheta;
196  /* thermal momentum according Maxwell-Boltzmann distribution */
197  double momentum_radial = 0.0, mass = data.pole_mass();
198  /* assign momentum_radial according to requested distribution */
199  switch (init_distr_) {
201  momentum_radial = sample_momenta_IC_ES(T);
202  break;
204  momentum_radial = sample_momenta_1M_IC(T, mass);
205  break;
207  momentum_radial = sample_momenta_2M_IC(T, mass);
208  break;
210  momentum_radial = sample_momenta_non_eq_mass(T, mass);
211  break;
213  default:
215  ? data.type().mass()
216  : HadronGasEos::sample_mass_thermal(data.type(), 1.0 / T);
217  momentum_radial = sample_momenta_from_thermal(T, mass);
218  break;
220  /*
221  * **********************************************************************
222  * Sampling the thermal momentum according Bose/Fermi/Boltzmann
223  * distribution.
224  * We take the pole mass as the mass.
225  * **********************************************************************
226  */
227  mass = data.type().mass();
228  momentum_radial = quantum_sampling->sample(data.pdgcode());
229  break;
230  }
231  phitheta.distribute_isotropically();
232  logg[LSphere].debug(data.type().name(), "(id ", data.id(),
233  ") radial momentum ", momentum_radial, ", direction",
234  phitheta);
235  data.set_4momentum(mass, phitheta.threevec() * momentum_radial);
236  momentum_total += data.momentum();
237  /* uniform sampling in a sphere with radius r */
238  double position_radial;
239  position_radial = std::cbrt(random::canonical()) * radius_;
240  Angles pos_phitheta;
241  pos_phitheta.distribute_isotropically();
242  data.set_4position(
243  FourVector(start_time_, pos_phitheta.threevec() * position_radial));
244  data.set_formation_time(start_time_);
245  if (data.type().pdgcode().is_heavy_flavor()) {
246  data.set_perturbative_weight(1.0 / hf_multiplier_);
247  }
248  }
249 
250  /* Boost in radial direction with an underlying velocity field of the form
251  * u_r = u_0 * (r / R)^n
252  */
253  if (radial_velocity_ > 0.0) {
254  for (ParticleData &data : *particles) {
255  double particle_radius = std::sqrt(data.position().sqr3());
256  auto e_r = data.position().threevec() / particle_radius;
257  auto radial_velocity =
258  -1.0 * radial_velocity_ * e_r *
259  std::pow(particle_radius / radius_, radial_velocity_exponent_);
260  data.set_4momentum(data.momentum().lorentz_boost(radial_velocity));
261  momentum_total += data.momentum();
262  }
263  }
264 
265  /* Make total 3-momentum in sphere 0 and set unpolarized spin vector if spin
266  * interactions are enabled */
267  for (ParticleData &data : *particles) {
268  data.set_4momentum(data.momentum().abs(),
269  data.momentum().threevec() -
270  momentum_total.threevec() / particles->size());
272  data.set_unpolarized_spin_vector();
273  }
274  }
275 
276  /* Add a single highly energetic particle in the center of the sphere (jet) */
277  if (jet_pdg_) {
278  auto &pdg = jet_pdg_.value();
279  auto &jet_particle = particles->create(pdg);
280  auto displacement = ThreeVector(jet_back_separation_ / 2., 0., 0.);
281  jet_particle.set_formation_time(start_time_);
282  jet_particle.set_4position(
283  FourVector(start_time_, jet_pos_ + displacement));
284  jet_particle.set_4momentum(ParticleType::find(pdg).mass(),
285  ThreeVector(jet_mom_, 0., 0.));
286  if (jet_back_) {
287  auto &anti_pdg = pdg.has_antiparticle() ? pdg.get_antiparticle() : pdg;
288  auto &jet_antiparticle = particles->create(anti_pdg);
289  jet_antiparticle.set_formation_time(start_time_);
290  jet_antiparticle.set_4position(
291  FourVector(start_time_, jet_pos_ - displacement));
292  jet_antiparticle.set_4momentum(ParticleType::find(anti_pdg).mass(),
293  ThreeVector(-jet_mom_, 0., 0.));
294  }
296  jet_particle.set_unpolarized_spin_vector();
297  }
298  }
299 
300  /* Recalculate total momentum */
301  momentum_total = FourVector(0, 0, 0, 0);
302  for (ParticleData &data : *particles) {
303  momentum_total += data.momentum();
304  /* IC: debug checks */
305  logg[LSphere].debug() << data;
306  }
307  /* allows to check energy conservation */
308  logg[LSphere].debug() << "Sphere initial total 4-momentum [GeV]: "
309  << momentum_total;
310  return start_time_;
311 }
static double partial_density(const ParticleType &ptype, double T, double mub, double mus, double muq, bool account_for_resonance_widths=false)
Compute partial density of one hadron sort.
Definition: hadgas_eos.cc:273
static double sample_mass_thermal(const ParticleType &ptype, double beta)
Sample resonance mass in a thermal medium.
Definition: hadgas_eos.cc:388
static bool is_eos_particle(const ParticleType &ptype)
Check if a particle belongs to the EoS.
Definition: hadgas_eos.h:354
static const ParticleType & find(PdgCode pdgcode)
Returns the ParticleType object for the given pdgcode.
Definition: particletype.cc:99
static const ParticleTypeList & list_all()
Definition: particletype.cc:51
std::map< PdgCode, double > average_multipl_
Average multiplicities in case of thermal initialization.
Definition: spheremodus.h:131
@ ThermalMomentaBoltzmann
A thermalized ensemble is generated, with momenta sampled from a Maxwell-Boltzmann distribution.
@ IC_ES
Off-equilibrium distribution used in massless comparisons of SMASH to the extended universe metric.
@ ThermalMomentaQuantum
A thermalized ensemble is generated, with momenta of baryons(mesons) sampled from a Fermi(Bose) distr...
@ IC_Massive
A generalization of IC_ES for the non-zero mass case; note that there is currently no analytical comp...
@ IC_2M
Off-equilibrium distribution used in massless comparisons of SMASH to the extended universe metric.
@ IC_1M
Off-equilibrium distribution used in massless comparisons of SMASH to the extended universe metric.
@ Off
No spin interactions.
std::array< einhard::Logger<>, std::tuple_size< LogArea::AreaTuple >::value > & logg
An array that stores all pre-configured Logger objects.
Definition: logging.h:245
constexpr int p
Proton.
constexpr int n
Neutron.
int poisson(const T &lam)
Returns a Poisson distributed random number.
Definition: random.h:270
T canonical()
Definition: random.h:122
static constexpr int LSphere
Definition: spheremodus.cc:35
double sample_momenta_from_thermal(const double temperature, const double mass)
Samples a momentum from the Maxwell-Boltzmann (thermal) distribution in a faster way,...
double sample_momenta_IC_ES(const double temperature)
Sample momenta according to the momentum distribution in Bazow:2016oky .
double sample_momenta_non_eq_mass(const double temperature, const double mass)
Samples a momentum via rejection method from the non-equilibrium distribution.
double sample_momenta_1M_IC(const double temperature, const double mass)
Samples a momentum from the non-equilibrium distribution 1M_IC from Bazow:2016oky .
double sample_momenta_2M_IC(const double temperature, const double mass)
Samples a momentum from the non-equilibrium distribution 2M_IC from Bazow:2016oky .
constexpr double really_small
Numerical error tolerance.
Definition: constants.h:41
Here is the call graph for this function:

◆ is_sphere()

bool smash::SphereModus::is_sphere ( ) const
inline
Returns
If the modus is sphere modus, which is always true

Definition at line 79 of file spheremodus.h.

79 { return true; }

◆ radius()

double smash::SphereModus::radius ( ) const
inline
Returns
radius

Definition at line 81 of file spheremodus.h.

81 { return radius_; }

Member Data Documentation

◆ radius_

double smash::SphereModus::radius_
private

Sphere radius (in fm)

Definition at line 85 of file spheremodus.h.

◆ sphere_temperature_

double smash::SphereModus::sphere_temperature_
private

Temperature for momentum distribution (in GeV)

Definition at line 87 of file spheremodus.h.

◆ start_time_

const double smash::SphereModus::start_time_ = 0.
private

Starting time for the Sphere.

Definition at line 89 of file spheremodus.h.

◆ use_thermal_

const bool smash::SphereModus::use_thermal_ = false
private

Whether to use a thermal initialization for all particles instead of specific numbers.

Definition at line 94 of file spheremodus.h.

◆ mub_

const double smash::SphereModus::mub_
private

Baryon chemical potential for thermal initialization; only used if use_thermal_ is true.

Definition at line 99 of file spheremodus.h.

◆ mus_

const double smash::SphereModus::mus_
private

Strange chemical potential for thermal initialization; only used if use_thermal_ is true.

Definition at line 104 of file spheremodus.h.

◆ muq_

const double smash::SphereModus::muq_
private

Charge chemical potential for thermal initialization; only used if use_thermal_ is true.

Definition at line 109 of file spheremodus.h.

◆ hf_multiplier_

const double smash::SphereModus::hf_multiplier_
private

Multiplicative factor for thermal multiplicity of heavy flavored hadrons; only used if use_thermal_ is true.

Definition at line 114 of file spheremodus.h.

◆ account_for_resonance_widths_

const bool smash::SphereModus::account_for_resonance_widths_
private

In case of thermal initialization:

  • true – account for resonance spectral functions, while computing multiplicities and sampling masses,
  • false – simply use pole masses.

Definition at line 121 of file spheremodus.h.

◆ init_multipl_

const std::map<PdgCode, int> smash::SphereModus::init_multipl_
private

Particle multiplicities at initialization; required if use_thermal_ is false.

Definition at line 126 of file spheremodus.h.

◆ average_multipl_

std::map<PdgCode, double> smash::SphereModus::average_multipl_
private

Average multiplicities in case of thermal initialization.

Saved to avoid recalculating at every event

Definition at line 131 of file spheremodus.h.

◆ init_distr_

const SphereInitialCondition smash::SphereModus::init_distr_
private

Initialization scheme for momenta in the sphere; used for expanding metric setup.

Definition at line 136 of file spheremodus.h.

◆ radial_velocity_

const double smash::SphereModus::radial_velocity_
private

Parameter \( u_0\) in the initial flow velocity profile of particles in the sphere, which has the form \( u = u_0 (r / R)^n\).

Definition at line 141 of file spheremodus.h.

◆ radial_velocity_exponent_

const double smash::SphereModus::radial_velocity_exponent_
private

Parameter \( n\) in the initial flow velocity profile of particles in the sphere, which has the form \( u = u_0 (r / R)^n\).

Definition at line 146 of file spheremodus.h.

◆ jet_pdg_

const std::optional<PdgCode> smash::SphereModus::jet_pdg_
private

Optional PDG code of the particle to use as a jet, i.e.

a single high energy particle at the center (0,0,0) of the expanding sphere. This particle will be placed at t=0 and will initially be moving along the x axis, in the positive or negative direction depending on the sign of its momentum.

Definition at line 154 of file spheremodus.h.

◆ jet_mom_

const double smash::SphereModus::jet_mom_
private

Initial momentum of the jet particle; only used if jet_pdg_ is not nullopt.

Definition at line 158 of file spheremodus.h.

◆ jet_pos_

const ThreeVector smash::SphereModus::jet_pos_
private

Initial position of the jet particle; only used if jet_pdg_ is not nullopt.

Definition at line 162 of file spheremodus.h.

◆ jet_back_

const bool smash::SphereModus::jet_back_
private

Create the back to back jet with the corresponding antiparticle; only used if jet_pdg_ is not nullopt.

Definition at line 167 of file spheremodus.h.

◆ jet_back_separation_

const double smash::SphereModus::jet_back_separation_ = smash_NaN<double>
private

Initial separation between the back to back jets; can only be set by the user if jet_back_ is true.

Definition at line 172 of file spheremodus.h.

◆ spin_interaction_type_

const SpinInteractionType smash::SphereModus::spin_interaction_type_
private

Spin interaction type.

Definition at line 174 of file spheremodus.h.


The documentation for this class was generated from the following files: