Mantid
Loading...
Searching...
No Matches
MaskMD.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2012 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
10#include "MantidMDAlgorithms/DllConfig.h"
11
12namespace Mantid {
13namespace MDAlgorithms {
14
15std::vector<std::string> MANTID_MDALGORITHMS_DLL parseDimensionNames(const std::string &names_string);
16
22class MANTID_MDALGORITHMS_DLL MaskMD final : public API::Algorithm {
23public:
24 const std::string name() const override;
26 const std::string summary() const override { return "Mask an MDWorkspace in-situ marking specified boxes as masked"; }
27
28 int version() const override;
29 const std::vector<std::string> seeAlso() const override { return {"MaskDetectors"}; }
30 const std::string category() const override;
31
32private:
33 void init() override;
34 void exec() override;
35 std::map<std::string, std::string> validateInputs() override;
36};
37
38} // namespace MDAlgorithms
39} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
MaskMD : Mask an MDWorkspace.
Definition: MaskMD.h:22
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
Definition: MaskMD.h:29
const std::string summary() const override
Summary of algorithms purpose.
Definition: MaskMD.h:26
std::vector< std::string > MANTID_MDALGORITHMS_DLL parseDimensionNames(const std::string &names_string)
Definition: MaskMD.cpp:29
Helper class which provides the Collimation Length for SANS instruments.