10#include "MantidAlgorithms/DllConfig.h"
33 const std::string
name()
const override {
return "ConvertToConstantL2"; }
35 const std::string
summary()
const override {
36 return "Used to convert flight paths to have a constant l2 in 2D shaped "
40 int version()
const override {
return 1; }
41 const std::vector<std::string>
seeAlso()
const override {
return {
"CorrectTOFAxis"}; }
44 return "Inelastic\\Corrections;CorrectionFunctions\\InstrumentCorrections";
51 void initWorkspaces();
52 double getRunProperty(
const std::string &);
53 double getInstrumentProperty(
const std::string &);
54 double calculateTOF(
double);
Base class from which all concrete algorithm classes should be derived.
Convert workspace to have a constant L2.
API::MatrixWorkspace_sptr m_outputWS
The output workspace, maybe the same as the input one.
API::MatrixWorkspace_const_sptr m_inputWS
The user selected (input) workspace.
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 name() const override
Algorithm's name for identification overriding a virtual method.
Geometry::Instrument_const_sptr m_instrument
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
int version() const override
Algorithm's version for identification overriding a virtual method.
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 Instrument > Instrument_const_sptr
Shared pointer to an const instrument object.
Helper class which provides the Collimation Length for SANS instruments.