Mantid
Loading...
Searching...
No Matches
LoadParameterFile.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2007 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
10#include "MantidDataHandling/DllConfig.h"
11
13namespace Poco {
14namespace XML {
15class Element;
16}
17} // namespace Poco
19
20namespace Mantid {
21namespace Kernel {
22class V3D;
23}
24namespace Geometry {
25class CompAssembly;
26class Component;
27class CSGObject;
28class ObjComponent;
29class Instrument;
30} // namespace Geometry
31
32namespace DataHandling {
51class MANTID_DATAHANDLING_DLL LoadParameterFile : public API::DistributedAlgorithm {
52public:
54 const std::string name() const override { return "LoadParameterFile"; };
56 const std::string summary() const override {
57 return "Loads instrument parameters into a workspace. where these "
58 "parameters are associated component names as defined in Instrument "
59 "Definition File (IDF) or a string consisting of the contents of "
60 "such.";
61 }
62
64 int version() const override { return 1; };
65 const std::vector<std::string> seeAlso() const override { return {"SaveParameterFile"}; }
67 const std::string category() const override { return "DataHandling\\Instrument"; }
68
69private:
70 void init() override;
71 void exec() override;
72};
73} // namespace DataHandling
74} // namespace Mantid
Base class for algorithms that treat all spectra independently, i.e., we can trivially parallelize ov...
DataHandling/LoadParameterFile.h.
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::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 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.
Helper class which provides the Collimation Length for SANS instruments.
Definition: Algorithm.h:30