ForwardTracking  1.10.0
TrueTrackCritAnalyser.h
1 #ifndef TrueTrackCritAnalyser_h
2 #define TrueTrackCritAnalyser_h
3 
4 #include <string>
5 
6 #include "marlin/Processor.h"
7 #include "lcio.h"
8 #include "EVENT/TrackerHit.h"
9 #include "EVENT/Track.h"
10 #include "EVENT/LCRelation.h"
11 #include "MarlinTrk/IMarlinTrkSystem.h"
12 
13 #include "KiTrack/Segment.h"
14 #include "Criteria/ICriterion.h"
15 
16 #include "ILDImpl/SectorSystemFTD.h"
17 
18 using namespace lcio ;
19 using namespace marlin ;
20 using namespace KiTrackMarlin;
21 
22 
23 
24 
25 
82 class TrueTrackCritAnalyser : public Processor {
83 
84 public:
85 
86  virtual Processor* newProcessor() { return new TrueTrackCritAnalyser ; }
87 
88 
90 
94  virtual void init() ;
95 
98  virtual void processRunHeader( LCRunHeader* run ) ;
99 
102  virtual void processEvent( LCEvent * evt ) ;
103 
104 
105  virtual void check( LCEvent * evt ) ;
106 
107 
110  virtual void end() ;
111 
112 
113 
114 
115 protected:
116 
117 
118 
121  std::string _FTDTrueTracks;
122 
123 
124 
125  int _nRun ;
126  int _nEvt ;
127 
128 
129  double _Bz; //B field in z direction
130 
131  std::string _rootFileName;
132  std::string _treeName2;
133  std::string _treeName3;
134  std::string _treeName4;
135  std::string _treeNameKalman;
136  std::string _treeNameHitDist;
137 
138  std::string _colNameMCTrueTracksRel;
139 
140  std::vector <ICriterion*> _crits2;
141  std::vector <ICriterion*> _crits3;
142  std::vector <ICriterion*> _crits4;
143 
144 
145 
146  bool _MSOn ;
147  bool _ElossOn ;
148  bool _SmoothOn ;
149 
150 
151  double _ptMin;
152  double _distToIPMax;
153  double _chi2ProbCut;
154  int _nHitsMin;
155  double _overlappingHitsDistMax;
156  bool _writeNewRootFile;
157 
158  const SectorSystemFTD* _sectorSystemFTD;
159 
160 
161 
162 } ;
163 
164 #endif
165 
166 
167 
Processor to analyse Criteria of true tracks.
Definition: TrueTrackCritAnalyser.h:82
std::string _FTDTrueTracks
Input collection name.
Definition: TrueTrackCritAnalyser.h:121