Mantid
Loading...
Searching...
No Matches
Framework
CurveFitting
inc
MantidCurveFitting
FunctionDomain1DSpectrumCreator.h
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2014 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/FunctionDomain1D.h
"
10
#include "
MantidAPI/IDomainCreator.h
"
11
#include "
MantidAPI/MatrixWorkspace_fwd.h
"
12
#include "MantidCurveFitting/DllConfig.h"
13
#include "
MantidKernel/System.h
"
14
#include "
MantidKernel/cow_ptr.h
"
15
16
namespace
Mantid
{
17
namespace
HistogramData {
18
class
Points;
19
class
BinEdges;
20
}
// namespace HistogramData
21
namespace
CurveFitting {
22
36
class
MANTID_CURVEFITTING_DLL
FunctionDomain1DSpectrumCreator
:
public
API::IDomainCreator
{
37
public
:
38
FunctionDomain1DSpectrumCreator
();
39
40
void
setMatrixWorkspace(
API::MatrixWorkspace_sptr
matrixWorkspace);
41
void
setWorkspaceIndex(
size_t
workspaceIndex);
42
43
void
createDomain(std::shared_ptr<API::FunctionDomain> &domain, std::shared_ptr<API::FunctionValues> &values,
44
size_t
i0 = 0)
override
;
45
46
size_t
getDomainSize()
const override
;
47
48
protected
:
49
void
throwIfWorkspaceInvalid()
const
;
50
51
API::MatrixWorkspace_sptr
m_matrixWorkspace
;
52
size_t
m_workspaceIndex
;
53
bool
m_workspaceIndexIsSet
;
54
};
55
56
}
// namespace CurveFitting
57
}
// namespace Mantid
FunctionDomain1D.h
IDomainCreator.h
MatrixWorkspace_fwd.h
System.h
Mantid::API::IDomainCreator
An base class for domain creators for use in Fit.
Definition:
IDomainCreator.h:39
Mantid::CurveFitting::FunctionDomain1DSpectrumCreator
FunctionDomain1DSpectrumCreator :
Definition:
FunctionDomain1DSpectrumCreator.h:36
Mantid::CurveFitting::FunctionDomain1DSpectrumCreator::m_matrixWorkspace
API::MatrixWorkspace_sptr m_matrixWorkspace
Definition:
FunctionDomain1DSpectrumCreator.h:51
Mantid::CurveFitting::FunctionDomain1DSpectrumCreator::m_workspaceIndex
size_t m_workspaceIndex
Definition:
FunctionDomain1DSpectrumCreator.h:52
Mantid::CurveFitting::FunctionDomain1DSpectrumCreator::m_workspaceIndexIsSet
bool m_workspaceIndexIsSet
Definition:
FunctionDomain1DSpectrumCreator.h:53
cow_ptr.h
Mantid::API::MatrixWorkspace_sptr
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Definition:
MatrixWorkspace.h:520
Mantid
Helper class which provides the Collimation Length for SANS instruments.
Definition:
AbsorptionCorrection.h:18
Generated on Tue Jan 3 2023 11:57:26 for Mantid by
1.9.5