ForwardTracking  1.10.0
StepAnalyser.h
1 #ifndef StepAnalyser_h
2 #define StepAnalyser_h 1
3 
4 
5 #include <string>
6 
7 #include "marlin/Processor.h"
8 #include "lcio.h"
9 #include <EVENT/TrackerHit.h>
10 #include <EVENT/Track.h>
11 
12 #include "KiTrack/Segment.h"
13 
14 
15 
16 
17 using namespace lcio ;
18 using namespace marlin ;
19 
20 
21 
22 
40 class StepAnalyser : public Processor {
41 
42 public:
43 
44  virtual Processor* newProcessor() { return new StepAnalyser ; }
45 
46 
47  StepAnalyser() ;
48 
52  virtual void init() ;
53 
56  virtual void processRunHeader( LCRunHeader* run ) ;
57 
60  virtual void processEvent( LCEvent * evt ) ;
61 
62 
63  virtual void check( LCEvent * evt ) ;
64 
65 
68  virtual void end() ;
69 
70 
71 
72 
73 protected:
74 
75 
76 
77 
78 
79 
80 
81  int _nRun ;
82  int _nEvt ;
83 
84 
85  double _Bz; //B field in z direction
86 
87  std::string _rootFileName;
88  std::string _treeName;
89  std::string _treeName2;
90 
91  std::string _colNameMCTrueTracksRel;
92 
93 
94 
95 } ;
96 
97 #endif
98 
99 
100 
Processor to analyse the steps a true track made on its way through the FTD.
Definition: StepAnalyser.h:40