]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/ITSPidV2.sh
Part of new PID code from Boris Batyunya
[u/mrichter/AliRoot.git] / ITS / ITSPidV2.sh
1 #!/bin/sh
2 # delete eventual old files from the last run
3 ./DeleteOldV2Files
4 # run the hit generation
5 aliroot -q -b "$ALICE_ROOT/macros/grun.C"
6 # digitize TPC and prepare TPC tracks for matching with the ITS
7 aliroot -q -b "$ALICE_ROOT/TPC/AliTPCtest.C"
8 # digitize ITS
9 aliroot -q -b "$ALICE_ROOT/ITS/AliITSHitsToDigitsDefault.C"
10 # create reconstructed points for the ITS
11 aliroot -q -b "$ALICE_ROOT/ITS/ITSDigitsToClusters.C"
12 #prepare slow or fast recpoints for the tracking 
13 aliroot -q -b "$ALICE_ROOT/ITS/"AliITSFindClustersV2.C\(\'$2\'\)
14 # ITS tracking
15 aliroot -q -b "$ALICE_ROOT/ITS/SetConvConst.C"  "$ALICE_ROOT/ITS/AliITSFindTracksV2.C"
16 # do the PID
17 aliroot -q -b "$ALICE_ROOT/ITS/SetConvConst.C" "$ALICE_ROOT/ITS/save_pid.C"
18 aliroot "$ALICE_ROOT/ITS/ITSPIDtest.C"
19 #
20 # After all of the above the PID menu will appear. To check the PID package  
21 # put the buttons:
22 #
23 #1.  "fill tab_tr" and "dEdX-P plot" (or dEdX-P pions, ... kaons, ... elect, 
24 # ... prot) and the dEdX versus momentum taken from the tracking for all
25 # particle (pions, kaons, electrons, protons) will be drown.
26 #
27 #2. "dEdX.C" and the same other ones as for the point 1.  In this case the 
28 # same plots but fot the generated particle momentum will be drown. 
29 #
30 # The output file AliITStrackV2Pid.root will be written with the information
31 # for each track:
32 # the ITS ADC trancated mean signal, the particle reconstructed momentum,
33 # the probable weights for the different particle kinds (electron, pion, kaon,
34 # proton). These weights are under study now.
35
36
37
38
39
40
41
42