The particles available to SMASH are defined in the input/particles.txt file. The content of this file is internally copied by CMake to the build directory when running the cmake
command for the first time to set up SMASH. If you want to modify the particles file, you are encouraged to copy the provided one to a wished location, which has then to be passed to SMASH via the -p
option. For example, assuming to have a custom_particles.txt file in the build folder, the SMASH executable can be run from there and instructed to use the own particles file via
Particles are specified as a table with particles properties in different columns, which may be separated by an arbitrary number of spaces:
The name has to be a unique UTF-8 string. Conventionally, unicode names are used in SMASH to make the file more readable and generate prettier output. It is possible to only specify the isospin multiplet and SMASH will fill in the properties of the components of the multiplet assuming isospin symmetry. The names generated this way will have the charges appended to the multiplet name using the unicode characters ⁻
, ⁰
and ⁺
. This is appropriate for almost all particles. Anti particles do not have to be specified explicitly.
The pole mass and the on-shell width of the particle or multiplet have to be specified as floating point numbers in GeV.
The parity has to be either +
or -
.
The PDG codes are following the numbering scheme specified by the PDG, which depends on the quantum numbers of the particles. For SMASH, it is important that the quark content in the PDG code is correctly specified. Other than that, deviations from the numbering scheme have no effect in SMASH. If the name represents a multiplet, there has to be a PDG code for all multiplet members, except for anti particles.
For example, to define all three pions (π⁻, π⁰, π⁺), it is sufficient to specify the π multiplet using the following line in particles.txt, where the 4th column contains the PDG number of the neutral and the 5th PDG number of the charged state:
It is also possible to only specify a specific member of the multiplet. In this case, the charge has to be given as a suffix in the name using the UTF-8 unicode characters ⁻
, ⁰
and ⁺
. For example, the properties of the electron can be specified like this:
Comments can be added to the particles file using the #
character. Everything after #
until the end of the line is ignored.