Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#ifndef TKALMATRIX_H
#define TKALMATRIX_H
//*************************************************************************
//* ===================
//* TKalMatrix Class
//* ===================
//*
//* (Description)
//* TKalMatrix is a wrapper of TMatrixD.
//* (Requires)
//* TMatrixD
//* (Provides)
//* class TKalMatrix
//* (Update Recored)
//* 2003/09/30 K.Fujii Original version.
//*
//*************************************************************************
#include "TMatrixD.h"
#include "TVector3.h"
//_____________________________________________________________________
// ------------------------------
// Base Class for matrix used by Kalman filter
// ------------------------------
//
class TKalMatrix : public TMatrixD {
public:
TKalMatrix(Int_t rowdim = 1, Int_t coldim = 1);
TKalMatrix(const TKalMatrix &orig);
TKalMatrix(const TMatrixD &orig);
TKalMatrix(TMatrixD::EMatrixCreatorsOp1 op,
const TKalMatrix &prototype);
TKalMatrix(TMatrixD::EMatrixCreatorsOp1 op,
const TMatrixD &prototype);
TKalMatrix(const TKalMatrix &a,
TMatrixD::EMatrixCreatorsOp2 op,
const TKalMatrix &b) ;
TKalMatrix(const TMatrixD &a,
TMatrixD::EMatrixCreatorsOp2 op,
const TMatrixD &b) ;
TKalMatrix(const TVector3 &v);
virtual ~TKalMatrix() {}
virtual void DebugPrint(Option_t *opt = "", Int_t nc = 5) const;
static TKalMatrix ToKalMat (const TVector3 &vec);
static TVector3 ToThreeVec(const TMatrixD &mat);
private:
ClassDef(TKalMatrix,1) // Base class for Kalman matrix
};
#endif