Mantid
Loading...
Searching...
No Matches
SaveGDA.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 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
13
14#include <string>
15#include <unordered_map>
16
17namespace Mantid {
18namespace DataHandling {
19
20class MANTID_DATAHANDLING_DLL SaveGDA final : public API::Algorithm {
21public:
22 const std::string name() const override;
23
24 const std::string summary() const override;
25
26 int version() const override;
27
28 const std::vector<std::string> seeAlso() const override;
29
30 const std::string category() const override;
31
32private:
34 CalibrationParams(const double _difc, const double _difa, const double _tzero);
35 const double difa;
36 const double difc;
37 const double tzero;
38 };
39
40 const static std::string PROP_OUTPUT_FILENAME;
41 const static std::string PROP_INPUT_WS;
42 const static std::string PROP_PARAMS_FILENAME;
43 const static std::string PROP_GROUPING_SCHEME;
44
45 void init() override;
46
47 void exec() override;
48
49 std::map<std::string, std::string> validateInputs() override;
50
51 std::vector<CalibrationParams> parseParamsFile() const;
52};
53
54} // namespace DataHandling
55} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
static const std::string PROP_GROUPING_SCHEME
Definition: SaveGDA.h:43
static const std::string PROP_PARAMS_FILENAME
Definition: SaveGDA.h:42
static const std::string PROP_INPUT_WS
Definition: SaveGDA.h:41
static const std::string PROP_OUTPUT_FILENAME
Definition: SaveGDA.h:40
Helper class which provides the Collimation Length for SANS instruments.