5 #ifndef __GENERICRICH_H__
6 #define __GENERICRICH_H__
76 auto theta = 2. * atan(exp(-eta)) * 57.295780;
85 auto sigma1 = sqrt(chromatic * chromatic +
93 return sqrt(sigma1 * sigma1 / ndet + sigma2 * sigma2);
115 if (p > thr1 && p > thr2)
141 double p =
minP(eta, nsigma, PID) + 0.001;
142 while (
numSigma(eta, p, PID) > nsigma) p += 0.001;