1
0
Fork 0
mirror of https://github.com/gwm17/catima.git synced 2024-11-26 12:08:52 -05:00

Merge pull request #47 from hrosiak/omega

zeff at variance
This commit is contained in:
Andrej Prochazka 2018-10-17 18:08:55 +02:00 committed by GitHub
commit c990853f8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -664,8 +664,7 @@ double dedx_variance(Projectile &p, Target &t, const Config &c){
double cor=0; double cor=0;
double beta = beta_from_T(p.T); double beta = beta_from_T(p.T);
double beta2 = beta*beta; double beta2 = beta*beta;
//double zp_eff = z_effective(p,t,c); double zp_eff = z_effective(p,t,c);
double zp_eff = z_eff_Pierce_Blann(p.Z, beta);
double f = domega2dx_constant*pow(zp_eff,2)*t.Z/t.A; double f = domega2dx_constant*pow(zp_eff,2)*t.Z/t.A;
if(c.dedx_straggling == omega::atima){ if(c.dedx_straggling == omega::atima){