Mantid
|
EqualBinSizesValidator : Checks that all bins in a workspace are equally sized to within a given tolerance. More...
#include <EqualBinSizesValidator.h>
Public Member Functions | |
Kernel::IValidator_sptr | clone () const override |
Clone the current state. More... | |
EqualBinSizesValidator (const double errorLevel) | |
Constructor: sets properties. More... | |
std::string | getType () const |
Gets the type of the validator. More... | |
Private Member Functions | |
std::string | checkValidity (const MatrixWorkspace_sptr &value) const override |
Check for validity. More... | |
Private Attributes | |
const double | m_errorLevel |
Error threshold. More... | |
EqualBinSizesValidator : Checks that all bins in a workspace are equally sized to within a given tolerance.
Definition at line 18 of file EqualBinSizesValidator.h.
Mantid::API::EqualBinSizesValidator::EqualBinSizesValidator | ( | const double | errorLevel | ) |
Constructor: sets properties.
Constructor - sets properties.
Definition at line 16 of file EqualBinSizesValidator.cpp.
|
overrideprivate |
Check for validity.
Checks that the bin sizes of each histogram in the workspace are the same.
value | :: [input] The workspace to test |
Definition at line 27 of file EqualBinSizesValidator.cpp.
References m_errorLevel, Mantid::Kernel::EqualBinsChecker::validate(), and value.
|
override |
Clone the current state.
Definition at line 19 of file EqualBinSizesValidator.cpp.
|
inline |
Gets the type of the validator.
Definition at line 23 of file EqualBinSizesValidator.h.
|
private |
Error threshold.
Definition at line 31 of file EqualBinSizesValidator.h.
Referenced by checkValidity().