11#include <framework/core/Module.h>
12#include <framework/database/DBObjPtr.h>
13#include <top/dbobjects/TOPFrontEndSetting.h>
48 virtual void event()
override;
Class for accessing objects in the database.
Event T0 finder for global cosmic runs.
bool m_applyT0
if true, subtract T0 in TOPDigits
DBObjPtr< TOPFrontEndSetting > m_feSetting
front-end settings
bool m_saveHistograms
flag to save histograms
double m_minSignal
minimal number of expected signal photons
int m_numBins
number of bins to which time range is divided
bool m_useIncomingTrack
if true use incoming track, otherwise use outcoming
int m_successCount
counter for successfully determined T0
int m_acceptedCount
counter for accepted events
int m_num
histogram number
unsigned m_minHits
minimal number of hits on TOP module
double m_timeRange
time range in which to search [ns]
double m_sigma
additional time spread added to PDF [ns]
virtual ~TOPCosmicT0FinderModule()
Destructor.
virtual void initialize() override
Initialize the Module.
virtual void event() override
Event processor.
TOPCosmicT0FinderModule()
Constructor.
virtual void terminate() override
Termination action.
Abstract base class for different kinds of events.