From 9ac3341404e6bf126d19d93d2ee004ac0be67739 Mon Sep 17 00:00:00 2001
From: "s.zharko@gsi.de" <s.zharko@gsi.de>
Date: Mon, 9 Sep 2024 11:20:28 +0200
Subject: [PATCH] KfTools: moved to reco/kf/

---
 algo/kf/CMakeLists.txt                                 | 1 -
 reco/CMakeLists.txt                                    | 2 +-
 reco/{kf => kfnew}/CMakeLists.txt                      | 2 ++
 reco/{kf => kfnew}/CbmKfOriginalField.h                | 0
 reco/{kf => kfnew}/CbmKfTarget.cxx                     | 0
 reco/{kf => kfnew}/CbmKfTarget.h                       | 0
 reco/{kf => kfnew}/CbmKfTrackingSetupInitializer.cxx   | 0
 reco/{kf => kfnew}/CbmKfTrackingSetupInitializer.h     | 0
 reco/{kf => kfnew}/README.md                           | 0
 {algo/kf => reco/kfnew}/tools/CMakeLists.txt           | 0
 {algo/kf => reco/kfnew}/tools/KfMaterialMapCreator.cxx | 0
 {algo/kf => reco/kfnew}/tools/KfMaterialMapCreator.h   | 0
 {algo/kf => reco/kfnew}/tools/README.md                | 0
 13 files changed, 3 insertions(+), 2 deletions(-)
 rename reco/{kf => kfnew}/CMakeLists.txt (99%)
 rename reco/{kf => kfnew}/CbmKfOriginalField.h (100%)
 rename reco/{kf => kfnew}/CbmKfTarget.cxx (100%)
 rename reco/{kf => kfnew}/CbmKfTarget.h (100%)
 rename reco/{kf => kfnew}/CbmKfTrackingSetupInitializer.cxx (100%)
 rename reco/{kf => kfnew}/CbmKfTrackingSetupInitializer.h (100%)
 rename reco/{kf => kfnew}/README.md (100%)
 rename {algo/kf => reco/kfnew}/tools/CMakeLists.txt (100%)
 rename {algo/kf => reco/kfnew}/tools/KfMaterialMapCreator.cxx (100%)
 rename {algo/kf => reco/kfnew}/tools/KfMaterialMapCreator.h (100%)
 rename {algo/kf => reco/kfnew}/tools/README.md (100%)

diff --git a/algo/kf/CMakeLists.txt b/algo/kf/CMakeLists.txt
index adc699bb94..ad6d4787c2 100644
--- a/algo/kf/CMakeLists.txt
+++ b/algo/kf/CMakeLists.txt
@@ -1,2 +1 @@
 add_subdirectory(core)
-add_subdirectory(tools)
diff --git a/reco/CMakeLists.txt b/reco/CMakeLists.txt
index 20e15f4e33..d9d1512d4c 100644
--- a/reco/CMakeLists.txt
+++ b/reco/CMakeLists.txt
@@ -11,7 +11,7 @@ add_subdirectory(calibration)
 add_subdirectory(detectors)
 add_subdirectory(eventbuilder)
 add_subdirectory(global)
-add_subdirectory(kf)
+add_subdirectory(kfnew)  # FIXME: replace with kf after removing KF
 add_subdirectory(KF)
 add_subdirectory(L1)
 add_subdirectory(littrack)
diff --git a/reco/kf/CMakeLists.txt b/reco/kfnew/CMakeLists.txt
similarity index 99%
rename from reco/kf/CMakeLists.txt
rename to reco/kfnew/CMakeLists.txt
index ff911e51c2..2b02e92bc8 100644
--- a/reco/kf/CMakeLists.txt
+++ b/reco/kfnew/CMakeLists.txt
@@ -1,3 +1,5 @@
+add_subdirectory(tools)
+
 set(INCLUDE_DIRECTORIES
   ${CMAKE_CURRENT_SOURCE_DIR}
 )
diff --git a/reco/kf/CbmKfOriginalField.h b/reco/kfnew/CbmKfOriginalField.h
similarity index 100%
rename from reco/kf/CbmKfOriginalField.h
rename to reco/kfnew/CbmKfOriginalField.h
diff --git a/reco/kf/CbmKfTarget.cxx b/reco/kfnew/CbmKfTarget.cxx
similarity index 100%
rename from reco/kf/CbmKfTarget.cxx
rename to reco/kfnew/CbmKfTarget.cxx
diff --git a/reco/kf/CbmKfTarget.h b/reco/kfnew/CbmKfTarget.h
similarity index 100%
rename from reco/kf/CbmKfTarget.h
rename to reco/kfnew/CbmKfTarget.h
diff --git a/reco/kf/CbmKfTrackingSetupInitializer.cxx b/reco/kfnew/CbmKfTrackingSetupInitializer.cxx
similarity index 100%
rename from reco/kf/CbmKfTrackingSetupInitializer.cxx
rename to reco/kfnew/CbmKfTrackingSetupInitializer.cxx
diff --git a/reco/kf/CbmKfTrackingSetupInitializer.h b/reco/kfnew/CbmKfTrackingSetupInitializer.h
similarity index 100%
rename from reco/kf/CbmKfTrackingSetupInitializer.h
rename to reco/kfnew/CbmKfTrackingSetupInitializer.h
diff --git a/reco/kf/README.md b/reco/kfnew/README.md
similarity index 100%
rename from reco/kf/README.md
rename to reco/kfnew/README.md
diff --git a/algo/kf/tools/CMakeLists.txt b/reco/kfnew/tools/CMakeLists.txt
similarity index 100%
rename from algo/kf/tools/CMakeLists.txt
rename to reco/kfnew/tools/CMakeLists.txt
diff --git a/algo/kf/tools/KfMaterialMapCreator.cxx b/reco/kfnew/tools/KfMaterialMapCreator.cxx
similarity index 100%
rename from algo/kf/tools/KfMaterialMapCreator.cxx
rename to reco/kfnew/tools/KfMaterialMapCreator.cxx
diff --git a/algo/kf/tools/KfMaterialMapCreator.h b/reco/kfnew/tools/KfMaterialMapCreator.h
similarity index 100%
rename from algo/kf/tools/KfMaterialMapCreator.h
rename to reco/kfnew/tools/KfMaterialMapCreator.h
diff --git a/algo/kf/tools/README.md b/reco/kfnew/tools/README.md
similarity index 100%
rename from algo/kf/tools/README.md
rename to reco/kfnew/tools/README.md
-- 
GitLab