Mantid
Loading...
Searching...
No Matches
CreateSingleValuedWorkspace.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2009 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 "MantidAlgorithms/DllConfig.h"
11
12namespace Mantid {
13namespace Algorithms {
28class MANTID_ALGORITHMS_DLL CreateSingleValuedWorkspace : public Mantid::API::Algorithm {
29public:
31 const std::string name() const override { return "CreateSingleValuedWorkspace"; }
33 const std::string summary() const override { return "Creates a 2D workspace containing a single X, Y & E value."; }
34
36 int version() const override { return (1); }
37 const std::vector<std::string> seeAlso() const override { return {"CreateWorkspace"}; }
39 const std::string category() const override { return "Utility\\Workspaces"; }
40
41protected:
42 Parallel::ExecutionMode
43 getParallelExecutionMode(const std::map<std::string, Parallel::StorageMode> &storageModes) const override;
44
45private:
47 void init() override;
49 void exec() override;
50};
51} // namespace Algorithms
52} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
const std::string category() const override
Algorithm's category for identification.
const std::string name() const override
Algorithm's name.
int version() const override
Algorithm's version.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
const std::string summary() const override
Summary of algorithms purpose.
Helper class which provides the Collimation Length for SANS instruments.