Skip to content
Snippets Groups Projects

Add a sprucing bandwidth test

Merged Shunan Zhang requested to merge add-new-bandwidth-tests into master
Files
4
###############################################################################
# (c) Copyright 2023 CERN for the benefit of the LHCb Collaboration #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
'''
Configure input files for the Sprucing bandwidth tests
This is needed for the qmtest in Moore.
For the test in LHCbPR, the input files are configured by
$PRCONFIGROOT/python/MooreTests/run_bandwidth_test_jobs.py
'''
from Moore import options
from RecoConf.calorimeter_reconstruction import make_digits
options.set_input_and_conds_from_testfiledb(
'upgrade-minbias-hlt2-persistreco-output')
options.input_type = "MDF"
options.evt_max = 100
options.n_threads = 1
make_digits.global_bind(calo_raw_bank=False)
Loading