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
17namespace Mantid {
18namespace WorkflowAlgorithms {
25public:
27 const std::string name() const override { return "SetupHFIRReduction"; }
29 const std::string summary() const override { return "Set up HFIR SANS reduction options."; }
31 int version() const override { return (1); }
33 const std::string category() const override { return "Workflow\\SANS"; }
34
35private:
37 void init() override;
39 void exec() override;
40 void setupTransmission(const std::shared_ptr<Kernel::PropertyManager> &reductionManager);
41 void setupBackground(const std::shared_ptr<Kernel::PropertyManager> &reductionManager);
42 void setupSensitivity(const std::shared_ptr<Kernel::PropertyManager> &reductionManager);
43};
44
45} // namespace WorkflowAlgorithms
46} // namespace Mantid
#define DLLExport
Definitions of the DLLImport compiler directives for MSVC.
Definition: System.h:53
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
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.