11#include <framework/core/Module.h>
13#include <framework/datastore/StoreArray.h>
14#include <top/dataobjects/TOPDigit.h>
54 virtual void event()
override;
59 virtual void endRun()
override;
72 enum {c_NumChannels = 512,
Accessor to arrays stored in the data store.
TOP Channel T0 MC Extraction module (under development)
std::vector< double > m_fitRange
fit range [nbins, xmin, xmax]
std::string m_outputFile
output root file name
StoreArray< TOPDigit > m_digits
collection of digits
TH1F * m_histo[c_NumChannels]
profile histograms
virtual void initialize() override
Initialize the Module.
virtual void event() override
Event processor.
virtual void endRun() override
End-of-run action.
virtual void terminate() override
Termination action.
TOPChannelT0MCModule()
Constructor.
virtual void beginRun() override
Called when entering a new run.
virtual ~TOPChannelT0MCModule()
Destructor.
Abstract base class for different kinds of events.