Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Mantid::Crystal::FindSXPeaksHelper::AbsoluteCompareStrategy Class Reference

#include <FindSXPeaksHelper.h>

Inheritance diagram for Mantid::Crystal::FindSXPeaksHelper::AbsoluteCompareStrategy:
Mantid::Crystal::FindSXPeaksHelper::CompareStrategy

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
 

Detailed Description

Definition at line 218 of file FindSXPeaksHelper.h.

Constructor & Destructor Documentation

◆ AbsoluteCompareStrategy()

Mantid::Crystal::FindSXPeaksHelper::AbsoluteCompareStrategy::AbsoluteCompareStrategy ( const double  tofResolution,
const double  phiResolution,
const double  twoThetaResolution,
const XAxisUnit  units = XAxisUnit::TOF 
)

Member Function Documentation

◆ compare()

bool Mantid::Crystal::FindSXPeaksHelper::AbsoluteCompareStrategy::compare ( const SXPeak lhs,
const SXPeak rhs 
) const
overridevirtual

Member Data Documentation

◆ m_phiResolution

double Mantid::Crystal::FindSXPeaksHelper::AbsoluteCompareStrategy::m_phiResolution
private

Definition at line 226 of file FindSXPeaksHelper.h.

Referenced by AbsoluteCompareStrategy(), and compare().

◆ m_twoThetaResolution

double Mantid::Crystal::FindSXPeaksHelper::AbsoluteCompareStrategy::m_twoThetaResolution
private

Definition at line 227 of file FindSXPeaksHelper.h.

Referenced by AbsoluteCompareStrategy(), and compare().

◆ m_units

const XAxisUnit Mantid::Crystal::FindSXPeaksHelper::AbsoluteCompareStrategy::m_units
private

Definition at line 228 of file FindSXPeaksHelper.h.

Referenced by compare().

◆ m_xUnitResolution

const double Mantid::Crystal::FindSXPeaksHelper::AbsoluteCompareStrategy::m_xUnitResolution
private

Definition at line 225 of file FindSXPeaksHelper.h.

Referenced by compare().


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