7 #ifndef SRC_INCLUDE_LISTMODUS_H_     8 #define SRC_INCLUDE_LISTMODUS_H_   133                            double x, 
double y, 
double z, 
double mass, 
double E,
   134                            double px, 
double py, 
double pz);
   140     using std::runtime_error::runtime_error;
   215 #endif  // SRC_INCLUDE_LISTMODUS_H_ std::string particle_list_file_directory_
File directory of the particle list. 
 
double initial_conditions(Particles *particles, const ExperimentParameters ¶meters)
Generates initial state of the particles in the system according to a list. 
 
std::string current_particle_list_file_
File name of current file. 
 
int file_id_
file_id_ is the id of the current file 
 
ListModus()
Construct an empty list. Useful for convenient JetScape connection. 
 
ListModus: Provides a modus for running SMASH on an external particle list, for example as an afterbu...
 
void backpropagate_to_same_time(Particles &particles)
Judge whether formation times are the same for all the particles; Don't do anti-freestreaming if all ...
 
Interface to the SMASH configuration files. 
 
int n_warns_mass_consistency_
Counter for energy-momentum conservation warnings to avoid spamming. 
 
Base class for Modus classes that provides default function implementations. 
 
Used when external particle list cannot be found. 
 
void try_create_particle(Particles &particles, PdgCode pdgcode, double t, double x, double y, double z, double mass, double E, double px, double py, double pz)
Tries to add a new particle to particles and performs consistency checks: (i) The PDG code is legal a...
 
PdgCode stores a Particle Data Group Particle Numbering Scheme particle type number. 
 
double start_time_
Starting time for the List; changed to the earliest formation time. 
 
int n_warns_precision_
Counter for mass-check warnings to avoid spamming. 
 
bool file_has_events_(bf::path filepath, std::streampos last_position)
Check if the file given by filepath has events left after streampos last_position. 
 
int event_id_
event_id_ = the unique id of the current event 
 
std::string particle_list_file_prefix_
File prefix of the particle list. 
 
const int shift_id_
shift_id is the start number of file_id_ 
 
The Particles class abstracts the storage and manipulation of particles. 
 
std::string next_event_()
Read the next event. 
 
Helper structure for Experiment. 
 
friend std::ostream & operator<<(std::ostream &, const ListModus &)
Writes the initial state for the List to the output stream. 
 
std::streampos last_read_position_
last read position in current file 
 
bf::path file_path_(const int file_id)
Return the absolute file path based on given integer.