Loading [MathJax]/extensions/tex2jax.js
Mantid
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
a
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
w
x
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
y
z
Enumerations
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Properties
a
b
e
f
i
l
m
o
s
t
u
w
Related Functions
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Variables
_
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
e
f
k
l
o
p
r
s
t
v
w
Macros
a
b
c
d
e
f
g
i
k
l
m
n
p
q
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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