10 #ifndef SVDEventInfoSetterModule_H
11 #define SVDEventInfoSetterModule_H
13 #include <framework/core/Module.h>
14 #include <framework/datastore/StoreObjPtr.h>
15 #include <svd/dataobjects/SVDEventInfo.h>
16 #include <svd/dataobjects/SVDModeByte.h>
17 #include <svd/dataobjects/SVDTriggerType.h>
18 #include <simulation/dataobjects/SimClockState.h>
19 #include <svd/dbobjects/SVDGlobalConfigParameters.h>
20 #include <mdst/dataobjects/TRGSummary.h>
21 #include <framework/database/DBObjPtr.h>
22 #include <framework/dbobjects/HardwareClockSettings.h>
64 virtual void event()
override;
Class for accessing objects in the database.
Module to set the SVDEventInfo in the simulation.
bool m_xTalk
Cross-talk flag to be set.
StoreObjPtr< SVDEventInfo > m_svdEventInfoPtr
Output object.
virtual void initialize() override
Initializes the Module.
virtual void event() override
Stores the SVD event info into the DataStore.
int m_fixedTriggerBin
fixed trigger bin
uint8_t m_triggerType
Trigger type content to be set.
SVDEventInfoSetterModule()
Constructor.
virtual void beginRun() override
Reads Detector Configuration from DB daqMode and relativeShift.
bool m_ModeByteMatch
SVDModeByte matching flag to be set.
DBObjPtr< HardwareClockSettings > m_hwClock
systems clock
std::string m_svdEventInfoName
Name of the SVDEventInfo object.
int m_triggerBin
trigger bin
DBObjPtr< SVDGlobalConfigParameters > m_svdGlobalConfig
SVD Global Configuration payload.
int m_eventType
event type
int m_relativeShift
latency difference between the 3- and 6-sample acquired events
SVDTriggerType m_SVDTriggerType
SVDTriggerType object.
SVDModeByte m_SVDModeByte
SVDModeByte object.
bool m_TriggerTypeMatch
SVDTriggerType matching flag to be set.
virtual ~SVDEventInfoSetterModule()
Destructor.
std::string m_objTrgSummaryName
Name of the StoreObjectPrt TRGSummary.
bool m_useDB
if true reads the configuration from SVDGlobalConfigParameters payload
StoreObjPtr< SimClockState > m_simClockState
generated hardware clock state
Class to store SVD mode information.
Class to store Trigger Type information.
Type-safe access to single objects in the data store.
Abstract base class for different kinds of events.