From 9b6b5f9852165d19c38c9dd1bdf4af47b5812b2f Mon Sep 17 00:00:00 2001
From: "patrick.koppenburg@cern.ch" <patrick.koppenburg@cern.ch>
Date: Thu, 22 Jun 2023 11:27:29 +0200
Subject: [PATCH] Rename a root file

---
 .../example_data/Run255620-Hlt2.yaml          | 19 +++++++++++++++++++
 ...avinci_tupling_from_hlt2_with_matching.qmt |  4 ++--
 2 files changed, 21 insertions(+), 2 deletions(-)
 create mode 100644 DaVinciExamples/example_data/Run255620-Hlt2.yaml

diff --git a/DaVinciExamples/example_data/Run255620-Hlt2.yaml b/DaVinciExamples/example_data/Run255620-Hlt2.yaml
new file mode 100644
index 000000000..51f519555
--- /dev/null
+++ b/DaVinciExamples/example_data/Run255620-Hlt2.yaml
@@ -0,0 +1,19 @@
+input_files:
+ - mdf:root://eoslhcb.cern.ch//eos/lhcb/wg/dpa/wp3/Commissioning2022/Run255620/255620_00150000_0000.raw
+ - mdf:root://eoslhcb.cern.ch//eos/lhcb/wg/dpa/wp3/Commissioning2022/Run255620/255620_00150000_0001.raw
+ - mdf:root://eoslhcb.cern.ch//eos/lhcb/wg/dpa/wp3/Commissioning2022/Run255620/255620_00150000_0002.raw
+ - mdf:root://eoslhcb.cern.ch//eos/lhcb/wg/dpa/wp3/Commissioning2022/Run255620/255620_00150000_0003.raw
+ - mdf:root://eoslhcb.cern.ch//eos/lhcb/wg/dpa/wp3/Commissioning2022/Run255620/255620_00150011_0001.raw
+data_type: 'Upgrade'
+input_type: 'RAW'
+simulation: False
+evt_max : 10000
+ntuple_file: "Raw_DV_Ks_example-Hlt2.root"
+
+input_raw_format: 0.5
+input_process: Hlt2
+conditions_version: AlignmentV9_2023_03_16_VPSciFiRich
+geometry_version: trunk
+python_logging_level: 3
+output_level: 3
+print_freq: 1000
diff --git a/DaVinciExamples/tests/qmtest/tupling.qms/test_davinci_tupling_from_hlt2_with_matching.qmt b/DaVinciExamples/tests/qmtest/tupling.qms/test_davinci_tupling_from_hlt2_with_matching.qmt
index 9449a4a26..42fa25e21 100644
--- a/DaVinciExamples/tests/qmtest/tupling.qms/test_davinci_tupling_from_hlt2_with_matching.qmt
+++ b/DaVinciExamples/tests/qmtest/tupling.qms/test_davinci_tupling_from_hlt2_with_matching.qmt
@@ -18,7 +18,7 @@
     <text>DaVinciExamples.tupling.option_davinci_tupling_from_hlt2_with_matching:main</text>
   </set>
   </argument>
-  <argument name="options_yaml_fn"><text>$DAVINCIEXAMPLESROOT/example_data/Run255620.yaml</text></argument>
+  <argument name="options_yaml_fn"><text>$DAVINCIEXAMPLESROOT/example_data/Run255620-Hlt2.yaml</text></argument>
   <argument name="reference"><text>../refs/test_davinci_tupling_from_hlt2_with_matching.ref</text></argument>
   <argument name="error_reference"><text>../refs/empty.ref</text></argument>
   <argument name="use_temp_dir"><enumeral>true</enumeral></argument>
@@ -28,7 +28,7 @@ from DaVinciTests.QMTest.check_helpers import has_nan
 import sys, os, glob
 import ROOT
 
-ntuple_file_name = 'Raw_DV_Ks_example.root'
+ntuple_file_name = 'Raw_DV_Ks_example-Hlt2.root'
 
 if has_nan( filename=ntuple_file_name, ntuple_name="DecayTreeTuple/DecayTree" ):
     causes.append("Unexpected list of branches with NaN values")
-- 
GitLab