From b1a146d099051cd04b6c31e9a2530264694178ba Mon Sep 17 00:00:00 2001 From: ralfulrich <ralf.ulrich@kit.edu> Date: Fri, 15 Oct 2021 06:49:13 +0200 Subject: [PATCH] remove unrelated change --- corsika/detail/modules/energy_loss/BetheBlochPDG.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corsika/detail/modules/energy_loss/BetheBlochPDG.inl b/corsika/detail/modules/energy_loss/BetheBlochPDG.inl index 396ecf0e0..537a3d85f 100644 --- a/corsika/detail/modules/energy_loss/BetheBlochPDG.inl +++ b/corsika/detail/modules/energy_loss/BetheBlochPDG.inl @@ -104,7 +104,7 @@ namespace corsika { // Barkas correction O(Z3) higher-order Born approximation // see Appl. Phys. 85 (1999) 1249 // double A = 1; - // if (is_nucleus(p.getPID()) A = get_nucleus_A(p.getPID()); + // if (p.getPID() == Code::Nucleus) A = p.getNuclearA(); // double const Erel = (p.getEnergy()-p.getMass()) / A / 1_keV; // double const Llow = 0.01 * Erel; // double const Lhigh = 1.5/pow(Erel, 0.4) + 45000./Zmat * pow(Erel, 1.6); -- GitLab