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

#include <FindSXPeaksHelper.h>

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

Public Member Functions

bool compare (const SXPeak &lhs, const SXPeak &rhs) const override
 
 RelativeCompareStrategy (const double resolution)
 
- 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

const double m_resolution
 

Detailed Description

Definition at line 209 of file FindSXPeaksHelper.h.

Constructor & Destructor Documentation

◆ RelativeCompareStrategy()

Mantid::Crystal::FindSXPeaksHelper::RelativeCompareStrategy::RelativeCompareStrategy ( const double  resolution)

Definition at line 672 of file FindSXPeaksHelper.cpp.

Member Function Documentation

◆ compare()

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

Member Data Documentation

◆ m_resolution

const double Mantid::Crystal::FindSXPeaksHelper::RelativeCompareStrategy::m_resolution
private

Definition at line 215 of file FindSXPeaksHelper.h.

Referenced by compare().


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