14using namespace Geometry;
IPeaksWorkspace_sptr workspace
size_t m_workspaceIndex
An index to a spectrum.
std::weak_ptr< const API::MatrixWorkspace > m_workspace
Keep a weak pointer to the workspace.
void setMatrixWorkspace(std::shared_ptr< const API::MatrixWorkspace > workspace, size_t wi, double startX, double endX) override
Set MatrixWorkspace.
std::shared_ptr< const API::MatrixWorkspace > getMatrixWorkspace() const
Get shared pointer to the workspace.
virtual void setMatrixWorkspace(std::shared_ptr< const API::MatrixWorkspace > workspace, size_t wi, double startX, double endX)
Set matrix workspace.