Content
Install pythia8
Note from v4-20-Release onward pythia8140 is part of the AliRoot distribution.
You only need to set the environment variables
export PYTHIA8=$ALICE_ROOT/PYTHIA8
export PYTHIA8DATA=$PYTHIA8/xmldoc
export LHAPATH=$ALICE_ROOT/LHAPDF/PDFsets
- Download pythia8130.tgz from the pythia web-site
- Unpack:
tar -xvzf pythia8130.tgz - Configure by running inside pythia8130:
./configure --enable-debug --enable-shared - Compile by running inside pythia8130:
./make
Set-up your environment in your shell specifc set-up script
export PYTHIA8DATA=$PYTHIA8/xmldoc
export LHAPATH=$ALICE_ROOT/LHAPDF/PDFsets
export LD_LIBRARY_PATH=$PYTHIA8/lib\:$LD_LIBRARY_PATH
NB: depending on your SHELL replace export by setenv
Install ROOT with pythia8 support
- Install root version > 5.19/02 [This is a version that you need for the trunk of AliRoot]
- Update the directory pythia8 to the trunk
- Configure with the options:
--enable-pythia8 \
--with-pythia8-incdir=$PYTHIA/include \
--with-pythia8-libdir=$PYTHIA/lib - Compile
Recompile $ALICE_ROOT/PYTHIA8 directory
make
Run and have fun
There is an example $ALICE_ROOT/PYTHIA8/pythia8.C. See whether it runs and modify it ad gusto.
Using DPMJet with AliRoot
DPMJET 3.0-5 which contains PHOJET 1.12-35c3 is provided with the trunk of AliRoot. The TGenerator interface implementation TDPMjet and AliGenerator implementation AliGenDPMjet are contained in the directory $ALICE_ROOT/TDPMjet.
In the same directory you find the macro fastGenDPMjet.C that contains an example configuration.
You have to copy the file $ALICE_ROOT/DPMJET/dpmjet.dat into your working directory.