14#include "MantidAlgorithms/DllConfig.h"
28 const std::string
name()
const override {
return "SumEventsByLogValue"; }
30 int version()
const override {
return (1); }
31 const std::vector<std::string>
seeAlso()
const override {
return {
"FilterByLogValue"}; }
33 const std::string
category()
const override {
return "Events"; }
35 const std::string
summary()
const override {
36 return "Produces a single spectrum workspace containing the "
37 "total summed events in the workspace as a function of a specified "
41 std::map<std::string, std::string> validateInputs()
override;
51 void filterEventList(
const API::IEventList &eventList,
const int minVal,
const int maxVal,
54 const int minVal,
const int maxVal);
55 std::vector<std::pair<std::string, const Kernel::ITimeSeriesProperty *>> getNumberSeriesLogs();
Base class from which all concrete algorithm classes should be derived.
IEventList : Interface to Mantid::DataObjects::EventList class, used to expose to PythonAPI.
Produces a table or single spectrum workspace containing the total summed events in the workspace as ...
std::vector< double > m_binningParams
The optional binning parameters.
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
std::string m_logName
The name of the log to sum against.
const std::string summary() const override
Summary of algorithms purpose.
DataObjects::EventWorkspace_const_sptr m_inputWorkspace
The input workspace.
int version() const override
Algorithm's version 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.
A specialised Property class for holding a series of time-value pairs.
std::shared_ptr< ITableWorkspace > ITableWorkspace_sptr
shared pointer to Mantid::API::ITableWorkspace
std::shared_ptr< const EventWorkspace > EventWorkspace_const_sptr
shared pointer to a const Workspace2D
std::vector< SplittingInterval > TimeSplitterType
A typedef for splitting events according their pulse time.
Helper class which provides the Collimation Length for SANS instruments.