13#include "MantidAlgorithms/DllConfig.h"
37 const std::string category()
const override;
39 const std::string name()
const override;
41 const std::string
summary()
const override {
42 return "Identifies histograms and their detectors that have total numbers "
43 "of counts over a user defined maximum or less than the user define "
48 int version()
const override;
49 const std::vector<std::string>
seeAlso()
const override {
50 return {
"FindDetectorsOutsideLimits",
"FindDeadDetectors",
"MedianDetectorTest",
"DetectorEfficiencyVariation"};
65 const int indexMax,
const double lower,
const double upper,
66 const bool outputWorkspace2D =
false);
74 const std::vector<std::vector<size_t>> &indexmap);
89 RTGetSolidAngle = 15000,
91 RTGetTotalCounts = 5000,
99 RTTotal = RTGetSolidAngle + RTGetTotalCounts + RTGetRate + RTMarkDetects + RTWriteFile
105 double advanceProgress(
double toAdd);
108 void failProgress(RunTime aborted);
IPeaksWorkspace_sptr workspace
double lower
lower and upper bounds on the multiplier, if known
Base class from which all concrete algorithm classes should be derived.
Base MatrixWorkspace Abstract Class.
A base class for a detector diagnostic algorithm.
double m_rangeUpper
Ending x-axis value for integrations.
int m_TotalTime
An estimate total number of additions or equilivent required to compute a spectrum.
double m_fracDone
An estimate of the percentage of the algorithm runtimes that has been completed.
RunTime
For the progress bar, estimates of how many additions, or equivalent, member functions will do for ea...
int m_maxIndex
Ending workspace index to run tests on.
double m_progStepWidth
The number of tests to be run.
virtual ~DetectorDiagnostic()=default
Default destructor.
const std::string summary() const override
Summary of algorithms purpose.
double m_rangeLower
Starting x-axis value for integrations.
int m_minIndex
Starting workspace index to run tests on.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
int m_parents
number of parents up, 0 go to instrument
std::shared_ptr< const MatrixWorkspace > MatrixWorkspace_const_sptr
shared pointer to the matrix workspace base class (const version)
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
std::shared_ptr< MaskWorkspace > MaskWorkspace_sptr
shared pointer to the MaskWorkspace class
Helper class which provides the Collimation Length for SANS instruments.