10#include "MantidDataHandling/DllConfig.h"
32namespace DataHandling {
56 const std::string
name()
const override {
return "LoadInstrument"; };
58 const std::string
summary()
const override {
59 return "Loads an Instrument Definition File (IDF) into a workspace. After "
60 "the IDF has been read this algorithm will attempt to run the Child "
61 "Algorithm LoadParameterFile; where if IDF filename is of the form "
62 "IDENTIFIER_Definition.xml then the instrument parameters in the "
63 "file named IDENTIFIER_Parameters.xml would be loaded.";
67 int version()
const override {
return 1; };
68 const std::vector<std::string>
seeAlso()
const override {
69 return {
"LoadInstrumentFromNexus",
"LoadInstrumentFromRaw",
"ExportGeometry",
"Load"};
72 const std::string
category()
const override {
return "DataHandling\\Instrument"; }
79 void runLoadParameterFile(
const std::shared_ptr<API::MatrixWorkspace> &ws);
Base class from which all concrete algorithm classes should be derived.
Loads instrument data from an XML or Nexus instrument description file and adds it to a workspace.
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
static std::recursive_mutex m_mutex
Mutex to avoid simultaneous access.
const std::string summary() const override
Summary of algorithms purpose.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
int version() const override
Algorithm's version for identification overriding a virtual method.
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
Helper class which provides the Collimation Length for SANS instruments.