@@ -195,6 +195,7 @@ TRD_SOURCES=
195195TOF_SOURCES=
196196HMP_SOURCES=
197197TRACK_SOURCES=
198+ : ${TRACK_SOURCES_GLO:= }
198199has_detectors_reco ITS TPC && has_detector_matching ITSTPC && add_comma_separated TRACK_SOURCES " ITS-TPC"
199200has_detectors_reco TPC TRD && has_detector_matching TPCTRD && { add_comma_separated TRD_SOURCES TPC; add_comma_separated TRACK_SOURCES " TPC-TRD" ; }
200201has_detectors_reco ITS TPC TRD && has_detector_matching ITSTPC && has_detector_matching ITSTPCTRD && { add_comma_separated TRD_SOURCES ITS-TPC; add_comma_separated TRACK_SOURCES " ITS-TPC-TRD" ; }
@@ -211,6 +212,8 @@ has_detectors_reco HMP TPC TOF && has_detector_matching TPCTOF && add_comma_sepa
211212has_detectors_reco HMP TPC TRD TOF && has_detector_matching TPCTRD && has_detector_matching TPCTRDTOF && add_comma_separated HMP_SOURCES " TPC-TRD-TOF"
212213has_detectors_reco MFT MCH && has_detector_matching MFTMCH && add_comma_separated TRACK_SOURCES " MFT-MCH"
213214has_detectors_reco MCH MID && has_detector_matching MCHMID && add_comma_separated TRACK_SOURCES " MCH-MID"
215+ [[ " 0$TRACK_SOURCES_GLO " == " 0" ]] && TRACK_SOURCES_GLO=$TRACK_SOURCES
216+
214217for det in ` echo $LIST_OF_DETECTORS | sed " s/,/ /g" ` ; do
215218 if [[ $LIST_OF_ASYNC_RECO_STEPS =~ (^| )${det} ( | $) ]]; then
216219 has_detector ${det} && has_processing_step ${det} _RECO && add_comma_separated TRACK_SOURCES " $det "
241244[[ ! -z $VERTEXING_SOURCES ]] && PVERTEX_CONFIG+=" --vertexing-sources $VERTEXING_SOURCES "
242245[[ ! -z $VERTEX_TRACK_MATCHING_SOURCES ]] && PVERTEX_CONFIG+=" --vertex-track-matching-sources $VERTEX_TRACK_MATCHING_SOURCES "
243246
244- if [[ -z ${SVERTEXING_SOURCES:- } ]]; then
245- SVERTEXING_SOURCES=" $VERTEXING_SOURCES "
246- elif [[ " ${SVERTEXING_SOURCES^^} " == " NONE" ]]; then
247- SVERTEXING_SOURCES=
248- fi
249-
250247# this option requires well calibrated timing beween different detectors, at the moment suppress it
251248# has_detector_reco FT0 && PVERTEX_CONFIG+=" --validate-with-ft0"
252249
0 commit comments