From 89aafbeddbf70be2cdaeda0fa21406a54a8729bb Mon Sep 17 00:00:00 2001
From: praisig <praisig@ikf.uni-frankfurt.de>
Date: Thu, 17 Sep 2020 17:34:02 +0200
Subject: [PATCH] TrdRawMessage add GetTime return function to get the time in
 ns

---
 core/data/trd/CbmTrdRawMessageSpadic.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/core/data/trd/CbmTrdRawMessageSpadic.h b/core/data/trd/CbmTrdRawMessageSpadic.h
index 43a25bfd95..9ed57a56a2 100644
--- a/core/data/trd/CbmTrdRawMessageSpadic.h
+++ b/core/data/trd/CbmTrdRawMessageSpadic.h
@@ -102,7 +102,8 @@ public:
   virtual ~CbmTrdRawMessageSpadic();
 
   /** Assignment Operator **/
-  CbmTrdRawMessageSpadic operator=(const CbmTrdRawMessageSpadic&);
+  // CbmTrdRawMessageSpadic operator=(const CbmTrdRawMessageSpadic&);
+  CbmTrdRawMessageSpadic& operator=(const CbmTrdRawMessageSpadic&) = default;
 
   // -----------------  Getters   -----------------------------
 
@@ -117,7 +118,7 @@ public:
   const std::vector<std::int16_t> GetSamples() const { return fSamples; }
 
   /** Returns the full time in nanoseconds */
-  Double_t GetFullTime_ns() { return fFullTime * 62.5; }
+  Double_t GetTime() const { return fFullTime * 62.5; }
 
   /** Returns the value of the sample with the highest value. */
   int16_t GetMaxAdc();
-- 
GitLab