Mantid
Loading...
Searching...
No Matches
FakeMDEventData.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
10#include "MantidMDAlgorithms/DllConfig.h"
11
12namespace Mantid {
13namespace MDAlgorithms {
14
19class MANTID_MDALGORITHMS_DLL FakeMDEventData final : public API::Algorithm {
20public:
22 const std::string name() const override { return "FakeMDEventData"; }
24 const std::string summary() const override {
25 return "Adds fake multi-dimensional event data to an existing "
26 "MDEventWorkspace, for use in testing.\nYou can create a blank "
27 "MDEventWorkspace with CreateMDWorkspace.";
28 }
30 int version() const override { return 1; }
31 const std::vector<std::string> seeAlso() const override { return {"CreateMDWorkspace", "EvaluateMDFunction"}; }
33 const std::string category() const override { return "MDAlgorithms\\Creation"; }
34
35private:
37 void init() override;
39 void exec() override;
40};
41
42} // namespace MDAlgorithms
43} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
FakeMDEventData : Algorithm to create fake multi-dimensional event data that gets added to MDEventWor...
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....
const std::string summary() const override
Summary of algorithms purpose.
int version() const override
Algorithm's verion for identification.
Helper class which provides the Collimation Length for SANS instruments.