8 subroutine cdedxnone(aPtcl, rhoin, dedt, dedtF)
24 real*8 E, mass, Beta2, x, full, restricted, temp
25 real*8 wm, wlg, u, delta, atomicEbrem, atomicEbremCut
26 real*8 bbbeta2, lindbeta2, truebeta2
27 real*8 bbbeta, lindbeta
28 real*8 logbbbeta, loglindbeta
29 real*8 a, b, c, xx, gra, gb2, g, integ
31 parameter(bbbeta2 = bbbeta**2, lindbeta2=lindbeta**2)
34 * loglindbeta =-5.298317367e+00)
35 parameter(a = (1.+gra)/2.
d0/(logbbbeta-loglindbeta),
36 * b = 2*a*loglindbeta + 1.)
41 data sha/0.076643
d0/, shb/17.38654
d0/
46 e = aptcl%fm%p(4)*1000.
47 mass= aptcl%mass*1000.
49 truebeta2 = 1. -(1.0
d0/g)**2
50 if(truebeta2 .lt. bbbeta2)
then 53 e = mass*(1. + beta2/2)
67 * /(1.0 + 2.0*g*(emass/mass) +(emass/mass)**2)
76 full = shb + log(2*u*gb2) -2.0*beta2
79 if(aptcl%code .ne.
kpion .and. aptcl%code .ne.
kkaon)
then 81 full = full + (wm/e)**2/4.
82 if(aptcl%code .eq.
kmuon .and. e .gt. 5000. )
then 90 * 0.00116*(log(2*g)-0.3333*temp)*temp*temp
95 if(wm .gt. w0inmev)
then 99 integ = log(wm/w0inmev) - beta2*(1.0-w0inmev/wm)
101 if(aptcl%code .ne.
kpion .and. aptcl%code .ne.
kkaon)
then 103 integ = integ + ((wm/e)**2-(w0inmev/e)**2)/4.
104 if(aptcl%code .eq.
kmuon .and. e .gt. 5000. )
then 107 temp = log(2*w0inmev/emass)
108 atomicebremcut = atomicebrem-
109 * 0.00116*(log(2*g)-0.3333*temp)*temp*temp
116 full = full -delta + atomicebrem
117 restricted = full - integ - atomicebremcut
119 dedt = sha/beta2*restricted
120 dedtf = sha/beta2*full
123 if(truebeta2 .lt. bbbeta2)
then 124 c = log(dedt) + ( a* logbbbeta - b )*logbbbeta
125 if( truebeta2 .gt. lindbeta2)
then 126 xx = log( truebeta2 )/2.
127 dedt =exp( (-a*xx + b)*xx + c)
129 dedt = exp( (-a*loglindbeta + b)* loglindbeta + c) *
130 * sqrt(truebeta2)/lindbeta
135 dedt=dedt * aptcl%charge**2 * 1.
d-3
136 dedtf=dedtf * aptcl%charge**2 * 1.
d-3
integer npitbl real *nx parameter(n=101, npitbl=46, nx=n-1) real *8 uconst
subroutine cdedxdlt(rhoin, gin, delta)
max ptcl codes in the kkaon
subroutine cdedxnone(aPtcl, rhoin, dedt, dedtF)
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
dE dx *! Nuc Int sampling table d
max ptcl codes in the kpion
max ptcl codes in the kmuon