 |
Version: SMASH-2.0
|
|
Go to the documentation of this file.
7 #ifndef SRC_INCLUDE_SMASH_COLLIDERMODUS_H_
8 #define SRC_INCLUDE_SMASH_COLLIDERMODUS_H_
25 struct ExperimentParameters;
74 const std::string &file_name);
96 const double passing_distance =
98 const double passing_time =
133 using ModusDefault::BadInput::BadInput;
177 const std::string &nucleus_type);
264 std::pair<double, double>
get_velocities(
double mandelstam_s,
double m_a,
278 #endif // SRC_INCLUDE_SMASH_COLLIDERMODUS_H_
std::unique_ptr< InterpolateDataLinear< double > > impact_interpolation_
Pointer to the impact parameter interpolation.
double initial_z_displacement_
Initial z-displacement of nuclei.
double imp_min_
Minimum value of impact parameter.
std::string custom_file_path(const std::string &file_directory, const std::string &file_name)
Creates full path string consisting of file_directory and file_name Needed to initialize a customnucl...
FermiMotion fermi_motion()
Sample from areal / quadratic distribution.
bool cll_in_nucleus_
An option to accept first collisions within the same nucleus.
FermiMotion fermi_motion_
An option to include Fermi motion ("off", "on", "frozen")
int total_N_number() const
bool random_reaction_plane_
Whether the reaction plane should be randomized.
Sampling sampling_
Method used for sampling of impact parameter.
double sqrt_s_NN_
Center-of-mass energy of a nucleon-nucleon collision.
std::unique_ptr< Nucleus > target_
Target.
double nuclei_passing_time() const
Time until nuclei have passed through each other.
bool same_inputfile(Configuration &proj_config, Configuration &targ_config)
Checks if target and projectile are read from the same external file if they are both initialized as ...
void sample_impact()
Sample impact parameter.
constexpr double nucleon_mass
Nucleon mass in GeV.
double initial_conditions(Particles *particles, const ExperimentParameters ¶meters)
Generates initial state of the particles in the system.
double velocity_target() const
double velocity_projectile_
Beam velocity of the projectile.
Interface to the SMASH configuration files.
double imp_max_
Maximum value of impact parameter.
double impact_parameter() const
double total_s_
Center-of-mass energy squared of the nucleus-nucleus collision.
Sampling
Possible methods of impact parameter sampling.
CalculationFrame frame_
Reference frame for the system, as specified from config.
int proj_N_number() const
double yield_max_
Maximum value of yield. Needed for custom impact parameter sampling.
friend std::ostream & operator<<(std::ostream &, const ColliderModus &)
CalculationFrame
The calculation frame.
double impact_
Impact parameter.
std::unique_ptr< Nucleus > projectile_
Projectile.
double velocity_target_
Beam velocity of the target.
Helper structure for Experiment.
static std::unique_ptr< DeformedNucleus > create_deformed_nucleus(Configuration &nucleus_cfg, const int ntest, const std::string &nucleus_type)
Configure Deformed Nucleus.
void rotate_reaction_plane(double phi, Particles *particles)
Rotate the reaction plane about the angle phi.
std::pair< double, double > get_velocities(double mandelstam_s, double m_a, double m_b)
Get the frame dependent velocity for each nucleus, using the current reference frame.
ColliderModus(Configuration modus_config, const ExperimentParameters ¶meters)
Constructor.
FermiMotion
Option to use Fermi Motion.
double velocity_projectile() const