Example Main Programs
In order to illustrate how to run PYTHIA 6.4, a few sample programs are collected below. Most are very simple, to help new users get started. No independent documentation is available beyond what is found in each file.
PYTHIA Stand-Alone Examples
PYTHIA Interfaced to External Programs and Add-ons
read-in of parton-level events in the Les Houches Event File (LHEF) format for further processing by Pythia. Needs the example file ttbar.lhe. For more information on this standard, see hep-ph/0609017.
example how to use input via the SuSy Les Houches Accord (SLHA) to
generate supersymmetric processes, in this case stop1 pair
production events at LHC; the run requires an external file
with a SuSy spectrum calculated by an external RGE code, like
generated by SoftSusy
- SLHA-BSM (QNUMBERS): read-in of new particles, names, quantum numbers, and decay tables.
Needs the fictitious particles defined in main83.spc.
For information on combining this standard with LHEF files, see hep-ph/0712.3311. Any QNUMBERS blocks found in the header of an LHEF file are automatically read in, without any intervention from the user.
implementation of user-defined external processes according to the
Les Houches standard
comparison of cross sections for q g -> q gamma as external or
program for e+e- with routines to turn gluinos into stable
gluino-hadrons, optionally via stop-hadrons
and a modified version
with unstable gluino-hadrons in hadron colliders
and ditto, using
"PDG-endorsed" codes for R-hadrons
and production of stable
stop-hadrons, also using "PDG-endorsed" codes
- example how to use
the interface to FeynHiggs