From fc5a2760f8f048edbaee95916e74068772a77efe Mon Sep 17 00:00:00 2001
From: "s.zharko@gsi.de" <s.zharko@gsi.de>
Date: Mon, 28 Oct 2024 14:35:06 +0100
Subject: [PATCH] KF, KfField.h: unused function FieldBase::MakeFieldRegion is
 removed

---
 algo/kf/core/geo/KfField.h | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/algo/kf/core/geo/KfField.h b/algo/kf/core/geo/KfField.h
index dc1f489502..248ee26dcb 100644
--- a/algo/kf/core/geo/KfField.h
+++ b/algo/kf/core/geo/KfField.h
@@ -84,9 +84,6 @@ namespace cbm::algo::kf
       /// \brief Gets number of field slices in the instance
       int GetNofFieldSlices() const { return fvFieldSliceZ.size(); }
 
-      /// \brief Makes field region
-      FieldRegion<T> MakeFieldRegion(EFieldType fldType) const { return FieldRegion(fldType, fFieldFn); }
-
       /// \brief Removes a field slice
       /// \param iLayer  Index of field slice
       void RemoveSlice(int iLayer) { fvFieldSliceZ.erase(fvFieldSliceZ.begin() + iLayer); }
@@ -160,21 +157,6 @@ namespace cbm::algo::kf
       /// \brief Gets number of field slices in the instance
       int GetNofFieldSlices() const { return fvFieldSlices.size(); }
 
-
-      /// \brief Creates field region object
-      /// \brief fldType  FieldType
-      /// \param b0  Field value in the first node [kG]
-      /// \param z0  First node z-coordinate [cm]
-      /// \param b1  Field value in the first node [kG]
-      /// \param z1  Second node z-coordinate [cm]
-      /// \param b2  Field value in the first node [kG]
-      /// \param z2  Third node z-coordinate [cm]
-      FieldRegion<T> MakeFieldRegion(EFieldType fldType, const FieldValue<T>& b0, const T& z0, const FieldValue<T>& b1,
-                                     const T& z1, const FieldValue<T>& b2, const T& z2) const
-      {
-        return FieldRegion<T>(fldType, b0, z0, b1, z1, b2, z2);
-      }
-
       /// \brief Removes a field slice
       /// \param iLayer  Index of field slice
       void RemoveSlice(int iLayer) { fvFieldSlices.erase(fvFieldSlices.begin() + iLayer); }
-- 
GitLab