10#include "MantidAlgorithms/DllConfig.h"
14namespace HistogramData {
34 int version()
const override {
return 1; }
36 const std::string
category()
const override {
return "General"; }
42 virtual std::size_t
getNewXSize(
const std::size_t ySize)
const = 0;
std::map< DeltaEMode::Type, std::string > index
Base class from which all concrete algorithm classes should be derived.
This is an abstract base class for sharing methods between algorithms that operate only on X data.
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
virtual Kernel::cow_ptr< HistogramData::HistogramX > calculateXPoints(const Kernel::cow_ptr< HistogramData::HistogramX > inputX) const =0
Calculate the X point values. Implement in an inheriting class.
int version() const override
Algorithm's version for identification overriding a virtual method.
bool m_sharedX
Flag if the X data is shared.
virtual std::size_t getNewXSize(const std::size_t ySize) const =0
Returns the size of the new X vector.
virtual bool isProcessingRequired(const API::MatrixWorkspace_sptr inputWS) const =0
Returns true if the algorithm needs to be run.
Implements a copy on write data template.
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.