--- /dev/null
+rm galice.root
+rm AliTPCclusters.root
+rm AliTPCtracks.root
+rm AliTPCtracksSorted.root
+rm itstracks.root
+rm good_tracks_tpc
+rm itsgood_tracks
--- /dev/null
+#!/bin/sh
+# This script processes the ITS PID for n events
+# (use the parameter n):
+# - the AliTPCtest.C and AliITStest.C should be processed befor
+# (Dubnna version)
+#
+# Do the PID procedure for the ITS. The output file AliITStrackV2Pid.root is
+# created with the information for each track:
+# the ITS ADC trancated mean signal, the particle reconstructed momentum,
+# the probable weights for the different particle kinds (electron, pion, kaon,
+# proton). These weights are under study now.
+#
+rm -f AliITStrackingV2Pid.root
+#
+aliroot -q -b "$ALICE_ROOT/ITS/save_pidV2.C(0,$[$1-1])"
+#
+# This last line checks the ITS PID only, i.e. creates and draws
+#the dEdx-momentum plot (comment if it's not necessary)
+aliroot "$ALICE_ROOT/ITS/scan_pidV2.C(0,$[$1-1])"
+
+
+
--- /dev/null
+#!/bin/sh
+# delete eventual old files from the last run
+./DeleteOldFiles
+# run the hit generation
+aliroot -q -b "$ALICE_ROOT/macros/grun.C($1)"
+# digitize TPC
+aliroot -q -b "$ALICE_ROOT/TPC/AliTPCHits2Digits.C($1)"
+# prepare TPC tracks for matching with the ITS
+aliroot -q -b "$ALICE_ROOT/ITS/TPCtracking.C($1)"
+# digitize ITS
+aliroot -q -b "$ALICE_ROOT/ITS/AliITSHits2DigitsDefault.C"
+# create reconstructed points for the ITS
+aliroot -q -b "$ALICE_ROOT/ITS/ITSDigitsToClusters.C(0,$[$1-1])"
+# prepare for tracking
+aliroot -q -b "$ALICE_ROOT/ITS/ITStracks.C(0,$[$1-1])"
+# do the tracking
+aliroot -q -b "$ALICE_ROOT/ITS/ITStracking.C(0,$[$1-1])"
+# do the comparison
+aliroot -q -b "$ALICE_ROOT/ITS/AliITSComparisonV1.C(0,$[$1-1])"
+#
+# after all of the above you can run ITSPlotTracks.C macro under aliroot to
+# see plots of the efficiency and track parameter resolution
--- /dev/null
+#!/bin/sh
+# delete eventual old files from the last run
+./DeleteOldFiles
+# run the hit generation
+aliroot -q -b "$ALICE_ROOT/macros/grunHBT.C($1)"
+# digitize TPC
+aliroot -q -b "$ALICE_ROOT/TPC/AliTPCHits2Digits.C($1)"
+# prepare TPC tracks for matching with the ITS
+aliroot -q -b "$ALICE_ROOT/ITS/TPCtracking.C($1)"
+# digitize ITS
+aliroot -q -b "$ALICE_ROOT/ITS/AliITSHits2DigitsDefault.C"
+# create reconstructed points for the ITS
+aliroot -q -b "$ALICE_ROOT/ITS/ITSDigitsToClusters.C(0,$[$1-1])"
+# prepare for tracking
+aliroot -q -b "$ALICE_ROOT/ITS/ITStracks.C(0,$[$1-1])"
+# do the tracking
+aliroot -q -b "$ALICE_ROOT/ITS/ITStracking.C(0,$[$1-1])"
+# do the comparison
+aliroot -q -b "$ALICE_ROOT/ITS/AliITSComparisonV1.C(0,$[$1-1])"
+#
+# after all of the above you can run ITSPlotTracks.C macro under aliroot to
+# see plots of the efficiency and track parameter resolution