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
48 void event()
override;
Stream/restore DataStore objects to/from EvtMessage.
A class definition of an input module for Sequential ROOT I/O.
DataStoreStreamer * m_streamer
DataStore streamer.
void initialize() override
Module functions to be called from main process.
void event() override
This method is the core of the module.
void endRun() override
This method is called if the current run ends.
pthread_t m_thr_input
Input thread ID.
void terminate() override
This method is called at the end of the event processing.
void beginRun() override
Module functions to be called from event process.
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.