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#include "MantidWorkflowAlgorithms/DllConfig.h"
14
15namespace Mantid {
16namespace WorkflowAlgorithms {
23class MANTID_WORKFLOWALGORITHMS_DLL SANSBeamFluxCorrection : public API::DataProcessorAlgorithm {
24public:
26 const std::string name() const override { return "SANSBeamFluxCorrection"; }
28 const std::string summary() const override { return "Performs beam flux correction on TOF SANS data."; }
30 int version() const override { return (1); }
31 const std::vector<std::string> seeAlso() const override { return {"SANSSolidAngleCorrection"}; }
33 const std::string category() const override {
34 return "Workflow\\SANS\\UsesPropertyManager;"
35 "CorrectionFunctions\\InstrumentCorrections";
36 }
37
38private:
40 void init() override;
42 void exec() override;
43 void execEvent();
44 API::MatrixWorkspace_sptr loadReference();
45 std::shared_ptr<Kernel::PropertyManager> m_reductionManager;
46 std::string m_output_message;
47};
48
49} // namespace WorkflowAlgorithms
50} // namespace Mantid
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.