From c39aa19558df5227bc48410b007568e37b58e30b Mon Sep 17 00:00:00 2001 From: "s.zharko@gsi.de" <s.zharko@gsi.de> Date: Fri, 3 May 2024 14:39:58 +0200 Subject: [PATCH] TOF tracking interface: returning the old z min and max definitions back --- core/detectors/tof/CbmTofTrackingInterface.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/detectors/tof/CbmTofTrackingInterface.h b/core/detectors/tof/CbmTofTrackingInterface.h index 515bed959a..68a8f8a5eb 100644 --- a/core/detectors/tof/CbmTofTrackingInterface.h +++ b/core/detectors/tof/CbmTofTrackingInterface.h @@ -127,14 +127,16 @@ public: } /// Gets max z of the station + /// FIXME: Replace GetZref(stationId) + 5 with fTofStationZMax[stationId] + 0.5 /// \param stationId Tracking station ID in the setup (NOTE: must be in range [0..GetNstations()-1]) /// \return max Z of the station [cm] - double GetZmax(int stationId) const { return fTofStationZMax[stationId] + 0.5; } + double GetZmax(int stationId) const { return GetZref(stationId) + 5.; } + /// FIXME: Replace GetZref(stationId) - 5 with fTofStationZMin[stationId] - 0.5 /// @brief Gets min z of the station /// @param stationId Tracking station ID in the setup (NOTE: must be in range [0..GetNstations()-1]) /// @return min Z of the station [cm] - double GetZmin(int stationId) const { return fTofStationZMin[stationId] - 0.5; } + double GetZmin(int stationId) const { return GetZref(stationId) - 5.; } /// @brief Check if station provides time measurements /// @param stationId Tracking station ID in the setup (NOTE: must be in range [0..GetNstations()-1]) -- GitLab