File indexing completed on 2024-04-06 12:04:41
0001 #ifndef TrackReco_Error_h
0002 #define TrackReco_Error_h
0003
0004
0005
0006 #include "Rtypes.h"
0007
0008 #define SMATRIX_USE_CONSTEXPR
0009
0010 #include "Math/SMatrix.h"
0011 #include "Math/BinaryOperators.h"
0012
0013 #include <vector>
0014
0015 namespace math {
0016
0017
0018 template <unsigned int N>
0019 struct ErrorD {
0020 typedef ROOT::Math::SMatrix<double, N, N, ROOT::Math::MatRepSym<double, N> > type;
0021 };
0022
0023
0024 template <unsigned int N>
0025 struct ErrorF {
0026 typedef ROOT::Math::SMatrix<float, N, N, ROOT::Math::MatRepSym<float, N> > type;
0027 };
0028
0029
0030 template <unsigned int N>
0031 struct Error {
0032 typedef typename ErrorD<N>::type type;
0033 };
0034
0035 }
0036
0037 #endif