CMS 3D CMS Logo

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