Skip to content

Commit 196a504

Browse files
noferinidavidrohr
authored andcommitted
add switch for TOF sync QC if compressors moved to epn
1 parent 7c76924 commit 196a504

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
@@ -10,7 +10,13 @@ if [[ -z $QC_JSON_FROM_OUTSIDE ]]; then
1010
[[ -z "$QC_JSON_TPC" ]] && QC_JSON_TPC=consul://o2/components/qc/ANY/any/tpc-full-qcmn
1111
[[ -z "$QC_JSON_ITS" ]] && QC_JSON_ITS=consul://o2/components/qc/ANY/any/its-qcmn-epn-full
1212
[[ -z "$QC_JSON_MFT" ]] && QC_JSON_MFT=consul://o2/components/qc/ANY/any/mft-full-qcmn
13-
[[ -z "$QC_JSON_TOF" ]] && QC_JSON_TOF=consul://o2/components/qc/ANY/any/tof-full-qcmn
13+
if [[ -z "$QC_JSON_TOF" ]]; then
14+
if has_detector_flp_processing TOF; then
15+
QC_JSON_TOF=consul://o2/components/qc/ANY/any/tof-full-qcmn
16+
else
17+
QC_JSON_TOF=consul://o2/components/qc/ANY/any/tof-full-epn-qcmn
18+
fi
19+
fi
1420
[[ -z "$QC_JSON_FDD" ]] && QC_JSON_FDD=/home/afurs/O2DataProcessing/testing/detectors/FDD/fdd-digits-ds.json
1521
[[ -z "$QC_JSON_FT0" ]] && QC_JSON_FT0=/home/afurs/O2DataProcessing/testing/detectors/FT0/ft0-digits-ds.json
1622
[[ -z "$QC_JSON_FV0" ]] && QC_JSON_FV0=/home/afurs/O2DataProcessing/testing/detectors/FV0/fv0-digits-ds.json

0 commit comments

Comments
 (0)