14#include "MantidAlgorithms/DllConfig.h"
31 const std::string
name()
const override {
return "TOFSANSResolutionByPixel"; }
33 const std::string
summary()
const override {
return "Calculate the Q resolution for TOF SANS data for each pixel."; }
36 int version()
const override {
return (1); }
37 const std::vector<std::string>
seeAlso()
const override {
return {
"TOFSANSResolution"}; }
39 const std::string
category()
const override {
return "SANS"; }
47 virtual double getTOFResolution(
double wl);
50 const double collimationLengthCorrection)
const;
Base class from which all concrete algorithm classes should be derived.
Calculates the TOF-SANS Q-resolution for each wavelenght and pixel using formula by Mildner and Carpe...
const std::string category() const override
Algorithm's category for identification.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
double getCollimationLengthWithGuard(Mantid::API::MatrixWorkspace_sptr inWS, const double L1, const double collimationLengthCorrection) const
Get the collimation length when we evaluate it using 5 Guards.
int version() const override
Algorithm's version.
const std::string name() const override
Algorithm's name.
double m_wl_resolution
Wavelength resolution (constant for all wavelengths)
const std::string summary() const override
Summary of algorithms purpose.
double provideDefaultLCollimationLength(Mantid::API::MatrixWorkspace_sptr inWS) const
Return the default collimation length.
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.