From fb651a0231bb57b569b457dd5d80f7d5a9a51881 Mon Sep 17 00:00:00 2001
From: Dominik Smith <d.smith@gsi.de>
Date: Thu, 22 Oct 2020 17:03:11 +0200
Subject: [PATCH] Moved CbmMuchPointInfo to core/detectors/much/. Adjusted
 CMakeLists and CbmMuchBaseLinkDef accordingly.

---
 core/detectors/much/CMakeLists.txt                              | 1 +
 core/detectors/much/CbmMuchBaseLinkDef.h                        | 1 +
 .../much/qa => core/detectors/much}/CbmMuchPointInfo.cxx        | 0
 .../much/qa => core/detectors/much}/CbmMuchPointInfo.h          | 0
 reco/detectors/much/CMakeLists.txt                              | 2 +-
 sim/detectors/much/CMakeLists.txt                               | 1 -
 6 files changed, 3 insertions(+), 2 deletions(-)
 rename {sim/detectors/much/qa => core/detectors/much}/CbmMuchPointInfo.cxx (100%)
 rename {sim/detectors/much/qa => core/detectors/much}/CbmMuchPointInfo.h (100%)

diff --git a/core/detectors/much/CMakeLists.txt b/core/detectors/much/CMakeLists.txt
index a826e32769..6fbbc1613d 100644
--- a/core/detectors/much/CMakeLists.txt
+++ b/core/detectors/much/CMakeLists.txt
@@ -39,6 +39,7 @@ CbmMuchModuleGemRectangular.cxx
 CbmMuchPad.cxx
 CbmMuchPadRadial.cxx
 CbmMuchPadRectangular.cxx
+CbmMuchPointInfo.cxx
 CbmMuchSector.cxx
 CbmMuchSectorRadial.cxx
 CbmMuchSectorRectangular.cxx
diff --git a/core/detectors/much/CbmMuchBaseLinkDef.h b/core/detectors/much/CbmMuchBaseLinkDef.h
index d7e6a405cc..e69348fc73 100644
--- a/core/detectors/much/CbmMuchBaseLinkDef.h
+++ b/core/detectors/much/CbmMuchBaseLinkDef.h
@@ -14,6 +14,7 @@
 #pragma link C++ class CbmMuchModuleGem + ;
 #pragma link C++ class CbmMuchModuleGemRectangular + ;
 #pragma link C++ class CbmMuchModuleGemRadial + ;
+#pragma link C++ class CbmMuchPointInfo + ;
 #pragma link C++ class CbmMuchSector + ;
 #pragma link C++ class CbmMuchSectorRadial + ;
 #pragma link C++ class CbmMuchSectorRectangular + ;
diff --git a/sim/detectors/much/qa/CbmMuchPointInfo.cxx b/core/detectors/much/CbmMuchPointInfo.cxx
similarity index 100%
rename from sim/detectors/much/qa/CbmMuchPointInfo.cxx
rename to core/detectors/much/CbmMuchPointInfo.cxx
diff --git a/sim/detectors/much/qa/CbmMuchPointInfo.h b/core/detectors/much/CbmMuchPointInfo.h
similarity index 100%
rename from sim/detectors/much/qa/CbmMuchPointInfo.h
rename to core/detectors/much/CbmMuchPointInfo.h
diff --git a/reco/detectors/much/CMakeLists.txt b/reco/detectors/much/CMakeLists.txt
index b900b0c7a0..135c25a423 100644
--- a/reco/detectors/much/CMakeLists.txt
+++ b/reco/detectors/much/CMakeLists.txt
@@ -43,7 +43,7 @@ CbmMuchTrackFinderIdeal.cxx
 set(LINKDEF CbmMuchRecoLinkDef.h)
 Set(LIBRARY_NAME CbmMuchReco)
 Set(DEPENDENCIES
-    CbmMuchBase CbmMuchSim CbmRecoBase CbmBase CbmData Base 
+    CbmMuchBase CbmRecoBase CbmBase CbmData Base 
 )
 
 GENERATE_LIBRARY()
diff --git a/sim/detectors/much/CMakeLists.txt b/sim/detectors/much/CMakeLists.txt
index 6c83a88aa2..d0094979bb 100644
--- a/sim/detectors/much/CMakeLists.txt
+++ b/sim/detectors/much/CMakeLists.txt
@@ -41,7 +41,6 @@ CbmMuchReadoutBuffer.cxx
 CbmMuchSignal.cxx
 
 qa/CbmMuchTransportQa.cxx
-qa/CbmMuchPointInfo.cxx
 qa/CbmMuchDigitizerQa.cxx
 )
 
-- 
GitLab