9#ifndef DESERIALIZERPREPC_H
10#define DESERIALIZERPREPC_H
16#include <framework/datastore/StoreArray.h>
18#include <daq/rawdata/modules/DeSerializer.h>
19#include <daq/dataflow/EvtSocket.h>
21#include <rawdata/dataobjects/RawCOPPER.h>
22#include <rawdata/dataobjects/PreRawCOPPERFormat_latest.h>
24#include <rawdata/dataobjects/RawFTSW.h>
47 void event()
override;
55 virtual int recvFD(
int fd,
char* buf,
int data_size_byte,
int flag);
59 virtual int*
recvData(
int* delete_flag,
int* total_m_size_word,
int* num_events_in_sendblock,
int* num_nodes_in_sendblock);
92 unsigned int m_prev_copper_ctr;
94 unsigned int m_prev_evenum;
A class definition of an input module for Sequential ROOT I/O.
A class definition of an input module for Sequential ROOT I/O.
std::vector< int > m_socket
Reciever Socket.
virtual int * recvData(int *delete_flag, int *total_m_size_word, int *num_events_in_sendblock, int *num_nodes_in_sendblock)
receive data
void initialize() override
Module functions to be called from main process.
void event() override
Module functions to be called from event process.
std::vector< EvtSocketRecv * > m_recv
Reciever basf2 Socket.
virtual void checkData(RawDataBlock *raw_datablk, unsigned int *eve_copper_0)
check data contents
std::vector< int > m_port_from
port # to connect data sources
virtual int Connect()
Accept connection.
virtual int recvFD(int fd, char *buf, int data_size_byte, int flag)
receive data
DeSerializerPrePCModule()
Constructor / Destructor.
virtual void setRecvdBuffer(RawDataBlock *raw_datablk, int *delete_flag)
attach buffer to RawDataBlock
std::vector< std::string > m_hostname_from
hostname of upstream Data Sources
The RawDataBlock class Base class for rawdata handling.
Accessor to arrays stored in the data store.
Abstract base class for different kinds of events.