9 #include <calibration/modules/DummyCollector/DummyCollectorModule.h>
28 setDescription(
"Dummy module for running when you don't really need output.");
33 auto hist =
new TH1I(
"histogram",
"Number of times hist->Fill() was called.", 1, 0., 1.);
34 registerObject<TH1I>(
"DummyHist", hist);
39 getObjectPtr<TH1I>(
"DummyHist")->Fill(0.5);
Calibration collector module base class.
Basically empty Collector, makes only a tiny amount of output data.
virtual void collect() override
Replacement for event(). Fill you calibration data objects here.
virtual void prepare() override
Replacement for initialize(). Register calibration dataobjects here as well.
#define REG_MODULE(moduleName)
Register the given module (without 'Module' suffix) with the framework.
Abstract base class for different kinds of events.