PandaRoot
PndRecoDafFit.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 //-----------------------------------------------------------
14 // File and Version Information:
15 // $Id$
16 //
17 // Description:
18 // Kalman Filter for single tracks, deterministic annealing
19 //
20 // Environment:
21 // Software developed for the PANDA Detector at FAIR.
22 //
23 // Author List:
24 // Stefano Spataro, UNI Torino //
25 //-----------------------------------------------------------
26 
27 #ifndef PNDRECODAFFIT_HH
28 #define PNDRECODAFFIT_HH
29 
30 // Base Class Headers ----------------
31 #include "TNamed.h"
32 #include "TString.h"
33 
34 // Collaborating Class Headers ------
35 #include "FairGeanePro.h"
36 #include "PndTrack.h"
37 #include "GFDaf.h"
38 
39 // Collaborating Class Declarations --
40 class GFRecoHitFactory;
41 class GFDaf;
42 
43 class PndRecoDafFit : public TNamed {
44  public:
45  // Constructors/Destructors ---------
46  PndRecoDafFit();
48 
49  // Modifiers -----------------------
50  void SetGeane(Bool_t opt = kTRUE) { fUseGeane = opt; }
51  void SetPropagateToIP(Bool_t opt = kTRUE) { fPropagateToIP = opt; }
52  void SetPerpPlane(Bool_t opt = kTRUE) { fPerpPlane = opt; }
53  void SetNumIterations(Int_t num) { fNumIt = num; }
54  void SetTrackRep(Int_t num) { fTrackRep = num; }
55  void SetVerbose(Int_t verb) { fVerbose = verb; }
56  void SetMvdBranchName(const TString &name) { fMvdBranchName = name; }
57  void SetCentralTrackerBranchName(const TString &name) { fCentralTrackerBranchName = name; }
58  // Operations ----------------------
59  Bool_t Init();
60  PndTrack *Fit(PndTrack *tBefore, Int_t PDG);
61 
62  private:
63  // Private Data Members ------------
64  GFRecoHitFactory *fTheRecoHitFactory;
65  GFDaf fGenFitter;
66 
67  FairGeanePro *fPro;
68 
69  TString fMvdBranchName;
70  TString fCentralTrackerBranchName;
71 
72  Bool_t fUseGeane;
73  Bool_t fPropagateToIP;
74  Bool_t fPerpPlane;
75  Int_t fNumIt;
76  Short_t fTrackRep;
77  Int_t fVerbose;
78 
79  ClassDef(PndRecoDafFit, 0);
80 };
81 
82 #endif
Determinstic Annealing Filter (DAF) implementation.
Definition: GFDaf.h:58
void SetMvdBranchName(const TString &name)
Definition: PndRecoDafFit.h:56
void SetTrackRep(Int_t num)
Definition: PndRecoDafFit.h:54
void SetNumIterations(Int_t num)
Definition: PndRecoDafFit.h:53
void SetPerpPlane(Bool_t opt=kTRUE)
Definition: PndRecoDafFit.h:52
Factory object to create RecoHits from digitized and clustered data.
Bool_t Init()
void SetVerbose(Int_t verb)
Definition: PndRecoDafFit.h:55
void SetCentralTrackerBranchName(const TString &name)
Definition: PndRecoDafFit.h:57
PndTrack * Fit(PndTrack *tBefore, Int_t PDG)
void SetGeane(Bool_t opt=kTRUE)
Definition: PndRecoDafFit.h:50
void SetPropagateToIP(Bool_t opt=kTRUE)
Definition: PndRecoDafFit.h:51