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
17namespace Mantid {
18namespace WorkflowAlgorithms {
24public:
26 const std::string name() const override { return "SetupEQSANSReduction"; }
28 const std::string summary() const override { return "Set up EQSANS SANS reduction options."; }
30 int version() const override { return (1); }
32 const std::string category() const override { return "Workflow\\SANS"; }
33
34private:
36 void init() override;
38 void exec() override;
39 std::string _findFile(std::string dataRun);
40 void setupSensitivity(const std::shared_ptr<Kernel::PropertyManager> &reductionManager);
41 void setupTransmission(const std::shared_ptr<Kernel::PropertyManager> &reductionManager);
42 void setupBackground(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 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.