1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#ifndef TrackReco_Error_h
#define TrackReco_Error_h
//
// Symmetric matrix
//
#include "Rtypes.h"
#define SMATRIX_USE_CONSTEXPR
#include "Math/SMatrix.h"
#include "Math/BinaryOperators.h"
#include <vector>
namespace math {
/// fixed size error matrix with double components
template <unsigned int N>
struct ErrorD {
typedef ROOT::Math::SMatrix<double, N, N, ROOT::Math::MatRepSym<double, N> > type;
};
/// fixed size error matrix with double components
template <unsigned int N>
struct ErrorF {
typedef ROOT::Math::SMatrix<float, N, N, ROOT::Math::MatRepSym<float, N> > type;
};
/// fixed size error matrix
template <unsigned int N>
struct Error {
typedef typename ErrorD<N>::type type;
};
} // namespace math
#endif
|