]>
Commit | Line | Data |
---|---|---|
950807f7 | 1 | #!/bin/csh |
2 | if ($#argv < 1) then | |
3 | echo "usage simrun.sh RunNumber" | |
4 | exit() | |
69c4e539 | 5 | endif |
65aa1f4d | 6 | echo $WORK $VERSION |
e399288d | 7 | if ( ! -e $WORK ) then |
65aa1f4d | 8 | setenv WORK ./ |
e399288d | 9 | endif |
10 | cd $WORK | |
65aa1f4d | 11 | if ( $VERSION == "" ) then |
12 | setenv VERSION "UNKNOWN" | |
13 | endif | |
14 | if ( ! -e QATest/$VERSION ) then | |
15 | mkdir QATest/$VERSION | |
e399288d | 16 | endif |
17 | cd QATest | |
18 | rm -Rf DB* *.root *.C *.log data/* | |
a6fbea2b | 19 | ln -si $ALICE_ROOT/test/QA/Config.C Config.C |
69c4e539 | 20 | ln -si $ALICE_ROOT/test/QA/sim.C sim.C |
21 | ln -si $ALICE_ROOT/test/QA/simqa.C simqa.C | |
22 | ln -si $ALICE_ROOT/test/QA/rec.C rec.C | |
23 | ln -si $ALICE_ROOT/test/QA/recqa.C recqa.C | |
ab6f1faf | 24 | ln -si $ALICE_ROOT/test/QA/DB.tgz DB.tgz |
69c4e539 | 25 | root -b -q $ALICE_ROOT/test/QA/simrun.C --run $1 |
65aa1f4d | 26 | if ( ! -e data ) then |
27 | mkdir data | |
28 | endif | |
29 | cd data | |
ce340a5a | 30 | #ln -s ../geometry.root |
7f84ca30 | 31 | ln -s ../raw.root |
8eb1ea12 | 32 | ln -s ../DB |
7f84ca30 | 33 | ln -si $ALICE_ROOT/test/QA/recraw.C recraw.C |
2985b84d | 34 | aliroot -b -q recraw.C > recraw.log |
d0992318 | 35 | cp $ALICE_ROOT/test/QA/rawqa.C . |
2985b84d | 36 | alienaliroot -b > rawqa.log << EOF |
a6fbea2b | 37 | .x $ALICE_ROOT/test/QA/rootlogon.C |
d0992318 | 38 | .L rawqa.C++ |
72628718 | 39 | rawqa(21950, 10) |
a6fbea2b | 40 | EOF |
d0992318 | 41 | rm -f rawqa.C |
72628718 | 42 | exit |