From 2295a7aa33c3d6f2c670d47543110dbffc58f694 Mon Sep 17 00:00:00 2001 From: Sascha Stahl <sascha.stahl@cern.ch> Date: Sat, 26 Nov 2022 21:02:34 +0100 Subject: [PATCH] Add more global binds --- DaVinciExamples/example_data/Upgrade_Bd2KstarMuMu_ldst.yaml | 2 +- .../tests/qmtest/debugging.qms/test_example-PrintHeader.qmt | 2 +- Phys/DaVinci/python/DaVinci/LbExec.py | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/DaVinciExamples/example_data/Upgrade_Bd2KstarMuMu_ldst.yaml b/DaVinciExamples/example_data/Upgrade_Bd2KstarMuMu_ldst.yaml index d6bf2b468..c6d9e1b98 100644 --- a/DaVinciExamples/example_data/Upgrade_Bd2KstarMuMu_ldst.yaml +++ b/DaVinciExamples/example_data/Upgrade_Bd2KstarMuMu_ldst.yaml @@ -5,4 +5,4 @@ input_type: ROOT simulation: true conddb_tag: sim-20171127-vc-md100 dddb_tag: dddb-20171126 -input_process: Turbo \ No newline at end of file +input_process: Hlt2 \ No newline at end of file diff --git a/DaVinciExamples/tests/qmtest/debugging.qms/test_example-PrintHeader.qmt b/DaVinciExamples/tests/qmtest/debugging.qms/test_example-PrintHeader.qmt index 08d711ec5..ccae28c18 100755 --- a/DaVinciExamples/tests/qmtest/debugging.qms/test_example-PrintHeader.qmt +++ b/DaVinciExamples/tests/qmtest/debugging.qms/test_example-PrintHeader.qmt @@ -16,7 +16,7 @@ <argument name="extra_options_yaml"><text> evt_max: 7 input_raw_format: 4.3 - input_process: Turbo + input_process: Hlt2 </text></argument> <argument name="timeout"><integer>3600</integer></argument> <argument name="args"><set> diff --git a/Phys/DaVinci/python/DaVinci/LbExec.py b/Phys/DaVinci/python/DaVinci/LbExec.py index 43e850837..4c6c85c34 100644 --- a/Phys/DaVinci/python/DaVinci/LbExec.py +++ b/Phys/DaVinci/python/DaVinci/LbExec.py @@ -14,7 +14,7 @@ from GaudiConf.LbExec import Options as DefaultOptions, InputProcessTypes from pydantic import root_validator from PyConf.reading import (upfront_decoder, reconstruction, get_tes_root, get_odin, get_hlt_reports, get_mc_track_info) -from PyConf.application import default_raw_event +from PyConf.application import default_raw_event, make_odin class Options(DefaultOptions): @@ -89,6 +89,8 @@ class Options(DefaultOptions): get_tes_root.global_bind(input_process=self.input_process) get_odin.global_bind( input_process=self.input_process, stream=self.stream) + make_odin.global_bind(stream=self.stream) + get_hlt_reports.global_bind( input_process=self.input_process, stream=self.stream) get_mc_track_info.global_bind(input_process=self.input_process) -- GitLab