src/modules/gdgem/srs/SRSTime.cpp
double SRSTime::chip_time_ns(uint16_t bc, uint16_t tdc, float offset, float slope) const {
  return static_cast<double>(bc) * static_cast<double>(bc_factor_) +
      (static_cast<double>(bc_factor_) - static_cast<double>(tdc) * tdc_factor_ -
          static_cast<double>(offset)) * static_cast<double>(slope);
}
/// \brief using calibration data - corrected by Doro 3. october 2018
/// \todo please someone verify this implementation :-)
\brief using calibration data - corrected by Doro 3. october 2018
\todo please someone verify this implementation :-)
\ brief using calibration data - corrected by Doro 3 . october 2018 \ todo please someone verify this implementation : - )
double SRSTime::chip_time_ns(uint16_t bc, uint16_t tdc, float offset, float slope) const {
  return static_cast<double>(bc) * static_cast<double>(bc_factor_) +
      (static_cast<double>(bc_factor_) - static_cast<double>(tdc) * tdc_factor_ -
          static_cast<double>(offset)) * static_cast<double>(slope);
}
double SRSTime :: chip_time_ns ( uint16_t bc , uint16_t tdc , float offset , float slope ) const { return static_cast < double > ( bc ) * static_cast < double > ( bc_factor_ ) + ( static_cast < double > ( bc_factor_ ) - static_cast < double > ( tdc ) * tdc_factor_ - static_cast < double > ( offset ) ) * static_cast < double > ( slope ) ; }
\brief using calibration data - corrected by Doro 3. october 2018
\todo please someone verify this implementation :-)
\ brief using calibration data - corrected by Doro 3 . october 2018 \ todo please someone verify this implementation : - )