13#include "MantidDataHandling/DllConfig.h"
23namespace DataHandling {
55 const std::string
name()
const override {
return "LoadMuonNexus"; }
57 const std::string
summary()
const override {
58 return "The LoadMuonNexus algorithm will read the given NeXus Muon data "
59 "file Version 1 and use the results to populate the named "
60 "workspace. LoadMuonNexus may be invoked by LoadNexus if it is "
61 "given a NeXus file of this type.";
65 int version()
const override {
return 1; }
67 const std::string
category()
const override {
return "DataHandling\\Nexus;Muon\\DataHandling"; }
74 void checkOptionalProperties();
109 void init()
override;
Defines an interface to an algorithm that loads a file so that it can take part in the automatic sele...
It is a base class for loaders for versions 1 and 2 of the muon nexus file format.
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
std::string m_filename
The name and path of the input file.
specnum_t m_spec_min
The value of the spectrum_min property.
const std::string summary() const override
Summary of algorithms purpose.
std::string m_entry_name
The first top-level entry name in the file.
std::string m_instrument_name
The instrument name from Nexus.
int64_t m_numberOfPeriods
The number of periods in the raw file.
bool m_interval
Have the spectrum_min/max properties been set?
virtual void runLoadInstrumentFromNexus(DataObjects::Workspace2D_sptr)
int version() const override
Algorithm's version for identification overriding a virtual method.
bool m_list
Has the spectrum_list property been set?
specnum_t m_spec_max
The value of the spectrum_max property.
std::string m_samplename
The sample name read from Nexus.
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
std::vector< specnum_t > m_spec_list
The value of the spectrum_list property.
int64_t m_entrynumber
The number of the input entry.
std::vector< detid_t > m_groupings
The group which each detector belongs to in order.
specnum_t m_numberOfSpectra
The number of spectra in the raw file.
Defines a wrapper around a file whose internal structure can be accessed using the NeXus API.
MuunNexusReader opens a Nexus file and reads certain fields expected for a ISIS Muon data file (old f...
std::shared_ptr< Algorithm > Algorithm_sptr
Typedef for a shared pointer to an Algorithm.
std::shared_ptr< Workspace2D > Workspace2D_sptr
shared pointer to Mantid::DataObjects::Workspace2D
Helper class which provides the Collimation Length for SANS instruments.
int32_t specnum_t
Typedef for a spectrum Number.