]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITStestV1.sh
Changes by Massimo Masera to allow Recpoints and Clusters to be written
[u/mrichter/AliRoot.git] / ITS / AliITStestV1.sh
1 #!/bin/sh
2
3 # delete eventual old files from the last run
4 ./AliITSDeleteOldFiles.sh
5
6 # run the hit generation
7 aliroot -q -b "$ALICE_ROOT/macros/grun.C($1)"
8
9 # digitize TPC
10 aliroot -q -b "$ALICE_ROOT/TPC/AliTPCHits2Digits.C($1)"
11
12 # prepare TPC tracks for matching with the ITS
13 aliroot -q -b "$ALICE_ROOT/ITS/AliTPCTracking4ITS.C($1)"
14
15 # create summable digits for the ITS
16 aliroot -q -b "$ALICE_ROOT/ITS/AliITSHits2SDigits.C"
17
18 # go from summable digits to digits
19 aliroot -q -b "$ALICE_ROOT/ITS/AliITSSDigits2Digits.C"
20
21 # create reconstructed points for the ITS
22 aliroot -q -b "$ALICE_ROOT/ITS/AliITSDigits2RecPoints.C(0,$[$1-1])"
23
24 # prepare for tracking
25 aliroot -q -b "$ALICE_ROOT/ITS/AliITSTracksV1.C(0,$[$1-1])"
26
27 # do the tracking
28 aliroot -q -b "$ALICE_ROOT/ITS/AliITSTrackingV1.C(0,$[$1-1])"
29
30 # do the comparison
31 aliroot -q -b "$ALICE_ROOT/ITS/AliITSComparisonV1.C(0,$[$1-1])"
32
33 #
34 # after all of the above you can run AliITSPlotTracksV1.C macro under 
35 # aliroot to see plots of the efficiency and track parameter resolution
36 # or AliITSDisplayTracksV1.C to display found tracks on top of the
37 # ITS detailed geometry