1 #ifndef GlobalErrorExtendedType_H
2 #define GlobalErrorExtendedType_H
12 template <
class T,
class ErrorWeightType>
159 T x2 = aPoint.
x() * aPoint.
x();
160 T y2 = aPoint.
y() * aPoint.
y();
161 T xy = aPoint.
x() * aPoint.
y();
163 return std::max<T>(0, (1. /
r2) * (x2 *
cxx() + 2. * xy *
cyx() + y2 *
cyy()));
165 return 0.5 * (
cxx() +
cyy());
171 T x2 = aPoint.
x() * aPoint.
x();
172 T y2 = aPoint.
y() * aPoint.
y();
173 T xy = aPoint.
x() * aPoint.
y();
175 return std::max<T>(0, (1. / (r2 *
r2)) * (y2 *
cxx() - 2. * xy *
cyx() + x2 *
cyy()));
GlobalErrorBaseExtended operator+(const GlobalErrorBaseExtended &err) const
T rerr(const GlobalPoint &aPoint) const
GlobalErrorBaseExtended operator-(const GlobalErrorBaseExtended &err) const
AlgebraicSymMatrix66 theCartesianError
const AlgebraicSymMatrix66 & matrix_new() const
GlobalErrorBaseExtended(const NullMatrix &)
const AlgebraicSymMatrix66 & matrix() const
ROOT::Math::SMatrix< double, 6, 6, ROOT::Math::MatRepSym< double, 6 > > AlgebraicSymMatrix66
Basic2DVector< T > xy() const
~GlobalErrorBaseExtended()
GlobalErrorBaseExtended(const AlgebraicSymMatrix66 &err)
GlobalErrorBaseExtended()
GlobalErrorBaseExtended(T c11, T c21, T c31, T c41, T c51, T c61, T c22, T c32, T c42, T c52, T c62, T c33, T c43, T c53, T c63, T c44, T c54, T c64, T c55, T c65, T c66)
Tag to request a null error matrix.
GlobalErrorBaseExtended(const AlgebraicSymMatrix33 &err)
ROOT::Math::SMatrix< double, 3, 3, ROOT::Math::MatRepSym< double, 3 > > AlgebraicSymMatrix33
T phierr(const GlobalPoint &aPoint) const