4 # Before running this script, you should run rungen.sh first.
7 G3CONFIG="$ALICE_ROOT/test/vmctest/gun/g3Config.C"
8 G4CONFIG="$ALICE_ROOT/test/vmctest/gun/g4Config.C"
16 if [ "$RUNG3" = "1" ]; then
17 rm -rf *.root *.dat *.log fort* hlt hough raw* recraw/*.root recraw/*.log
18 aliroot -b -q sim.C\($NEVENTS,\""$G3CONFIG"\"\) 2>&1 | tee sim.log
19 aliroot -b -q rec.C 2>&1 | tee rec.log
22 mv *.root *.log GRP $G3OUTDIR
23 cp g3Config.C $G3OUTDIR
26 if [ "$RUNG4" = "1" ]; then
27 rm -rf *.root *.dat *.log fort* hlt hough raw* recraw/*.root recraw/*.log
28 aliroot -b -q sim.C\($NEVENTS,\""$G4CONFIG"\"\) 2>&1 | tee sim.log
29 aliroot -b -q rec.C 2>&1 | tee rec.log
32 mv *.root *.log *.rndm GRP $G4OUTDIR
33 cp g4Config.C $G4OUTDIR