10 if (beta == 0.0)
return 0.0;
12 mcout <<
"double lorgamma_1(double beta): ERROR: beta>=1.0, beta=" << beta
17 const double g2_1 = beta / (1. - beta);
18 const double gam =
sqrt(g2_1 + 1.);
19 return g2_1 / (gam + 1.);
23 return sqrt(gamma_1 * (gamma_1 + 2.)) / (gamma_1 + 1.);
27 const double g = gamma_1 + 1;
28 return (gamma_1 * (gamma_1 + 2.)) / (g * g);
31double lorbeta(
const double momentum,
const double mass) {
32 double x = (mass * mass * c_squared) / (momentum * momentum);
DoubleAc sqrt(const DoubleAc &f)
double lorbeta(const double gamma_1)
double lorgamma_1(double beta)
double lorbeta2(const double gamma_1)