11#include <framework/core/Module.h>
12#include <framework/datastore/StoreObjPtr.h>
13#include <framework/datastore/StoreArray.h>
15#include <framework/dataobjects/EventMetaData.h>
16#include <rawdata/dataobjects/RawPXD.h>
36 enum {MAXEVTSIZE = 4 * 1024 * 1024 + 256 * 4 + 16};
51 void event()
override final;
Module to Load BonnDAQ file and store it as RawPXD in Data Store This is meant for lab use (standalon...
void initialize() override final
Initialize.
std::map< unsigned int, off_t > m_event_offset
map event nr to offsets
int read_data(char *data, size_t len)
Read amount of data (len bytes) from file to ptr data.
std::string m_RawPXDsName
The name of the StoreArray RawPXDs to create.
void terminate() override final
Terminate.
void event() override final
Event.
off_t m_last_offset
last checked file offset
int readOneEvent(unsigned int &tnr)
Read event and store it in datastore if trigger nr matches.
PXDReadRawBonnDAQMatchedModule()
Constructor / Destructor.
std::string m_filename
File Name.
StoreObjPtr< EventMetaData > m_eventMetaDataPtr
Event Meta Data.
StoreArray< RawPXD > m_rawPXD
DHH Data.
Accessor to arrays stored in the data store.
Type-safe access to single objects in the data store.
Abstract base class for different kinds of events.