A class definition of an input module for Sequential ROOT I/O.
More...
#include <DesSerCOPPER.h>
|
| DesSerCOPPER (std::string host_recv, int port_recv, std::string host_send, int port_send, int shmflag, const std::string &nodename, int nodeid, int finesse_bitflag) |
| Constructor / Destructor.
|
|
void | DataAcquisition () |
| Module functions to be called from event process.
|
|
int * | readOneEventFromCOPPERFIFO (const int entry, int *delete_flag, int *m_size_word) |
| Read one event from COPPER.
|
|
void | openCOPPER () |
| open COPPER
|
|
void | initializeCOPPER () |
| Module functions to be called from main process.
|
|
int | readFD (int fd, char *buf, int data_size_byte, int delete_flag) |
| receive data
|
|
void | initialize (bool close_listen=true) |
|
void | printData (int *buf, int nwords) |
| dump error data
|
|
int * | getPreAllocBuf () |
| Getbuffer.
|
|
int * | getNewBuffer (int nwords, int *delete_flag) |
| Getbuffer.
|
|
double | getTimeSec () |
| store time info.
|
|
void | recordTime (int event, double *array) |
| store time info.
|
|
unsigned int | calcSimpleChecksum (int *buf, int nwords) |
| calculate checksum
|
|
unsigned int | calcXORChecksum (int *buf, int nwords) |
| calculate checksum
|
|
void | clearNumUsedBuf () |
|
void | RateMonitor (unsigned int nevt) |
| monitor rate
|
|
void | shmOpen (char *path_cfg, char *path_sta) |
| open shared memory
|
|
int * | shmGet (int fd, int size_words) |
| Get shared memory.
|
|
void | initializeNode () |
| Module functions to be called from main process.
|
|
void | beginRun () |
| Module functions to be called from event process.
|
|
void | endRun () |
|
void | terminate () |
|
int | sendByWriteV (RawDataBlockFormat *rawdblk) |
|
void | Accept (bool close_listen=true) |
|
void | fillSendHeaderTrailer (SendHeader *hdr, SendTrailer *trl, RawDataBlockFormat *rawdblk) |
|
int | Send (int socket, char *buf, int size_bytes) |
| send buffer
|
|
|
enum | {
COPPER = 1
,
ROPC = 2
} |
|
A class definition of an input module for Sequential ROOT I/O.
Definition at line 27 of file DesSerCOPPER.h.
◆ m_hostname_from
std::vector<std::string> m_hostname_from |
|
protectedinherited |
Reciever basf2 Socket.
hostname of upstream Data Sources
Definition at line 243 of file DesSer.h.
◆ m_num_connections
check data contents
of connections
Definition at line 237 of file DesSer.h.
◆ m_num_usedbuf
of already used buffers
Definition at line 132 of file DesSer.h.
◆ m_pre_rawcpr
report status to SLC
Use ver.2 for the moment(ver.4 -> PCI40)
Definition at line 191 of file DesSer.h.
◆ max_nevt
of events in a run
Definition at line 61 of file DesSer.h.
◆ monitor_numeve
buffer for shared memory
buffer for shared memory
Definition at line 178 of file DesSer.h.
◆ p_method
EvtSocket.
How to handle data
Definition at line 284 of file DesSer.h.
The documentation for this class was generated from the following files: