23 #ifndef genfit_AbsHMatrix_h
24 #define genfit_AbsHMatrix_h
27 #include <TMatrixDSym.h>
49 virtual TVectorD
Hv(
const TVectorD& v)
const {
return getMatrix()*v;}
52 virtual TMatrixD
MHt(
const TMatrixDSym& M)
const {
return TMatrixD(M, TMatrixD::kMultTranspose,
getMatrix());}
53 virtual TMatrixD
MHt(
const TMatrixD& M)
const {
return TMatrixD(M, TMatrixD::kMultTranspose,
getMatrix());}
60 bool operator==(
const AbsHMatrix& other)
const {
return this->isEqual(other);}
61 bool operator!=(
const AbsHMatrix& other)
const {
return !(this->isEqual(other));}
62 virtual bool isEqual(
const AbsHMatrix& other)
const = 0;
64 virtual void Print(
const Option_t* =
"")
const {;}
68 AbsHMatrix(
const AbsHMatrix& o) : TObject(o) {;}
69 AbsHMatrix& operator=(
const AbsHMatrix&);
72 ClassDef(AbsHMatrix,1)
HMatrix for projecting from AbsTrackRep parameters to measured parameters in a DetPlane.
virtual void HMHt(TMatrixDSym &M) const
similarity: H*M*H^t
virtual const TMatrixD & getMatrix() const =0
Get the actual matrix representation.
virtual TMatrixD MHt(const TMatrixDSym &M) const
M*H^t.
virtual TVectorD Hv(const TVectorD &v) const
H*v.
Defines for I/O streams used for error and debug printing.