32 if (inputWS->isHistogramData()) {
34 <<
"OutputWorkspace set to InputWorkspace value.\n";
57 return HistogramData::BinEdges(HistogramData::Points(inputX)).cowData();
#define DECLARE_ALGORITHM(classname)
bool isProcessingRequired(const API::MatrixWorkspace_sptr inputWS) const override
Returns true if the algorithm needs to be run.
Kernel::cow_ptr< HistogramData::HistogramX > calculateXPoints(Kernel::cow_ptr< HistogramData::HistogramX > inputX) const override
Calculate the X point values. Implement in an inheriting class.
std::size_t getNewXSize(const std::size_t ySize) const override
Returns the size of the new X vector.
void information(const std::string &msg)
Logs at information level.
Implements a copy on write data template.
Kernel::Logger g_log("ExperimentInfo")
static logger object
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
std::vector< double > MantidVec
typedef for the data storage used in Mantid matrix workspaces