From 1b8ed1506a2bff201d5c54deae60aced9103b32b Mon Sep 17 00:00:00 2001
From: P-A Loizeau <p.-a.loizeau@gsi.de>
Date: Thu, 10 Nov 2022 17:00:11 +0100
Subject: [PATCH] Fix preexisting bugs/features in RecoUnpackAlgo template

---
 reco/base/CbmRecoUnpackAlgo.tmpl | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/reco/base/CbmRecoUnpackAlgo.tmpl b/reco/base/CbmRecoUnpackAlgo.tmpl
index 595f80381d..83c69c3f12 100644
--- a/reco/base/CbmRecoUnpackAlgo.tmpl
+++ b/reco/base/CbmRecoUnpackAlgo.tmpl
@@ -324,9 +324,9 @@ public:
   /**
    * @brief Get a given output vector connected to the tree, if called after calling InitUnpacker().
    *
-   * @return std::vector<TOptOutA>*
+   * @return std::vector<TOptOutB>*
   */
-  std::vector<TOptOutA>* GetOptOutBVec() { return fOptOutBVec; }
+  std::vector<TOptOutB>* GetOptOutBVec() { return fOptOutBVec; }
 
   /**
    * @brief Get the Output Obj Size
@@ -351,7 +351,7 @@ public:
   }
 
   /**
-   * @brief Intialisation at begin of run.
+   * @brief Initialisation at begin of run.
    *
    * Runs for all types of algos. In case you need a specialised init function add it as protected function and call it in this Init function.
    *
@@ -367,7 +367,7 @@ public:
 
     initOk &= initParContainers();
 
-    LOG(info)<< fName <<"::SystemTimeOffset:" << fSystemTimeOffset;
+    LOG(info)<< fName <<"::SystemTimeOffset:" << GetSystemTimeOffset();
 
     return initOk;
   }
-- 
GitLab