PandaRoot
PndRecoDafFit2.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, deterministic annealing
7 //
8 // Environment:
9 // Software developed for the PANDA Detector at FAIR.
10 //
11 // Author List:
12 //
13 // Stefano Spataro, UNI Torino //
14 // modified by Elisabetta Prencipe, 19/05/2014
15 //-----------------------------------------------------------
16 
17 #ifndef PNDRECODAFFIT2_HH
18 #define PNDRECODAFFIT2_HH
19 
20 // Base Class Headers ----------------
21 #include "TNamed.h"
22 #include "TString.h"
23 
24 // Collaborating Class Headers ------
25 #include "FairGeanePro.h"
26 #include "PndTrack.h"
27 #include "DAF.h"
28 #include "MeasurementFactory.h"
29 
30 class PndRecoDafFit2 : public TNamed {
31  public:
32  // Constructors/Destructors ---------
35 
36  // Modifiers -----------------------
37  void SetGeane(Bool_t opt = kTRUE) { fUseGeane = opt; }
38  void SetPropagateToIP(Bool_t opt = kTRUE) { fPropagateToIP = opt; }
39  void SetPropagateDistance(Float_t opt = -1.f) { fPropagateDistance = opt; }
40  void SetPerpPlane(Bool_t opt = kTRUE) { fPerpPlane = opt; }
41  void SetNumIterations(Int_t num) { fNumIt = num; }
42  void SetVerbose(Int_t verb) { fVerbose = verb; }
43  void SetMvdBranchName(const TString &name) { fMvdBranchName = name; }
44  void SetCentralTrackerBranchName(const TString &name) { fCentralTrackerBranchName = name; }
45  // Operations ----------------------
46  Bool_t Init();
47  PndTrack *Fit(PndTrack *tBefore, Int_t PDG);
48 
49  private:
50  // Private Data Members ------------
52  genfit::DAF fGenFitter;
53 
54  FairGeanePro *fPro;
55 
56  TString fMvdBranchName;
57  TString fCentralTrackerBranchName;
58 
59  Bool_t fUseGeane;
60  Bool_t fPropagateToIP;
61  Float_t fPropagateDistance;
62  Bool_t fPerpPlane;
63  Int_t fNumIt;
64  Int_t fVerbose;
65 
66  ClassDef(PndRecoDafFit2, 0);
67 };
68 
69 #endif
void SetNumIterations(Int_t num)
void SetMvdBranchName(const TString &name)
Determinstic Annealing Filter (DAF) implementation.
Definition: DAF.h:47
void SetPropagateToIP(Bool_t opt=kTRUE)
PndTrack * Fit(PndTrack *tBefore, Int_t PDG)
void SetVerbose(Int_t verb)
float f
Definition: P4_F32vec4.h:20
void SetPropagateDistance(Float_t opt=-1.f)
void SetGeane(Bool_t opt=kTRUE)
void SetPerpPlane(Bool_t opt=kTRUE)
void SetCentralTrackerBranchName(const TString &name)