M submitMerging.sh - Using groups for jobs submitting
[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 source halloWorld.sh
19 #
20 aliroot -q -b $SCRIPTDIR/ConfigOCDB.C  $ALICE_ROOT/TPC/CalibMacros/CalibEnv.C+\(\"$runList\",$startRun,$endRun\)
21 cp dcsTime.root $GUI_OUTDIR/time/calibTreeTime_$startRun_$endRun.root
22 cd $backupdir