From bba4c54425a9e0a754b0b396262deb9befb987bf Mon Sep 17 00:00:00 2001
From: Sergei Zharko <s.zharko@gsi.de>
Date: Tue, 1 Aug 2023 17:10:06 +0000
Subject: [PATCH] Update CMakeLists.txt (path to objects.yaml in the QA-Checker
 CI-tests)

---
 macro/qa/CMakeLists.txt                    |  2 +-
 macro/qa/configs/qa_tasks_config_mcbm.yaml | 24 ++++++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletion(-)
 create mode 100644 macro/qa/configs/qa_tasks_config_mcbm.yaml

diff --git a/macro/qa/CMakeLists.txt b/macro/qa/CMakeLists.txt
index dec6ce17ff..fa0a9616df 100644
--- a/macro/qa/CMakeLists.txt
+++ b/macro/qa/CMakeLists.txt
@@ -81,7 +81,7 @@ foreach(setup IN LISTS cbm_setup)
   # --- Run QA tasks with Event-by-event reconstruction from time-based simulation
   # --- Real raw event builder
   set(testname qa_${sname}_compare)
-  add_test(${testname} ${MACRODIR}/qa_compare.sh \"objects.yaml\" \"${sname}\" \"../run/data\" \"../run/data/\" \"data/QACheckerOutput.${sname}.root\" )
+  add_test(${testname} ${MACRODIR}/qa_compare.sh \"configs/objects.yaml\" \"${sname}\" \"../run/data\" \"../run/data/\" \"data/QACheckerOutput.${sname}.root\" )
   set_tests_properties(${testname} PROPERTIES
   	TIMEOUT ${timeOutTime}
 	FAIL_REGULAR_EXPRESSION "segmentation violation"
diff --git a/macro/qa/configs/qa_tasks_config_mcbm.yaml b/macro/qa/configs/qa_tasks_config_mcbm.yaml
new file mode 100644
index 0000000000..2bc8bb254f
--- /dev/null
+++ b/macro/qa/configs/qa_tasks_config_mcbm.yaml
@@ -0,0 +1,24 @@
+#  Copyright (C) 2023 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
+#  SPDX-License-Identifier: GPL-3.0-only
+#  Authors: Sergei Zharko [committer] 
+# 
+## @file   qa_task_config_mcbm.yaml
+## @brief  Configuration file for QA-tasks in mCBM
+## @since  27.07.2023
+## @author Sergei Zharko <s.zharko@gsi.de>
+
+qa:
+  CbmCaInputQaTrd:
+    histograms:
+      #xy_station0: 
+      #  x: { nbins: 500, min: -20., max: 20. }
+      #  y: { nbins: 500, min: -20., max: 20. }
+      #xy_station1: 
+      #  x: { nbins: 500, min: -100., max: 100. } 
+      #  y: { nbins: 500, min: -100., max: 100. }
+      #xy_station2: 
+      #  x: { nbins: 500, min: -100., max: 100. } 
+      #  y: { nbins: 500, min: -100., max: 100. }
+    profiles: none 
+
+...
-- 
GitLab