test
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 
8 #define SMATRIX_USE_CONSTEXPR
9 
10 
11 #include "Math/SMatrix.h"
12 #include "Math/BinaryOperators.h"
13 
14 #include <vector>
15 
16 namespace math {
17 
19  template<unsigned int N>
20  struct ErrorD {
21  typedef ROOT::Math::SMatrix<double, N, N, ROOT::Math::MatRepSym<double, N> > type;
22  };
23 
25  template<unsigned int N>
26  struct ErrorF {
27  typedef ROOT::Math::SMatrix<float, N, N, ROOT::Math::MatRepSym<float, N> > type;
28  };
29 
31  template<unsigned int N>
32  struct Error {
33  typedef typename ErrorD<N>::type type;
34  };
35 
36 }
37 
38 #endif
fixed size error matrix
Definition: Error.h:32
ROOT::Math::SMatrix< float, N, N, ROOT::Math::MatRepSym< float, N > > type
Definition: Error.h:27
ErrorD< N >::type type
Definition: Error.h:33
fixed size error matrix with double components
Definition: Error.h:26
ROOT::Math::SMatrix< double, N, N, ROOT::Math::MatRepSym< double, N > > type
Definition: Error.h:21
fixed size error matrix with double components
Definition: Error.h:20