2 # Submit calibration in predefined workspace
4 # argument 2 - batch queues
7 # 1. Workspace defined before using the script $ALICE_ROOT/TPC/scripts/makeWorkspace.sh
8 # 2. The data were filtered before using the $ALICE_ROOT/TPC/scripts/filterCorrupted.sh
13 echo runlist" "$runlist
14 echo queues" "$bqueues
18 for adir in `cat $runlist`; do
20 up=`cat $adir/esd.txt.Good | grep -c .root`
21 if [ $up -gt 1 ] ; then
24 echo SUBMITING DIRECTORY $adir
26 cp ../CalibrateTPC.C .
30 while [ $myvar -le ${up} ] ; do
31 bsub -q $bqueues -oo out$myvar.log -eo err$myvar.log $ALICE_ROOT/TPC/scripts/submitCalibJob.sh $myvar $(($myvar+step)) `pwd`/esd.txt.Good $adir;
32 myvar=$(( $myvar + $step )) ;