00001
00002 #ifndef LCIOMERGE_HH
00003 #define LCIOMERGE_HH
00004
00005 #include "lcio.h"
00006
00007 #include "IO/LCWriter.h"
00008 #include "IO/LCReader.h"
00009 #include "IO/LCEventListener.h"
00010 #include "IO/LCRunListener.h"
00011
00012 #include "EVENT/LCIO.h"
00013 #include "EVENT/TrackerRawData.h"
00014
00015 #include "IMPL/LCEventImpl.h"
00016 #include "IMPL/LCCollectionVec.h"
00017 #include "IMPL/SimCalorimeterHitImpl.h"
00018 #include "IMPL/CalorimeterHitImpl.h"
00019 #include "IMPL/MCParticleImpl.h"
00020 #include "IMPL/TrackerHitImpl.h"
00021 #include "IMPL/TrackImpl.h"
00022 #include "IMPL/ClusterImpl.h"
00023 #include "IMPL/ReconstructedParticleImpl.h"
00024 #include "IMPL/VertexImpl.h"
00025
00026 #include "IMPL/LCFlagImpl.h"
00027 #include "UTIL/LCTOOLS.h"
00028 #include "UTIL/PIDHandler.h"
00029
00030 #include "IMPL/LCRelationImpl.h"
00031
00032 #include "UTIL/LCRelationNavigator.h"
00033
00034 #include <iostream>
00035 #include <algorithm>
00036
00037 using namespace std ;
00038 using namespace lcio ;
00039
00040
00041 class AddDifSynchro : public LCEventListener{
00042
00043 protected:
00044 LCWriter* lcWrt ;
00045 int nEvent ;
00046 string difSyncrhoFileName;
00047 list<int> syncEvtId;
00048
00049 public:
00050
00051 AddDifSynchro(const std::string _difSyncrhoFileName, const std::string _outputfileName);
00052 ~AddDifSynchro();
00053
00054 void processEvent( LCEvent * evt ) ;
00055 void modifyEvent( LCEvent * evt );
00056
00057 void processRunHeader( LCRunHeader* run);
00058 void modifyRunHeader(LCRunHeader* run);
00059
00060
00061 } ;
00062
00063
00064 #endif