5 # 2. calibration and friend track filtering
8 # Files assumed to be in working directory:
9 # rec.C - reconstruction macro
10 # runCalibTrain.C - calibration/filtering macro
12 # 1 - raw data file name
13 # 2 - number of events to be processed
17 # runPassX.sh raw.root 50 104892
21 # $1 = raw input filename
22 runnum=`echo $1 | cut -d "/" -f 6`
28 echo File to be processed $1
29 echo Number of events to be processed $entries
31 echo ">>>>>>>>> PATH is..."
33 echo ">>>>>>>>> LD_LIBRARY_PATH is..."
35 echo ">>>>>>>>> rec.C is..."
39 echo ">>>>>>> Running AliRoot to reconstruct $1. Run number is $runnum..."
40 aliroot -l -b -q rec.C\(\"alien://$1\"\) 2>&1 | tee rec.log
42 echo ">>>>>>> Running AliRoot to make calibration..."
43 aliroot -l -b -q runCalibTrain.C\(\"$runnum\"\) 2>&1 | tee calib.log
45 echo ">>>>>>> Running AliRoot to generate Tags..."
46 aliroot -l -b -q tag.C\(\) 2>&1 | tee tag.log