Mantid
Loading...
Searching...
No Matches
SANSBeamFluxCorrection.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 WorkflowAlgorithms {
23public:
25 const std::string name() const override { return "SANSBeamFluxCorrection"; }
27 const std::string summary() const override { return "Performs beam flux correction on TOF SANS data."; }
29 int version() const override { return (1); }
30 const std::vector<std::string> seeAlso() const override { return {"SANSSolidAngleCorrection"}; }
32 const std::string category() const override {
33 return "Workflow\\SANS\\UsesPropertyManager;"
34 "CorrectionFunctions\\InstrumentCorrections";
35 }
36
37private:
39 void init() override;
41 void exec() override;
42 void execEvent();
43 API::MatrixWorkspace_sptr loadReference();
44 std::shared_ptr<Kernel::PropertyManager> m_reductionManager;
45 std::string m_output_message;
46};
47
48} // namespace WorkflowAlgorithms
49} // namespace Mantid
#define DLLExport
Definitions of the DLLImport compiler directives for MSVC.
Definition: System.h:53
Data processor algorithm to be used as a parent to workflow algorithms.
Performs beam flux correction on TOF SANS data.
std::shared_ptr< Kernel::PropertyManager > m_reductionManager
int version() const override
Algorithm's version.
const std::vector< std::string > seeAlso() const override
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.
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.