MarlinUtil  1.12.1
DrawMCParticles.h
1 #ifndef DrawMCParticles_h
2 #define DrawMCParticles_h 1
3 
4 #include <iostream>
5 #include <string>
6 
7 #include "marlin/Processor.h"
8 #include "lcio.h"
9 
10 #include <EVENT/LCCollection.h>
11 #include <MarlinCED.h>
12 
13 // GEAR include files
14 #include <marlin/Global.h>
15 #include <gear/GEAR.h>
16 #include <gear/TPCParameters.h>
17 #include <gear/PadRowLayout2D.h>
18 
19 
20 using namespace lcio ;
21 using namespace marlin ;
22 
23 
30 class DrawMCParticles : public Processor {
31 
32  public:
33 
34  virtual Processor* newProcessor() { return new DrawMCParticles ; }
35 
36 
37  DrawMCParticles() ;
38 
42  virtual void init() ;
43 
46  virtual void processRunHeader( LCRunHeader* run ) ;
47 
50  virtual void processEvent( LCEvent * evt ) ;
51 
52 
53  virtual void check( LCEvent * evt ) ;
54 
55 
58  virtual void end() ;
59 
60 
61  protected:
62 
65  std::string _colNameMC ;
66 
67 
68  double _rIn;
69  double _zIn;
70  double _rOut;
71  double _zOut;
72  double _energyCut;
73 
74  double _bField;
75  int _waitForKeyboard;
76 
77  int _nRun ;
78  int _nEvt ;
79 } ;
80 
81 #endif
82 
83 
84 
Definition: DrawMCParticles.h:30
std::string _colNameMC
Input collection name.
Definition: DrawMCParticles.h:65