CEDViewer  1.12.0
DrawCLIC.h
1 #ifndef DrawCLIC_h
2 #define DrawCLIC_h 1
3 
4 #include "marlin/Processor.h"
5 #include "lcio.h"
6 #include <string>
7 
8 #include "gearxml/GearXML.h"
9 #include "gearimpl/GearMgrImpl.h"
10 
11 
12 using namespace lcio ;
13 using namespace marlin ;
14 
15 
33 class DrawCLIC : public Processor {
34 
35  public:
36 
37  virtual Processor* newProcessor() { return new DrawCLIC ; }
38 
39 
40  DrawCLIC() ;
41 
45  virtual void init() ;
46 
49  virtual void processRunHeader( LCRunHeader* run ) ;
50 
53  virtual void processEvent( LCEvent * evt ) ;
54 
55 
56  virtual void check( LCEvent * evt ) ;
57 
58 
61  virtual void end() ;
62 
63  static void drawGEARDetector() ;
64  static void drawDetectorFromGear( gear::GearMgr* gearMgr ) ;
65 
66 
67  protected:
68  bool _begin;
69  int _nRun ;
70  int _nEvt ;
71 } ;
72 
73 #endif
74 
75 
76 
Example processor for marlin.
Definition: DrawCLIC.h:33