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
49 int version() const override { return (1); }
50 const std::vector<std::string> seeAlso() const override { return {"ReactorSANSResolution"}; }
52 const std::string category() const override { return "SANS"; }
53
54private:
56 // void init();
58 // void exec();
60 double getTOFResolution(double wl) override;
62 double getEffectiveXPixelSize() override { return 0.011; };
64 double getEffectiveYPixelSize() override { return 0.007; };
65};
66
67} // namespace Algorithms
68} // 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 category() const override
Algorithm's category for identification.
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.
int version() const override
Algorithm's version.
Computes the resolution on TOF SANS data Required Properties:
Helper class which provides the Collimation Length for SANS instruments.