10#include <calibration/CalibrationAlgorithm.h>
Base class for calibration algorithms.
std::vector< Calibration::ExpRun > m_boundaries
When using the boundaries functionality from isBoundaryRequired, this is used to store the boundaries...
EResult
The result of calibration.
Test class implementing calibration algorithm.
int m_minEntries
Set when c_NotEnoughData will be returned.
TestBoundarySettingAlgorithm()
Constructor set the prefix to TestCalibration.
virtual ~TestBoundarySettingAlgorithm()
Destructor.
virtual void boundaryFindingSetup(std::vector< Calibration::ExpRun >, int) override
What we do before isBoundaryRequired gets called.
std::vector< Calibration::ExpRun > getBoundaries() const
getter for current boundaries
void setBoundaries(const std::vector< Calibration::ExpRun > &boundaries)
Setter for boundaries.
int getMinEntries() const
getter for m_minEntries
virtual EResult calibrate() override
Run algo on data.
std::vector< Calibration::ExpRun > m_requestedBoundaries
During findPayloadBoundaries and isBoundaryRequired this is used to define the boundaries we want.
virtual bool isBoundaryRequired(const Calibration::ExpRun &) override
Decide if a run should be a payload boundary. Only used in certain Python Algorithm Starategies.
void setMinEntries(const int minEntries)
setter for m_minEntries
Abstract base class for different kinds of events.