11#include <calibration/CalibrationCollectorModule.h>
12#include <framework/dataobjects/EventMetaData.h>
28 virtual void prepare()
override;
29 virtual void collect()
override;
32 virtual void finish()
override;
Testing module for collection of calibration data.
void describeProcess(const std::string &functionName)
Describe process (gives debug output)
int m_evt
Current event id.
double m_hitX
Fake x coordinate of a hit.
virtual void startRun() override
Replacement for beginRun(). Do anything you would normally do in beginRun here.
double m_hitY
Fake y coordinate of a hit.
virtual void collect() override
Replacement for event(). Fill you calibration data objects here.
double m_hitZ
Fake z coordinate of a hit.
virtual void closeRun() override
Replacement for endRun(). Do anything you would normally do in endRun here.
int m_spread
Spread of gaussian (mean=42) filling test histogram (range=<0,100>) - probability of algo iterations ...
int m_exp
Current experiment id.
virtual void prepare() override
Replacement for initialize(). Register calibration dataobjects here as well.
virtual void finish() override
Replacement for terminate(). Do anything you would normally do in terminate here.
int m_entriesPerEvent
Number of entries created in the saved tree per event.
virtual void inDefineHisto() override
Runs during the defineHisto() function.
StoreObjPtr< EventMetaData > m_emdata
emdata
CaTestModule()
Constructor: Sets the description, the properties and the parameters of the module.
Calibration collector module base class.
Type-safe access to single objects in the data store.
Abstract base class for different kinds of events.