]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/ITStestV1.sh
Macros now work with one or more events in a file. Shell scripts are
[u/mrichter/AliRoot.git] / ITS / ITStestV1.sh
1 #!/bin/sh
2 # delete eventual old files from the last run
3 ./DeleteOldFiles
4 # run the hit generation
5 aliroot -q -b "$ALICE_ROOT/macros/grun.C($1)"
6 # digitize TPC
7 aliroot -q -b "$ALICE_ROOT/TPC/AliTPCHits2Digits.C($1)"
8 # prepare TPC tracks for matching with the ITS
9 aliroot -q -b "$ALICE_ROOT/ITS/TPCtracking.C($1)"
10 # digitize ITS
11 aliroot -q -b "$ALICE_ROOT/ITS/AliITSHits2DigitsDefault.C"
12 # create reconstructed points for the ITS
13 aliroot -q -b "$ALICE_ROOT/ITS/ITSDigitsToClusters.C(0,$[$1-1])"
14 # prepare for tracking
15 aliroot -q -b "$ALICE_ROOT/ITS/ITStracks.C(0,$[$1-1])"
16 # do the tracking
17 aliroot -q -b "$ALICE_ROOT/ITS/ITStracking.C(0,$[$1-1])"
18 # do the comparison
19 aliroot -q -b "$ALICE_ROOT/ITS/AliITSComparisonV1.C(0,$[$1-1])"
20 #
21 # after all of the above you can run ITSPlotTracks.C macro under aliroot to
22 # see plots of the efficiency and track parameter resolution