CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GetLineCovMatrix.h
Go to the documentation of this file.
1 #ifndef GETLINECOVMATRIX_H
2 #define GETLINECOVMATRIX_H
3 
5 #include "CLHEP/Matrix/Matrix.h"
6 
7 // Class that calculates the Covariance Matrix of a Globalpoint
8 // The GlobalPoint is on a straight line, that is defined by two
9 // GlobalPoints( plus their Covariance Matrices)
10 
11 
13 
14  public:
15 
17 
19 
21 
22  private:
23 
26  CLHEP::HepMatrix CombinedErrorMatrix; // CombinedErrorMatrix of the two points that define the straight line
27  CLHEP::HepMatrix B; // derivatives of the linear equation
28 
29 };
30 
31 #endif
CLHEP::HepMatrix B
GlobalPoint PointTwo
GlobalPoint PointOne
CLHEP::HepMatrix CombinedErrorMatrix
GlobalError GetMatrix(GlobalPoint)
GetLineCovMatrix(GlobalPoint, GlobalPoint, GlobalError, GlobalError)