1 #ifndef GlobalErrorType_H 2 #define GlobalErrorType_H 25 template <
class T,
class ErrorWeightType>
168 T x2 = aPoint.
x()*aPoint.
x();
169 T y2 = aPoint.
y()*aPoint.
y();
170 T xy = aPoint.
x()*aPoint.
y();
172 return std::max<T>(0, (1./
r2)*(x2*
cxx() + 2.*xy*
cyx() + y2*
cyy()));
174 return 0.5*(
cxx() +
cyy());
179 T x2 = aPoint.
x()*aPoint.
x();
180 T y2 = aPoint.
y()*aPoint.
y();
181 T xy = aPoint.
x()*aPoint.
y();
183 return std::max<T>(0, (1./(r2*
r2))*(y2*
cxx() - 2.*xy*
cyx() + x2*
cyy()));
GlobalErrorBase operator-(const GlobalErrorBase &err) const
GlobalErrorBase(T c11, T c21, T c22, T c31, T c32, T c33, T c41, T c42, T c43, T c44)
AlgebraicSymMatrix44 theCartesianError
const AlgebraicSymMatrix33 matrix() const
const AlgebraicSymMatrix44 & matrix4D() const
T phierr(const GlobalPoint &aPoint) const
GlobalErrorBase(const NullMatrix &)
ROOT::Math::SMatrix< double, 4, 4, ROOT::Math::MatRepSym< double, 4 > > AlgebraicSymMatrix44
ROOT::Math::SMatrix< double, 3, 3, ROOT::Math::MatRepSym< double, 3 > > AlgebraicSymMatrix33
Tag to request a null error matrix.
GlobalErrorBase operator+(const GlobalErrorBase &err) const
GlobalErrorBase(const AlgebraicSymMatrix33 &err)
GlobalErrorBase(T c11, T c21, T c22, T c31, T c32, T c33)
T rerr(const GlobalPoint &aPoint) const
GlobalErrorBase(const AlgebraicSymMatrix44 &err)