FairRoot/PandaRoot
PndRecoKalmanTask2.h
Go to the documentation of this file.
1 //-----------------------------------------------------------
2 // File and Version Information:
3 // $Id$
4 //
5 // Description:
6 // Kalman Filter Task
7 //
8 // Environment:
9 // Software developed for the PANDA Detector at FAIR.
10 //
11 // Author List:
12 // Sebastian Neubert TUM (original author)
13 // Stefano Spataro, UNI Torino
14 // modified by Elisabetta Prencipe 19/05/2014
15 //-----------------------------------------------------------
16 
17 #ifndef PNDRECOKALMANTASK2_HH
18 #define PNDRECOKALMANTASK2_HH
19 
20 // Base Class Headers ----------------
21 #include "PndPersistencyTask.h"
22 
23 // Collaborating Class Headers -------
24 #include "TString.h"
25 #include "PndRecoKalmanFit2.h"
26 #include "PndRecoDafFit2.h"
27 
28 // Collaborating Class Declarations --
29 class TClonesArray;
30 class MeasurementFactory;
31 
32 
34 public:
35 
36  // Constructors/Destructors ---------
37  PndRecoKalmanTask2(const char* name = "Genfit", Int_t iVerbose = 0);
39 
40  // Operators
41 
42 
43  // Accessors -----------------------
44 
45  // Modifiers -----------------------
47 // void SetTrackInIDBranchName(const TString& name) { fTrackInIDBranchName = name;}
51  void SetGeane(Bool_t opt = kTRUE) { fUseGeane = opt; }
52  void SetIdealHyp(Bool_t opt = kTRUE) { fIdealHyp = opt; }
53  void SetDaf(Bool_t opt = kTRUE) { fDaf = opt; }
54  void SetPropagateToIP(Bool_t opt = kTRUE) { fPropagateToIP = opt; }
55  void SetPropagateDistance(Float_t opt = -1.) { fPropagateDistance = opt; }
56  void SetPerpPlane(Bool_t opt = kTRUE) { fPerpPlane = opt; }
57  void SetNumIterations(Int_t num) { fNumIt = num; }
58  void SetParticleHypo(TString s);
59  void SetParticleHypo(Int_t h);
60  void SetBusyCut(Int_t b) { fBusyCut=b; }
61 
62  // Operations ----------------------
63  virtual InitStatus Init();
64  void SetParContainers();
65  virtual void Exec(Option_t* opt);
66 
67 protected:
68 
69  // Private Data Members ------------
70  TClonesArray* fTrackArray;
71 // TClonesArray* fTrackIDArray; //! Input TCA for PndTrackID
72  TClonesArray* fMCTrackArray;
73  TClonesArray* fFitTrackArray;
74 
76 // TString fTrackInIDBranchName; //! Name of the input TCA
78 
81 
84  TDatabasePDG *pdg;
85 
93  Int_t fNumIt;
94  Int_t fPDGHyp;
95  Int_t fBusyCut;
96 
98 
99 };
100 
101 #endif
PndRecoDafFit2 * fDafFitter
Standard Kalman Filter class.
void SetPropagateToIP(Bool_t opt=kTRUE)
ClassDef(PndRecoKalmanTask2, 1)
Skip too busy events with more tracks.
TString fTrackInBranchName
Output TCA for track.
TClonesArray * fMCTrackArray
Input TCA for PndTrack.
void SetParticleHypo(TString s)
int num[96]
Definition: ranlxd.cxx:381
TTree * b
Bool_t fPropagateToIP
Flag to use Deterministic Annealing.
TDatabasePDG * pdg
Deterministic Annealing class.
TString fTrackOutBranchName
Name of the input TCA.
void SetTrackInBranchName(const TString &name)
TLorentzVector s
Definition: Pnd2DStar.C:50
Bool_t fPerpPlane
Distance in [cm] to back-propagate the parameters, negative number means no backpropagation.
TClonesArray * fTrackArray
Bool_t fSmoothing
Flag to use Geane.
Bool_t fUseGeane
Particle DB.
void SetMvdBranchName(const TString &name)
void SetPropagateDistance(Float_t opt=-1.)
Float_t fPropagateDistance
Flag to propagate the parameters to the interaction point (kTRUE)
Int_t fBusyCut
Hypothesis.
Int_t fNumIt
Flag to use as initial plane the one perpendicular to the track (kFALSE)
TString fMvdBranchName
Name of the output TCA.
virtual InitStatus Init()
void SetCentralTrackerBranchName(const TString &name)
void SetTrackOutBranchName(const TString &name)
PndRecoKalmanFit2 * fFitter
Name of the TCA for central tracker.
Bool_t fIdealHyp
Flag to set on smoothing (not used)
void SetDaf(Bool_t opt=kTRUE)
PndRecoKalmanTask2(const char *name="Genfit", Int_t iVerbose=0)
void SetNumIterations(Int_t num)
TString name
Int_t fPDGHyp
Number of iterations.
void SetGeane(Bool_t opt=kTRUE)
Int_t iVerbose
void SetPerpPlane(Bool_t opt=kTRUE)
TClonesArray * fFitTrackArray
Input TCA for PndMCTrack.
virtual void Exec(Option_t *opt)
TString fCentralTrackerBranchName
Name of the TCA for MVD.
Bool_t fDaf
Flag to use MC particle hypothesis.
void SetBusyCut(Int_t b)
void SetIdealHyp(Bool_t opt=kTRUE)