10#include "MantidDataHandling/DllConfig.h"
16namespace LegacyNexus {
19namespace DataHandling {
28 const std::string
name()
const override {
return "LoadILLTOF"; }
30 const std::string
summary()
const override {
return "Loads an ILL TOF NeXus file."; }
33 int version()
const override {
return 2; }
34 const std::vector<std::string>
seeAlso()
const override {
return {
"LoadNexus"}; }
36 const std::string
category()
const override {
return "DataHandling\\Nexus;ILL\\Direct"; }
47 void addAllNexusFieldsAsProperties(
const std::string &filename);
48 void addEnergyToRun();
50 void addPulseInterval();
52 void fillStaticWorkspace(
const LegacyNexus::NXEntry &entry,
const std::vector<std::string> &monitorList,
54 void fillScanWorkspace(
const LegacyNexus::NXEntry &entry,
const std::vector<std::string> &monitorList);
56 std::vector<std::string> getMonitorInfo(
const LegacyNexus::NXEntry &firstEntry);
57 void initWorkspace(
const LegacyNexus::NXEntry &entry);
59 void loadInstrumentDetails(
const LegacyNexus::NXEntry &);
60 void loadTimeDetails(
const LegacyNexus::NXEntry &entry);
62 std::vector<double> prepareAxis(
const LegacyNexus::NXEntry &entry,
bool convertToTOF);
Defines an interface to an algorithm that loads a file so that it can take part in the automatic sele...
Loads an ILL IN4/5/6/Panther NeXus file into a Mantid workspace.
API::MatrixWorkspace_sptr m_localWorkspace
std::string m_instrumentAddress
Name of the instrument address.
size_t m_numberOfPixelsPerTube
const std::string category() const override
Algorithm's category for identification.
double m_timeOfFlightDelay
const std::string name() const override
Algorithm's name.
std::string m_instrumentName
Name of the instrument.
std::string m_monitorName
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
size_t m_numberOfChannels
const std::string summary() const override
Summary of algorithms purpose.
size_t m_numberOfMonitors
size_t m_numberOfHistograms
int version() const override
Algorithm's version.
Defines a wrapper around a file whose internal structure can be accessed using the NeXus API.
Implements NXentry Nexus class.
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.