Mantid
Loading...
Searching...
No Matches
LoadNXSPE.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2011 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"
13
14namespace Mantid {
15namespace DataHandling {
16
29class MANTID_DATAHANDLING_DLL LoadNXSPE : public API::IFileLoader<Kernel::NexusDescriptor> {
30public:
32 const std::string name() const override { return "LoadNXSPE"; };
34 const std::string summary() const override { return " Algorithm to load an NXSPE file into a workspace2D."; }
35
37 int version() const override { return 1; };
38 const std::vector<std::string> seeAlso() const override { return {"SaveNXSPE", "LoadSPE"}; }
40 const std::string category() const override {
41 return R"(DataHandling\Nexus;DataHandling\SPE;Inelastic\DataHandling)";
42 }
43
45 int confidence(Kernel::NexusDescriptor &descriptor) const override;
46
48 static int identiferConfidence(const std::string &value);
49
50private:
52 void init() override;
54 void exec() override;
55};
56
57} // namespace DataHandling
58} // namespace Mantid
double value
The value of the point.
Definition: FitMW.cpp:51
Defines an interface to an algorithm that loads a file so that it can take part in the automatic sele...
Definition: IFileLoader.h:19
LoadNXSPE : Algorithm to load an NXSPE file into a workspace2D.
Definition: LoadNXSPE.h:29
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
Definition: LoadNXSPE.h:38
const std::string summary() const override
Summary of algorithms purpose.
Definition: LoadNXSPE.h:34
int version() const override
Algorithm's version for identification.
Definition: LoadNXSPE.h:37
const std::string name() const override
Algorithm's name for identification.
Definition: LoadNXSPE.h:32
const std::string category() const override
Algorithm's category for identification.
Definition: LoadNXSPE.h:40
Defines a wrapper around a file whose internal structure can be accessed using the NeXus API.
Helper class which provides the Collimation Length for SANS instruments.