Skip to content

Commit

Permalink
Add CTF size QC and pass active detector list
Browse files Browse the repository at this point in the history
  • Loading branch information
martenole committed May 8, 2024
1 parent 2f444c4 commit 11b81ba
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions DATA/production/qc-workflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ elif [[ -z ${QC_JSON_FROM_OUTSIDE:-} ]]; then
elif has_detectors_reco MCH MID && has_matching_qc MCHMID; then
[[ -z "${QC_JSON_GLO_MCHMID:-}" ]] && QC_JSON_GLO_MCHMID=consul://o2/components/qc/ANY/any/glo-mchmid-mtch-qcmn-epn
fi
if has_processing_step ENTROPY_ENCODER && [[ ! -z "$WORKFLOW_DETECTORS_CTF" ]] && [[ $WORKFLOW_DETECTORS_CTF != "NONE" ]]; then
[[ -z "${QC_JSON_CTF_SIZE:-}" ]] && QC_JSON_CTF_SIZE=consul://o2/components/qc/ANY/any/glo-qc-data-size
fi
if [[ "${GEN_TOPO_DEPLOYMENT_TYPE:-}" == "ALICE_STAGING" ]]; then
[[ -z "${QC_JSON_GLOBAL:-}" ]] && QC_JSON_GLOBAL=$O2DPG_ROOT/DATA/production/qc-sync/qc-global-epn-staging.json # this must be last
else
Expand Down Expand Up @@ -259,6 +262,12 @@ elif [[ -z ${QC_JSON_FROM_OUTSIDE:-} ]]; then
fi
done

# CTF QC
if [[ ! -z "${QC_JSON_CTF_SIZE:-}" ]]; then
add_QC_JSON GLO_CTF ${QC_JSON_CTF_SIZE}
add_pipe_separated QC_DETECTOR_CONFIG_OVERRIDE '.qc.tasks.CTFSize.taskParameters.detectors=${WORKFLOW_DETECTORS}'
fi

# arbitrary extra QC
if [[ ! -z "${QC_JSON_EXTRA:-}" ]]; then
add_QC_JSON EXTRA ${QC_JSON_EXTRA}
Expand Down

0 comments on commit 11b81ba

Please sign in to comment.