27 #include "gsl/gsl_statistics.h"
44 double theMinMomentum = 3.0;
45 int charge = std::copysign(1, ptmean);
48 if (fabs(ptmean) < theMinMomentum)
49 ptmean = theMinMomentum *
charge;
58 polar *= fabs(ptmean) / polar.
perp();
72 mat =
last->parametersError().similarityT(
last->projectionMatrix());
74 float p_err =
sqr(sptmean / (ptmean * ptmean));