35 const std::string
name()
const override {
return "PoissonErrors"; }
37 const std::string
summary()
const override {
38 return "Calculates the gaussian approxiamtion of Poisson error based on a "
39 "matching workspace containing the original counts.";
43 int version()
const override {
return (1); }
45 const std::string
category()
const override {
return "SANS;Arithmetic\\Errors"; }
49 void performBinaryOperation(
const HistogramData::Histogram &lhs,
const HistogramData::Histogram &
rhs,
50 HistogramData::HistogramY &YOut, HistogramData::HistogramE &EOut)
override;
51 void performBinaryOperation(
const HistogramData::Histogram &lhs,
const double rhsY,
const double rhsE,
52 HistogramData::HistogramY &YOut, HistogramData::HistogramE &EOut)
override;
const std::vector< double > & rhs
BinaryOperation supports the implementation of a binary operation on two input workspaces.
Takes a Data workspace and an original counts workspace input and updates the error values in the dat...
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
std::string inputPropName1() const override
The name of the first input workspace property for BinaryOperation.
const std::string summary() const override
Summary of algorithms purpose.
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
std::string outputPropName() const override
The name of the output workspace property for BinaryOperation.
std::string inputPropName2() const override
The name of the second input workspace property for BinaryOperation.
int version() const override
Algorithm's version for identification overriding a virtual method.
std::shared_ptr< const MatrixWorkspace > MatrixWorkspace_const_sptr
shared pointer to the matrix workspace base class (const version)
Helper class which provides the Collimation Length for SANS instruments.