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
Stream/restore DataStore objects to/from EvtMessage.
A class definition of an input module for Sequential ROOT I/O.
virtual void event()
This method is the core of the module.
DataStoreStreamer * m_streamer
DataStore streamer.
virtual void initialize()
Module functions to be called from main process.
virtual void beginRun()
Module functions to be called from event process.
pthread_t m_thr_input
Input thread ID.
virtual void terminate()
This method is called at the end of the event processing.
virtual void endRun()
This method is called if the current run ends.
int m_nrecv
No. of sent events.
int m_compressionLevel
Compression Level.
std::string m_rbufname
RingBuffer ID.
FastRbuf2DsModule()
Constructor / Destructor.
void ReadRbufInThread()
Function to read event from RB.
int m_numThread
Number of decoder threads.
Class to manage a Ring Buffer placed in an IPC shared memory.
Abstract base class for different kinds of events.