Skip to content

Commit 900604d

Browse files
authored
CTF Size QC task - Only for Global run (#1677)
* activate CTF SIZE QC only if CTF readout is activated (global runs) * uppress the messages on missing objects for detectors which are not in the readout
1 parent 706946e commit 900604d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DATA/production/qc-workflow.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ elif [[ -z ${QC_JSON_FROM_OUTSIDE:-} ]]; then
124124
elif has_detectors_reco MCH MID && has_matching_qc MCHMID; then
125125
[[ -z "${QC_JSON_GLO_MCHMID:-}" ]] && QC_JSON_GLO_MCHMID=consul://o2/components/qc/ANY/any/glo-mchmid-mtch-qcmn-epn
126126
fi
127-
if has_processing_step ENTROPY_ENCODER && [[ ! -z "$WORKFLOW_DETECTORS_CTF" ]] && [[ $WORKFLOW_DETECTORS_CTF != "NONE" ]]; then
127+
if has_processing_step ENTROPY_ENCODER && [[ ! -z "$WORKFLOW_DETECTORS_CTF" ]] && [[ $WORKFLOW_DETECTORS_CTF != "NONE" ]] && has_detector CTP; then
128128
[[ -z "${QC_JSON_CTF_SIZE:-}" ]] && QC_JSON_CTF_SIZE=consul://o2/components/qc/ANY/any/glo-qc-data-size
129129
fi
130130
if [[ "${GEN_TOPO_DEPLOYMENT_TYPE:-}" == "ALICE_STAGING" ]]; then
@@ -272,7 +272,7 @@ elif [[ -z ${QC_JSON_FROM_OUTSIDE:-} ]]; then
272272
# CTF QC
273273
if [[ ! -z "${QC_JSON_CTF_SIZE:-}" ]]; then
274274
add_QC_JSON GLO_CTF ${QC_JSON_CTF_SIZE}
275-
add_pipe_separated QC_DETECTOR_CONFIG_OVERRIDE '.qc.tasks.CTFSize.taskParameters.detectors=\"${WORKFLOW_DETECTORS}\"'
275+
# add_pipe_separated QC_DETECTOR_CONFIG_OVERRIDE '.qc.tasks.CTFSize.taskParameters.detectors=\"${WORKFLOW_DETECTORS}\"'
276276
fi
277277

278278
# arbitrary extra QC

0 commit comments

Comments
 (0)