14namespace MDAlgorithms {
34 const std::string
name()
const override {
return "SliceMD"; };
36 const std::string
summary()
const override {
37 return "Make a MDEventWorkspace containing the events in a slice of an "
38 "input MDEventWorkspace.";
42 int version()
const override {
return 1; };
43 const std::vector<std::string>
seeAlso()
const override {
return {
"SliceMDHisto",
"ProjectMD",
"CutMD",
"BinMD"}; }
45 const std::string
category()
const override {
return "MDAlgorithms\\Slicing"; }
57 template <
typename MDE,
size_t nd,
typename OMDE,
size_t ond>
std::shared_ptr< MDEventWorkspace< MDE, nd > > sptr
Typedef for a shared pointer of this kind of event workspace.
Algorithm that can take a slice out of an original MDEventWorkspace while preserving all the events c...
const std::string category() const override
Algorithm's category for identification.
const std::string name() const override
Algorithm's name for identification.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
int version() const override
Algorithm's version for identification.
const std::string summary() const override
Summary of algorithms purpose.
Abstract Algorithm class that will be used by: BinMD and SliceMD and shares code for getting a slice ...
Helper class which provides the Collimation Length for SANS instruments.