PYTHIA - CDF Specific Information
Stan Thompson
Glasgow UniversityChris Green
Purdue University
The current version is 6_216, this is based on 6_214 with an important bug fix implemented at Fermilab. However, version 6_226 is now the default in development and will be used for releases after 6.1.4. Version 6_203 is also available, copies of the decay tables are provided in package pythia_i/doc and can be viewed from the Code Browser.
Version 6_406 is now available but has not been implemented in the development source release. It provides a new treatment for the multiple interactions which is more complete than earlier versions. However, it was felt that it could interfere with current studies, but people are encouraged to try it and a prescription to use it is provided below. Note versions of Pythia 6.3 are available but are not now recommended.
Earlier Pythia versions, 6_1xx, can only be used with releases before 4.4.0. Different decay tables and common block structures are used and they are not now recommended.
There have been a lot of changes since the versions of Pythia used in Run 1 and parameter definitions have changed. As a result tunings obtained for Run 1 are not necessarily correct. A lot of work is being carried out by the QCD group tuning the fragmentation parameters, in particular look at Rick Field's talks for details on current tunings.
A new miniguide is now available including a tutorial for new users.
Pythia itself is controlled by sets of switches and parameters defined in Commons, default values are loaded at program initialisation and are reset as necessary before the generation procedure is initialised. In the CDF implementation these values are set using a talk-to menu with a special command structure (CG) allowing direct access to the relevant array element in common.
The main switches in the talk-to environment are detailed below:
mod talk Pythia
Other parameters are set in the sub-menu
commonMenu, those stored in a
one dimensional array are set giving the index in the array and the value,
thus We are building up a set of examples in $CDFSOFT2_DIR/pythia_i/test
to indicate what sort of hard processes can be simulated and including a set
of tuned fragmentation parameters. The first (Pythia_top.tcl) is a full tcl
file for a sample job including the using of RandomGenManager to change seeds,
the others are tcl fragments for Pythia only.
Just now there is
More information is needed for those parameters accessed via 2 dimensional
arrays, thus to change a decay table entry or mass the following is used
Details of these commands can be found by typing
help from the sub-menu.
However, these can only give a limited indication of what is available, for a fuller understanding we recommend reading the
manual. The Pythia commons are accessed through a corresponding class. Each class provides a set of methods giving read and write (PYSSMT is read-only) access to the arrays in the common. All accesses are FORTRAN style and are range checked , the length (and depth) of an array can be accessed by a method, for example int lenPmas() (depthPmas() ).MSEL=0 ! select process via MSUB MSUB(381)=1 ! new equivalent to process 11 MSUB(382)=1 ! any comment MSUB(383)=1 MSUB(384)=1 MSUB(385)=1 MSUB(386)=1 ITCM(5)=1 ! previously set with MSTP
setup pythia v6_406 -q GCC3_4_3 -f Linux+2.4-2.3.2Create a test release, check out the package generatorMods and build the binary cdfGen as normal. If pythia is not setup the standard version of Lund using Pythia 6.226 will be used.
Program versions
Further reading
Last updated: May 29 2003