FairRoot/PandaRoot
PndRecoKalmanFit.h
Go to the documentation of this file.
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 SetPropagateDistance(Float_t opt = -1.f) { fPropagateDistance = opt;}
43  void SetPerpPlane(Bool_t opt = kTRUE) { fPerpPlane = opt; }
44  void SetNumIterations(Int_t num) { fNumIt = num; }
45  void SetTrackRep(Int_t num) { fTrackRep = num; }
46  void SetVerbose(Int_t verb) { fVerbose = verb; }
49  // Operations ----------------------
50  Bool_t Init();
51  PndTrack* Fit(PndTrack *tBefore, Int_t PDG);
52 
54 
55 private:
56 
57  // Private Data Members ------------
60 
61  FairGeanePro* fPro;
62 
65 
70  Int_t fNumIt;
71  Short_t fTrackRep;
72  Int_t fVerbose;
73 
75 
76 };
77 
78 #endif
void SetPropagateToIP(Bool_t opt=kTRUE)
int num[96]
Definition: ranlxd.cxx:381
TString fCentralTrackerBranchName
Name of the TCA for MVD.
void SetTrackRep(Int_t num)
Generic Kalman Filter implementation.
Definition: GFKalman.h:50
Short_t fTrackRep
Number of iterations.
FairGeanePro * fPro
Bool_t fPropagateToIP
Flag to use Geane.
void SetPropagateDistance(Float_t opt=-1.f)
TString fMvdBranchName
Geane Propagator.
void SetMvdBranchName(const TString &name)
Factory object to create RecoHits from digitized and clustered data.
Bool_t fPerpPlane
Distance in [cm] to back-propagate the parameters, negative number means no backpropagation.
void SetPerpPlane(Bool_t opt=kTRUE)
TFile * f
Definition: bump_analys.C:12
void SetGeane(Bool_t opt=kTRUE)
Int_t fVerbose
(0) GeaneTrackRep, 1 RKTrackRep
TString name
Float_t fPropagateDistance
Flag to propagate to the interaction point.
Int_t fNumIt
Flag to use as initial plane the one perpendicular to the track.
void SetVerbose(Int_t verb)
void SetCentralTrackerBranchName(const TString &name)
Bool_t fUseGeane
Name of the TCA for central tracker.
GFRecoHitFactory * GetRecoHitFactory()
GFRecoHitFactory * fTheRecoHitFactory
PndTrack * Fit(PndTrack *tBefore, Int_t PDG)
void SetNumIterations(Int_t num)
ClassDef(PndRecoKalmanFit, 0)
Verbose level.