Overlay
0.16.0
|
JoinEvents processor allows join events (based on the run number and event number) from a different file. More...
#include <JoinEvents.h>
Public Member Functions | |
virtual marlin::Processor * | newProcessor () |
virtual const std::string & | name () const |
virtual void | init () |
Open the LCIO input file. | |
virtual void | processRunHeader (LCRunHeader *run) |
Called for every run. | |
virtual void | processEvent (LCEvent *evt) |
Search for the corresponding event and add all collections to the current event. | |
virtual void | check (LCEvent *evt) |
virtual void | end () |
Close the input file. | |
Protected Attributes | |
std::string | _fileName |
Input file names. More... | |
std::string | _postFix |
post fix for collection names. More... | |
LCReader * | _lcReader |
int | _nRun |
int | _nEvt |
JoinEvents processor allows join events (based on the run number and event number) from a different file.
All collections in the event are added to the current event, provided their collection name does not yet exist in the event. If the collection names are the same the user can optionally specify a post fix that is added to all collection names from the joined event in order to avoid name clashes.
InputFileName | the names (with absolute or relative pathes) of the one input file that is searched for events with the same run and event number. |
ColNamePostFix | optional post fix that is added to all collection names |
|
protected |
Input file names.
|
protected |
post fix for collection names.