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
16namespace Mantid {
17namespace WorkflowAlgorithms {
51class DLLExport HFIRLoad final : public API::Algorithm {
52public:
54 const std::string name() const override { return "HFIRLoad"; }
56 const std::string summary() const override { return "Load HFIR SANS data."; }
58 int version() const override { return (1); }
60 const std::string category() const override { return "Workflow\\SANS\\UsesPropertyManager"; }
61
62private:
64 void init() override;
66 void exec() override;
67 void moveToBeamCenter(API::MatrixWorkspace_sptr &dataWS, double &center_x, double &center_y);
68};
69
70} // namespace WorkflowAlgorithms
71} // 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
Subtract dark current for HFIR SANS.
Definition: HFIRLoad.h:51
const std::string summary() const override
Summary of algorithms purpose.
Definition: HFIRLoad.h:56
const std::string category() const override
Algorithm's category for identification.
Definition: HFIRLoad.h:60
const std::string name() const override
Algorithm's name.
Definition: HFIRLoad.h:54
int version() const override
Algorithm's version.
Definition: HFIRLoad.h:58
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.