14#include "MantidAlgorithms/DllConfig.h"
46 const std::string
name()
const override {
return "Integration"; }
48 const std::string
summary()
const override {
49 return "Integration takes a 2D workspace or an EventWorkspace as input and "
50 "sums the data values. Optionally, the range summed can be "
51 "restricted in either dimension.";
55 int version()
const override {
return (1); }
56 const std::vector<std::string>
seeAlso()
const override {
return {
"IntegrateByComponent",
"Rebin"}; }
58 const std::string
category()
const override {
return "Arithmetic;Transforms\\Rebin"; }
72 std::map<std::string, std::string> validateInputs()
override;
74 std::vector<double> *Fout,
double lowerLimit,
double upperLimit,
bool incPartBins);
IPeaksWorkspace_sptr workspace
Base class from which all concrete algorithm classes should be derived.
A "spectrum" is an object that holds the data for a particular spectrum, in particular:
Takes a workspace as input and sums each spectrum contained within it, storing the result as a worksp...
const std::string summary() const override
Summary of algorithms purpose.
API::MatrixWorkspace_sptr getOutputWorkspace(API::MatrixWorkspace_sptr inWS, const int minSpec, const int maxSpec)
Create the outputworkspace.
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
int version() const override
Algorithm's version for identification overriding a virtual method.
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.