CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_4/src/DataFormats/Math/interface/Error.h

Go to the documentation of this file.
00001 #ifndef TrackReco_Error_h
00002 #define TrackReco_Error_h
00003 // $Id: Error.h,v 1.10 2006/11/20 09:06:52 llista Exp $
00004 //
00005 // Symmetric matrix
00006 //
00007 #include "Rtypes.h"
00008 #include "Math/SMatrix.h"
00009 #include "Math/BinaryOperators.h"
00010 
00011 #include <vector>
00012 
00013 namespace math {
00014 
00016   template<unsigned int N>
00017   struct ErrorD {
00018     typedef ROOT::Math::SMatrix<double, N, N, ROOT::Math::MatRepSym<double, N> > type;
00019   };
00020 
00022   template<unsigned int N>
00023   struct ErrorF {
00024     typedef ROOT::Math::SMatrix<float, N, N, ROOT::Math::MatRepSym<float, N> > type;
00025   };
00026 
00028   template<unsigned int N>
00029   struct Error {
00030     typedef typename ErrorD<N>::type type;
00031   };
00032 
00033 }
00034 
00035 #endif