Corrected library names and paths to macros
[u/mrichter/AliRoot.git] / test / vmctest / ppbench / runtest.sh
CommitLineData
e6dc94be 1#!/bin/sh
2# $Id$
3
4# Before running this script, you should run rungen.sh first.
5
c05b5bd1 6NEVENTS=3
e6dc94be 7G3CONFIG="$ALICE_ROOT/test/vmctest/ppbench/g3Config.C"
8G4CONFIG="$ALICE_ROOT/test/vmctest/ppbench/g4Config.C"
9G3OUTDIR=g3
10G4OUTDIR=g4
11
12RUNG3=1
13RUNG4=1
14
15if [ "$RUNG3" = "1" ]; then
16 rm -rf *.root *.dat *.log fort* hlt hough raw* recraw/*.root recraw/*.log
17 aliroot -b -q sim.C\($NEVENTS,\""$G3CONFIG"\"\) 2>&1 | tee sim.log
18 mv syswatch.log simwatch.log
19 aliroot -b -q rec.C 2>&1 | tee rec.log
20 mv syswatch.log recwatch.log
257e1b2b 21 aliroot -b -q ${ALICE_ROOT}/STEER/macros/CheckESD.C 2>&1 | tee check.log
22 aliroot -b -q ${ALICE_ROOT}/STEER/macros/CreateAODfromESD.C 2>&1 | tee aod.log
e6dc94be 23 rm -fr $G3OUTDIR
24 mkdir $G3OUTDIR
67001147 25 mv *.root *.log *.ps GRP $G3OUTDIR
e6dc94be 26 cp g3Config.C $G3OUTDIR
27fi
28
29if [ "$RUNG4" = "1" ]; then
30 rm -rf *.root *.dat *.log fort* hlt hough raw* recraw/*.root recraw/*.log
e6dc94be 31 aliroot -b -q sim.C\($NEVENTS,\""$G4CONFIG"\"\) 2>&1 | tee sim.log
32 mv syswatch.log simwatch.log
33 aliroot -b -q rec.C 2>&1 | tee rec.log
34 mv syswatch.log recwatch.log
257e1b2b 35 aliroot -b -q ${ALICE_ROOT}/STEER/macros/CheckESD.C 2>&1 | tee check.log
36 aliroot -b -q ${ALICE_ROOT}/STEER/macros/CreateAODfromESD.C 2>&1 | tee aod.log
e6dc94be 37 rm -fr $G4OUTDIR
38 mkdir $G4OUTDIR
250872b3 39 mv *.root *.log *.rndm *.ps GRP $G4OUTDIR
e6dc94be 40 cp g4Config.C $G4OUTDIR
41fi