FairRoot/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 
31 class PndRecoDafFit2 : 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 
52 private:
53 
54  // Private Data Members ------------
57 
58  FairGeanePro* fPro;
59 
62 
67  Int_t fNumIt;
68  Int_t fVerbose;
69 
71 
72 };
73 
74 #endif
genfit::MeasurementFactory< genfit::AbsMeasurement > * fTheRecoHitFactory
TString fCentralTrackerBranchName
Name of the TCA for MVD.
int num[96]
Definition: ranlxd.cxx:381
PndTrack * Fit(PndTrack *tBefore, Int_t PDG)
FairGeanePro * fPro
genfit::DAF fGenFitter
void SetNumIterations(Int_t num)
TString fMvdBranchName
Geane Propagator.
void SetMvdBranchName(const TString &name)
Determinstic Annealing Filter (DAF) implementation.
Definition: DAF.h:48
void SetPropagateToIP(Bool_t opt=kTRUE)
Float_t fPropagateDistance
Flag to propagate to the interaction point.
TFile * f
Definition: bump_analys.C:12
Bool_t fPropagateToIP
Flag to use Geane.
TString name
Int_t fNumIt
Flag to use as initial plane the one perpendicular to the track.
Int_t fVerbose
Number of iterations.
void SetVerbose(Int_t verb)
void SetPropagateDistance(Float_t opt=-1.f)
void SetGeane(Bool_t opt=kTRUE)
void SetPerpPlane(Bool_t opt=kTRUE)
void SetCentralTrackerBranchName(const TString &name)
Bool_t fPerpPlane
Distance in [cm] to back-propagate the parameters, negative number means no backpropagation.
Bool_t fUseGeane
Name of the TCA for central tracker.
ClassDef(PndRecoDafFit2, 0)
Verbose level.