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 2; }
31 const std::vector<std::string>
seeAlso()
const override {
return {
"LoadNexus"}; }
33 const std::string
category()
const override {
return "DataHandling\\Nexus;ILL\\Direct"; }
45 std::vector<std::vector<int>> getMonitorInfo(
const NeXus::NXEntry &firstEntry);
46 void initWorkSpace(
NeXus::NXEntry &entry,
const std::vector<std::vector<int>> &);
48 void addAllNexusFieldsAsProperties(
const std::string &filename);
49 void addEnergyToRun();
51 void addPulseInterval();
54 void loadDataIntoTheWorkSpace(
NeXus::NXEntry &entry,
const std::vector<std::vector<int>> &,
bool convertToTOF);
55 void loadSpectra(
size_t &spec,
const size_t numberOfTubes,
const std::vector<Mantid::detid_t> &detectorIDs,
58 void runLoadInstrument();
Defines an interface to an algorithm that loads a file so that it can take part in the automatic sele...
Helper class for reporting progress from algorithms.
Loads an ILL IN4/5/6/Panther NeXus file into a Mantid workspace.
API::MatrixWorkspace_sptr m_localWorkspace
size_t m_numberOfPixelsPerTube
const std::string category() const override
Algorithm's category for identification.
double m_timeOfFlightDelay
std::string m_instrumentPath
Name of the instrument path.
const std::string name() const override
Algorithm's name.
void initInstrumentSpecific()
static double calculateError(double in)
Calculate error for y.
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_numberOfHistograms
int version() const override
Algorithm's version.
Defines a wrapper around a file whose internal structure can be accessed using the NeXus API.
Templated class implementation of NXDataSet.
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.