8 #include <daq/rawdata/modules/DesSerPrePCMain.h>
9 #include <daq/rawdata/DesSerPrePC.h>
29 addParam(
"PortFrom", m_port_recv,
"port number", 30000);
30 addParam(
"HostNameFrom", m_host_recv,
"hostname from",
string(
"cpr001"));
32 addParam(
"PortTo", m_port_send,
"port number", 31001);
33 addParam(
"HostNameTo", m_host_send,
"hostname from",
string(
"0.0.0.0."));
35 addParam(
"NodeID", m_nodeid,
"Node(subsystem) ID", 0);
36 addParam(
"NodeName", m_nodename,
"Node(subsystem) name", std::string(
""));
37 addParam(
"UseShmFlag", m_shmflag,
"Use shared memory to communicate with Runcontroller", 0);
39 m_compressionLevel = 0;
43 DesSerPrePCMainModule::~DesSerPrePCMainModule()
48 void DesSerPrePCMainModule::initialize()
51 m_eventMetaDataPtr.registerInDataStore();
58 void DesSerPrePCMainModule::event()
61 m_host_send, m_port_send, m_shmflag,
62 m_nodename, m_nodeid);
69 m_eventMetaDataPtr.create();
70 m_eventMetaDataPtr->setExperiment(1);
71 m_eventMetaDataPtr->setRun(1);
72 m_eventMetaDataPtr->setEvent(1);
A class definition of an input module for Sequential ROOT I/O.
A class definition of an input module for Sequential ROOT I/O.
void DataAcquisition() override
Module functions to be called from event process.
#define REG_MODULE(moduleName)
Register the given module (without 'Module' suffix) with the framework.
Abstract base class for different kinds of events.