9#include "MantidKernel/DllConfig.h"
31 EqualBinsChecker(std::span<double const> xData,
const double errorLevel,
const double warningLevel = -1);
33 virtual std::string validate()
const;
34 virtual void setReferenceBin(
const ReferenceBin &refBinType);
35 virtual void setErrorType(
const ErrorType &errorType);
38 virtual double getReferenceDx()
const;
39 virtual double getDifference(
const size_t bin,
const double dx)
const;
EqualBinsChecker : Checks for evenly spaced bins.
const double m_warningLevel
const double m_errorLevel
ErrorType
Type of errors to check.
virtual ~EqualBinsChecker()=default
ReferenceBin
Type of bin to compare others to.
std::span< double const > const m_xData
ReferenceBin m_refBinType
Helper class which provides the Collimation Length for SANS instruments.