 |
Belle II Software
release-05-02-19
|
10 #include <framework/core/Module.h>
11 #include <framework/pcore/MsgHandler.h>
12 #include <framework/pcore/SeqFile.h>
13 #include <framework/pcore/DataStoreStreamer.h>
42 virtual void event()
override;
43 virtual void endRun()
override;
virtual void event() override
This method is the core of the module.
std::string m_outputFileName
File name.
double m_size
total transferred data, in kB.
virtual void endRun() override
This method is called if the current run ends.
virtual void initialize() override
Module functions to be called from main process.
virtual void terminate() override
This method is called at the end of the event processing.
std::vector< std::string > m_saveObjs
List of objects to be saved.
SeqRootOutputModule()
Constructor / Destructor.
MsgHandler * m_msghandler
Messaage handler.
SeqFile * m_file
Blocked file handler.
double m_size2
sum of squares of data transferred in each event, in kB^2.
Output module for sequential ROOT I/O.
int m_compressionLevel
Compression level.
Abstract base class for different kinds of events.
bool m_fileNameIsPattern
If true the output filename will be interpreted as a boost::format pattern.
int m_streamerinfo_size
The size of the StreamerInfo.
void getStreamerInfos()
! Write StreamerInfos to a file
virtual void beginRun() override
Module functions to be called from event process.
DataStoreStreamer * m_streamer
DataStoreStreamer.
int m_nevt
Total nr. of events in the file.
Stream/restore DataStore objects to/from EvtMessage.
A class to manage I/O for a chain of blocked files.
A class to encode/decode an EvtMessage.
struct timeval m_tend
time at end of current run.
char * m_streamerinfo
StreamerInfo to be written.