11#include "MantidCurveFitting/DllConfig.h"
25namespace CurveFitting {
49 const std::string name()
const override;
51 const std::string
summary()
const override {
52 return "Converts workspace in units of TOF to Y-space as defined in "
53 "Compton scattering field";
56 int version()
const override;
57 const std::string category()
const override;
64 const std::string &name);
66 static void calculateY(
double &yspace,
double &qspace,
double &ei,
const double mass,
const double tsec,
74 bool convert(
const size_t index);
76 void retrieveInputs();
78 void createOutputWorkspace();
80 void cacheInstrumentGeometry();
std::map< DeltaEMode::Type, std::string > index
Base class from which all concrete algorithm classes should be derived.
Takes a workspace with X axis in TOF and converts it to Y-space where the transformation is defined b...
API::MatrixWorkspace_sptr m_outputWS
Output workspace.
double m_l1
Source-sample distance.
double m_mass
The input mass in AMU.
const std::string summary() const override
Summary of algorithms purpose.
API::MatrixWorkspace_sptr m_qOutputWS
API::MatrixWorkspace_sptr m_inputWS
Input workspace.
Kernel::V3D m_samplePos
Sample position.
base class for Geometric IComponent
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
Helper class which provides the Collimation Length for SANS instruments.
Generate a tableworkspace to store the calibration results.
Simple data structure to store nominal detector values It avoids some functions taking a huge number ...
double efixed
final energy
double theta
scattering angle in radians
double l1
source-sample distance in metres
double t0
time delay in seconds
Kernel::V3D pos
Full 3D position.
double l2
sample-detector distance in metres