Mantid
Loading...
Searching...
No Matches
LoadPreNexusMonitors.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
12#include "MantidDataHandling/DllConfig.h"
13
14namespace Mantid {
15namespace DataHandling {
23class MANTID_DATAHANDLING_DLL LoadPreNexusMonitors : public Mantid::API::Algorithm, public API::DeprecatedAlgorithm {
24public:
28 const std::string name() const override { return "LoadPreNexusMonitors"; }
30 const std::string summary() const override {
31 return "This is a routine to load in the beam monitors from SNS preNeXus "
32 "files into a workspace.";
33 }
34
36 int version() const override { return (1); }
37 const std::vector<std::string> seeAlso() const override { return {"LoadEventPreNexus", "LoadPreNexus"}; }
39 const std::string category() const override { return "DataHandling\\PreNexus"; }
41 const std::string alias() const override { return "LoadPreNeXusMonitors"; }
42
43private:
45 void init() override;
47 void exec() override;
48
51
54
55 void runLoadInstrument(const std::string &instrument, const API::MatrixWorkspace_sptr &localWorkspace);
56};
57
58} // namespace DataHandling
59} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition Algorithm.h:76
Class for marking algorithms as deprecated.
const std::string category() const override
Algorithm's category for identification.
bool instrument_loaded_correctly
Set to true when instrument geometry was loaded.
int version() const override
Algorithm's version.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
const std::string alias() const override
Algorithm's aliases.
const std::string name() const override
Algorithm's name.
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.