Mantid
Loading...
Searching...
No Matches
GetQsInQENSData.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2008 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
13
14namespace Mantid {
15namespace Algorithms {
16
28class MANTID_ALGORITHMS_DLL GetQsInQENSData final : public API::Algorithm {
29public:
31 const std::string category() const override { return "Inelastic\\Indirect"; }
32
34 int version() const override { return 1; }
35
37 const std::string summary() const override {
38 return "Get Q-values in the vertical axis of a MatrixWorkspace containing "
39 "QENS S(Q,E) of S(theta,E) data.";
40 }
41
43 const std::string name() const override { return "GetQsInQENSData"; }
44
46 std::map<std::string, std::string> validateInputs() override;
47
48private:
50 void init() override;
51
53 void exec() override;
54
57};
58} // namespace Algorithms
59} // namespace Mantid
IPeaksWorkspace_sptr workspace
Definition: IndexPeaks.cpp:114
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Extracts Q-values from a workspace containing QENS data.
int version() const override
Algorithm's version for identification.
const std::string category() const override
Algorithm's category for identification.
const std::string name() const override
Algorithms name for identification.
const std::string summary() const override
Algorithm's summary for use in the GUI and help.
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.
std::vector< double > MantidVec
typedef for the data storage used in Mantid matrix workspaces
Definition: cow_ptr.h:172