Mantid
Loading...
Searching...
No Matches
EQSANSCorrectFrame.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//----------------------------------------------------------------------
12#include "MantidAPI/Algorithm.h"
14#include "MantidAlgorithms/DllConfig.h"
16
17namespace Mantid {
18namespace Algorithms {
28class MANTID_ALGORITHMS_DLL EQSANSCorrectFrame final : public API::Algorithm {
29public:
33 const std::string name() const override { return "EQSANSCorrectFrame"; }
35 const std::string summary() const override {
36 return "Corrects the TOF of raw EQSANS data. This algorithm needs to be "
37 "run once on every data set.";
38 }
39
41 int version() const override { return (1); }
43 const std::string category() const override { return "SANS"; }
44
45private:
47 void init() override;
49 void exec() override;
50};
51
52} // namespace Algorithms
53} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Apply correction to EQSANS data to account for its TOF structure.
int version() const override
Algorithm's version.
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.
Helper class which provides the Collimation Length for SANS instruments.