Skip to content
Snippets Groups Projects
Commit 89aafbed authored by Pascal Raisig's avatar Pascal Raisig Committed by Pascal Raisig
Browse files

TrdRawMessage add GetTime return function to get the time in ns

parent 159b34cf
No related branches found
No related tags found
1 merge request!90Fix trd geo tag in the mCbm macros
......@@ -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();
......
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