Skip to content
Snippets Groups Projects
Commit 31e25590 authored by Pascal Raisig's avatar Pascal Raisig
Browse files

Add SetTime function to RawMessage Container

parent 88261580
No related branches found
No related tags found
1 merge request!199Trd mcbm time shift cal
...@@ -120,6 +120,11 @@ public: ...@@ -120,6 +120,11 @@ public:
/** Returns the full time in nanoseconds */ /** Returns the full time in nanoseconds */
Double_t GetTime() const { return fFullTime * 62.5; } 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. */ /** Returns the value of the sample with the highest value. */
int16_t GetMaxAdc(); int16_t GetMaxAdc();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment