diff --git a/corsika/detail/modules/energy_loss/BetheBlochPDG.inl b/corsika/detail/modules/energy_loss/BetheBlochPDG.inl index 396ecf0e08a97a7ae225f8dd591d86c2820d28f2..537a3d85fbf347303d00a1f519fa92ed8317e4d7 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);