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
10#include "MantidDataHandling/DllConfig.h"
12
13namespace Mantid {
14namespace DataHandling {
15
18class MANTID_DATAHANDLING_DLL LoadMcStasNexus : public API::IFileLoader<Kernel::NexusHDF5Descriptor> {
19public:
20 const std::string name() const override;
22 const std::string summary() const override { return "Loads an McStas NeXus file into a group workspace."; }
23
24 int version() const override;
25 const std::vector<std::string> seeAlso() const override { return {"LoadMcStas"}; }
26 const std::string category() const override;
27
29 int confidence(Kernel::NexusHDF5Descriptor &descriptor) const override;
30
31private:
32 void init() override;
33 void exec() override;
34};
35
36} // namespace DataHandling
37} // namespace Mantid
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.