10#include "MantidAlgorithms/DllConfig.h"
55 const std::string
name()
const override {
return "ConvertUnits"; }
57 const std::string
summary()
const override {
return "Performs a unit change on the X values of a workspace"; }
60 int version()
const override {
return 1; }
61 const std::vector<std::string>
seeAlso()
const override {
62 return {
"ConvertAxisByFormula",
"ConvertAxesToRealSpace",
"ConvertSpectrumAxis",
"ConvertToYSpace"};
65 const std::string
category()
const override {
return "Transforms\\Units"; }
106 std::size_t m_numberOfSpectra{0};
107 bool m_distribution{
false};
109 bool m_inputEvents{
false};
IPeaksWorkspace_sptr workspace
Base class for algorithms that treat all spectra independently, i.e., we can trivially parallelize ov...
Converts the units in which a workspace is represented.
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
Kernel::Unit_const_sptr m_inputUnit
The unit of the input workspace.
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
const std::string workspaceMethodName() const override
const std::string workspaceMethodInputProperty() const override
Returns the name of the input workspace property used by the calling object.
int version() const override
Algorithm's version for identification overriding a virtual method.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
Kernel::Unit_sptr m_outputUnit
The unit we're going to.
const std::string summary() const override
Summary of algorithms purpose.
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)
std::shared_ptr< Unit > Unit_sptr
Shared pointer to the Unit base class.
Helper class which provides the Collimation Length for SANS instruments.