From 63a30fa33b9e87b75c056647525536466f505bbf Mon Sep 17 00:00:00 2001 From: hrocho Date: Wed, 17 Oct 2018 18:05:42 +0200 Subject: [PATCH] zeff at variance --- calculations.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/calculations.cpp b/calculations.cpp index 4f6fc03..001d5e6 100644 --- a/calculations.cpp +++ b/calculations.cpp @@ -664,8 +664,7 @@ double dedx_variance(Projectile &p, Target &t, const Config &c){ double cor=0; double beta = beta_from_T(p.T); double beta2 = beta*beta; - //double zp_eff = z_effective(p,t,c); - double zp_eff = z_eff_Pierce_Blann(p.Z, beta); + double zp_eff = z_effective(p,t,c); double f = domega2dx_constant*pow(zp_eff,2)*t.Z/t.A; if(c.dedx_straggling == omega::atima){