Skip to content
Snippets Groups Projects

[RTADPA BW Tests] Introducing an Hlt1-bandwidth test via Moore_in_Allen

Merged Luke Grazette requested to merge lugrazet-BW-initialhlt1test into master
1 file
+ 21
5
Compare changes
  • Side-by-side
  • Inline
@@ -21,9 +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.
--process: "hlt2" or "spruce"
--input-data: "nominal" or "2023". "2023" not currently available for process == spruce
-h|--help: print this message and exit
--process: "hlt1", "hlt2" or "spruce".
--input-data: "nominal" or "2023".
"nominal" not currently available for process == hlt1.
"2023" not currently available for process == spruce.
-h|--help: print this message and exit.
EOF
)
@@ -98,9 +100,22 @@ mkdir -p tmp/Output/Inter
# Set configuration variables and check configuration makes sense
MOORE_THREADS=$(nproc)
N_EVTS=1e5
TEST_PATH_PREFIX='$HLT2CONFROOT/tests/options/bandwidth/'
case $PROCESS in
hlt1)
TEST_PATH_PREFIX='$HLT1CONFROOT/tests/options/bandwidth/'
EVENT_SIZE_UPPER_LIMIT=500
GAUDIRUN_INPUT_PROCESS="Hlt1"
STREAM_CONFIG=( "production" )
case $INPUTDATA in
nominal)
CONFIG_FILE="${TEST_PATH_PREFIX}hlt1_bandwidth_input_nominal_with_gec.yaml"
EXTRA_OPTS='$MOOREROOT/options/calo_decoding_packed.py $MOOREROOT/options/muon_geometry_v2.py'
;;
*)
echo "ERROR: --input-data must be \"nominal\" for process \"$PROCESS\""
;;
hlt2)
TEST_PATH_PREFIX='$HLT2CONFROOT/tests/options/bandwidth/'
EVENT_SIZE_UPPER_LIMIT=200
GAUDIRUN_INPUT_PROCESS="Hlt2"
STREAM_CONFIGS=( "wg" "production" )
@@ -120,6 +135,7 @@ case $PROCESS in
esac
;;
spruce)
TEST_PATH_PREFIX='$HLT2CONFROOT/tests/options/bandwidth/'
EVENT_SIZE_UPPER_LIMIT=300
GAUDIRUN_INPUT_PROCESS="Spruce"
STREAM_CONFIGS=( "wg" )
@@ -135,7 +151,7 @@ case $PROCESS in
esac
;;
*)
echo "Unrecognised process \"$PROCESS\". It must be \"hlt2\" or \"spruce\"."
echo "Unrecognised process \"$PROCESS\". It must be \"hlt1\" or \"hlt2\" or \"spruce\"."
exit 1
;;
esac
Loading