Mantid
Loading...
Searching...
No Matches
Framework
Algorithms
inc
MantidAlgorithms
RunCombinationHelpers
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
9
#include "
MantidAPI/MatrixWorkspace_fwd.h
"
10
#include "MantidAlgorithms/DllConfig.h"
11
#include "
MantidKernel/Logger.h
"
12
13
#include <list>
14
#include <vector>
15
16
namespace
Mantid
{
17
namespace
Algorithms {
18
24
namespace
RunCombinationOptions {
25
static
const
std::string
SKIP_BEHAVIOUR
=
"Skip File"
;
26
static
const
std::string
STOP_BEHAVIOUR
=
"Stop"
;
27
static
const
std::string
REBIN_BEHAVIOUR
=
"Rebin"
;
28
static
const
std::string
FAIL_BEHAVIOUR
=
"Fail"
;
29
}
// namespace RunCombinationOptions
30
31
class
MANTID_ALGORITHMS_DLL
RunCombinationHelper
{
32
public
:
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,
37
Kernel::Logger
&
g_log
);
38
39
private
:
40
size_t
m_numberSpectra
;
41
size_t
m_numberDetectors
;
42
std::string
m_xUnit
;
43
std::string
m_yUnit
;
44
std::string
m_spectrumAxisUnit
;
45
std::string
m_instrumentName
;
46
bool
m_isHistogramData
;
47
bool
m_isDistribution
;
48
bool
m_isScanning
;
49
std::vector<bool>
m_hasDx
;
50
};
51
52
}
// namespace Algorithms
53
}
// namespace Mantid
Logger.h
MatrixWorkspace_fwd.h
Mantid::Algorithms::RunCombinationHelper
Definition
RunCombinationHelper.h:31
Mantid::Algorithms::RunCombinationHelper::m_spectrumAxisUnit
std::string m_spectrumAxisUnit
Definition
RunCombinationHelper.h:44
Mantid::Algorithms::RunCombinationHelper::m_yUnit
std::string m_yUnit
Definition
RunCombinationHelper.h:43
Mantid::Algorithms::RunCombinationHelper::m_hasDx
std::vector< bool > m_hasDx
Definition
RunCombinationHelper.h:49
Mantid::Algorithms::RunCombinationHelper::m_xUnit
std::string m_xUnit
Definition
RunCombinationHelper.h:42
Mantid::Algorithms::RunCombinationHelper::m_isDistribution
bool m_isDistribution
Definition
RunCombinationHelper.h:47
Mantid::Algorithms::RunCombinationHelper::m_instrumentName
std::string m_instrumentName
Definition
RunCombinationHelper.h:45
Mantid::Algorithms::RunCombinationHelper::m_numberDetectors
size_t m_numberDetectors
Definition
RunCombinationHelper.h:41
Mantid::Algorithms::RunCombinationHelper::m_numberSpectra
size_t m_numberSpectra
Definition
RunCombinationHelper.h:40
Mantid::Algorithms::RunCombinationHelper::m_isScanning
bool m_isScanning
Definition
RunCombinationHelper.h:48
Mantid::Algorithms::RunCombinationHelper::m_isHistogramData
bool m_isHistogramData
Definition
RunCombinationHelper.h:46
Mantid::Kernel::Logger
The Logger class is in charge of the publishing messages from the framework through various channels.
Definition
Logger.h:51
Mantid::API::MatrixWorkspace_sptr
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Definition
MatrixWorkspace.h:585
Mantid::Algorithms::RunCombinationOptions::STOP_BEHAVIOUR
static const std::string STOP_BEHAVIOUR
Definition
RunCombinationHelper.h:26
Mantid::Algorithms::RunCombinationOptions::REBIN_BEHAVIOUR
static const std::string REBIN_BEHAVIOUR
Definition
RunCombinationHelper.h:27
Mantid::Algorithms::RunCombinationOptions::FAIL_BEHAVIOUR
static const std::string FAIL_BEHAVIOUR
Definition
RunCombinationHelper.h:28
Mantid::Algorithms::RunCombinationOptions::SKIP_BEHAVIOUR
static const std::string SKIP_BEHAVIOUR
Definition
RunCombinationHelper.h:25
Mantid::Algorithms::g_log
Kernel::Logger g_log("DetermineSpinStateOrder")
Mantid
Helper class which provides the Collimation Length for SANS instruments.
Definition
AbsorptionCorrection.h:18
Generated by
1.9.8