Mantid
Loading...
Searching...
No Matches
DgsReduction.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2012 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
11#include "MantidKernel/System.h"
12
13namespace Mantid {
14namespace WorkflowAlgorithms {
15
22public:
23 const std::string name() const override;
25 const std::string summary() const override { return "Top-level workflow algorithm for DGS reduction."; }
26
27 int version() const override;
28 const std::string category() const override;
29
30private:
31 void init() override;
32 void exec() override;
33 API::Workspace_sptr loadInputData(const std::string &prop, const bool mustLoad = true);
34 API::MatrixWorkspace_sptr loadGroupingFile(const std::string &prop);
35 API::MatrixWorkspace_sptr loadHardMask();
36 double getParameter(const std::string &algParam, const API::MatrixWorkspace_sptr &ws, const std::string &altParam);
37
38 std::shared_ptr<Kernel::PropertyManager> reductionManager;
39};
40
41} // namespace WorkflowAlgorithms
42} // namespace Mantid
#define DLLExport
Definitions of the DLLImport compiler directives for MSVC.
Definition: System.h:53
Data processor algorithm to be used as a parent to workflow algorithms.
DgsReduction : This is the top-level workflow algorithm for controlling direct geometry spectrometer ...
Definition: DgsReduction.h:21
const std::string summary() const override
Summary of algorithms purpose.
Definition: DgsReduction.h:25
std::shared_ptr< Kernel::PropertyManager > reductionManager
Definition: DgsReduction.h:38
std::shared_ptr< Workspace > Workspace_sptr
shared pointer to Mantid::API::Workspace
Definition: Workspace_fwd.h:20
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.