Skip to content
Snippets Groups Projects
Commit 318440c3 authored by Christopher Rob Jones's avatar Christopher Rob Jones
Browse files

Merge branch 'eleckste/fsr-integration-test' into '2024-patches'

Add function to run only 2and3bodytopo in hlt2  + only test spruce lines during sprucing for FSR integrationtest

See merge request !3199
parents 3303f291 5a6311fa
No related branches found
No related tags found
6 merge requests!4232Run5: rebase, restructure run5 code, add back examples,!3472(new)Uncomment downstream lines for bu2ksh,!3465Draft: Check conflict. No need to merge,!3464Draft: Create MR to check if bandq MRs conflict with each other. Do not plan to merge.,!3378Synchronize master branch with 2024-patches,!3199Add function to run only 2and3bodytopo in hlt2 + only test spruce lines during sprucing for FSR integrationtest
Pipeline #7346009 passed with warnings
###############################################################################
# (c) Copyright 2022 CERN for the benefit of the LHCb Collaboration #
# (c) Copyright 2022-2024 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". #
......@@ -235,3 +235,24 @@ def spruce_all_lines_realtime_test_old_json(options: Options):
allow_missing_containers=True), list_of_full_stream_lines.bind(
lines=["Hlt2Topo2BodyLine", "Hlt2Topo3BodyLine"]):
return run_moore(options, make_lines, public_tools)
def spruce_test_lines(options: Options):
"""
Used for integration test
Runs only the lines:
- Test_sprucing_line
- Test_extraoutputs_sprucing_line
- Test_persistreco_sprucing_line
"""
def make_lines():
return [
Test_sprucing_line(name="SpruceTest_SpruceTest"),
Test_extraoutputs_sprucing_line(name="SpruceTest_ExtraOutputs"),
Test_persistreco_sprucing_line(name="Spruce_Test_line_persistreco")
]
config = run_moore(options, make_lines, public_tools)
return config
###############################################################################
# (c) Copyright 2024 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. #
###############################################################################
"""
Configuration to run LHCbIntegrationTest's FSR_DecodingKeys.
"""
from Moore import Options, run_moore
from RecoConf.global_tools import stateProvider_with_simplified_geom
from RecoConf.reconstruction_objects import reconstruction
from Hlt2Conf.lines.topological_b import threebody_line, twobody_line
from RecoConf.decoders import default_ft_decoding_version
ft_decoding_version = 2
default_ft_decoding_version.global_bind(value=ft_decoding_version)
from RecoConf.calorimeter_reconstruction import make_digits
make_digits.global_bind(calo_raw_bank=False)
def hlt2_2_or_3body_topo(options: Options):
def make_lines():
return [
twobody_line(persistreco=True),
threebody_line(persistreco=True)
]
public_tools = [stateProvider_with_simplified_geom()]
with reconstruction.bind(from_file=False):
return run_moore(
options, make_lines, public_tools, exclude_incompatible=False)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment