 |
Belle II Software
release-05-02-19
|
13 #include <framework/core/Module.h>
15 #include <framework/datastore/StoreArray.h>
16 #include <top/dataobjects/TOPDigit.h>
17 #include <top/dataobjects/TOPRecBunch.h>
19 #include <framework/database/DBObjPtr.h>
20 #include <top/dbobjects/TOPCalTimebase.h>
21 #include <top/dbobjects/TOPCalChannelT0.h>
22 #include <top/dbobjects/TOPCalAsicShift.h>
23 #include <top/dbobjects/TOPCalModuleT0.h>
24 #include <top/dbobjects/TOPCalCommonT0.h>
25 #include <top/dbobjects/TOPFrontEndSetting.h>
26 #include <top/dbobjects/TOPCalTimeWalk.h>
38 class TOPTimeRecalibratorModule :
public Module {
62 virtual void event()
override;
bool m_useModuleT0Calibration
if true, use module T0 calibration
TOPTimeRecalibratorModule()
Constructor.
bool m_useSampleTimeCalibration
if true, use sample time calibration
bool m_useTimeWalkCalibration
if true, use time-walk calibration
DBObjPtr< TOPCalTimebase > m_timebase
sample time calibration constants
OptionalDBObjPtr< TOPCalTimeWalk > m_timeWalk
time-walk calibration constants
DBObjPtr< TOPCalModuleT0 > m_moduleT0
module T0 calibration constants
double m_syncTimeBase
SSTin period.
virtual void event() override
Event processor.
DBObjPtr< TOPCalChannelT0 > m_channelT0
channel T0 calibration constants
StoreObjPtr< TOPRecBunch > m_recBunch
reconstructed bunch
bool m_useAsicShiftCalibration
if true, use asic shifts calibration
virtual void beginRun() override
Called when entering a new run.
bool m_useCommonT0Calibration
if true, use common T0 calibration
Class for accessing objects in the database.
Optional DBObjPtr: This class behaves the same as the DBObjPtr except that it will not raise errors w...
StoreArray< TOPDigit > m_digits
collection of digits
DBObjPtr< TOPFrontEndSetting > m_feSetting
front-end settings
Calibration constants of a singe ASIC channel: time axis (sample times)
Abstract base class for different kinds of events.
Type-safe access to single objects in the data store.
DBObjPtr< TOPCalCommonT0 > m_commonT0
common T0 calibration constants
bool m_useChannelT0Calibration
if true, use channel T0 calibration
virtual void initialize() override
Initialize the Module.
DBObjPtr< TOPCalAsicShift > m_asicShift
ASIC shifts calibration constants.
Accessor to arrays stored in the data store.
TOPSampleTimes m_sampleTimes
equidistant in case no calibration required
bool m_subtractBunchTime
if true, subtract reconstructed bunch time