PandaRoot
PndRecoDafFit.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 // Stefano Spataro, UNI Torino //
13 //-----------------------------------------------------------
14 
15 #ifndef PNDRECODAFFIT_HH
16 #define PNDRECODAFFIT_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 "GFDaf.h"
26 
27 // Collaborating Class Declarations --
28 class GFRecoHitFactory;
29 class GFDaf;
30 
31 class PndRecoDafFit : public TNamed {
32  public:
33  // Constructors/Destructors ---------
34  PndRecoDafFit();
36 
37  // Modifiers -----------------------
38  void SetGeane(Bool_t opt = kTRUE) { fUseGeane = opt; }
39  void SetPropagateToIP(Bool_t opt = kTRUE) { fPropagateToIP = opt; }
40  void SetPerpPlane(Bool_t opt = kTRUE) { fPerpPlane = opt; }
41  void SetNumIterations(Int_t num) { fNumIt = num; }
42  void SetTrackRep(Int_t num) { fTrackRep = num; }
43  void SetVerbose(Int_t verb) { fVerbose = verb; }
44  void SetMvdBranchName(const TString &name) { fMvdBranchName = name; }
45  void SetCentralTrackerBranchName(const TString &name) { fCentralTrackerBranchName = name; }
46  // Operations ----------------------
47  Bool_t Init();
48  PndTrack *Fit(PndTrack *tBefore, Int_t PDG);
49 
50  private:
51  // Private Data Members ------------
52  GFRecoHitFactory *fTheRecoHitFactory;
53  GFDaf fGenFitter;
54 
55  FairGeanePro *fPro;
56 
57  TString fMvdBranchName;
58  TString fCentralTrackerBranchName;
59 
60  Bool_t fUseGeane;
61  Bool_t fPropagateToIP;
62  Bool_t fPerpPlane;
63  Int_t fNumIt;
64  Short_t fTrackRep;
65  Int_t fVerbose;
66 
67  ClassDef(PndRecoDafFit, 0);
68 };
69 
70 #endif
Determinstic Annealing Filter (DAF) implementation.
Definition: GFDaf.h:46
void SetMvdBranchName(const TString &name)
Definition: PndRecoDafFit.h:44
void SetTrackRep(Int_t num)
Definition: PndRecoDafFit.h:42
void SetNumIterations(Int_t num)
Definition: PndRecoDafFit.h:41
void SetPerpPlane(Bool_t opt=kTRUE)
Definition: PndRecoDafFit.h:40
Factory object to create RecoHits from digitized and clustered data.
Bool_t Init()
void SetVerbose(Int_t verb)
Definition: PndRecoDafFit.h:43
void SetCentralTrackerBranchName(const TString &name)
Definition: PndRecoDafFit.h:45
PndTrack * Fit(PndTrack *tBefore, Int_t PDG)
void SetGeane(Bool_t opt=kTRUE)
Definition: PndRecoDafFit.h:38
void SetPropagateToIP(Bool_t opt=kTRUE)
Definition: PndRecoDafFit.h:39