9#include "MantidAlgorithms/DllConfig.h"
26 const std::string
name()
const override {
return "SumOverlappingTubes"; }
27 const std::string
category()
const override {
return "ILL\\Diffraction"; }
28 const std::string
summary()
const override {
29 return "Takes workspaces containing an instrument with PSD and tubes, and "
30 "converts to a workspace with counts as a function of height and "
31 "scattering angle. Detector scans with overlapping tubes are "
34 int version()
const override {
return 1; }
35 const std::vector<std::string>
seeAlso()
const override {
return {
"SumSpectra"}; }
55 void getInputParameters();
56 void getScatteringAngleBinning();
57 void getHeightAxis(
const std::string &componentName);
60 double distanceFromAngle(
const int angleIndex,
const double angle)
const;
Base class from which all concrete algorithm classes should be derived.
SumOverlappingTubes : Converts workspaces containing an instrument with PSD tubes into a workspace wi...
const std::string name() const override
function to return a name of the algorithm, must be overridden in all algorithms
const std::string summary() const override
function returns a summary message that will be displayed in the default GUI, and in the help.
std::list< API::MatrixWorkspace_sptr > m_workspaceList
int version() const override
function to return a version of the algorithm, must be overridden in all algorithms
std::vector< double > m_heightAxis
std::unique_ptr< API::Progress > m_progress
holds the sign flipper for 2theta
double m_stepScatteringAngle
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
double m_endScatteringAngle
const std::string category() const override
function to return a category of the algorithm.
double m_startScatteringAngle
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.