FairRoot/PandaRoot
PndRecoMultiKalmanTask.h
Go to the documentation of this file.
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 "PndPersistencyTask.h"
22 
23 // Collaborating Class Headers -------
24 #include "TString.h"
25 #include "PndRecoKalmanFit.h"
26 #include "PndGeoSttPar.h"
27 #include "PndGeoFtsPar.h"
28 
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, TString fithypo = "electron;muon;pion;kaon;proton");
40 
41  // Operators
42 
43 
44  // Accessors -----------------------
45 
46  // Modifiers -----------------------
49  }
52  }
53  void SetMvdBranchName(const TString& name) {
55  }
58  }
59  void SetGeane(Bool_t opt = kTRUE) {
60  fUseGeane = opt;
61  }
62  void SetNumIterations(Int_t num) {
63  fNumIt = num;
64  }
65  void SetFitHypotheses(const TString& name) {
67  }
68  void SetBusyCut(Int_t b) {
69  fBusyCut=b;
70  }
71  void SetTrackRep(Short_t num) {
72  fTrackRep = num;
73  }
74 
75 
76  // Operations ----------------------
77  virtual InitStatus Init();
78  virtual void Exec(Option_t* opt);
79 
80  void SetParContainers();
81 
82  private:
83 
84  // Private Data Members ------------
85  TClonesArray* fTrackArray;
86  TClonesArray* fFitTrackArrayElectron;
87  TClonesArray* fFitTrackArrayMuon;
88  TClonesArray* fFitTrackArrayPion;
89  TClonesArray* fFitTrackArrayKaon;
90  TClonesArray* fFitTrackArrayProton;
91 
94 
97 
99 
101 
108  Short_t fTrackRep;
109  Int_t fNumIt;
110  Int_t fBusyCut;
115 
116  TDatabasePDG *pdg;
117 
118 
119 
120 
121 
122 
123 
124 
125 
126 
128 
129 };
130 
131 #endif
132 
Bool_t fIdealHyp
Flag to use Geane.
Float_t fPropagateDistance
Flag to propagate the parameters to the interaction point (kTRUE)
TClonesArray * fFitTrackArrayProton
Output TCA for track.
void SetGeane(Bool_t opt=kTRUE)
int num[96]
Definition: ranlxd.cxx:381
TTree * b
Bool_t fUseGeane
Persistence.
PndGeoSttPar * fSttParameters
Flag to check which hypotheses to fit with.
Bool_t fSmoothing
Skip too busy events with more tracks.
Bool_t fPropagateToIP
Flag to use MC particle hypothesis.
ClassDef(PndRecoMultiKalmanTask, 1)
Particle DB.
PndRecoMultiKalmanTask(const char *name="Genfit", Int_t iVerbose=0, TString fithypo="electron;muon;pion;kaon;proton")
void SetTrackOutBranchName(const TString &name)
TClonesArray * fFitTrackArrayKaon
Output TCA for track.
Factory object to create RecoHits from digitized and clustered data.
void SetMvdBranchName(const TString &name)
Bool_t fHypoFlag[5]
Flag to set on smoothing.
TString fCentralTrackerBranchName
Name of the TCA for MVD.
TString fTrackOutBranchName
Name of the input TCA.
void SetCentralTrackerBranchName(const TString &name)
Int_t fNumIt
(0) GeaneTrackRep, 1 RKTrackRep
TString name
void SetTrackInBranchName(const TString &name)
TClonesArray * fFitTrackArrayMuon
Output TCA for track.
TClonesArray * fFitTrackArrayElectron
Short_t fTrackRep
Flag to use as initial plane the one perpendicular to the track (kFALSE)
TString fTrackInBranchName
Output TCA for track.
void SetFitHypotheses(const TString &name)
Int_t iVerbose
TDatabasePDG * pdg
STT params.
Bool_t fPerpPlane
Distance in [cm] to back-propagate the parameters, negative number means no backpropagation.
virtual void Exec(Option_t *opt)
Int_t fBusyCut
Number of iterations.
TClonesArray * fFitTrackArrayPion
Output TCA for track.
TString fMvdBranchName
Name of the output TCA.
TString fFitWithHypo
Name of the TCA for central tracker.
PndGeoFtsPar * fFtsParameters
STT params.