]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/oldmacros/Barrel.sh
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / ITS / oldmacros / Barrel.sh
CommitLineData
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
10rm -f *.root
11#
12# run the hit generation
13aliroot -q -b "$ALICE_ROOT/macros/grun.C($1)"
14#
15# digitize TPC
16aliroot -q -b "$ALICE_ROOT/TPC/AliTPCHits2Digits.C($1)"
17#
18# digitize ITS
19aliroot -q -b "$ALICE_ROOT/ITS/AliITSHits2DigitsDefault.C"
20#
21# create reconstructed points for the ITS
22aliroot -q -b "$ALICE_ROOT/ITS/ITSDigitsToClusters.C(0,$[$1-1])"
23#
24# do the TPC+ITS tracking
25aliroot -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#
33aliroot -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)
37aliroot "$ALICE_ROOT/ITS/scan_pidV2.C(0,$[$1-1])"
38
39