9#ifndef DESERIALIZERPC_H
10#define DESERIALIZERPC_H
15#include <framework/datastore/StoreObjPtr.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>
23#include <rawdata/dataobjects/RawFTSW.h>
24#include <framework/dataobjects/EventMetaData.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);
67 unsigned int* run_copper_0,
unsigned int* subrun_copper_0,
68 unsigned int* eve_copper_0,
unsigned int* error_bit_flag);
74 void waitResume()
override;
104 unsigned int m_prev_copper_ctr;
106 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.
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
virtual void setRecvdBuffer(RawDataBlock *raw_datablk, int *delete_flag)
attach buffer to RawDataBlock
DeSerializerPCModule()
Constructor / Destructor.
virtual void checkData(RawDataBlock *raw_datablk, unsigned int *exp_copper_0, unsigned int *run_copper_0, unsigned int *subrun_copper_0, unsigned int *eve_copper_0, unsigned int *error_bit_flag)
check data contents
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.
Type-safe access to single objects in the data store.
Abstract base class for different kinds of events.