From 4a52b1ae2c9c1401a9d254c38400a13b80405258 Mon Sep 17 00:00:00 2001 From: miranov25 Date: Tue, 21 Jul 2026 15:22:50 +0200 Subject: [PATCH 1/2] 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 From 916391ea6e9f8c4819e03dc45c73e8b0966cdd03 Mon Sep 17 00:00:00 2001 From: miranov25 Date: Thu, 23 Jul 2026 23:06:53 +0200 Subject: [PATCH 2/2] TPC TimeSeries: propagate track selection and multiplicity cuts 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) TPCTIMESERIES_MULT_MAX (default: 50000) Defaults match TPCTimeSeriesSpec.cxx hardcoded values. Previously these cuts were not configurable from the workflow script. --- prodtests/full-system-test/calib-workflow.sh | 2 ++ 1 file changed, 2 insertions(+) mode change 100755 => 100644 prodtests/full-system-test/calib-workflow.sh diff --git a/prodtests/full-system-test/calib-workflow.sh b/prodtests/full-system-test/calib-workflow.sh old mode 100755 new mode 100644 index 19d24837386d5..72f7a5aa47056 --- a/prodtests/full-system-test/calib-workflow.sh +++ b/prodtests/full-system-test/calib-workflow.sh @@ -58,6 +58,7 @@ if [[ $CALIB_ASYNC_EXTRACTTIMESERIES == 1 ]] ; then : ${TPCTIMESERIES_MIN_MOMENTUM:=0.2} : ${TPCTIMESERIES_MIN_CLUSTER:=80} : ${TPCTIMESERIES_MAX_TGL:=1.4} + : ${TPCTIMESERIES_MULT_MAX:=50000} if [[ -n ${CALIB_ASYNC_ENABLEUNBINNEDTIMESERIES:-} ]]; then CONFIG_TPCTIMESERIES+=" --enable-unbinned-root-output --sample-unbinned-tsallis --threads ${TPCTIMESERIES_THREADS:-1}" fi @@ -75,6 +76,7 @@ if [[ $CALIB_ASYNC_EXTRACTTIMESERIES == 1 ]] ; then CONFIG_TPCTIMESERIES+=" --min-momentum ${TPCTIMESERIES_MIN_MOMENTUM}" CONFIG_TPCTIMESERIES+=" --min-cluster ${TPCTIMESERIES_MIN_CLUSTER}" CONFIG_TPCTIMESERIES+=" --max-tgl ${TPCTIMESERIES_MAX_TGL}" + CONFIG_TPCTIMESERIES+=" --mult-max ${TPCTIMESERIES_MULT_MAX}" add_W o2-tpc-time-series-workflow "${CONFIG_TPCTIMESERIES}" fi