EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PndRecoMultiKalmanTask.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PndRecoMultiKalmanTask.h
1 //-----------------------------------------------------------
2 // File and Version Information:
3 // $Id$
4 //
5 // Description:
6 // Kalman Filter Task for multiple particle hypothesis
7 //
8 // Environment:
9 // Software developed for the PANDA Detector at FAIR.
10 //
11 // Author List:
12 // Sebastian Neubert TUM (original author)
13 // Stefano Spatarot, UNI Torino
14 //
15 //-----------------------------------------------------------
16 
17 #ifndef PNDRECOMULTIKALMANTASK_HH
18 #define PNDRECOMULTIKALMANTASK_HH
19 
20 // Base Class Headers ----------------
21 #include "FairTask.h"
22 
23 // Collaborating Class Headers -------
24 #include "TString.h"
25 #include "PndRecoKalmanFit.h"
26 #if _EIC_OFF_
27 #include "PndGeoSttPar.h"
28 #endif
29 // Collaborating Class Declarations --
30 class TClonesArray;
31 class GFRecoHitFactory;
32 
33 
35 public:
36 
37  // Constructors/Destructors ---------
38  PndRecoMultiKalmanTask(const char* name = "Genfit", Int_t iVerbose = 0);
40 
41  // Operators
42 
43 
44  // Accessors -----------------------
45 
46  // Modifiers -----------------------
47  void SetTrackInBranchName(const TString& name) { fTrackInBranchName = name; }
48  void SetTrackOutBranchName(const TString& name) { fTrackOutBranchName = name; }
49  void SetMvdBranchName(const TString& name) { fMvdBranchName = name; }
51  void SetPersistence(Bool_t opt = kTRUE) { fPersistence = opt; }
52  void SetGeane(Bool_t opt = kTRUE) { fUseGeane = opt; }
53  void SetNumIterations(Int_t num) { fNumIt = num; }
54 
55  // Operations ----------------------
56  virtual InitStatus Init();
57  virtual void Exec(Option_t* opt);
58 
59  void SetParContainers();
60 
61 private:
62 
63  // Private Data Members ------------
64  TClonesArray* fTrackArray;
65  TClonesArray* fFitTrackArrayElectron;
66  TClonesArray* fFitTrackArrayMuon;
67  TClonesArray* fFitTrackArrayPion;
68  TClonesArray* fFitTrackArrayKaon;
69  TClonesArray* fFitTrackArrayProton;
70 
73 
74  TString fMvdBranchName;
76 
78 
79  Bool_t fPersistence;
80 
81  Bool_t fUseGeane;
82  Bool_t fSmoothing;
83  Int_t fNumIt;
84 #if _EIC_OFF_
85  PndGeoSttPar *fSttParameters;
86 #endif
88 
89 };
90 
91 #endif