Mantid
Loading...
Searching...
No Matches
CutMD.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2015 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
12#include "MantidMDAlgorithms/DllConfig.h"
13
14namespace Mantid {
15namespace MDAlgorithms {
16
17std::vector<std::string> DLLExport findOriginalQUnits(const Mantid::API::IMDWorkspace_const_sptr &inws,
19
24class MANTID_MDALGORITHMS_DLL CutMD : public API::DataProcessorAlgorithm {
25public:
26 const std::string name() const override { return "CutMD"; }
27 int version() const override { return 1; }
28 const std::vector<std::string> seeAlso() const override { return {"SliceMDHisto", "ProjectMD", "SliceMD", "BinMD"}; }
29 const std::string summary() const override {
30 return "Slices multidimensional workspaces using input projection "
31 "information and binning limits.";
32 }
33 const std::string category() const override { return "MDAlgorithms\\Slicing"; }
34
35 void init() override;
36 void exec() override;
37
38 static const std::string InvAngstromSymbol;
39 static const std::string RLUSymbol;
40 static const std::string AutoMethod;
41 static const std::string RLUMethod;
42 static const std::string InvAngstromMethod;
43};
44
45} // namespace MDAlgorithms
46} // namespace Mantid
#define DLLExport
Definitions of the DLLImport compiler directives for MSVC.
Definition: System.h:53
Data processor algorithm to be used as a parent to workflow algorithms.
The Logger class is in charge of the publishing messages from the framework through various channels.
Definition: Logger.h:52
CutMD : Slices multidimensional workspaces.
Definition: CutMD.h:24
const std::string name() const override
Definition: CutMD.h:26
static const std::string InvAngstromSymbol
Definition: CutMD.h:38
const std::string category() const override
Definition: CutMD.h:33
static const std::string InvAngstromMethod
Definition: CutMD.h:42
int version() const override
Definition: CutMD.h:27
static const std::string RLUSymbol
Definition: CutMD.h:39
const std::vector< std::string > seeAlso() const override
Definition: CutMD.h:28
const std::string summary() const override
Definition: CutMD.h:29
static const std::string AutoMethod
Definition: CutMD.h:40
static const std::string RLUMethod
Definition: CutMD.h:41
std::shared_ptr< const IMDWorkspace > IMDWorkspace_const_sptr
Shared pointer to the IMDWorkspace base class (const version)
Definition: IMDWorkspace.h:148
std::vector< std::string > DLLExport findOriginalQUnits(const Mantid::API::IMDWorkspace_const_sptr &inws, Mantid::Kernel::Logger &logger)
Determine the original q units.
Definition: CutMD.cpp:199
Helper class which provides the Collimation Length for SANS instruments.