From 05b968765d1683b439f4b664d1db95d79c09dfe9 Mon Sep 17 00:00:00 2001
From: "s.zharko@gsi.de" <s.zharko@gsi.de>
Date: Tue, 10 Sep 2024 01:16:03 +0200
Subject: [PATCH] Tracking detector interfaces update:   - Replacement of
 property getters in derived classes with the station info structure filling
 at the interfaces initialization   - Adding of geometry based TOF and TRD
 station property initialization (for now in a test mode with
 CbmTrackingDetectorInterfaceBase::kDebugGeoDefined = true)

---
 core/base/CbmTrackingDetectorInterfaceBase.cxx | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/core/base/CbmTrackingDetectorInterfaceBase.cxx b/core/base/CbmTrackingDetectorInterfaceBase.cxx
index 8720cf43e9..8b0786949c 100644
--- a/core/base/CbmTrackingDetectorInterfaceBase.cxx
+++ b/core/base/CbmTrackingDetectorInterfaceBase.cxx
@@ -125,6 +125,19 @@ std::string CbmTrackingDetectorInterfaceBase::ToString() const
     table << setw(10) << IsTimeInfoProvided(iSt) << ' ';
     table << '\n';
   }
+  table << "--------------\n";
+  for (int iSt = 0; iSt < GetNtrackingStations(); ++iSt) {
+    table << setw(5) << iSt << ' ';
+    table << setw(10) << fvStations[iSt].fZref << ' ';
+    table << setw(10) << fvStations[iSt].fZmin << ' ';
+    table << setw(10) << fvStations[iSt].fZmax << ' ';
+    table << setw(10) << fvStations[iSt].fXmin << ' ';
+    table << setw(10) << fvStations[iSt].fXmax << ' ';
+    table << setw(10) << fvStations[iSt].fYmin << ' ';
+    table << setw(10) << fvStations[iSt].fYmax << ' ';
+    table << setw(10) << IsTimeInfoProvided(iSt) << ' ';
+    table << '\n';
+  }
   return table.str();
 }
 
-- 
GitLab