Skip to content

Commit 4d28a62

Browse files
committed
Residual aggregator output dir specified automatically
1 parent d15d08e commit 4d28a62

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

prodtests/full-system-test/aggregator-workflow.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ if [[ "0$GEN_TOPO_VERBOSE" == "01" ]]; then
3030
echo "CCDB_POPULATOR_UPLOAD_PATH = $CCDB_POPULATOR_UPLOAD_PATH" 1>&2
3131
fi
3232

33+
# Additional settings for calibration workflows
34+
if [[ -z $CALIB_DIR ]]; then CALIB_DIR=$FILEWORKDIR; fi # Directory where to store output from calibration workflows
35+
3336
# Adding calibrations
3437
EXTRA_WORKFLOW_CALIB=
3538

@@ -189,7 +192,7 @@ if [[ $AGGREGATOR_TASKS == BARREL_TF ]] || [[ $AGGREGATOR_TASKS == ALL ]]; then
189192
if [[ $CALIB_TPC_SCDCALIB == 1 ]]; then
190193
# TODO: the residual aggregator should have --output-dir and --meta-output-dir defined
191194
# without that the residuals will be stored in the local working directory (and deleted after a week)
192-
add_W o2-calibration-residual-aggregator "--disable-root-input $ENABLE_TRACK_INPUT --output-type trackParams,unbinnedResid,binnedResid --autosave-interval $RESIDUAL_AGGREGATOR_AUTOSAVE"
195+
add_W o2-calibration-residual-aggregator "--disable-root-input $ENABLE_TRACK_INPUT --output-dir $CALIB_DIR --meta-output-dir $CTF_METAFILES_DIR --autosave-interval $RESIDUAL_AGGREGATOR_AUTOSAVE"
193196
fi
194197
if [[ $CALIB_TPC_VDRIFTTGL == 1 ]]; then
195198
# options available via ARGS_EXTRA_PROCESS_o2_tpc_vdrift_tgl_calibration_workflow="--nbins-tgl 20 --nbins-dtgl 50 --max-tgl-its 2. --max-dtgl-itstpc 0.15 --min-entries-per-slot 1000 --time-slot-seconds 600 <--vdtgl-histos-file-name name> "

0 commit comments

Comments
 (0)