Mantid
Loading...
Searching...
No Matches
SANSSolidAngleCorrection.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"
13#include "MantidWorkflowAlgorithms/DllConfig.h"
14
15namespace Mantid {
16namespace WorkflowAlgorithms {
45class MANTID_WORKFLOWALGORITHMS_DLL SANSSolidAngleCorrection final : public API::Algorithm {
46public:
48 const std::string name() const override { return "SANSSolidAngleCorrection"; }
50 const std::string summary() const override { return "Performs solid angle correction on SANS 2D data."; }
52 int version() const override { return (1); }
53 const std::vector<std::string> seeAlso() const override { return {"SolidAngle", "SANSBeamFluxCorrection"}; }
55 const std::string category() const override {
56 return "Workflow\\SANS\\UsesPropertyManager;"
57 "CorrectionFunctions\\InstrumentCorrections";
58 }
59
60private:
62 void init() override;
64 void exec() override;
65 void execEvent();
66};
67
68} // namespace WorkflowAlgorithms
69} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition Algorithm.h:76
Performs a solid angle correction on a 2D SANS data set to correct for the absence of curvature of th...
const std::string name() const override
Algorithm's name.
const std::string summary() const override
Summary of algorithms purpose.
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 (these are not validated) algorithms related to this algorithm....
Helper class which provides the Collimation Length for SANS instruments.