Mantid
Loading...
Searching...
No Matches
ConvertUnitsUsingDetectorTable.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
11#include "MantidAlgorithms/DllConfig.h"
12#include "MantidKernel/Unit.h"
13
14namespace Mantid {
15namespace Algorithms {
16
22class MANTID_ALGORITHMS_DLL ConvertUnitsUsingDetectorTable : public ConvertUnits, public API::DeprecatedAlgorithm {
23public:
24 const std::string name() const override;
25 int version() const override;
26 const std::string category() const override;
27 const std::string summary() const override;
28
29protected:
30 const std::string workspaceMethodName() const override { return ""; }
31 const std::string workspaceMethodInputProperty() const override { return ""; }
32
33private:
34 void init() override;
35
36 void storeEModeOnWorkspace(API::MatrixWorkspace_sptr outputWS) override;
37
41 API::MatrixWorkspace_const_sptr inputWS) override;
42};
43
44} // namespace Algorithms
45} // namespace Mantid
Class for marking algorithms as deprecated.
ConvertUnitsUsingDetectorTable : Converts the units in which a workspace is represented,...
const std::string workspaceMethodInputProperty() const override
Returns the name of the input workspace property used by the calling object.
Converts the units in which a workspace is represented.
Definition: ConvertUnits.h:52
std::shared_ptr< const MatrixWorkspace > MatrixWorkspace_const_sptr
shared pointer to the matrix workspace base class (const version)
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
std::shared_ptr< const Unit > Unit_const_sptr
Shared pointer to the Unit base class (const version)
Definition: Unit.h:231
Helper class which provides the Collimation Length for SANS instruments.