EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PndRecoKalmanFit.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PndRecoKalmanFit.h
1 //-----------------------------------------------------------
2 // File and Version Information:
3 // $Id$
4 //
5 // Description:
6 // Kalman Filter for single tracks
7 //
8 // Environment:
9 // Software developed for the PANDA Detector at FAIR.
10 //
11 // Author List:
12 // Stefano Spataro, UNI Torino //
13 //-----------------------------------------------------------
14 
15 #ifndef PNDRECOKALMANFIT_HH
16 #define PNDRECOKALMANFIT_HH
17 
18 // Base Class Headers ----------------
19 #include "TNamed.h"
20 #include "TString.h"
21 
22 // Collaborating Class Headers ------
23 #include "FairGeanePro.h"
24 #include "PndTrack.h"
25 #include "GFKalman.h"
26 
27 // Collaborating Class Declarations --
28 class GFRecoHitFactory;
29 class GFKalman;
30 
31 class PndRecoKalmanFit : public TNamed
32 {
33  public:
34 
35  // Constructors/Destructors ---------
38 
39  // Modifiers -----------------------
40  void SetGeane(Bool_t opt = kTRUE) { fUseGeane = opt; }
41  void SetPropagateToIP(Bool_t opt = kTRUE) { fPropagateToIP = opt;}
42  void SetPerpPlane(Bool_t opt = kTRUE) { fPerpPlane = opt; }
43  void SetNumIterations(Int_t num) { fNumIt = num; }
44  void SetTrackRep(Int_t num) { fTrackRep = num; }
45  void SetVerbose(Int_t verb) { fVerbose = verb; }
46  void SetMvdBranchName(const TString& name) { fMvdBranchName = name; }
48  // Operations ----------------------
49  Bool_t Init();
50  PndTrack* Fit(PndTrack *tBefore, Int_t PDG, bool store_track_parameterization = false);
51 
53 
54 private:
55 
56  // Private Data Members ------------
59 
61 
62  TString fMvdBranchName;
64 
65  Bool_t fUseGeane;
67  Bool_t fPerpPlane;
68  Int_t fNumIt;
69  Short_t fTrackRep;
70  Int_t fVerbose;
71 
73 
74 };
75 
76 #endif