Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix call to LPM in EpairForElectronPositron #350

Merged
merged 1 commit into from
Feb 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ double crosssection::EpairForElectronPositron::FunctionToIntegral(
// from Yadernaya Fizika, Vol. 63, 2000, pp. 1690-1698 Original Russian Text
// Copyright 2000 by Kel'ner, Kokoulin, Petukhin DOI: 10.1134/1.1312894

double aux, aux1, aux2, r2, rMax, Z3, xi, beta;
double aux, aux1, aux2, r2, rMax, Z3, xi, xi2, beta;
double phi, U, U_max, X, Y;
auto medium_charge = comp.GetNucCharge();
auto medium_log_constant = comp.GetLogConstant();
Expand Down Expand Up @@ -516,8 +516,8 @@ double crosssection::EpairForElectronPositron::FunctionToIntegral(

U = aux / (1 + aux1 / aux2);

xi = v * v * (1 - rMax * rMax) / (4 * (1 - v));
aux1 = 2 * SQRTE * std::pow(ME, 2) * medium_log_constant * Z3 * (1 + xi)
xi2 = v * v * (1 - rMax * rMax) / (4 * (1 - v));
aux1 = 2 * SQRTE * std::pow(ME, 2) * medium_log_constant * Z3 * (1 + xi2)
* (1 + Y);
aux2 = ME * energy * v * (1 - rMax * rMax);
U_max = aux / (1 + aux1 / aux2);
Expand Down