LCTuple
1.6.0
|
Helper processor that merges several input collections into a transient subset collections. More...
#include <MergeCollections.h>
Public Member Functions | |
virtual Processor * | newProcessor () |
virtual void | init () |
Called at the begin of the job before anything is read. More... | |
virtual void | processRunHeader (LCRunHeader *run) |
Called for every run. | |
virtual void | processEvent (LCEvent *evt) |
Called for every event - the working horse. | |
virtual void | check (LCEvent *evt) |
virtual void | end () |
Called after data processing for clean up. | |
Protected Attributes | |
StringVec | _inColNames |
Input collection name. | |
IntVec | _inColIDs |
std::string | _outColName |
int | _nRun |
int | _nEvt |
Helper processor that merges several input collections into a transient subset collections.
The names and optionally the IDs of the merged collections are stored in collection parameters MergedCollectionNames and MergedCollectionIDs.
InputCollections | Name of the input collections |
InputCollectionIDs | Optional IDs for input collections - if given, IDs will be added to all objects in merged collections as ext<CollID>()"
|
OutputCollection | Name of the output collection |
|
virtual |
Called at the begin of the job before anything is read.
Use to initialize the processor, e.g. book histograms.