Skip to content
Snippets Groups Projects
Commit 303822b4 authored by Patrick Koppenburg's avatar Patrick Koppenburg :leaves:
Browse files

Use env variable to address issue #87

parent 2d8be3d7
No related branches found
No related tags found
2 merge requests!1103Draft: Add AnalysisHelpers to DaVinci Stack,!798Use env variable to address issue https://gitlab.cern.ch/lhcb/DaVinci/-/issues/87
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<!DOCTYPE extension PUBLIC '-//QM/2.3/Extension//EN' 'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'> <!DOCTYPE extension PUBLIC '-//QM/2.3/Extension//EN' 'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
<extension class="GaudiTest.GaudiExeTest" kind="test"> <extension class="GaudiTest.GaudiExeTest" kind="test">
<argument name="program"><text>lbexec</text></argument> <argument name="program"><text>lbexec</text></argument>
<argument name="test_file_db_options_yaml"><text>Upgrade_Bd2KstarMuMu</text></argument> <argument name="options_yaml_fn"><text>$DAVINCIEXAMPLESROOT/example_data/Upgrade_Bd2KstarMuMu_ldst.yaml</text></argument>
<argument name="extra_options_yaml"><text> <argument name="extra_options_yaml"><text>
evt_max: 100 evt_max: 100
print_freq: 1 print_freq: 1
...@@ -26,8 +26,8 @@ ...@@ -26,8 +26,8 @@
<argument name="validator"><text> <argument name="validator"><text>
findReferenceBlock("""PrintJpsis INFO Number of counters : 2 findReferenceBlock("""PrintJpsis INFO Number of counters : 2
| Counter | # | sum | mean/eff^* | rms/err^* | min | max | | Counter | # | sum | mean/eff^* | rms/err^* | min | max |
| "Candidates" | 18 | 24 | 1.3333 | 0.57735 | 1.0000 | 3.0000 | | "Candidates" | 21 | 24 | 1.1429 | 0.34993 | 1.0000 | 2.0000 |
| "Events" | 18 | | "Events" | 21 |
""", stdout, result, causes, signature_offset = 0) """, stdout, result, causes, signature_offset = 0)
countErrorLines({"FATAL":0, "ERROR":0}) countErrorLines({"FATAL":0, "ERROR":0})
<argument name="exit_code"><integer>1</integer></argument> <argument name="exit_code"><integer>1</integer></argument>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<!DOCTYPE extension PUBLIC '-//QM/2.3/Extension//EN' 'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'> <!DOCTYPE extension PUBLIC '-//QM/2.3/Extension//EN' 'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
<extension class="GaudiTest.GaudiExeTest" kind="test"> <extension class="GaudiTest.GaudiExeTest" kind="test">
<argument name="program"><text>lbexec</text></argument> <argument name="program"><text>lbexec</text></argument>
<argument name="test_file_db_options_yaml"><text>Upgrade_Bd2KstarMuMu</text></argument> <argument name="options_yaml_fn"><text>$DAVINCIEXAMPLESROOT/example_data/Upgrade_Bd2KstarMuMu_ldst.yaml</text></argument>
<argument name="extra_options_yaml"><text> <argument name="extra_options_yaml"><text>
evt_max: 7 evt_max: 7
input_raw_format: 4.3 input_raw_format: 4.3
......
<?xml version="1.0" ?> <?xml version="1.0" ?>
<!-- <!--
(c) Copyright 2021 CERN for the benefit of the LHCb Collaboration ###############################################################################
# (c) Copyright 2020-2021 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". # 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 # In applying this licence, CERN does not waive the privileges and immunities #
or submit itself to any jurisdiction. # granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
--> -->
<!DOCTYPE extension PUBLIC '-//QM/2.3/Extension//EN' 'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'> <!DOCTYPE extension PUBLIC '-//QM/2.3/Extension//EN' 'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
<extension class="GaudiTest.GaudiExeTest" kind="test"> <extension class="GaudiTest.GaudiExeTest" kind="test">
<argument name="program"><text>lbexec</text></argument> <argument name="program"><text>lbexec</text></argument>
<argument name="timeout"><integer>3600</integer></argument> <argument name="args"><set>
<argument name="test_file_db_options_yaml"><text>Upgrade_Bd2KstarMuMu</text></argument> <text>DaVinciExamples.tupling.basic:main</text>
<argument name="extra_options_yaml"><text> </set></argument>
control_flow_file: control_flow.gv <argument name="options_yaml_fn"><text>$DAVINCIEXAMPLESROOT/example_data/Upgrade_Bd2KstarMuMu_ldst.yaml</text></argument>
data_flow_file: data_flow.gv <argument name="extra_options_yaml"><text>
ntuple_file: DV-example-tupling-basic-ntp.root ntuple_file: DV-example-tupling-basic-ntp.root
histo_file: DV-example-tupling-basic-his.root histo_file: DV-example-tupling-basic-his.root
evt_max: 10 evt_max: 10
...@@ -24,9 +26,6 @@ ...@@ -24,9 +26,6 @@
input_process: Spruce input_process: Spruce
</text></argument> </text></argument>
<argument name="timeout"><integer>3600</integer></argument> <argument name="timeout"><integer>3600</integer></argument>
<argument name="args"><set>
<text>DaVinciExamples.tupling.basic:main</text>
</set></argument>
<argument name="validator"><text> <argument name="validator"><text>
findReferenceBlock(""" findReferenceBlock("""
RFileCnv INFO dumping contents of /NTUPLES/FILE1 RFileCnv INFO dumping contents of /NTUPLES/FILE1
......
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