FairRoot/PandaRoot
PndRecoKalmanFit2.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 // modified by Elisabetta Prencipe 19/05/2014
14 //-----------------------------------------------------------
15 
16 #ifndef PNDRECOKALMANFIT2_HH
17 #define PNDRECOKALMANFIT2_HH
18 
19 // Base Class Headers ----------------
20 #include "TNamed.h"
21 #include "TString.h"
22 
23 // Collaborating Class Headers ------
24 #include "FairGeanePro.h"
25 #include "PndTrack.h"
26 #include "KalmanFitter.h"
27 #include "AbsMeasurement.h"
28 #include "MeasurementFactory.h"
29 // Collaborating Class Declarations --
30 
31 class PndRecoKalmanFit2 : 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 SetVerbose(Int_t verb) { fVerbose = verb; }
48  // Operations ----------------------
49  Bool_t Init();
50  PndTrack* Fit(PndTrack *tBefore, Int_t PDG);
51 
53 
54 private:
55 
56  // Private Data Members ------------
57 
58 
61 
62  FairGeanePro* fPro;
63 
66 
71  Int_t fNumIt;
72  Int_t fVerbose;
73 
75 
76 };
77 
78 #endif
genfit::MeasurementFactory< genfit::AbsMeasurement > * fTheRecoHitFactory
void SetGeane(Bool_t opt=kTRUE)
void SetNumIterations(Int_t num)
FairGeanePro * fPro
Simple Kalman filter implementation.
Definition: KalmanFitter.h:42
int num[96]
Definition: ranlxd.cxx:381
TString fCentralTrackerBranchName
Name of the TCA for MVD.
Int_t fVerbose
Number of iterations.
Int_t fNumIt
Flag to use as initial plane the one perpendicular to the track.
void SetPropagateToIP(Bool_t opt=kTRUE)
TString fMvdBranchName
Geane Propagator.
void SetMvdBranchName(const TString &name)
Float_t fPropagateDistance
Flag to propagate to the interaction point.
genfit::MeasurementFactory< genfit::AbsMeasurement > * GetRecoHitFactory()
void SetVerbose(Int_t verb)
Bool_t fPerpPlane
Distance in [cm] to back-propagate the parameters, negative number means no backpropagation.
ClassDef(PndRecoKalmanFit2, 0)
Verbose level.
PndTrack * Fit(PndTrack *tBefore, Int_t PDG)
TFile * f
Definition: bump_analys.C:12
void SetCentralTrackerBranchName(const TString &name)
TString name
Bool_t fUseGeane
Name of the TCA for central tracker.
genfit::KalmanFitter fGenFitter
Bool_t fPropagateToIP
Flag to use Geane.
void SetPropagateDistance(Float_t opt=-1.f)
void SetPerpPlane(Bool_t opt=kTRUE)