CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Error.h
Go to the documentation of this file.
1 #ifndef TrackReco_Error_h
2 #define TrackReco_Error_h
3 //
4 // Symmetric matrix
5 //
6 #include "Rtypes.h"
7 #include "Math/SMatrix.h"
8 #include "Math/BinaryOperators.h"
9 
10 #include <vector>
11 
12 namespace math {
13 
15  template<unsigned int N>
16  struct ErrorD {
17  typedef ROOT::Math::SMatrix<double, N, N, ROOT::Math::MatRepSym<double, N> > type;
18  };
19 
21  template<unsigned int N>
22  struct ErrorF {
23  typedef ROOT::Math::SMatrix<float, N, N, ROOT::Math::MatRepSym<float, N> > type;
24  };
25 
27  template<unsigned int N>
28  struct Error {
29  typedef typename ErrorD<N>::type type;
30  };
31 
32 }
33 
34 #endif
fixed size error matrix
Definition: Error.h:28
ROOT::Math::SMatrix< float, N, N, ROOT::Math::MatRepSym< float, N > > type
Definition: Error.h:23
ErrorD< N >::type type
Definition: Error.h:29
fixed size error matrix with double components
Definition: Error.h:22
ROOT::Math::SMatrix< double, N, N, ROOT::Math::MatRepSym< double, N > > type
Definition: Error.h:17
fixed size error matrix with double components
Definition: Error.h:16