]>
Commit | Line | Data |
---|---|---|
0ae27763 | 1 | #!/bin/sh |
2 | # This script processes the following steps for n events | |
3 | # (use the parameter n): | |
4 | # - the TPC and ITS slow simulation (hits+digits+clusters), | |
5 | # - the TPC+ITS tracking, | |
6 | # - the TPC and ITS PID | |
7 | # (Dubnna version) | |
8 | # | |
9 | # delete eventual old files from the last run | |
10 | rm -f *.root | |
11 | # | |
12 | # run the hit generation | |
13 | aliroot -q -b "$ALICE_ROOT/macros/grun.C($1)" | |
14 | # | |
15 | # digitize TPC | |
16 | aliroot -q -b "$ALICE_ROOT/TPC/AliTPCHits2Digits.C($1)" | |
17 | # | |
18 | # digitize ITS | |
19 | aliroot -q -b "$ALICE_ROOT/ITS/AliITSHits2DigitsDefault.C" | |
20 | # | |
21 | # create reconstructed points for the ITS | |
22 | aliroot -q -b "$ALICE_ROOT/ITS/ITSDigitsToClusters.C(0,$[$1-1])" | |
23 | # | |
24 | # do the TPC+ITS tracking | |
25 | aliroot -q -b "$ALICE_ROOT/ITS/AliBarrelReconstructionV2.C($1)" | |
26 | # | |
27 | # Do the PID procedure for the ITS. The output file AliITStrackV2Pid.root is | |
28 | # created with the information for each track: | |
29 | # the ITS ADC trancated mean signal, the particle reconstructed momentum, | |
30 | # the probable weights for the different particle kinds (electron, pion, kaon, | |
31 | # proton). These weights are under study now. | |
32 | # | |
33 | aliroot -q -b "$ALICE_ROOT/ITS/save_pidV2.C(0,$[$1-1])" | |
34 | # | |
35 | # This last line checks the ITS PID only, i.e. creates and draws | |
36 | #the dEdx-momentum plot (comment if it's not necessary) | |
37 | aliroot "$ALICE_ROOT/ITS/scan_pidV2.C(0,$[$1-1])" | |
38 | ||
39 |