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