18namespace DataHandling {
30 const std::string
name()
const override {
return "LoadSampleEnvironment"; }
32 const std::string
summary()
const override {
33 return "The algorithm loads an Environment into the instrument of a "
39 int version()
const override {
return 1; }
41 const std::vector<std::string>
seeAlso()
const override {
42 return {
"CopySample",
"SetSampleMaterial",
"LoadSampleShape"};
45 const std::string
category()
const override {
return "DataHandling\\Instrument"; }
46 std::map<std::string, std::string> validateInputs()
override;
53 void loadEnvironmentFromSTL(
const std::string &filename,
API::Sample &sample,
const bool add,
54 std::string debugString);
57 [[maybe_unused]]
const std::string &filename, [[maybe_unused]]
API::Sample &sample,
58 [[maybe_unused]]
const bool add, std::string &debugString);
Base class from which all concrete algorithm classes should be derived.
This class stores information about the sample used in particular run.
Load Environment into the sample of a workspace, either replacing the current environment,...
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
const std::string summary() const override
Summary of algorithms purpose.
const std::vector< std::string > seeAlso() const override
Related algorithms.
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.
std::shared_ptr< const MatrixWorkspace > MatrixWorkspace_const_sptr
shared pointer to the matrix workspace base class (const version)
Helper class which provides the Collimation Length for SANS instruments.