Skip to content
Snippets Groups Projects

[RTA/DPA BW tests]: Use new 2024 HLT1-filtered min. bias in bandwidth tests

Merged Ross John Hunter requested to merge rjhunter-bw-tests-2024-minbias into master
Files
2
@@ -21,11 +21,11 @@ Usage: Moore/run /path/to/Moore_bandwidth_test.sh [options] 2>&1 | tee <path-to-
Expected to be called by e.g. Moore_hlt2_bandwidth.sh for the periodic LHCbPR tests.
The number of events the tests run over is hard-coded below, but this can be modified by setting the environment variable OVERRIDE_EVTMAX.
The number of events the tests run over is hard-coded below, but this can be modified by setting the environment variable OVERRIDE_EVTMAX.
This is useful to e.g. run from a released version, where one cannot easily edit the hard-coded number of events below.
For example: Moore/run env OVERRIDE_EVTMAX=1e4 /path/to/Moore_bandwidth_test.sh ...
--process: "hlt1", "hlt2" or "spruce".
--input-data: "nominal" or "latest".
--input-data: "nominal", "2024" or "latest".
"latest" not currently available for process == hlt1 or hlt2.
-h|--help: print this message and exit.
@@ -101,7 +101,7 @@ mkdir -p tmp/Output/Inter
# Set configuration variables and check configuration makes sense
if [ -z "${OVERRIDE_EVTMAX}" ]; then
EVTMAX=1e5
EVTMAX=5e3
else
EVTMAX=${OVERRIDE_EVTMAX}
fi
@@ -135,8 +135,12 @@ case $PROCESS in
CONFIG_FILE="${TEST_PATH_PREFIX}hlt2_bandwidth_input_nominal_with_gec.yaml"
EXTRA_OPTS='$MOOREROOT/options/calo_decoding_packed.py $MOOREROOT/options/muon_geometry_v2.py'
;;
2024)
CONFIG_FILE="${TEST_PATH_PREFIX}hlt2_bandwidth_input_2024.yaml"
EXTRA_OPTS='-e 1 --digi' # FIXME generalise --digi for dst and digi
;;
*)
echo "ERROR: --input-data must be \"nominal\" for process \"$PROCESS\""
echo "ERROR: --input-data must be \"nominal\" or \"2024\" for process \"$PROCESS\""
exit 1
;;
esac
@@ -182,7 +186,7 @@ if [ $PROCESS = "spruce" ] && [ $INPUTDATA = "latest" ]; then
fi
for STREAM_CONFIG in "${STREAM_CONFIGS[@]}"; do
echo "Running trigger to obtain MDF files with ${STREAM_CONFIG} streams for comparison over ${CONFIG_FILE}"
time python -m MooreTests.run_bandwidth_test_jobs -d -c=$CONFIG_FILE -n=$EVTMAX -p=$PROCESS -t=$MOORE_THREADS -a=$EVENT_SIZE_UPPER_LIMIT $EXTRA_OPTS "${TEST_PATH_PREFIX}${PROCESS}_bandwidth_${STREAM_CONFIG}_streams.py"
time python -m MooreTests.run_bandwidth_test_jobs -c=$CONFIG_FILE -n=$EVTMAX -p=$PROCESS -t=$MOORE_THREADS -a=$EVENT_SIZE_UPPER_LIMIT $EXTRA_OPTS "${TEST_PATH_PREFIX}${PROCESS}_bandwidth_${STREAM_CONFIG}_streams.py"
STORE_ERR_CODE
done
@@ -239,4 +243,4 @@ fi
# 8. Produce plots and HTML pages; add the --building-locally flag to make the links work if you are building the html pages locally
echo 'Making plots and HTML pages'
time python -m MooreTests.make_bandwidth_test_page -p $PROCESS -c $CONFIG_FILE -s $SCRIPT_PATH -e $ERR_CODE
time python -m MooreTests.make_bandwidth_test_page -p $PROCESS -c $CONFIG_FILE -s $SCRIPT_PATH -e $ERR_CODE --building-locally
Loading