Mantid
Loading...
Searching...
No Matches
SetupHFIRReduction.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"
16#include "MantidWorkflowAlgorithms/DllConfig.h"
17
18namespace Mantid {
19namespace WorkflowAlgorithms {
25class MANTID_WORKFLOWALGORITHMS_DLL SetupHFIRReduction final : public API::Algorithm {
26public:
28 const std::string name() const override { return "SetupHFIRReduction"; }
30 const std::string summary() const override { return "Set up HFIR SANS reduction options."; }
32 int version() const override { return (1); }
34 const std::string category() const override { return "Workflow\\SANS"; }
35
36private:
38 void init() override;
40 void exec() override;
41 void setupTransmission(const std::shared_ptr<Kernel::PropertyManager> &reductionManager);
42 void setupBackground(const std::shared_ptr<Kernel::PropertyManager> &reductionManager);
43 void setupSensitivity(const std::shared_ptr<Kernel::PropertyManager> &reductionManager);
44};
45
46} // namespace WorkflowAlgorithms
47} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition Algorithm.h:76
Set up the reduction options for HFIR reduction.
const std::string category() const override
Algorithm's category for identification.
const std::string summary() const override
Summary of algorithms purpose.
int version() const override
Algorithm's version.
const std::string name() const override
Algorithm's name.
Helper class which provides the Collimation Length for SANS instruments.