1 #ifndef OverlayEvents_h
2 #define OverlayEvents_h 1
4 #include "marlin/Processor.h"
5 #include "marlin/EventModifier.h"
8 #include <IMPL/LCEventImpl.h>
10 #include "IO/LCWriter.h"
23 class OverlayEvents :
public marlin::Processor ,
public marlin::EventModifier {
27 virtual marlin::Processor* newProcessor() {
return new OverlayEvents ; }
32 virtual const std::string & name()
const {
return Processor::name() ; }
34 virtual void modifyEvent( LCEvent * evt ) ;
46 virtual void check( LCEvent * evt ) ;
56 std::string _outfileName ;
61 StringVec _mergedCollectionNames;
virtual void processRunHeader(LCRunHeader *run)
Called for every run.
Definition: OverlayEvents.cc:83
virtual void init()
Called at the begin of the job before anything is read.
Definition: OverlayEvents.cc:56
OverlayEvents processor allows to merge a number of events in a LCIO file into 1 event.
Definition: OverlayEvents.h:23
virtual void end()
Called after data processing for clean up.
Definition: OverlayEvents.cc:124