We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11e4550 commit 3ef9196Copy full SHA for 3ef9196
1 file changed
DataFormats/common/include/CommonDataFormat/TimeStamp.h
@@ -44,6 +44,7 @@ class TimeStampWithError : public TimeStamp<T>
44
GPUdDefault() TimeStampWithError() = default;
45
GPUd() TimeStampWithError(T t, E te) : TimeStamp<T>(t), mTimeStampError(te) {}
46
GPUdi() E getTimeStampError() const { return mTimeStampError; }
47
+ GPUdi() E getTimeStampError2() const { return mTimeStampError * mTimeStampError; }
48
GPUdi() void setTimeStampError(E te) { mTimeStampError = te; }
49
50
private:
0 commit comments