The OSCAR particles format follows the general block structure of the OSCAR format: OSCAR format. We distinguish between two versions, OSCAR2013 and OSCAR1999. Information about OSCAR standard can be found at http://phy.duke.edu/~jeb65/oscar2013.
Enabling the OSCAR output for particles in the config.yaml file (see Output), a so-called particle_lists.oscar
file is produced when executing SMASH. It allows for a certain degree of flexibility, see Content-specific output options for further details.
Unless IC output is enabled, the Particle output always provides the current particle list at a specific time. See Initial conditions for details about the particles IC output.
Oscar1999 is an ASCII (text) human-readable output following the OSCAR 1999 standard. The format specifics are the following:
Header
The header consists of 8 lines starting with '#', of which the last one is basically empty. They contain the following information:
Output block header
Each output block starts with a line indicating the numbers of ingoing and outgoing particles as well the number of the event.
With
nin:
Number of ingoing particles nout:
Number of outgoing particles event_number:
Number of the eventFor initial timesteps, (nin, nout) = (0, Nparticles), while (nin, nout) = (Nparticles, 0) for intermediate and final timesteps. Nparticles is the total number of particles at the specific timestep. It may differ from one timestep to another if the test case allows more interactions than only elastic scatterings. The output block header is followed by Nparticles particle lines.
Particle line
The particle lines are formatted as follows:
Where
id:
Particle identifier in terms of an integer. It is unique for every particle in the event. pdg:
PDG code of the particle (see http://pdg.lbl.gov/). It contains all quantum numbers and uniquely identifies its type. px
, py
, pz
, p0:
3-momentum and energy mass:
Particle's rest-mass x
, y
, z
, t:
Space-time coordinates
Event end line
The end of an event is indicated by the following line:
With
event_number:
Number of the event impact_parameter:
Impact parameter of the collisions. In case of a box or sphere setup, this value is 0.0.Oscar2013 is an ASCII (text) human-readable output following the OSCAR 2013 standard. The format specifics are the following:
Header
The header consists of 3 lines starting with '#'. They contain the following information:
Extended Output: Header
If desired, the OSCAR2013 output can be extended by additional particle properties. This requires enabling the extended output in the configuration file, see the Extended
switch in content-specific output options for further details. The header of the extended OSCAR output is structured identically to the non-extended version, but simply contains more columns because of the additional entries:
Output block header
Just as the OSCAR1999 format, the OSCAR2013 format is based on a block structure. The beginning of a new block is marked by either the start of a new event or a new intermediate output (at the next timestep).
Output block header for a new event:
Where
ev_num:
Event number Nparticles:
Number of particles initialized at the beginning of the eventNote that 'event' and 'in' are no variables, but words that are printed in the header.
Output block header for an intermediate output:
Where
ev_num:
Event number Nparticles:
Number of particles at the end of the timestepNote that 'event' and 'out' are no variables, but words that are printed in the header.
Particle line
The particle lines are formatted as follows:
Apart from the order, the entries are identical to those of the OSCAR1999 output, the only additional one is:
charge:
the electric charge of the particle in units of the elementary charge e.
For the extended version the particle line contains
The additional particle properties available in the extended output format are:
ncoll:
Number of collisions the particle has undergone form_time:
Formation time of the particle xsecfac:
Cross section scaling factor (if the particles are not yet fully formed at the time of interaction, the cross section for the underlying process is scaled down by the cross section scaling factor) proc_id_origin:
ID of the process of the particle's last interaction proc_type_origin:
Type of the last process the particle has undergone. The possible process types are listed in Process types. t_last_coll:
time of the particle's last interaction (except wall crossings) pdg_mother1:
PDG code of the 1st mother particle (0 in case the particle is sampled in a thermal bubble. It is not updated by elastic scatterings.) pdg_mother2:
PDG code of the 2nd mother particle (0 in case the particle results from the decay of a resonance or the appearance of a thermal bubble. In the former case, pdg_mother1
is the PDG code of this resonance. It is not updated by elastic scatterings.) baryon_number:
Baryon number of the particle. 1 for baryons, -1 for anti-baryons and 0 for mesons.The mother particles are also set in case of an elastic scattering process.
Event end line
The end of an event is indicated by the following line:
Where
ev_num:
Event number Nparticles:
Number of particles at the end of the timestep impact_parameter:
Impact parameter of the collision in case of a collider setup, 0.0 otherwise. yes_or_no:
"no" if there was an interaction between the projectile and the target, "yes" otherwise. For non-collider setups, this is always "no".Note that 'event', 'end', 'impact' and 'empty' are no variables, but words that are printed in the header.