]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITStestV1.sh
Check if the provided path is a rootfile or a directory by using the
[u/mrichter/AliRoot.git] / ITS / AliITStestV1.sh
CommitLineData
af8e1c2d 1#!/bin/sh
2
3# delete eventual old files from the last run
4./AliITSDeleteOldFiles.sh
5
6# run the hit generation
7aliroot -q -b "$ALICE_ROOT/macros/grun.C($1)"
8
9# digitize TPC
10aliroot -q -b "$ALICE_ROOT/TPC/AliTPCHits2Digits.C($1)"
11
12# prepare TPC tracks for matching with the ITS
13aliroot -q -b "$ALICE_ROOT/ITS/AliTPCTracking4ITS.C($1)"
14
15# create summable digits for the ITS
16aliroot -q -b "$ALICE_ROOT/ITS/AliITSHits2SDigits.C"
17
18# go from summable digits to digits
19aliroot -q -b "$ALICE_ROOT/ITS/AliITSSDigits2Digits.C"
20
21# create reconstructed points for the ITS
22aliroot -q -b "$ALICE_ROOT/ITS/AliITSDigits2RecPoints.C(0,$[$1-1])"
23
24# prepare for tracking
25aliroot -q -b "$ALICE_ROOT/ITS/AliITSTracksV1.C(0,$[$1-1])"
26
27# do the tracking
28aliroot -q -b "$ALICE_ROOT/ITS/AliITSTrackingV1.C(0,$[$1-1])"
29
30# do the comparison
31aliroot -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