10#include <calibration/CalibrationAlgorithm.h>
11#include <framework/database/DBObjPtr.h>
12#include <calibration/dbobjects/TestCalibMean.h>
EResult
The result of calibration.
CalibrationAlgorithm(const std::string &collectorModuleName)
Constructor - sets the prefix for collected objects (won't be accesses until execute(....
Class for accessing objects in the database.
bool getGeneratePayloads() const
Getter for m_generatePayloads.
void setGeneratePayloads(const bool &value)
Setter for m_generatePayloads.
TestDBAccessAlgorithm()
Constructor set the prefix to TestCalibration.
void saveSameMeans()
Saves the same DB values for each run into a new localdb, otherwise we aren't creating a DB this iter...
float getAverageDistanceFromAnswer()
Grabs DBObjects from the Database and finds out the average distance from 42.
~TestDBAccessAlgorithm() override
Destructor.
void generateNewPayloads()
Generates new payloads.
EResult calibrate() override
Run algo on data.
DBObjPtr< TestCalibMean > m_dbMean
dbMean
void reduceDistancesAndSave()
Saves new DB values for each run where they are a little closer to 42.
bool m_generatePayloads
generatePayloads
Abstract base class for different kinds of events.