c6d5b841e7123747ad2c907ecf8429e97486f910
[u/mrichter/AliRoot.git] / TPC / scripts / makeCalibTree.sh
1 # Aruments
2 # 1   -  run list
3 # 2   -  start run
4 # 3   -  end run
5
6 runList=$1
7 startRun=$2
8 endRun=$3
9 echo runList=$runList
10 echo startRun=$startRun
11 echo endRun=$endRun
12 #
13 workdir=${GUI_OUTDIR}/tmp/tmp${startRun}-${endRun}
14 backupdir=`pwd`/
15 mkdirhier $workdir
16 cd $workdir
17 source guiEnv.sh
18 #
19 aliroot -q -b $SCRIPTDIR/ConfigOCDB.C  $ALICE_ROOT/TPC/CalibMacros/CalibEnv.C+\(\"$runList\",$startRun,$endRun\)
20 cp dcsTime.root $GUI_OUTDIR/time/calibTreeTime_$startRun_$endRun.root
21 cd $backupdir