Skip to content

Commit 08020ed

Browse files
miranov25miranov25
authored andcommitted
TPC TimeSeries: propagate min-momentum, min-cluster, max-tgl to workflow (#15618)
* 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. * 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. --------- Co-authored-by: miranov25 <marian.ivanov@cern.cg>
1 parent ccb64dd commit 08020ed

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

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

100755100644
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ if [[ $CALIB_ASYNC_EXTRACTTPCCURRENTS == 1 ]]; then
5555
fi
5656
if [[ $CALIB_ASYNC_EXTRACTTIMESERIES == 1 ]] ; then
5757
: ${CALIB_ASYNC_SAMPLINGFACTORTIMESERIES:=0.001}
58+
: ${TPCTIMESERIES_MIN_MOMENTUM:=0.2}
59+
: ${TPCTIMESERIES_MIN_CLUSTER:=80}
60+
: ${TPCTIMESERIES_MAX_TGL:=1.4}
61+
: ${TPCTIMESERIES_MULT_MAX:=50000}
5862
if [[ -n ${CALIB_ASYNC_ENABLEUNBINNEDTIMESERIES:-} ]]; then
5963
CONFIG_TPCTIMESERIES+=" --enable-unbinned-root-output --sample-unbinned-tsallis --threads ${TPCTIMESERIES_THREADS:-1}"
6064
fi
@@ -69,6 +73,10 @@ if [[ $CALIB_ASYNC_EXTRACTTIMESERIES == 1 ]] ; then
6973
fi
7074
: ${TPCTIMESERIES_SOURCES:=$TRACK_SOURCES}
7175
CONFIG_TPCTIMESERIES+=" --track-sources $TPCTIMESERIES_SOURCES"
76+
CONFIG_TPCTIMESERIES+=" --min-momentum ${TPCTIMESERIES_MIN_MOMENTUM}"
77+
CONFIG_TPCTIMESERIES+=" --min-cluster ${TPCTIMESERIES_MIN_CLUSTER}"
78+
CONFIG_TPCTIMESERIES+=" --max-tgl ${TPCTIMESERIES_MAX_TGL}"
79+
CONFIG_TPCTIMESERIES+=" --mult-max ${TPCTIMESERIES_MULT_MAX}"
7280
add_W o2-tpc-time-series-workflow "${CONFIG_TPCTIMESERIES}"
7381
fi
7482

0 commit comments

Comments
 (0)