10#include "MantidDataHandling/DllConfig.h"
16namespace DataHandling {
25 const std::string
name()
const override {
return "LoadILLTOF"; }
27 const std::string
summary()
const override {
return "Loads an ILL TOF NeXus file."; }
30 int version()
const override {
return 3; }
31 const std::vector<std::string>
seeAlso()
const override {
return {
"LoadNexus"}; }
33 const std::string
category()
const override {
return "DataHandling\\Nexus;ILL\\Direct"; }
44 void addAllNexusFieldsAsProperties(
const std::string &filename);
45 void addEnergyToRun();
47 void addPulseInterval();
49 void fillStaticWorkspace(
const Nexus::NXEntry &entry,
const std::vector<std::string> &monitorList,
bool convertToTOF);
50 void fillScanWorkspace(
const Nexus::NXEntry &entry,
const std::vector<std::string> &monitorList);
52 std::vector<std::string> getMonitorInfo(
const Nexus::NXEntry &firstEntry);
58 std::vector<double> prepareAxis(
const Nexus::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.
int version() const override
Algorithm's version.
const std::string category() const override
Algorithm's category for identification.
std::string m_instrumentName
Name of the instrument.
size_t m_numberOfMonitors
std::string m_instrumentAddress
Name of the instrument address.
const std::string name() const override
Algorithm's name.
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::string m_monitorName
const std::string summary() const override
Summary of algorithms purpose.
size_t m_numberOfChannels
size_t m_numberOfPixelsPerTube
API::MatrixWorkspace_sptr m_localWorkspace
double m_timeOfFlightDelay
size_t m_numberOfHistograms
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.