From 8ccf3d7ec24ca24a37591127cc6bc8383f0b7588 Mon Sep 17 00:00:00 2001 From: ralfulrich <ralf.ulrich@kit.edu> Date: Wed, 3 Apr 2019 10:46:17 +0200 Subject: [PATCH] uncomment unused two lines --- Processes/EnergyLoss/EnergyLoss.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Processes/EnergyLoss/EnergyLoss.cc b/Processes/EnergyLoss/EnergyLoss.cc index a20158bb..3cdd84e3 100644 --- a/Processes/EnergyLoss/EnergyLoss.cc +++ b/Processes/EnergyLoss/EnergyLoss.cc @@ -125,8 +125,8 @@ namespace corsika::process::EnergyLoss { // Barkas correction O(Z3) higher-order Born approximation // see Appl. Phys. 85 (1999) 1249 - double A = 1; - if (p.GetPID() == particles::Code::Nucleus) A = p.GetNuclearA(); + //double A = 1; + //if (p.GetPID() == particles::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