12#include "MantidDataHandling/DllConfig.h"
18namespace DataHandling {
52 const std::string
name()
const override {
return "LoadMuonNexus"; }
54 const std::string
summary()
const override {
55 return "The LoadMuonNexus algorithm will read the given NeXus Muon data "
56 "file Version 2 and use the results to populate the named "
57 "workspace. LoadMuonNexus may be invoked by LoadNexus if it is "
58 "given a NeXus file of this type.";
62 int version()
const override {
return 2; }
63 const std::vector<std::string>
seeAlso()
const override {
return {
"LoadNexus"}; }
65 const std::string
category()
const override {
return "DataHandling\\Nexus;Muon\\DataHandling"; }
76 HistogramData::Histogram loadData(
const Mantid::HistogramData::BinEdges &edges,
const Mantid::NeXus::NXInt &counts,
77 int period,
int spec);
Loads an file in NeXus Muon format version 1 and 2 and stores it in a 2D workspace (Workspace2D class...
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.
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
int version() const override
Algorithm's version for identification overriding a virtual method.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
It is a base class for loaders for versions 1 and 2 of the muon nexus file format.
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
std::shared_ptr< Workspace2D > Workspace2D_sptr
shared pointer to Mantid::DataObjects::Workspace2D
Helper class which provides the Collimation Length for SANS instruments.