Little tool that copies LCIO files on an event by event and run by run basis, thus fixing files that have incomplete records at the end due to a program crash. More...
Public Member Functions | |
RunEventProcessor (const char *outFileName) | |
void | modifyEvent (LCEvent *evt) |
void | processEvent (LCEvent *evt) |
void | modifyRunHeader (LCRunHeader *run) |
void | processRunHeader (LCRunHeader *run) |
RunEventProcessor (const char *outFileName, unsigned int nFiles) | |
void | modifyEvent (LCEvent *evt) |
void | processEvent (LCEvent *evt) |
void | modifyRunHeader (LCRunHeader *run) |
void | processRunHeader (LCRunHeader *run) |
RunEventProcessor (const char *outFileName, int splitSize) | |
void | modifyEvent (LCEvent *evt) |
void | processEvent (LCEvent *evt) |
void | modifyRunHeader (LCRunHeader *run) |
void | processRunHeader (LCRunHeader *run) |
void | processEvent (LCEvent *evt) |
void | modifyEvent (LCEvent *evt) |
void | processRunHeader (LCRunHeader *run) |
void | modifyRunHeader (LCRunHeader *run) |
Protected Attributes | |
LCWriter * | lcWrt |
int | nEvent |
unsigned int | _nFiles |
Little tool that copies LCIO files on an event by event and run by run basis, thus fixing files that have incomplete records at the end due to a program crash.
Example of reading events from the file, add sth.
Little tool that splits large LCIO files.
lcio tool for merging files on an event by event and run by run basis
to the event and write it to a new file. This uses the listener mechanism to read the input file (run headers and events) record by record.
The RunEventProcessor class is defined for processing run and event records. This is our analysis module. For simplicity it is defined in the same file - in a real world application it should of course be defined in separate header and source files.