diff --git a/macros/CCEScan/batch/submitLandau_missingSectors.sh b/macros/CCEScan/batch/submitLandau_missingSectors.sh index f5b7bbd..eb8b8f9 100644 --- a/macros/CCEScan/batch/submitLandau_missingSectors.sh +++ b/macros/CCEScan/batch/submitLandau_missingSectors.sh @@ -13,7 +13,7 @@ cp /disk/data1/hep/elena/data/ST/Aging/CCEScan.root /disk/data1/hep/elena/data/ST/Aging/CCEScan_backup_May3.root # fills to process -onefill=(5162 5448) +onefill=(5448) # array of missing sectors missing=`cat missingSectors.dat` @@ -30,7 +30,6 @@ break fi done - echo $in return $in } @@ -105,21 +104,22 @@ for fill in $onefill #for fill in `cat $swsource/Fills.dat` do - echo " Fill "$fill - val=7 - scriptname="landauFit_IT_s${sector}_f${fill}_allSteps_v${val}" - echo "Creating file " $scripts/temp_scripts/${scriptname}.sh - cp $scripts/base.sh $scripts/temp_scripts/${scriptname}.sh - for i in {0..65} - do - echo "${swsource}/landauFit -d IT -l T3X2 -s ${sector} -f ${fill} -c ${i} -v ${val} -b -ss" >> $scripts/temp_scripts/${scriptname}.sh - done - qsub -l cput=24000 $scripts/temp_scripts/${scriptname}.sh -o ${logs}/${scriptname}.log -e ${logs}/${scriptname}.log -j oe - sleep 1 + echo " Fill "$fill + val=7 + scriptname="landauFit_IT_s${sector}_f${fill}_allSteps_v${val}" + echo "Creating file " $scripts/temp_scripts/${scriptname}.sh + cp $scripts/base.sh $scripts/temp_scripts/${scriptname}.sh + for i in {0..65} + do + echo "${swsource}/landauFit -d IT -l T3X2 -s ${sector} -f ${fill} -c ${i} -v ${val} -b -ss" >> $scripts/temp_scripts/${scriptname}.sh + done + qsub -l cput=24000 $scripts/temp_scripts/${scriptname}.sh -o ${logs}/${scriptname}.log -e ${logs}/${scriptname}.log -j oe + sleep 1 done fi done + echo "Submitting IT inner sectors:" for sector in `cat $swsource/ITinner.dat` do @@ -131,18 +131,17 @@ for fill in $onefill #for fill in `cat $swsource/Fills.dat` do - echo " Fill "$fill - val=7 - scriptname="landauFit_ITinner_s${sector}_f${fill}_allSteps_v${val}_r175" - cp $scripts/base.sh $scripts/temp_scripts/${scriptname}.sh - for i in {0..65} - do - echo "${swsource}/landauFit -d IT -l T3X2 -s ${sector} -f ${fill} -c ${i} -v ${val} -r 175 -b -ss" >> $scripts/temp_scripts/${scriptname}.sh - done - qsub -l cput=24000 $scripts/temp_scripts/${scriptname}.sh -o ${logs}/${scriptname}.log -e ${logs}/${scriptname}.log -j oe - sleep 1 + echo " Fill "$fill + val=7 + scriptname="landauFit_ITinner_s${sector}_f${fill}_allSteps_v${val}_r175" + cp $scripts/base.sh $scripts/temp_scripts/${scriptname}.sh + for i in {0..65} + do + echo "${swsource}/landauFit -d IT -l T3X2 -s ${sector} -f ${fill} -c ${i} -v ${val} -r 175 -b -ss" >> $scripts/temp_scripts/${scriptname}.sh + done + qsub -l cput=24000 $scripts/temp_scripts/${scriptname}.sh -o ${logs}/${scriptname}.log -e ${logs}/${scriptname}.log -j oe + sleep 1 done fi done -