Mantid
Loading...
Searching...
No Matches
ConvertTableToMatrixWorkspace.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2010 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
9//----------------------------------------------------------------------
10// Includes
11//----------------------------------------------------------------------
12#include "MantidAPI/Algorithm.h"
13#include "MantidAlgorithms/DllConfig.h"
14
15namespace Mantid {
16namespace Algorithms {
33class MANTID_ALGORITHMS_DLL ConvertTableToMatrixWorkspace final : public API::Algorithm {
34public:
36 const std::string name() const override { return "ConvertTableToMatrixWorkspace"; }
38 const std::string summary() const override {
39 return "Creates a single spectrum matrix workspace from some columns of a "
40 "table workspace.";
41 }
42
44 int version() const override { return (1); }
45 const std::vector<std::string> seeAlso() const override { return {"ConvertMDHistoToMatrixWorkspace"}; }
47 const std::string category() const override { return "Utility\\Workspaces"; }
48
49private:
51 void init() override;
53 void exec() override;
54};
55
56} // namespace Algorithms
57} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Creates a single spectrum matrix workspace from some columns of a table workspace.
const std::string name() const override
Algorithm's name.
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.
const std::string category() const override
Algorithm's category for identification.
Helper class which provides the Collimation Length for SANS instruments.