From e0589e74116626c6952bba4e13d1ee85e658db7a Mon Sep 17 00:00:00 2001 From: barbera Date: Mon, 10 Jun 2002 05:15:43 +0000 Subject: [PATCH] Old versions of macros --- ITS/oldmacros/DeleteOldFiles | 7 +++++++ ITS/oldmacros/ITSPidV2.sh | 22 ++++++++++++++++++++++ ITS/oldmacros/ITStestV1.sh | 22 ++++++++++++++++++++++ ITS/oldmacros/ITStestV1hbt.sh | 22 ++++++++++++++++++++++ 4 files changed, 73 insertions(+) create mode 100755 ITS/oldmacros/DeleteOldFiles create mode 100644 ITS/oldmacros/ITSPidV2.sh create mode 100755 ITS/oldmacros/ITStestV1.sh create mode 100755 ITS/oldmacros/ITStestV1hbt.sh diff --git a/ITS/oldmacros/DeleteOldFiles b/ITS/oldmacros/DeleteOldFiles new file mode 100755 index 00000000000..979073b9d8d --- /dev/null +++ b/ITS/oldmacros/DeleteOldFiles @@ -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 index 00000000000..63b3df72c71 --- /dev/null +++ b/ITS/oldmacros/ITSPidV2.sh @@ -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 index 00000000000..69418c06241 --- /dev/null +++ b/ITS/oldmacros/ITStestV1.sh @@ -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 index 00000000000..6fd09af6eaa --- /dev/null +++ b/ITS/oldmacros/ITStestV1hbt.sh @@ -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 -- 2.31.1