4 echo "Usage: simrun.sh RunNumber";
9 if [ ${WORK}"x" == "x" ]
16 if [ ${VERSION}"x" == "x" ]
18 export VERSION=UNKNOWN;
23 if ! [ -e QATest/$VERSION ]
25 mkdir -p QATest/$VERSION;
29 # Cleanup and (re)link
30 rm -rf *.root *.C *.log data;
31 ln -sf $ALICE_ROOT/test/QA/Config.C Config.C;
32 ln -sf $ALICE_ROOT/test/QA/sim.C sim.C;
33 ln -sf $ALICE_ROOT/test/QA/simqa.C simqa.C;
34 ln -sf $ALICE_ROOT/test/QA/rec.C rec.C;
35 ln -sf $ALICE_ROOT/test/QA/recqa.C recqa.C;
38 root -b -q $ALICE_ROOT/test/QA/simrun.C --run $1;
40 # Directory for RAW data
47 # Cleanup and (re)link
48 rm -rf *.root *.C *.log;
50 ln -sf $ALICE_ROOT/test/QA/recraw.C recraw.C;
51 cp -f $ALICE_ROOT/test/QA/rawqa.C .;
54 aliroot -b -q recraw.C > recraw.log ;
55 if ! [ ${GSHELL_ROOT}"x" == "x" ] # Check that the AliEn API is available
57 aliroot -b > rawqa.log << EOF
58 .x $ALICE_ROOT/test/QA/rootlogon.C