Mantid
Loading...
Searching...
No Matches
HFIRLoad.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 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"
15#include "MantidWorkflowAlgorithms/DllConfig.h"
16
17namespace Mantid {
18namespace WorkflowAlgorithms {
52class MANTID_WORKFLOWALGORITHMS_DLL HFIRLoad final : public API::Algorithm {
53public:
55 const std::string name() const override { return "HFIRLoad"; }
57 const std::string summary() const override { return "Load HFIR SANS data."; }
59 int version() const override { return (1); }
61 const std::string category() const override { return "Workflow\\SANS\\UsesPropertyManager"; }
62
63private:
65 void init() override;
67 void exec() override;
68 void moveToBeamCenter(API::MatrixWorkspace_sptr &dataWS, double &center_x, double &center_y);
69};
70
71} // namespace WorkflowAlgorithms
72} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition Algorithm.h:76
Subtract dark current for HFIR SANS.
Definition HFIRLoad.h:52
const std::string summary() const override
Summary of algorithms purpose.
Definition HFIRLoad.h:57
const std::string category() const override
Algorithm's category for identification.
Definition HFIRLoad.h:61
const std::string name() const override
Algorithm's name.
Definition HFIRLoad.h:55
int version() const override
Algorithm's version.
Definition HFIRLoad.h:59
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.