11#include <rawdata/modules/PrintDataTemplate.h>
37 virtual void event()
override;
40 virtual void endRun()
override;
47 int* dblk_pos,
unsigned int* dblk_eve);
Module to get data from DataStore and send it to another network node.
The RawDataBlock class Base class for rawdata handling.
Dump basf2 objects to a binary file.
virtual void writeEvent(RawDataBlock *raw_dblk, int *first_flag, int *break_flag, int *dblk_pos, unsigned int *dblk_eve)
write the contents of an event
Root2BinaryModule()
Constructor.
FILE * m_fp_out
File descripter.
virtual void initialize() override
Called at the beginning of data processing.
virtual void event() override
Called for each event.
virtual ~Root2BinaryModule()
Destructor.
virtual void endRun() override
Called if the current run ends.
virtual void terminate() override
Called at the end of data processing.
std::string m_fname_out
Output filename.
Abstract base class for different kinds of events.