From 4a52b1ae2c9c1401a9d254c38400a13b80405258 Mon Sep 17 00:00:00 2001 From: miranov25 Date: Tue, 21 Jul 2026 15:22:50 +0200 Subject: [PATCH] TPC TimeSeries: propagate min-momentum, min-cluster, max-tgl to workflow Add configurable environment variables for o2-tpc-time-series-workflow: TPCTIMESERIES_MIN_MOMENTUM (default: 0.2) TPCTIMESERIES_MIN_CLUSTER (default: 80) TPCTIMESERIES_MAX_TGL (default: 1.4) Defaults match TPCTimeSeriesSpec.cxx hardcoded values. Previously these cuts were not configurable from the workflow script. --- prodtests/full-system-test/calib-workflow.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/prodtests/full-system-test/calib-workflow.sh b/prodtests/full-system-test/calib-workflow.sh index 3c05ca6cda303..19d24837386d5 100755 --- a/prodtests/full-system-test/calib-workflow.sh +++ b/prodtests/full-system-test/calib-workflow.sh @@ -55,6 +55,9 @@ if [[ $CALIB_ASYNC_EXTRACTTPCCURRENTS == 1 ]]; then fi if [[ $CALIB_ASYNC_EXTRACTTIMESERIES == 1 ]] ; then : ${CALIB_ASYNC_SAMPLINGFACTORTIMESERIES:=0.001} + : ${TPCTIMESERIES_MIN_MOMENTUM:=0.2} + : ${TPCTIMESERIES_MIN_CLUSTER:=80} + : ${TPCTIMESERIES_MAX_TGL:=1.4} if [[ -n ${CALIB_ASYNC_ENABLEUNBINNEDTIMESERIES:-} ]]; then CONFIG_TPCTIMESERIES+=" --enable-unbinned-root-output --sample-unbinned-tsallis --threads ${TPCTIMESERIES_THREADS:-1}" fi @@ -69,6 +72,9 @@ if [[ $CALIB_ASYNC_EXTRACTTIMESERIES == 1 ]] ; then fi : ${TPCTIMESERIES_SOURCES:=$TRACK_SOURCES} CONFIG_TPCTIMESERIES+=" --track-sources $TPCTIMESERIES_SOURCES" + CONFIG_TPCTIMESERIES+=" --min-momentum ${TPCTIMESERIES_MIN_MOMENTUM}" + CONFIG_TPCTIMESERIES+=" --min-cluster ${TPCTIMESERIES_MIN_CLUSTER}" + CONFIG_TPCTIMESERIES+=" --max-tgl ${TPCTIMESERIES_MAX_TGL}" add_W o2-tpc-time-series-workflow "${CONFIG_TPCTIMESERIES}" fi