Skip to content

Commit 916391e

Browse files
author
miranov25
committed
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.
1 parent 4a52b1a commit 916391e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

prodtests/full-system-test/calib-workflow.sh

100755100644
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ if [[ $CALIB_ASYNC_EXTRACTTIMESERIES == 1 ]] ; then
5858
: ${TPCTIMESERIES_MIN_MOMENTUM:=0.2}
5959
: ${TPCTIMESERIES_MIN_CLUSTER:=80}
6060
: ${TPCTIMESERIES_MAX_TGL:=1.4}
61+
: ${TPCTIMESERIES_MULT_MAX:=50000}
6162
if [[ -n ${CALIB_ASYNC_ENABLEUNBINNEDTIMESERIES:-} ]]; then
6263
CONFIG_TPCTIMESERIES+=" --enable-unbinned-root-output --sample-unbinned-tsallis --threads ${TPCTIMESERIES_THREADS:-1}"
6364
fi
@@ -75,6 +76,7 @@ if [[ $CALIB_ASYNC_EXTRACTTIMESERIES == 1 ]] ; then
7576
CONFIG_TPCTIMESERIES+=" --min-momentum ${TPCTIMESERIES_MIN_MOMENTUM}"
7677
CONFIG_TPCTIMESERIES+=" --min-cluster ${TPCTIMESERIES_MIN_CLUSTER}"
7778
CONFIG_TPCTIMESERIES+=" --max-tgl ${TPCTIMESERIES_MAX_TGL}"
79+
CONFIG_TPCTIMESERIES+=" --mult-max ${TPCTIMESERIES_MULT_MAX}"
7880
add_W o2-tpc-time-series-workflow "${CONFIG_TPCTIMESERIES}"
7981
fi
8082

0 commit comments

Comments
 (0)