Class Reference for E1039 Core & Analysis Software
GFFitter.h
Go to the documentation of this file.
1 #ifndef _GFFITTER_H
2 #define _GFFITTER_H
3 
4 #include <GenFit/AbsBField.h>
5 #include <GenFit/AbsKalmanFitter.h>
6 #include <GenFit/EventDisplay.h>
7 #include <TString.h>
8 #include <TGeoManager.h>
9 
10 #include "GFTrack.h"
11 #include "GFField.h"
12 
13 namespace SQGenFit
14 {
15 class GFFitter
16 {
17 public:
18  GFFitter();
19  ~GFFitter();
20 
21  void setVerbosity(unsigned int v);
22 
23  void init(GFField* field, const TString& fitter_choice = "KalmanFitterRefTrack");
24  int processTrack(GFTrack& track, bool display = false);
25 
26  const TString& getFitterType() const { return _fitterTy; }
27  genfit::AbsKalmanFitter* getGenFitFitter() { return _kmfitter; }
28 
29  void displayEvent();
30 
31 private:
32  TString _fitterTy;
33  genfit::AbsKalmanFitter* _kmfitter;
34  unsigned int _verbosity;
35 
36  genfit::EventDisplay* _display;
37 };
38 }
39 
40 #endif
void init(GFField *field, const TString &fitter_choice="KalmanFitterRefTrack")
Definition: GFFitter.cxx:29
void setVerbosity(unsigned int v)
Definition: GFFitter.cxx:23
const TString & getFitterType() const
Definition: GFFitter.h:26
int processTrack(GFTrack &track, bool display=false)
Definition: GFFitter.cxx:50
genfit::AbsKalmanFitter * getGenFitFitter()
Definition: GFFitter.h:27