Output directory
Per default, the selected output files will be saved in the directory ./data/<run_id>, where <run_id> is an integer number starting from 0. At the beginning of a run SMASH checks, if the ./data/0 directory exists. If it does not exist, it is created and all output files are written there. If the directory already exists, SMASH tries for ./data/1, ./data/2 and so on until it finds a free number.
The user can change output directory by a command line option, if desired:
smash -o <user_output_dir>
Output content
Output in SMASH is distinguished by content and format, where content means the physical information contained in the output (e.g. list of particles, list of interactions, thermodynamics, etc) and format (e.g. Oscar, binary or ROOT). The same content can be printed out in several formats simultaneously.
For an example of choosing specific output contents see Output configuration examples.
The list of possible contents follows:
- Particles List of particles at regular time intervals in the computational frame or (optionally) only at the event end.
- Collisions List of interactions: collisions, decays, box wall crossings and forced thermalizations. Information about incoming, outgoing particles and the interaction itself is printed out.
- Dileptons Special dilepton output, see Dileptons.
- Photons Special photon output, see Photons.
- Thermodynamics This output allows to print out thermodynamic quantities, see input_output_thermodynamics_.
- Initial_Conditions Special initial conditions output, see Initial conditions for details.
- Rivet Run Rivet analysis on generated events and output results, see Rivet output for details.
Output formats
For choosing output formats see Output configuration examples. Every output content can be printed out in several formats:
- "Oscar1999", "Oscar2013" - human-readable text output
- "Binary" - binary, not human-readable output
- Faster to read and write than text outputs
- Saves coordinates and momenta with the full double precision
- General file structure is similar to OSCAR format
- Detailed description: Binary format
- "Root" - binary output in the format used by ROOT software (http://root.cern.ch)
- Even faster to read and write, requires less disk space
- Format description: ROOT format
- "VTK" - text output suitable for an easy visualization using paraview software
- "ASCII" - a human-readable text-format table of values
- "HepMC_asciiv3", "HepMC_treeroot" - HepMC3 human-readble asciiv3 or Tree ROOT format see HepMC Output for details
- "YODA", "YODA-full" - compact ASCII text format used by the Rivet output, see Rivet output for details
- Note
- Output of coordinates for the "Collisions" content in the periodic box has a feature: Collision output in box modus