MarlinKinfitProcessors  0.4.2
TrackResponseAdjuster.h
1 #include "marlin/Processor.h"
2 #include "EVENT/Track.h"
3 #include "lcio.h"
4 #include "TFile.h"
5 #include <vector>
6 #include "IMPL/LCCollectionVec.h"
7 #include "IMPL/ParticleIDImpl.h"
8 #include "IMPL/TrackImpl.h"
9 
10 using namespace lcio;
11 
19  class TrackResponseAdjuster : public marlin::Processor {
20 
21  public:
22 
23  virtual marlin::Processor* newProcessor() { return new TrackResponseAdjuster ; }
24 
26  TrackResponseAdjuster& operator=(const TrackResponseAdjuster&) = delete ;
27 
29 
33  virtual void init() ;
36  virtual void processRunHeader( LCRunHeader* run ) ;
37 
40  virtual void processEvent( LCEvent * evt ) ;
41 
42 
45  virtual void end() ;
46 
47  bool FindTracks(LCEvent* evt);
48 
49  double safeAcos(double x);
50 
51  private:
52  int nEvt{};
53 
54  std::vector<Track*> _trackvec{};
55  int _printing{};
56 
57  double _D0ErrorScaleFactor{};
58  double _Z0ErrorScaleFactor{};
59  double _OmegaErrorScaleFactor{};
60  double _PhiErrorScaleFactor{};
61  double _TanLambdaErrorScaleFactor{};
62 
63 // _inputTrackCollectionName
64  std::string _outputTrackCollectionName{};
65  std::string _inputTrackCollectionName{};
66 // std::string m_rootFile{};
67 };
TrackResponseAdjuster:
Definition: TrackResponseAdjuster.h:19