Skip to content
Snippets Groups Projects
Commit c39aa195 authored by Sergei Zharko's avatar Sergei Zharko Committed by Sergey Gorbunov
Browse files

TOF tracking interface: returning the old z min and max definitions back

parent f51eafd2
Branches
Tags
1 merge request!1795Tracking updates:
Pipeline #29309 passed
......@@ -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])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment