Skip to content
Snippets Groups Projects
  1. Mar 07, 2025
    • Simon Schuett's avatar
      online: Fix float precision issues in time calculations STS hit finder · 10a8de1d
      Simon Schuett authored and Volker Friese's avatar Volker Friese committed
      Fix cluster and hit finding in the STS detector when using 32-bit floating-point
      precision. The issue occurs when calculating time differences between digis or
      clusters with large timestamps - 32-bit floats lack sufficient precision for
      representing nanosecond timestamps in the mCBM setup.
      
      Add helper methods GetTimeDiff() that first convert timestamps to int before
      calculating the difference, preserving precision and sign. Replace direct
      floating-point timestamp subtractions throughout the code with calls to these
      helper methods.
      
      This resolves hit count discrepancies between 32-bit and 64-bit float versions,
      reducing the difference from ~2.6% to ~0.04%.
      10a8de1d
  2. May 09, 2024
  3. May 03, 2024
  4. Apr 11, 2024
  5. Mar 18, 2024
  6. Dec 01, 2023
  7. Nov 30, 2023
  8. Nov 17, 2023
  9. Oct 22, 2023
  10. Oct 18, 2023
  11. Aug 03, 2023
  12. Jul 11, 2023
  13. Jul 04, 2023
  14. Jun 12, 2023
  15. Jun 01, 2023
  16. May 11, 2023
  17. Jul 27, 2022
Loading