Mantid
Loading...
Searching...
No Matches
EQSANSResolution.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
9//----------------------------------------------------------------------
10// Includes
11//----------------------------------------------------------------------
13
14namespace Mantid {
15namespace Algorithms {
41class MANTID_ALGORITHMS_DLL EQSANSResolution : public Algorithms::TOFSANSResolution {
42public:
44 const std::string name() const override { return "EQSANSResolution"; }
46 const std::string summary() const override { return "Calculate the Q resolution for EQSANS data."; }
47 const std::vector<std::string> seeAlso() const override { return {"ReactorSANSResolution"}; }
48
49private:
51 // void init();
53 // void exec();
55 double getTOFResolution(double wl) override;
57 double getEffectiveXPixelSize() override { return 0.011; };
59 double getEffectiveYPixelSize() override { return 0.007; };
60};
61
62} // namespace Algorithms
63} // namespace Mantid
Computes the resolution on EQSANS data Required Properties:
double getEffectiveXPixelSize() override
Return the effective pixel size in the x-direction.
const std::string name() const override
Algorithm's name.
const std::string summary() const override
Summary of algorithms purpose.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
double getEffectiveYPixelSize() override
Return the effective pixel size in the y-direction.
Computes the resolution on TOF SANS data Required Properties:
Helper class which provides the Collimation Length for SANS instruments.