16namespace DataHandling {
44 const std::string
name()
const override {
return "LoadMuonNexusV2"; }
46 const std::string
summary()
const override {
47 return "The LoadMuonNexus algorithm will read the given NeXus Muon data "
48 "file Version 2 and use the results to populate the named "
49 "workspace. LoadMuonNexus may be invoked by Load if it is "
50 "given a NeXus file of this type.";
55 int version()
const override {
return 1; }
58 const std::string
category()
const override {
return "DataHandling\\Nexus"; }
64 void execLoader()
override;
66 void isEntryMultiPeriod();
70 void loadMuonProperties(
size_t numSpectra);
IPeaksWorkspace_sptr workspace
Base Workspace Abstract Class.
Loads a file in the Nexus Muon format V2 and stores it in a 2D workspace (Workspace2D class).
std::unique_ptr< LoadMuonStrategy > m_loadMuonStrategy
bool m_multiPeriodsLoaded
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
int version() const override
function to return a version of the algorithm, must be overridden in all algorithms
std::string m_filename
The name and path of the input file.
std::unique_ptr< LoadMuonNexusV2NexusHelper > m_nexusLoader
int64_t m_entrynumber
The number of the input entry.
const std::string summary() const override
Summary of algorithms purpose.
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
std::shared_ptr< Workspace > Workspace_sptr
shared pointer to Mantid::API::Workspace
Helper class which provides the Collimation Length for SANS instruments.