Mantid
Loading...
Searching...
No Matches
LoadMappingTable.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
9//----------------------------------------------------------------------
10// Includes
11//----------------------------------------------------------------------
12#include "MantidAPI/Algorithm.h"
13#include "MantidDataHandling/DllConfig.h"
14
15namespace Mantid {
16namespace DataHandling {
41class MANTID_DATAHANDLING_DLL LoadMappingTable final : public API::Algorithm {
42public:
46 const std::string name() const override { return "LoadMappingTable"; };
48 const std::string summary() const override {
49 return "Builds up the mapping between spectrum number and the detector "
50 "objects in the instrument Geometry.";
51 }
52
54 int version() const override { return 1; };
56 const std::string category() const override { return "DataHandling\\Instrument;DataHandling\\Raw"; }
57
58private:
60 std::string m_filename;
61
63 void init() override;
64
66 void exec() override;
67};
68
69} // namespace DataHandling
70} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Loads the mapping table between spectra and IDetector from a raw file.
const std::string summary() const override
Summary of algorithms purpose.
std::string m_filename
The name and path of the input file.
int version() const override
Algorithm's version for identification overriding a virtual method.
const std::string category() const override
Algorithm's category 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.