Skip to content

Commit 57566cc

Browse files
committed
Move SVERTEXING_SOURCES definition to dpl-workflow to allow special online mode
1 parent 9dc9ea3 commit 57566cc

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

DATA/common/setenv.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ TRD_SOURCES=
195195
TOF_SOURCES=
196196
HMP_SOURCES=
197197
TRACK_SOURCES=
198+
: ${TRACK_SOURCES_GLO:=}
198199
has_detectors_reco ITS TPC && has_detector_matching ITSTPC && add_comma_separated TRACK_SOURCES "ITS-TPC"
199200
has_detectors_reco TPC TRD && has_detector_matching TPCTRD && { add_comma_separated TRD_SOURCES TPC; add_comma_separated TRACK_SOURCES "TPC-TRD"; }
200201
has_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
211212
has_detectors_reco HMP TPC TRD TOF && has_detector_matching TPCTRD && has_detector_matching TPCTRDTOF && add_comma_separated HMP_SOURCES "TPC-TRD-TOF"
212213
has_detectors_reco MFT MCH && has_detector_matching MFTMCH && add_comma_separated TRACK_SOURCES "MFT-MCH"
213214
has_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+
214217
for 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"
@@ -241,12 +244,6 @@ fi
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

Comments
 (0)