File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -178,6 +178,11 @@ has_pid_qc()
178178 return 0
179179}
180180
181+ has_track_source ()
182+ {
183+ [[ $TRACK_SOURCES =~ (^| ,)" $1 " (,| $) ]]
184+ }
185+
181186has_tof_matching_source ()
182187{
183188 [[ $TOF_SOURCES =~ (^| ,)" $1 " (,| $) ]]
Original file line number Diff line number Diff line change @@ -36,7 +36,11 @@ elif [[ -z $QC_JSON_FROM_OUTSIDE ]]; then
3636 [[ -z " $QC_JSON_EMC " ]] && QC_JSON_EMC=consul://o2/components/qc/ANY/any/emc-qcmn-epnall
3737 if [[ -z " $QC_JSON_MCH " ]]; then
3838 if has_detector MCH && has_processing_step MCH_RECO; then
39- QC_JSON_MCH=consul://o2/components/qc/ANY/any/mch-qcmn-epn-full
39+ if has_track_source " MCH-MID" ; then
40+ QC_JSON_MCH=consul://o2/components/qc/ANY/any/mch-qcmn-epn-full-track-matching
41+ else
42+ QC_JSON_MCH=consul://o2/components/qc/ANY/any/mch-qcmn-epn-full
43+ fi
4044 else
4145 QC_JSON_MCH=consul://o2/components/qc/ANY/any/mch-qcmn-epn-digits
4246 fi
You can’t perform that action at this time.
0 commit comments