diff --git a/core/data/trd/CbmTrdRawMessageSpadic.h b/core/data/trd/CbmTrdRawMessageSpadic.h index 9ed57a56a2fd13e0b6206224e36987abe71041d1..840541115724ce9b9fdfb7336d38191ff25e39ee 100644 --- a/core/data/trd/CbmTrdRawMessageSpadic.h +++ b/core/data/trd/CbmTrdRawMessageSpadic.h @@ -120,6 +120,11 @@ public: /** Returns the full time in nanoseconds */ Double_t GetTime() const { return fFullTime * 62.5; } + /** Set the full time in nanoseconds */ + void SetTime(Double_t setvalue) { + fFullTime = (std::uint64_t)(setvalue / 62.5); + } + /** Returns the value of the sample with the highest value. */ int16_t GetMaxAdc();