10#include <framework/core/Module.h>
12#include <daq/hbasf2/utils/HLTStreamHelper.h>
13#include <framework/pcore/zmq/connections/ZMQLoadBalancedConnection.h>
15#include <framework/pcore/zmq/utils/ZMQParent.h>
16#include <framework/datastore/StoreObjPtr.h>
17#include <framework/dataobjects/EventMetaData.h>
18#include <framework/core/RandomGenerator.h>
63 void event()
override;
69 std::unique_ptr<ZMQLoadBalancedInput>
m_input;
Helper class for data store serialization.
Input module in the ZMQ reconstruction path receiving events via ZMQ and deserializing the to the dat...
bool m_firstEvent
Are we still in the first real event?
std::unique_ptr< ZMQLoadBalancedInput > m_input
Load balanced connection to the previous ZMQ application.
bool m_lastEventIsSpecialMessage
The last event has a special message type?
bool m_inInitialize
Are we still before the first real event = before the modules are initialized = before the forking?
void initialize() override
Register the needed store arrays. In case of the HLT, this are only the raw data objects,...
void event() override
Handle the cases (a) before first event, (b) first event and (c) normal event as described in the cla...
std::shared_ptr< ZMQParent > m_parent
ZMQ Parent needed for the connections.
unsigned int m_lastExperiment
Default experiment number to be set during initialization/run end to have something to load the geome...
unsigned int m_param_bufferSize
Module parameter: how many events should be kept in flight. Has an impact on the stopping time as wel...
StoreObjPtr< EventMetaData > m_eventMetaData
Reference to the event meta data to set numbers and flags according to the state and received message...
HLTZMQ2DsModule()
Register the module parameters.
unsigned int m_lastRun
Default run number to be set during initialization/run end to have something to load the geometry....
HLTStreamHelper m_streamHelper
Utility class for deserialization.
std::string m_param_input
Module parameter: ZMQ address of the input ZMQ application.
bool m_param_addExpressRecoObjects
Module parameter: additional to the raw data, also register the data store objects needed for express...
Type-safe access to single objects in the data store.
Abstract base class for different kinds of events.