Mantid
Loading...
Searching...
No Matches
SANSSensitivityCorrection.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2011 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 {
21class MANTID_WORKFLOWALGORITHMS_DLL SANSSensitivityCorrection final : public API::Algorithm {
22public:
24 const std::string name() const override { return "SANSSensitivityCorrection"; }
26 const std::string summary() const override { return "Perform SANS sensitivity correction."; }
28 int version() const override { return (1); }
30 const std::string category() const override { return "Workflow\\SANS\\UsesPropertyManager"; }
31
32private:
34 void init() override;
36 void exec() override;
38 bool fileCheck(const std::string &filePath);
39
40 std::string m_output_message;
41};
42
43} // namespace WorkflowAlgorithms
44} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition Algorithm.h:76
const std::string name() const override
Algorithm's name.
const std::string category() const override
Algorithm's category for identification.
const std::string summary() const override
Summary of algorithms purpose.
Helper class which provides the Collimation Length for SANS instruments.