14namespace MDAlgorithms {
23 const std::string
name()
const override {
return "WeightedMeanMD"; };
25 const std::string
summary()
const override {
return "Find weighted mean of two MDHistoWorkspaces."; }
28 int version()
const override {
return 1; };
29 const std::vector<std::string>
seeAlso()
const override {
return {
"WeightedMean"}; }
33 bool commutative()
const override;
36 void checkInputs()
override;
39 void execEvent()
override;
Abstract base class for binary operations on IMDWorkspaces, e.g.
WeightedMeanMD : Find the weighted mean of two MDWorkspaces.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
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.
std::shared_ptr< const WorkspaceSingleValue > WorkspaceSingleValue_const_sptr
std::shared_ptr< MDHistoWorkspace > MDHistoWorkspace_sptr
A shared pointer to a MDHistoWorkspace.
std::shared_ptr< const MDHistoWorkspace > MDHistoWorkspace_const_sptr
A shared pointer to a const MDHistoWorkspace.
Helper class which provides the Collimation Length for SANS instruments.