3
# This runs pythia on the unweighted_events.dat
5
# Usage: run_pythia [pydir]
6
# where pydir is the path to the pythia executable
11
if [ ! -e ../Cards/pythia_card.dat ]; then
12
echo "No pythia_card.dat found. Quitting..."
16
echo $$ >> ../myprocid
17
# shower and hadronize event through Pythia
18
echo " " >> ../Cards/pythia_card.dat
19
echo " LHAPATH=$pydir/PDFsets" >> ../Cards/pythia_card.dat
20
export PDG_MASS_TBL=$pydir/mass_width_2004.mc
22
$pydir/pythia && touch pythia.done