@@ -56,7 +56,8 @@ elif [[ -z $QC_JSON_FROM_OUTSIDE ]]; then
5656 [[ -z " $QC_JSON_CPV " ]] && QC_JSON_CPV=consul://o2/components/qc/ANY/any/cpv-physics-qcmn-epn
5757 [[ -z " $QC_JSON_TRD " ]] && QC_JSON_TRD=consul://o2/components/qc/ANY/any/trd-full-qcmn-nopulseheight-epn
5858 [[ -z " $QC_JSON_PHS " ]] && QC_JSON_PHS=consul://o2/components/qc/ANY/any/phos-raw-clusters-epn
59- [[ -z " $QC_JSON_GLO " ]] && QC_JSON_GLO=consul://o2/components/qc/ANY/any/glo-qcmn-epn
59+ [[ -z " $QC_JSON_GLO_VTX " ]] && QC_JSON_GLO=consul://o2/components/qc/ANY/any/glo-vtx-qcmn-epn
60+ [[ -z " $QC_JSON_GLO_ITSTPC_MTCH " ]] && QC_JSON_GLO=consul://o2/components/qc/ANY/any/glo-itstpc-mtch-qcmn-epn
6061 [[ -z " $QC_JSON_GLOBAL " ]] && QC_JSON_GLOBAL=$O2DPG_ROOT /DATA/production/qc-sync/qc-global-epn.json
6162 if [[ -z " $QC_JSON_TOF_MATCH " ]]; then
6263 if has_tof_matching_source ITS-TPC && has_tof_matching_source ITS-TPC-TRD; then
@@ -86,7 +87,8 @@ elif [[ -z $QC_JSON_FROM_OUTSIDE ]]; then
8687 [[ -z " $QC_JSON_CPV " ]] && QC_JSON_CPV=$O2DPG_ROOT /DATA/production/qc-sync/cpv.json
8788 [[ -z " $QC_JSON_PHS " ]] && QC_JSON_PHS=$O2DPG_ROOT /DATA/production/qc-sync/phs.json
8889 [[ -z " $QC_JSON_TRD " ]] && QC_JSON_TRD=$O2DPG_ROOT /DATA/production/qc-sync/trd.json
89- [[ -z " $QC_JSON_GLO " ]] && QC_JSON_GLO=$O2DPG_ROOT /DATA/production/qc-sync/glo-qcmn-epn.json
90+ [[ -z " $QC_JSON_GLO_VTX " ]] && QC_JSON_GLO=$O2DPG_ROOT /DATA/production/qc-sync/glo-vtx-qcmn-epn.json
91+ [[ -z " $QC_JSON_GLO_ITSTPC_MTCH " ]] && QC_JSON_GLO=$O2DPG_ROOT /DATA/production/qc-sync/glo-itstpc-mtch-qcmn-epn.json
9092 [[ -z " $QC_JSON_GLOBAL " ]] && QC_JSON_GLOBAL=$O2DPG_ROOT /DATA/production/qc-sync/qc-global.json
9193 if [[ -z " $QC_JSON_TOF_MATCH " ]]; then
9294 if has_tof_matching_source ITS-TPC && has_tof_matching_source ITS-TPC-TRD; then
@@ -109,8 +111,8 @@ elif [[ -z $QC_JSON_FROM_OUTSIDE ]]; then
109111 [[ -z " $QC_JSON_PHS " ]] && QC_JSON_PHS=$O2DPG_ROOT /DATA/production/qc-async/phs.json
110112 [[ -z " $QC_JSON_TRD " ]] && QC_JSON_TRD=$O2DPG_ROOT /DATA/production/qc-async/trd.json
111113 # the following two ($QC_JSON_PRIMVTX and $QC_JSON_ITSTPC) replace $QC_JSON_GLO for async processing
112- [[ -z " $QC_JSON_PRIMVTX " ]] && QC_JSON_PRIMVTX=$O2DPG_ROOT /DATA/production/qc-async/primvtx.json
113- [[ -z " $QC_JSON_ITSTPC " ]] && QC_JSON_ITSTPC=$O2DPG_ROOT /DATA/production/qc-async/itstpc.json
114+ [[ -z " $QC_JSON_GLO_VTX " ]] && QC_JSON_PRIMVTX=$O2DPG_ROOT /DATA/production/qc-async/primvtx.json
115+ [[ -z " $QC_JSON_GLO_ITSTPC_MTCH " ]] && QC_JSON_ITSTPC=$O2DPG_ROOT /DATA/production/qc-async/itstpc.json
114116 [[ -z " $QC_JSON_TOF_MATCH " ]] && QC_JSON_TOF_MATCH=$O2DPG_ROOT /DATA/production/qc-async/itstpctof.json
115117 [[ -z " $QC_JSON_PID_FT0TOF " ]] && QC_JSON_PID_FT0TOF=$O2DPG_ROOT /DATA/production/qc-async/pidft0tof.json
116118 [[ -z " $QC_JSON_GLOBAL " ]] && QC_JSON_GLOBAL=$O2DPG_ROOT /DATA/production/qc-async/qc-global.json
@@ -154,33 +156,12 @@ elif [[ -z $QC_JSON_FROM_OUTSIDE ]]; then
154156 fi
155157 done
156158
157- ADD_ITSTPCQC=1
158- ADD_PRIMVTX=1
159- if [[ $SYNCMODE == 1 ]]; then
160- if ! has_detectors_reco ITS TPC || ! has_detector_matching ITSTPC; then
161- QC_CONFIG+=" --override-values \" qc.tasks.MTCITSTPC.active=false\" "
162- ADD_ITSTPCQC=0
163- fi
164- if ! has_detectors_reco ITS || ! has_detector_matching PRIMVTX; then
165- QC_CONFIG+=" --override-values \" qc.tasks.Vertexing.active=false\" "
166- ADD_PRIMVTX=0
167- fi
168- if [[ $ADD_ITSTPCQC == 1 ]] || [[ $ADD_PRIMVTX == 1 ]]; then
169- add_QC_JSON GLO $QC_JSON_GLO
170- fi
171- else # async processing
172- LIST_OF_GLOQC=
173- has_detectors_reco ITS TPC && has_detector_matching ITSTPC && add_comma_separated LIST_OF_GLOQC ITSTPC
174- has_detectors_reco ITS && has_detector_matching PRIMVTX && add_comma_separated LIST_OF_GLOQC PRIMVTX
175- for i in $( echo $LIST_OF_GLOQC | sed " s/,/ /g" ) ; do
176- GLO_JSON_FILE=" QC_JSON_$i "
177- if has_detector_matching $i && has_matching_qc $i && [ ! -z " ${! GLO_JSON_FILE} " ]; then
178- add_QC_JSON $i ${! GLO_JSON_FILE}
179- fi
180- done
159+ # GLO QC: VTX and ITSTPC_MTCH
160+ if has_detectors_reco ITS && has_detector_matching PRIMVTX; then
161+ add_QC_JSON GLO $QC_JSON_GLO_VTX
181162 fi
182- if [[ " 0 $GEN_TOPO_VERBOSE " == " 01 " ]] ; then
183- echo ADD_ITSTPCQC= $ADD_ITSTPCQC ADD_PRIMVTX= $ADD_PRIMVTX 1>&2
163+ if has_detectors_reco ITS TPC && has_detector_matching ITSTPC ; then
164+ add_QC_JSON GLO $QC_JSON_GLO_ITSTPC_MTCH
184165 fi
185166
186167 # PID QC
0 commit comments