From 7c018fce4cc489d46b0da82b3005f2eb3c71bf31 Mon Sep 17 00:00:00 2001
From: "P.-A. Loizeau" <p.-a.loizeau@gsi.de>
Date: Mon, 28 Mar 2022 11:23:54 +0200
Subject: [PATCH] [TRD1D unp] Add missing transmission of System offset from
 config to algo

---
 reco/detectors/trd/unpack/CbmTrdUnpackConfig.cxx | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/reco/detectors/trd/unpack/CbmTrdUnpackConfig.cxx b/reco/detectors/trd/unpack/CbmTrdUnpackConfig.cxx
index 2048fff829..51466ca551 100644
--- a/reco/detectors/trd/unpack/CbmTrdUnpackConfig.cxx
+++ b/reco/detectors/trd/unpack/CbmTrdUnpackConfig.cxx
@@ -42,6 +42,10 @@ void CbmTrdUnpackConfig::SetAlgo()
   if (fDoLog) LOG(info) << fName << "::Init - SetParFilesBasePath";
   algo->SetParFilesBasePath(fParFilesBasePath);
 
+  // Set the global system time offset
+  if (fDoLog) LOG(info) << fName << "::SetAlgo - SetSystemTimeOffset";
+  algo->SetSystemTimeOffset(fSystemTimeOffset);
+
   // If we have a monitor in the config add it to the algo
   if (fMonitor) algo->SetMonitor(fMonitor);
 
-- 
GitLab