/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DataFormats/Math/interface/Error.h
37 строк
800 B
Cms Build
Clang-Format
11 июн 2019, 11:29
11 июн 2019, 11:29
146bc98
Код
Авторство
О чём код?
#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