Mantid
|
#include <FindSXPeaksHelper.h>
Public Member Functions | |
AbsoluteCompareStrategy (const double tofResolution, const double phiResolution, const double twoThetaResolution, const XAxisUnit units=XAxisUnit::TOF) | |
bool | compare (const SXPeak &lhs, const SXPeak &rhs) const override |
Public Member Functions inherited from Mantid::Crystal::FindSXPeaksHelper::CompareStrategy | |
virtual bool | compare (const SXPeak &lhs, const SXPeak &rhs) const =0 |
virtual | ~CompareStrategy ()=default |
Private Attributes | |
double | m_phiResolution |
double | m_twoThetaResolution |
const XAxisUnit | m_units |
const double | m_xUnitResolution |
Definition at line 218 of file FindSXPeaksHelper.h.
Mantid::Crystal::FindSXPeaksHelper::AbsoluteCompareStrategy::AbsoluteCompareStrategy | ( | const double | tofResolution, |
const double | phiResolution, | ||
const double | twoThetaResolution, | ||
const XAxisUnit | units = XAxisUnit::TOF |
||
) |
Definition at line 678 of file FindSXPeaksHelper.cpp.
References m_phiResolution, m_twoThetaResolution, and Mantid::DataHandling::rad2deg.
|
overridevirtual |
Implements Mantid::Crystal::FindSXPeaksHelper::CompareStrategy.
Definition at line 688 of file FindSXPeaksHelper.cpp.
References Mantid::Crystal::FindSXPeaksHelper::SXPeak::compare(), m_phiResolution, m_twoThetaResolution, m_units, m_xUnitResolution, and rhs.
|
private |
Definition at line 226 of file FindSXPeaksHelper.h.
Referenced by AbsoluteCompareStrategy(), and compare().
|
private |
Definition at line 227 of file FindSXPeaksHelper.h.
Referenced by AbsoluteCompareStrategy(), and compare().
|
private |
Definition at line 228 of file FindSXPeaksHelper.h.
Referenced by compare().
|
private |
Definition at line 225 of file FindSXPeaksHelper.h.
Referenced by compare().