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.298317367
e+00)
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 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-
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
dE dx *! Nuc Int sampling table e
subroutine cdedxdlt(rhoin, gin, delta)
max ptcl codes in the kkaon
real(4), dimension(:), allocatable, save temp
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
dE dx *! Nuc Int sampling table d
dE dx *! Nuc Int sampling table g
*Zfirst p fm *Zfirst p mass
max ptcl codes in the kpion
max ptcl codes in the kmuon
! structure defining a particle at production ! Basic idea of what is to be contained in ! the particle structue is that dynamical ones should be included those derivable from the particle code ! is not included ******************************************************type fmom momentum sequence union map real e endmap map real * x
dE dx *! Nuc Int sampling table c