Mantid
Loading...
Searching...
No Matches
SetupEQSANSReduction.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 {
24class MANTID_WORKFLOWALGORITHMS_DLL SetupEQSANSReduction final : public API::Algorithm {
25public:
27 const std::string name() const override { return "SetupEQSANSReduction"; }
29 const std::string summary() const override { return "Set up EQSANS 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 std::string _findFile(std::string dataRun);
41 void setupSensitivity(const std::shared_ptr<Kernel::PropertyManager> &reductionManager);
42 void setupTransmission(const std::shared_ptr<Kernel::PropertyManager> &reductionManager);
43 void setupBackground(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 EQSANS reduction.
int version() const override
Algorithm's version.
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::string _findFile(std::string dataRun)
Helper class which provides the Collimation Length for SANS instruments.