Mantid
Loading...
Searching...
No Matches
LoadMcStasNexus.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2013 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"
13
14namespace Mantid {
15namespace DataHandling {
16
19class MANTID_DATAHANDLING_DLL LoadMcStasNexus : public API::IFileLoader<Nexus::NexusDescriptorLazy>,
21public:
23 const std::string name() const override;
25 const std::string summary() const override { return "Loads an McStas NeXus file into a group workspace."; }
26
27 int version() const override;
28 const std::vector<std::string> seeAlso() const override { return {"LoadMcStas"}; }
29 const std::string category() const override;
30
32 int confidence(Nexus::NexusDescriptorLazy &descriptor) const override;
33
34private:
35 void init() override;
36 void exec() override;
37};
38
39} // namespace DataHandling
40} // namespace Mantid
std::string name
Definition Run.cpp:60
Class for marking algorithms as deprecated.
Defines an interface to an algorithm that loads a file so that it can take part in the automatic sele...
Definition IFileLoader.h:19
LoadMcStasNexus : TODO: DESCRIPTION.
const std::string summary() const override
Summary of algorithms purpose.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
Helper class which provides the Collimation Length for SANS instruments.