]>
Commit | Line | Data |
---|---|---|
0927c0cd | 1 | #!/bin/sh |
2 | # This script processes the following steps for n events | |
3 | # (use the parameter n): | |
4 | # - the TPC simulation and tracking (Marian Ivanov version), | |
5 | # - the TPC PID, | |
6 | # - the AliTPCtracksPid.root is created with the following information: | |
7 | # fLabel - track number | |
8 | # fPcode - particle code after the TPC PID | |
9 | # fMom - particle momentum (from the AliTPCtracks.root) | |
10 | # fLam - particle lambder angle (from the AliTPCtracks.root) | |
11 | # fPhi - particle phi angle (from the AliTPCtracks.root) | |
12 | # fSignal- TPC signal (mips) | |
13 | # fWpi - the PID weight for the identified pion | |
14 | # fWk - the PID weight for the identified kaon | |
15 | # fWp - the PID weight for the identified proton | |
16 | # and the AliTPCScanPID.C is the example of macros to read the PID | |
17 | # information. | |
18 | # See PIDplot.ps after run of this script. | |
19 | # (Dubna , Aug 2002, Jan 2003) | |
20 | # | |
21 | if [ $# = 0 ]; then nev=1; else nev=$1; fi | |
22 | if [ $nev = 0 ]; then nev=1; fi | |
23 | # delete eventual old files from the last run | |
24 | echo "Start simulation for " $nev " event(s)" | |
25 | rm -f *.root PIDplot.ps | |
26 | # | |
27 | # run the hit generation | |
28 | aliroot -q -b "$ALICE_ROOT/macros/grun.C($nev)" | |
29 | # | |
30 | # TPC simulation | |
31 | aliroot -q -b "$ALICE_ROOT/TPC/AliTPCHits2Digits.C($nev)" | |
32 | ||
33 | # TPC tracking (MI version) | |
34 | aliroot -q -b "$ALICE_ROOT/TPC/AliTPCFindClustersMI.C($nev)" | |
35 | aliroot -q -b "$ALICE_ROOT/TPC/AliTPCFindTracksMI.C($nev)" | |
36 | # | |
37 | # PID in TPC | |
38 | aliroot -q -b "AliTPCSavePID.C($nev)" | |
39 | aliroot -q -b "AliTPCScanPID.C($nev)" | |
40 | # | |
41 | ||
42 |