Mantid
Loading...
Searching...
No Matches
RunCombinationHelper.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2017 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 "MantidAlgorithms/DllConfig.h"
11#include "MantidKernel/Logger.h"
12
13#include <list>
14#include <vector>
15
16namespace Mantid {
17namespace Algorithms {
18
24namespace RunCombinationOptions {
25static const std::string SKIP_BEHAVIOUR = "Skip File";
26static const std::string STOP_BEHAVIOUR = "Stop";
27static const std::string REBIN_BEHAVIOUR = "Rebin";
28static const std::string FAIL_BEHAVIOUR = "Fail";
29} // namespace RunCombinationOptions
30
31class MANTID_ALGORITHMS_DLL RunCombinationHelper {
32public:
33 std::string checkCompatibility(const API::MatrixWorkspace_sptr &, bool checkNumberHistograms = false);
34 void setReferenceProperties(const API::MatrixWorkspace_sptr &);
35 static std::vector<std::string> unWrapGroups(const std::vector<std::string> &);
36 std::list<API::MatrixWorkspace_sptr> validateInputWorkspaces(const std::vector<std::string> &inputWorkspaces,
38
39private:
42 std::string m_xUnit;
43 std::string m_yUnit;
44 std::string m_spectrumAxisUnit;
45 std::string m_instrumentName;
49 std::vector<bool> m_hasDx;
50};
51
52} // namespace Algorithms
53} // namespace Mantid
The Logger class is in charge of the publishing messages from the framework through various channels.
Definition: Logger.h:52
Kernel::Logger g_log("ExperimentInfo")
static logger object
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.