33 void setMatrixWorkspace(std::shared_ptr<const API::MatrixWorkspace>
workspace,
size_t wi,
double startX,
34 double endX)
override;
36 std::shared_ptr<const API::MatrixWorkspace> getMatrixWorkspace()
const;
IPeaksWorkspace_sptr workspace
This is a specialization of IFunction for functions defined on a MatrixWorkspace.
size_t getWorkspaceIndex() const
Get the workspace index.
size_t m_workspaceIndex
An index to a spectrum.
std::weak_ptr< const API::MatrixWorkspace > m_workspace
Keep a weak pointer to the workspace.
This is an interface to a fitting function - a semi-abstarct class.
Helper class which provides the Collimation Length for SANS instruments.