11#include <framework/core/Module.h>
12#include <framework/pcore/MsgHandler.h>
13#include <framework/datastore/StoreObjPtr.h>
15#include <framework/dataobjects/EventMetaData.h>
16#include <rawdata/dataobjects/RawPXD.h>
34 enum {MAXEVTSIZE = 4 * 1024 * 1024};
51 void event()
override final;
A class to encode/decode an EvtMessage.
A class definition of an input module for Sequential ROOT I/O.
void initialize() override final
Initialize.
bool getTrigNr(RawPXD &px)
get the trigger number
int m_nread
No. of sent events.
int read_data(char *data, size_t len)
Read amount of data (len bytes) from file to ptr data.
PXDReadRawONSENModule()
Constructor / Destructor.
~PXDReadRawONSENModule()
Destructor.
bool m_setEvtMeta
Set Event Meta Info.
void terminate() override final
Terminate.
void event() override final
Event.
MsgHandler * m_msghandler
Message handler.
bool unpack_dhc_frame(void *data)
unpack the dhc frame
std::string m_filename
File Name.
int m_compressionLevel
Compression Level.
int readOneEvent(void)
Read data of one Event from File.
StoreObjPtr< EventMetaData > m_eventMetaDataPtr
Event Meta Data.
Type-safe access to single objects in the data store.
Abstract base class for different kinds of events.