Old versions of macros
authorbarbera <barbera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 10 Jun 2002 05:15:43 +0000 (05:15 +0000)
committerbarbera <barbera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 10 Jun 2002 05:15:43 +0000 (05:15 +0000)
ITS/oldmacros/DeleteOldFiles [new file with mode: 0755]
ITS/oldmacros/ITSPidV2.sh [new file with mode: 0644]
ITS/oldmacros/ITStestV1.sh [new file with mode: 0755]
ITS/oldmacros/ITStestV1hbt.sh [new file with mode: 0755]

diff --git a/ITS/oldmacros/DeleteOldFiles b/ITS/oldmacros/DeleteOldFiles
new file mode 100755 (executable)
index 0000000..979073b
--- /dev/null
@@ -0,0 +1,7 @@
+rm galice.root
+rm AliTPCclusters.root
+rm AliTPCtracks.root
+rm AliTPCtracksSorted.root
+rm itstracks.root
+rm good_tracks_tpc
+rm itsgood_tracks
diff --git a/ITS/oldmacros/ITSPidV2.sh b/ITS/oldmacros/ITSPidV2.sh
new file mode 100644 (file)
index 0000000..63b3df7
--- /dev/null
@@ -0,0 +1,22 @@
+#!/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])"
+
+
+
diff --git a/ITS/oldmacros/ITStestV1.sh b/ITS/oldmacros/ITStestV1.sh
new file mode 100755 (executable)
index 0000000..69418c0
--- /dev/null
@@ -0,0 +1,22 @@
+#!/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
diff --git a/ITS/oldmacros/ITStestV1hbt.sh b/ITS/oldmacros/ITStestV1hbt.sh
new file mode 100755 (executable)
index 0000000..6fd09af
--- /dev/null
@@ -0,0 +1,22 @@
+#!/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