From 3d41fe4efa919e096f318528798d4517842c35d7 Mon Sep 17 00:00:00 2001
From: David Schledt <schledt@iri.uni-frankfurt.de>
Date: Fri, 19 Apr 2024 10:03:44 +0200
Subject: [PATCH] Timing fix for the TRD online unpacker (sys ver 0x10)

---
 algo/detectors/trd/UnpackMS.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/algo/detectors/trd/UnpackMS.cxx b/algo/detectors/trd/UnpackMS.cxx
index 8f41dd695a..d70d8810d7 100644
--- a/algo/detectors/trd/UnpackMS.cxx
+++ b/algo/detectors/trd/UnpackMS.cxx
@@ -425,7 +425,7 @@ namespace cbm::algo::trd
     // Digest the flags from the µSlice
     digestMsFlags(msDescr.flags, result.second);
 
-    size_t fMsStartTimeRel = (msDescr.idx - tTimeslice) / fAsicClockCycle;
+    size_t fMsStartTimeRel = (msDescr.idx - tTimeslice);
 
     // Get bytes per word used for the given system version
     constexpr std::uint8_t bytes = Spadic::BytesPerWord<sys_ver>();
-- 
GitLab