@@ -17,6 +17,8 @@ run_AOD_merging() {
1717 return $exitcode
1818}
1919
20+ timeStartFullProcessing=` date +%s`
21+
2022# to skip positional arg parsing before the randomizing part.
2123inputarg=" ${1} "
2224
@@ -409,7 +411,7 @@ if [[ $ALIEN_JDL_SPLITWF != "1" ]]; then
409411 exit $exitcode
410412 fi
411413 mv latest.log latest_reco_1.log
412- ./ $STATSCRIPT latest_reco_1.log
414+ $STATSCRIPT latest_reco_1.log
413415 fi
414416else
415417 # running the wf in split mode
440442 exit $exitcode
441443 fi
442444 mv latest.log latest_reco_1.log
443- ./ $STATSCRIPT latest_reco_1.log reco_1
445+ $STATSCRIPT latest_reco_1.log reco_1
444446 fi
445447 fi
446448
469471 exit $exitcode
470472 fi
471473 mv latest.log latest_reco_2.log
472- ./ $STATSCRIPT latest_reco_2.log reco_2
474+ $STATSCRIPT latest_reco_2.log reco_2
473475 # let's compare to previous step
474476 if [[ -f latest_reco_1.log ]]; then
475477 nCTFsFilesInspected_step1=` ls [0-9]* _[0-9]* _[0-9]* _[0-9]* _[0-9]* _reco_1.stat | sed ' s/\(^[0-9]*\)_.*/\1/' `
@@ -740,8 +742,11 @@ if [[ $ALIEN_JDL_AODOFF != 1 ]]; then
740742 fi
741743fi
742744
743- timeUsed=$(( $timeUsed + $timeUsedCheck + $timeUsedMerge + $timeUsedCheckMergedAOD + $timeUsedAnalysisQC ))
744- echo " Time used for processing = $timeUsed s"
745+
746+ timeEndFullProcessing=` date +%s`
747+ timeUsedFullProcessing=$(( $timeEndFullProcessing + $timeStartFullProcessing ))
748+
749+ echo " Time used for processing = $timeUsedFullProcessing s"
745750
746751if [[ $ALIEN_JDL_QCOFF != 1 ]]; then
747752 # copying the QC json file here
0 commit comments