14#include "MantidMDAlgorithms/DllConfig.h"
17namespace MDAlgorithms {
31 const std::string
name()
const override {
return "CentroidPeaksMD"; };
33 const std::string
summary()
const override {
34 return "Find the centroid of single-crystal peaks in a MDEventWorkspace, "
35 "in order to refine their positions.";
39 int version()
const override {
return 1; };
41 const std::string
category()
const override {
return "MDAlgorithms\\Peaks"; }
Base class from which all concrete algorithm classes should be derived.
Class for marking algorithms as deprecated.
std::shared_ptr< MDEventWorkspace< MDE, nd > > sptr
Typedef for a shared pointer of this kind of event workspace.
Find the centroid of single-crystal peaks in a MDEventWorkspace, in order to refine their positions.
Mantid::API::IMDEventWorkspace_sptr inWS
Input MDEventWorkspace.
const std::string name() const override
Algorithm's name for identification.
const std::string summary() const override
Summary of algorithms purpose.
int version() const override
Algorithm's version for identification.
const std::string category() const override
Algorithm's category for identification.
std::shared_ptr< IMDEventWorkspace > IMDEventWorkspace_sptr
Shared pointer to Mantid::API::IMDEventWorkspace.
Helper class which provides the Collimation Length for SANS instruments.