Skip to content

Commit fd3c485

Browse files
aferrero2707davidrohr
authored andcommitted
[MCH] select QC config based on presence of RECO processing step
The full QC configuration is selected when the MCH_RECO is enabled, otherwise the minimal QC configuration for raw data decoding is chosen.
1 parent d493bba commit fd3c485

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

DATA/production/qc-workflow.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,13 @@ elif [[ -z $QC_JSON_FROM_OUTSIDE ]]; then
2323
[[ -z "$QC_JSON_FT0" ]] && QC_JSON_FT0=consul://o2/components/qc/ANY/any/ft0-digits-qc-epn
2424
[[ -z "$QC_JSON_FV0" ]] && QC_JSON_FV0=consul://o2/components/qc/ANY/any/fv0-digits-qc-epn
2525
[[ -z "$QC_JSON_EMC" ]] && QC_JSON_EMC=consul://o2/components/qc/ANY/any/emc-qcmn-epnall
26-
[[ -z "$QC_JSON_MCH" ]] && QC_JSON_MCH=consul://o2/components/qc/ANY/any/mch-qcmn-epn-digits
26+
if [[ -z "$QC_JSON_MCH" ]]; then
27+
if has_detector MCH && has_processing_step MCH_RECO; then
28+
QC_JSON_MCH=consul://o2/components/qc/ANY/any/mch-qcmn-epn-full
29+
else
30+
QC_JSON_MCH=consul://o2/components/qc/ANY/any/mch-qcmn-epn-digits
31+
fi
32+
fi
2733
[[ -z "$QC_JSON_MID" ]] && QC_JSON_MID=consul://o2/components/qc/ANY/any/mid-full-qcmn
2834
[[ -z "$QC_JSON_CPV" ]] && QC_JSON_CPV=consul://o2/components/qc/ANY/any/cpv-physics-qcmn-epn
2935
[[ -z "$QC_JSON_TRD" ]] && QC_JSON_TRD=consul://o2/components/qc/ANY/any/trd-full-qcmn-norawdatastats-epn

0 commit comments

Comments
 (0)