CbmRoot
CbmLitKalmanFilter.h
Go to the documentation of this file.
1 
8 #ifndef CBMLITKALMANFILTER_H_
9 #define CBMLITKALMANFILTER_H_
10 
11 //#include "base/CbmLitTypes.h"
13 
14 class CbmLitHit;
15 class CbmLitStripHit;
16 class CbmLitPixelHit;
17 class CbmLitTrackParam;
18 
20 public:
21  /* Constructor */
23 
24  /* Destructor */
25  virtual ~CbmLitKalmanFilter();
26 
27  /* Inherited from CbmLitTrackUpdate */
28  virtual LitStatus Update(const CbmLitTrackParam* parIn,
29  CbmLitTrackParam* parOut,
30  const CbmLitHit* hit,
31  litfloat& chiSq);
32 
33  /* Inherited from CbmLitTrackUpdate */
34  virtual LitStatus
35  Update(CbmLitTrackParam* par, const CbmLitHit* hit, litfloat& chiSq);
36 
37 private:
38  /* Implements KF update step for pixel hits using gain matrix formalism
39  *@param par Input/Output track parameter
40  *@param hit Pointer to the hit
41  *@param chiSq Output calculated chi square value
42  *@return Status code */
43  LitStatus
44  Update(CbmLitTrackParam* par, const CbmLitPixelHit* hit, litfloat& chiSq);
45 
46  /* Implements KF update step for pixel hits using weighted means formalism
47  *@param par Input/Output track parameter
48  *@param hit Pointer to the hit
49  *@param chiSq Output calculated chi square value
50  *@return Status code */
51  LitStatus
52  UpdateWMF(CbmLitTrackParam* par, const CbmLitPixelHit* hit, litfloat& chiSq);
53 
54  /* Implements KF update step for strip hits using gain matrix formalism
55  *@param par Input/Output track parameter
56  *@param hit Pointer to the hit
57  *@param chiSq Output calculated chi square value
58  *@return Status code */
59  LitStatus
60  Update(CbmLitTrackParam* par, const CbmLitStripHit* hit, litfloat& chiSq);
61 
62  /* Implements KF update step for strip hits using weighted means formalism
63  *@param par Input/Output track parameter
64  *@param hit Pointer to the hit
65  *@param chiSq Output calculated chi square value
66  *@return Status code */
67  LitStatus
68  UpdateWMF(CbmLitTrackParam* par, const CbmLitStripHit* hit, litfloat& chiSq);
69 };
70 
71 #endif //CbmLitKalmanFilter
litfloat
double litfloat
Definition: CbmLitFloat.h:15
CbmLitKalmanFilter::Update
virtual LitStatus Update(const CbmLitTrackParam *parIn, CbmLitTrackParam *parOut, const CbmLitHit *hit, litfloat &chiSq)
Main function to be implemented for concrete track update algorithm.
Definition: CbmLitKalmanFilter.cxx:25
CbmLitTrackParam
Data class for track parameters.
Definition: CbmLitTrackParam.h:29
CbmLitTrackUpdate.h
Interface for track update algorithm.
CbmLitKalmanFilter::~CbmLitKalmanFilter
virtual ~CbmLitKalmanFilter()
Definition: CbmLitKalmanFilter.cxx:23
CbmLitKalmanFilter::UpdateWMF
LitStatus UpdateWMF(CbmLitTrackParam *par, const CbmLitPixelHit *hit, litfloat &chiSq)
Definition: CbmLitKalmanFilter.cxx:235
CbmLitHit
Base data class for hits.
Definition: CbmLitHit.h:26
CbmLitTrackUpdate
Interface for track update algorithm.
Definition: CbmLitTrackUpdate.h:23
CbmLitPixelHit
Base data class for pixel hits.
Definition: CbmLitPixelHit.h:22
LitStatus
LitStatus
Definition: CbmLitEnums.h:23
CbmLitStripHit
Base data class for strip hits.
Definition: CbmLitStripHit.h:22
CbmLitKalmanFilter
Definition: CbmLitKalmanFilter.h:19
CbmLitKalmanFilter::CbmLitKalmanFilter
CbmLitKalmanFilter()
Definition: CbmLitKalmanFilter.cxx:21