Mantid
Loading...
Searching...
No Matches
LoadILLLagrange.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2023 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
13#include <H5Cpp.h>
14
15namespace Mantid {
16namespace DataHandling {
17
20class MANTID_DATAHANDLING_DLL LoadILLLagrange : public API::IFileLoader<Nexus::NexusDescriptor> {
21public:
22 const std::string name() const override;
23 int version() const override;
24 const std::vector<std::string> seeAlso() const override { return {"LagrangeILLReduction"}; }
25 const std::string category() const override;
26 const std::string summary() const override;
27 int confidence(Nexus::NexusDescriptor &) const override;
29
30private:
31 void init() override;
32 void exec() override;
33
34 void initWorkspace(const H5::DataSet &);
35
36 void loadData();
37 void loadMetaData();
38
40
41 size_t m_nScans;
42};
43
44} // namespace DataHandling
45} // namespace Mantid
std::string name
Definition Run.cpp:60
Defines an interface to an algorithm that loads a file so that it can take part in the automatic sele...
Definition IFileLoader.h:19
LoadILLLagrange : Loads nexus files from ILL instrument LAGRANGE.
size_t m_nScans
number of scans in the file
API::MatrixWorkspace_sptr m_outputWorkspace
output workspace
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.