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 // $Id: Error.h,v 1.10 2006/11/20 09:06:52 llista Exp $
4 //
5 // Symmetric matrix
6 //
7 #include "Rtypes.h"
8 #include "Math/SMatrix.h"
9 #include "Math/BinaryOperators.h"
10 
11 #include <vector>
12 
13 namespace math {
14 
16  template<unsigned int N>
17  struct ErrorD {
18  typedef ROOT::Math::SMatrix<double, N, N, ROOT::Math::MatRepSym<double, N> > type;
19  };
20 
22  template<unsigned int N>
23  struct ErrorF {
24  typedef ROOT::Math::SMatrix<float, N, N, ROOT::Math::MatRepSym<float, N> > type;
25  };
26 
28  template<unsigned int N>
29  struct Error {
30  typedef typename ErrorD<N>::type type;
31  };
32 
33 }
34 
35 #endif
fixed size error matrix
Definition: Error.h:29
ROOT::Math::SMatrix< float, N, N, ROOT::Math::MatRepSym< float, N > > type
Definition: Error.h:24
ErrorD< N >::type type
Definition: Error.h:30
fixed size error matrix with double components
Definition: Error.h:23
ROOT::Math::SMatrix< double, N, N, ROOT::Math::MatRepSym< double, N > > type
Definition: Error.h:18
fixed size error matrix with double components
Definition: Error.h:17