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
11#include "MantidDataHandling/DllConfig.h"
12
13namespace Mantid {
14namespace DataHandling {
22class MANTID_DATAHANDLING_DLL LoadPreNexusMonitors : public Mantid::API::Algorithm {
23public:
27 const std::string name() const override { return "LoadPreNexusMonitors"; }
29 const std::string summary() const override {
30 return "This is a routine to load in the beam monitors from SNS preNeXus "
31 "files into a workspace.";
32 }
33
35 int version() const override { return (1); }
36 const std::vector<std::string> seeAlso() const override { return {"LoadEventPreNexus", "LoadPreNexus"}; }
38 const std::string category() const override { return "DataHandling\\PreNexus"; }
40 const std::string alias() const override { return "LoadPreNeXusMonitors"; }
41
42private:
44 void init() override;
46 void exec() override;
47
50
53
54 void runLoadInstrument(const std::string &instrument, const API::MatrixWorkspace_sptr &localWorkspace);
55};
56
57} // namespace DataHandling
58} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
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.