]> git.uio.no Git - u/mrichter/AliRoot.git/blob - test/PbPbbench/runtest.sh
allow to set the number of events throub an env variable
[u/mrichter/AliRoot.git] / test / PbPbbench / runtest.sh
1 #!/bin/sh
2 # Root
3 # export ROOTSYS=/afs/cern.ch/alice/library/root/new
4 # export PATH=$ROOTSYS/bin:$PATH
5 # export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH
6 # AliRoot
7 # export ALICE=/afs/cern.ch/alice/library
8 # export ALICE_LEVEL=new
9 # export ALICE_ROOT=$ALICE/$ALICE_LEVEL
10 # export ALICE_TARGET=`$ROOTSYS/bin/root-config --arch`
11 # export PATH=$ALICE_ROOT/bin/tgt_${ALICE_TARGET}:$PATH
12 # export LD_LIBRARY_PATH=$ALICE_ROOT/lib/tgt_${ALICE_TARGET}:$LD_LIBRARY_PATH
13 # Geant3
14 # export LD_LIBRARY_PATH=$ALICE/geant3/lib/tgt_${ALICE_TARGET}:$LD_LIBRARY_PATH
15
16 rm -rf *.root *.dat *.log fort* hlt hough raw* recraw/*.root recraw/*.log
17 aliroot -b -q $1sim.C      2>&1 | tee sim.log
18 aliroot -b -q $1rec.C      2>&1 | tee rec.log
19 aliroot -b -q ${ALICE_ROOT}/STEER/CheckESD.C 2>&1 | tee check.log
20 aliroot -b -q ${ALICE_ROOT}/STEER/CreateAODfromESD.C 2>&1 | tee aod.log
21
22 cd recraw
23 ln -s ../raw.root
24 aliroot -b -q rec.C      2>&1 | tee rec.log
25 aliroot -b -q ${ALICE_ROOT}/STEER/CreateAODfromESD.C 2>&1 | tee aod.log
26
27
28