Mantid
Loading...
Searching...
No Matches
Framework
DataHandling
inc
MantidDataHandling
SaveNexusESS.h
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2019 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
9
#include "
MantidAPI/Algorithm.h
"
10
#include "MantidDataHandling/DllConfig.h"
11
#include "
MantidDataHandling/SaveNexusProcessed.h
"
12
13
namespace
Mantid
{
14
namespace
DataHandling {
15
23
class
MANTID_DATAHANDLING_DLL
SaveNexusESS
:
public
Mantid::DataHandling::SaveNexusProcessed
{
24
public
:
25
const
std::string
name
()
const override
;
26
// cppcheck-suppress uselessOverride Should have its own version, even if it matches parent
27
int
version()
const override
;
28
// cppcheck-suppress uselessOverride Should have its own category, even if it matches parent
29
const
std::string category()
const override
;
30
const
std::string summary()
const override
;
31
32
protected
:
33
bool
processGroups()
override
;
34
35
private
:
36
void
saveNexusGeometry(
const
Mantid::API::MatrixWorkspace
&ws,
const
std::string &filename,
37
std::optional<size_t> entryNumber = std::optional<size_t>());
38
39
virtual
bool
saveLegacyInstrument()
override
;
40
41
void
init()
override
;
42
43
void
exec()
override
;
44
};
45
46
}
// namespace DataHandling
47
}
// namespace Mantid
name
std::string name
Definition
Run.cpp:60
Algorithm.h
SaveNexusProcessed.h
Mantid::API::MatrixWorkspace
Base MatrixWorkspace Abstract Class.
Definition
MatrixWorkspace.h:92
Mantid::DataHandling::SaveNexusESS
SaveNexusESS : Save algorithm to save a NeXus organised hdf5 file containing data and geometry from r...
Definition
SaveNexusESS.h:23
Mantid::DataHandling::SaveNexusProcessed
DataHandling/SaveNexusProcessed.h.
Definition
SaveNexusProcessed.h:37
Mantid
Helper class which provides the Collimation Length for SANS instruments.
Definition
AbsorptionCorrection.h:18
Generated by
1.9.8