3
# This runs pgs on the pythia_events.hep
5
# Usage: run_pgs [pgsdir [para/serial [run_name]]]
6
# where pgsdir is the path to the pgs executable
12
if [ ! -e ../Cards/pgs_card.dat ]; then
13
echo "No pgs_card.dat found. Quitting..."
17
echo $$ >> ../myprocid
19
export PDG_MASS_TBL=$pgsdir/mass_width_2004.mc
21
$pgsdir/pgs --stdhep pythia_events.hep --nev 100000 --L0 --detector ../Cards/pgs_card.dat pgs_uncleaned_events.lhco \
22
&& $pgsdir/clean_output -muon pgs_uncleaned_events.lhco pgs_events.lhco && \
25
# Remove tauola output file
26
rm -f fort.45 > /dev/null