12#include "MantidAlgorithms/DllConfig.h"
31 const std::string name()
const override;
32 int version()
const override;
33 const std::string category()
const override;
35 const std::string
summary()
const override {
return "Converts the channel number to time of flight."; }
41 void validateWorkspaceIndices(std::vector<int> &v);
42 void validateChannelIndices(std::vector<int> &v);
44 std::map<int, int> findElasticPeakPositions(
const std::vector<int> &,
const std::vector<int> &);
46 void estimateFWHM(
const Mantid::HistogramData::HistogramY &,
double &,
double &,
double &,
double &,
double &);
48 bool doFitGaussianPeak(
int,
double &,
double &,
double &,
double,
double);
49 std::pair<int, double> findAverageEppAndEpTof(
const std::map<int, int> &);
51 double calculateTOF(
double,
double);
52 bool areEqual(
double,
double,
double);
54 std::vector<double> makeTofAxis(
int,
double,
size_t,
double);
Base class from which all concrete algorithm classes should be derived.
Class for marking algorithms as deprecated.
API::SpectrumInfo is an intermediate step towards a SpectrumInfo that is part of Instrument-2....
API::MatrixWorkspace_sptr m_outputWS
const std::string summary() const override
Summary of algorithms purpose.
DataObjects::Workspace2D_sptr m_inputWS
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
std::shared_ptr< Workspace2D > Workspace2D_sptr
shared pointer to Mantid::DataObjects::Workspace2D
Helper class which provides the Collimation Length for SANS instruments.