10#include "MantidAlgorithms/DllConfig.h"
32 const std::string name()
const override;
33 int version()
const override;
34 const std::vector<std::string>
seeAlso()
const override {
return {
"ChangePulsetime"}; }
35 const std::string category()
const override;
36 const std::string summary()
const override;
39 bool normalizeCountRate()
const;
41 bool useLogDerivative()
const;
43 bool buildVisWS()
const;
51 void disableNormalization(
const std::string &NormLogError);
56 bool m_normalizeResult{
false};
59 int m_numLogSteps{200};
62 bool m_rangeExplicit{
false};
63 bool m_useLogDerivative{
false};
65 double m_XRangeMin{0}, m_XRangeMax{0};
67 Types::Core::DateAndTime m_TRangeMin{0}, m_TRangeMax{0};
77 void checkAndInitVisWorkspace();
81 void buildVisWSNormalization(std::vector<double> &normalization);
88 double m_visX0, m_visDX, m_visT0,
m_visDT, m_visTmax;
Base class from which all concrete algorithm classes should be derived.
In normal circumstances an instrument in event mode counts neutrons with constant steady rate which d...
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
DataObjects::EventWorkspace_sptr m_workingWS
temporary workspace used to keep intermediate results
std::vector< double > m_visNorm
virtual ~CalculateCountRate()=default
DataObjects::Workspace2D_sptr m_visWs
shared pointer to the optional visualization workspace
std::unique_ptr< Kernel::TimeSeriesProperty< double > > m_tmpLogHolder
A specialised Property class for holding a series of time-value pairs.
std::shared_ptr< Workspace2D > Workspace2D_sptr
shared pointer to Mantid::DataObjects::Workspace2D
std::shared_ptr< EventWorkspace > EventWorkspace_sptr
shared pointer to the EventWorkspace class
Helper class which provides the Collimation Length for SANS instruments.