11#include "MantidDataHandling/DllConfig.h"
14namespace DataHandling {
25 const std::string name()
const override;
27 const std::string
summary()
const override {
28 return "Appends the resolved instrument geometry (detectors and monitors "
29 "for now) to a SNS ADARA NeXus file.";
32 int version()
const override;
33 const std::string category()
const override;
34 const std::string
alias()
const override {
return "AppendGeometryToSNSNexus"; };
50 std::string getInstrumentName(
const std::string &nxfilename);
Base class from which all concrete algorithm classes should be derived.
DeprecatedAlias : Class for making algorithm with deprecated names (aliases).
SNSAppendGeometryToNexus : Appends geometry information to a NeXus file.
std::string m_filename
The filename of the NeXus file to append geometry info to.
API::MatrixWorkspace_sptr ws
The workspace to load instrument and logs.
std::string m_instrument
Instrument name.
std::string m_idf_filename
IDF filename.
bool m_instrumentLoadedCorrectly
Was the instrument loaded?
bool m_logsLoadedCorrectly
Were the logs loaded?
const std::string summary() const override
Summary of algorithms purpose.
const std::string alias() const override
function to return any aliases to the algorithm; A default implementation is provided
bool m_makeNexusCopy
Are we going to make a copy of the NeXus file to operate on ?
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.