11 if (beta == 0.0)
return 0.0;
13 mcout <<
"double lorgamma_1(double beta): ERROR: beta>=1.0, beta=" << beta
18 const double g2_1 = beta / (1. - beta);
19 const double gam =
sqrt(g2_1 + 1.);
20 return g2_1 / (gam + 1.);
24 return sqrt(gamma_1 * (gamma_1 + 2.)) / (gamma_1 + 1.);
28 const double g = gamma_1 + 1;
29 return (gamma_1 * (gamma_1 + 2.)) / (g * g);
32double lorbeta(
const double momentum,
const double mass) {
33 double x = (mass * mass * c_squared) / (momentum * momentum);
double lorbeta(const double gamma_1)
as function of .
double lorgamma_1(double beta)
as function of .
double lorbeta2(const double gamma_1)
as function of .
DoubleAc sqrt(const DoubleAc &f)