 |
Belle II Software
release-05-02-19
|
9 #ifndef FASTRBUF2DSMODULE_H
10 #define FASTRBUF2DSMODULE_H
12 #include <framework/core/Module.h>
13 #include <framework/pcore/RingBuffer.h>
19 #include <framework/pcore/DataStoreStreamer.h>
22 #define RBUFSIZE 100000000
23 #define MAXEVTSIZE 400000000
82 #endif // MODULEHELLO_H
A class definition of an input module for Sequential ROOT I/O.
virtual void initialize()
Module functions to be called from main process.
int m_nrecv
No. of sent events.
void ReadRbufInThread()
Function to read event from RB.
virtual void beginRun()
Module functions to be called from event process.
pthread_t m_thr_input
Input thread ID.
FastRbuf2DsModule()
Constructor / Destructor.
DataStoreStreamer * m_streamer
DataStore streamer.
Class to manage a Ring Buffer placed in an IPC shared memory.
Abstract base class for different kinds of events.
virtual void event()
This method is the core of the module.
virtual void endRun()
This method is called if the current run ends.
int m_compressionLevel
Compression Level.
std::string m_rbufname
RingBuffer ID.
Stream/restore DataStore objects to/from EvtMessage.
int m_numThread
Number of decoder threads.
virtual void terminate()
This method is called at the end of the event processing.