CEDViewer  1.12.0
CEDViewer.h
1 #ifndef CEDViewer_h
2 #define CEDViewer_h 1
3 
4 #include "marlin/Processor.h"
5 #include "lcio.h"
6 #include <string>
7 
8 
9 using namespace lcio ;
10 using namespace marlin ;
11 
23 class CEDViewer : public Processor {
24 
25  public:
26 
27  virtual Processor* newProcessor() { return new CEDViewer ; }
28 
29 
30  CEDViewer() ;
31 
35  virtual void init() ;
36 
39  virtual void processRunHeader( LCRunHeader* run ) ;
40 
43  virtual void processEvent( LCEvent * evt ) ;
44 
45 
46  virtual void check( LCEvent * evt ) ;
47 
48 
51  virtual void end() ;
52  void printParticle(int id, LCEvent * evt);
53 
54 
55 
56  protected:
57 
58  static const int ncol = 20 ;
59  static const int nscheme = 10 ;
60  static const int Red = 0 ;
61  static const int Orange = 1 ;
62  static const int Plum = 2 ;
63  static const int Violet = 3 ;
64  static const int Blue = 4 ;
65  static const int LightBlue = 5 ;
66  static const int Aquamarine = 6 ;
67  static const int Green = 7 ;
68  static const int Olive = 8 ;
69  static const int Yellow = 9 ;
70 
71  static const int Dark = 10 ;
72  static const int Light = 11 ;
73  static const int Classic = 12 ;
74 
77  StringVec _drawCollections ;
78  StringVec _drawCollectionsLayer ;
79 
80  bool _usingParticleGun ;
81  int _drawHelixForTracks ;
82  int _drawDetectorID ;
83  int _colorScheme ;
84  float _mcpECut ;
85 
86  float _helix_max_r;
87  float _helix_max_z;
88  bool _useTPCForLimitsOfHelix;
89  int _waitForKeyboard ;
90  int _drawHelixForPFOs;
91  int _useColorForHelixTracks ;
92  IntVec _colors ;
93 
94 
95  int _nRun ;
96  int _nEvt ;
97 } ;
98 
99 #endif
100 
101 
102 
LCIO collection based viewer for CED event dislplay (A.
Definition: CEDViewer.h:23
StringVec _drawCollections
Input collection name.
Definition: CEDViewer.h:77