Fixing the decoding of the quality for gain calib
[u/mrichter/AliRoot.git] / test / QA / simrun.sh
CommitLineData
950807f7 1#!/bin/csh
2if ($#argv < 1) then
3 echo "usage simrun.sh RunNumber"
4 exit()
69c4e539 5endif
a6fbea2b 6cd $WORK/QATest
7rm -f *.root *.C *.log
8ln -si $ALICE_ROOT/test/QA/Config.C Config.C
69c4e539 9ln -si $ALICE_ROOT/test/QA/sim.C sim.C
10ln -si $ALICE_ROOT/test/QA/simqa.C simqa.C
11ln -si $ALICE_ROOT/test/QA/rec.C rec.C
12ln -si $ALICE_ROOT/test/QA/recqa.C recqa.C
ab6f1faf 13ln -si $ALICE_ROOT/test/QA/DB.tgz DB.tgz
69c4e539 14root -b -q $ALICE_ROOT/test/QA/simrun.C --run $1
a6fbea2b 15cd $WORK/QATest/data
72628718 16rm -f *.root
5b4f79ec 17rm -f DB.tgz
7f84ca30 18ln -s ../geometry.root
19ln -s ../raw.root
20ln -si $ALICE_ROOT/test/QA/recraw.C recraw.C
21aliroot -b -q recraw.C >recraw.log 2>&
d0992318 22cp $ALICE_ROOT/test/QA/rawqa.C .
69c4e539 23alienaliroot -b > rawqa.log 2>&1 << EOF
a6fbea2b 24.x $ALICE_ROOT/test/QA/rootlogon.C
d0992318 25.L rawqa.C++
72628718 26rawqa(21950, 10)
a6fbea2b 27EOF
d0992318 28rm -f rawqa.C
72628718 29exit