Mantid
Loading...
Searching...
No Matches
HFIRDarkCurrentSubtraction.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"
14
15namespace Mantid {
16namespace WorkflowAlgorithms {
41public:
43 const std::string name() const override { return "HFIRDarkCurrentSubtraction"; }
45 const std::string summary() const override { return "Perform HFIR SANS dark current subtraction."; }
47 int version() const override { return (1); }
49 const std::string category() const override { return "Workflow\\SANS\\UsesPropertyManager"; }
50
51private:
53 void init() override;
55 void exec() override;
56 double getCountingTime(const API::MatrixWorkspace_sptr &inputWS);
57
58 static const int DEFAULT_MONITOR_ID = 0;
59 static const int DEFAULT_TIMER_ID = 1;
60};
61
62} // namespace WorkflowAlgorithms
63} // 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
const std::string name() const override
Algorithm's name.
const std::string category() const override
Algorithm's category for identification.
const std::string summary() const override
Summary of algorithms purpose.
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.