Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

TestProcessor.h

00001 #ifndef TestProcessor_h
00002 #define TestProcessor_h 1
00003 
00004 #include "Processor.h"
00005 #include "lcio.h"
00006 
00007 using namespace lcio ;
00008 
00009 
00010 namespace marlin {
00011   
00012   
00026   class TestProcessor : public Processor {
00027     
00028   public:
00029     
00030     virtual Processor*  newProcessor() { return new TestProcessor ; }
00031     
00032     
00033     TestProcessor() ;
00034     
00038     virtual void init() ;
00039     
00042     virtual void processRunHeader( LCRunHeader* run ) ;
00043     
00046     virtual void processEvent( LCEvent * evt ) ; 
00047     
00048     
00049     virtual void check( LCEvent * evt ) ; 
00050     
00051     
00054     virtual void end() ;
00055     
00056     
00057   protected:
00058 
00060     void printEndMessage() const ;
00061 
00062     int _nRun ;
00063     int _nEvt ;
00064 
00065     bool _doCalibration ;
00066     int _nLoops ;
00067   } ;
00068   
00069 } // end namespace marlin 
00070 #endif
00071 
00072 
00073 

Generated on Mon Jan 12 09:48:51 2009 for Marlin by doxygen 1.3.5