Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Mantid::Algorithms::ConvertToRelativeTime Class Reference

Helper method to transform a MantidVector containing absolute times in nanoseconds to relative times in seconds given an offset. More...

Public Member Functions

 ConvertToRelativeTime (const DateAndTime &offSet)
 
MantidVec::value_type operator() (const MantidVec::value_type &absTNanoSec)
 

Private Attributes

double m_offSet
 

Detailed Description

Helper method to transform a MantidVector containing absolute times in nanoseconds to relative times in seconds given an offset.

Definition at line 30 of file RebinByTimeBase.cpp.

Constructor & Destructor Documentation

◆ ConvertToRelativeTime()

Mantid::Algorithms::ConvertToRelativeTime::ConvertToRelativeTime ( const DateAndTime &  offSet)
inlineexplicit

Definition at line 35 of file RebinByTimeBase.cpp.

Member Function Documentation

◆ operator()()

MantidVec::value_type Mantid::Algorithms::ConvertToRelativeTime::operator() ( const MantidVec::value_type &  absTNanoSec)
inline

Definition at line 37 of file RebinByTimeBase.cpp.

References m_offSet.

Member Data Documentation

◆ m_offSet

double Mantid::Algorithms::ConvertToRelativeTime::m_offSet
private

Definition at line 32 of file RebinByTimeBase.cpp.

Referenced by operator()().


The documentation for this class was generated from the following file: