Mantid
Loading...
Searching...
No Matches
LoadNexusMonitors.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2010 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 "MantidDataHandling/DllConfig.h"
12
13namespace Mantid {
14namespace DataHandling {
15
30class MANTID_DATAHANDLING_DLL LoadNexusMonitors final : public API::Algorithm, public API::DeprecatedAlgorithm {
31public:
33 LoadNexusMonitors() { this->useAlgorithm("LoadNexusMonitors", 2); }
34
36 const std::string name() const override { return "LoadNexusMonitors"; }
37
39 const std::string summary() const override { return "Load all monitors from a NeXus file into a workspace."; }
40
42 int version() const override { return 1; }
43
45 const std::string category() const override { return "DataHandling\\Nexus"; }
46
47protected:
49 void init() override;
50
52 void exec() override;
53};
54
55} // namespace DataHandling
56} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Class for marking algorithms as deprecated.
DataHandling/LoadNexusMonitors.h.
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
const std::string summary() const override
Summary of algorithms purpose.
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
int version() const override
Algorithm's version for identification overriding a virtual method.
Helper class which provides the Collimation Length for SANS instruments.