14namespace CurveFitting {
29 std::string
name()
const override {
return "ComptonScatteringCountRate"; }
31 void setAttribute(
const std::string &name,
const Attribute &
value)
override;
33 void parseIntensityConstraintMatrix(
const std::string &
value);
36 void iterationStarting()
override;
38 void setFixedParameterValues(
const std::vector<double> &values);
40 void updateCMatrixValues()
const;
43 void setMatrixWorkspace(std::shared_ptr<const API::MatrixWorkspace> matrix,
size_t wsIndex,
double startX,
44 double endX)
override;
46 void cacheFunctions();
48 void cacheComptonProfile(
const std::shared_ptr<ComptonProfile> &profile,
const size_t paramsOffset);
52 void createConstraintMatrices();
54 void createPositivityCM();
56 void createEqualityCM(
const size_t nmasses);
71 std::shared_ptr<HistogramData::Histogram>
m_hist;
double value
The value of the point.
A composite function is a function containing other functions.
Attribute is a non-fitting parameter.
Implements a specialized function that encapsulates the combination of ComptonProfile functions that ...
Kernel::DblMatrix m_cmatrix
Positivity constraints on J(y)
std::string m_bkgdOrderAttr
Name of order attribute on background function.
Kernel::DblMatrix m_eqMatrix
Intensity equality constraints.
std::string name() const override
String identifier.
int m_bkgdPolyN
The order of the background.
std::vector< double > m_dataErrorRatio
Ratio of data & errors.
std::vector< ComptonProfile * > m_profiles
Holder for non-owning functions cast as ComptonProfiles.
size_t wsIndex
The workspace index being worked on.
std::shared_ptr< HistogramData::Histogram > m_hist
The histogram of the matrix workspace being cached for use.
std::vector< size_t > m_fixedParamIndices
Store parameter indices of intensity parameters that are fixed.
std::shared_ptr< IFunction1D > IFunction1D_sptr
Helper class which provides the Collimation Length for SANS instruments.