13#include "MantidMDAlgorithms/DllConfig.h"
16namespace MDAlgorithms {
24 const std::string name()
const override;
26 const std::string
summary()
const override {
return "Compare two MDWorkspaces for equality."; }
28 int version()
const override;
29 const std::string category()
const override;
39 template <
typename MDE,
size_t nd>
42 template <
typename T>
void compare(T a, T b,
const std::string &message);
44 template <
typename T>
inline void compareTol(T a, T b,
const std::string &message);
54 double m_tolerance = 0.0;
57 bool m_CheckEvents =
true;
59 bool m_CompareBoxID =
true;
Base class from which all concrete algorithm classes should be derived.
std::shared_ptr< MDEventWorkspace< MDE, nd > > sptr
Typedef for a shared pointer of this kind of event workspace.
Compare two MDWorkspaces for equality.
const std::string summary() const override
Summary of algorithms purpose.
Mantid::API::IMDWorkspace_sptr inWS2
std::string m_result
Result string.
std::shared_ptr< IMDWorkspace > IMDWorkspace_sptr
Shared pointer to the IMDWorkspace base class.
bool compare(const mypair &left, const mypair &right)
std::shared_ptr< MDHistoWorkspace > MDHistoWorkspace_sptr
A shared pointer to a MDHistoWorkspace.
Helper class which provides the Collimation Length for SANS instruments.