CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CartesianTrajectoryError.h
Go to the documentation of this file.
1 #ifndef _TRACKER_CARTESIANTRAJECTORYERROR_H_
2 #define _TRACKER_CARTESIANTRAJECTORYERROR_H_
3 
6 
16 public:
17 // construct
19 
23  CartesianTrajectoryError(const AlgebraicSymMatrix66& aCovarianceMatrix) :
24  theCovarianceMatrix(aCovarianceMatrix) { }
25 
29  CartesianTrajectoryError(const AlgebraicSymMatrix& aCovarianceMatrix) :
30  theCovarianceMatrix(asSMatrix<6>(aCovarianceMatrix)) {}
31 // access
32 
37  }
38 
39 
40  const AlgebraicSymMatrix66 &matrix() const {
41  return theCovarianceMatrix;
42  }
43 
47  void operator *= (double factor) {
48  theCovarianceMatrix *= factor;
49  }
50 
52 
57  GlobalError position() const;
58 
59 private:
61 };
62 
63 #endif
CLHEP::HepMatrix asHepMatrix(const ROOT::Math::SMatrix< double, N1, N2, typename ROOT::Math::MatRepStd< double, N1, N2 > > &rm)
Definition: Migration.h:49
AlgebraicSymMatrix66 theCovarianceMatrix
ROOT::Math::SMatrix< double, 6, 6, ROOT::Math::MatRepSym< double, 6 > > AlgebraicSymMatrix66
const AlgebraicSymMatrix matrix_old() const
CartesianTrajectoryError(const AlgebraicSymMatrix66 &aCovarianceMatrix)
const AlgebraicSymMatrix66 & matrix() const
GlobalError position() const
Position error submatrix.
CartesianTrajectoryError(const AlgebraicSymMatrix &aCovarianceMatrix)
CLHEP::HepSymMatrix AlgebraicSymMatrix
ROOT::Math::SMatrix< double, N1, N2, typename ROOT::Math::MatRepStd< double, N1, N2 > > asSMatrix(const CLHEP::HepMatrix &m)
Definition: Migration.h:25