11#include "MantidMDAlgorithms/DllConfig.h"
15namespace MDAlgorithms {
25 const std::string
name()
const override {
return "SaveMD"; };
27 const std::string
summary()
const override {
return "Save a MDEventWorkspace or MDHistoWorkspace to a .nxs file."; }
30 int version()
const override {
return 1; };
32 const std::string
category()
const override {
return "MDAlgorithms\\DataHandling"; }
53 std::string tag =
"");
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.
Save a MDEventWorkspace to a .nxs file.
void saveAffineTransformMatrix(::NeXus::File *const file, API::CoordTransform *transform, std::string entry_name)
Save a given affine matrix.
const std::string name() const override
Algorithm's name for identification.
int version() const override
Algorithm's version for identification.
const std::string category() const override
Algorithm's category for identification.
void saveAffineTransformMatricies(::NeXus::File *const file, API::IMDWorkspace_const_sptr ws)
Save all the affine matricies.
const std::string summary() const override
Summary of algorithms purpose.
void saveMatrix(::NeXus::File *const file, std::string name, Kernel::Matrix< T > &m, ::NeXus::NXnumtype type, std::string tag="")
Save a generic matrix.
std::shared_ptr< const IMDWorkspace > IMDWorkspace_const_sptr
Shared pointer to the IMDWorkspace base class (const version)
std::shared_ptr< MDHistoWorkspace > MDHistoWorkspace_sptr
A shared pointer to a MDHistoWorkspace.
Helper class which provides the Collimation Length for SANS instruments.