13#include "MantidDataHandling/DllConfig.h"
23namespace DataHandling {
57 const std::string
name()
const override {
return "LoadInstrumentFromRaw"; };
59 const std::string
summary()
const override {
60 return "Attempts to load information about the instrument from a ISIS raw "
61 "file. In particular attempt to read L2 and 2-theta detector "
62 "position values and add detectors which are positioned relative to "
63 "the sample in spherical coordinates as "
64 "(r,theta,phi)=(L2,2-theta,0.0). Also adds dummy source and "
65 "samplepos components to instrument. If the L1 source - sample "
66 "distance is not available in the file then it may be read from the "
67 "mantid properties file using the key instrument.L1, as a final "
68 "fallback a default distance of 10m will be used.";
72 int version()
const override {
return 1; };
73 const std::vector<std::string>
seeAlso()
const override {
return {
"LoadInstrument"}; }
76 const std::string
category()
const override {
return "DataHandling\\Instrument;DataHandling\\Raw"; }
Base class from which all concrete algorithm classes should be derived.
DataHandling/LoadInstrumentFromRaw.h.
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
int version() const override
Algorithm's version for identification overriding a virtual method.
LoadInstrumentFromRaw()
Default constructor.
std::string m_filename
The name and path of the input file.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
const std::string summary() const override
Summary of algorithms purpose.
Helper class which provides the Collimation Length for SANS instruments.