20 real*8 e, gi, beta2,
x, cb
25 real*8 bbbeta2, lindbeta2, truebeta2
26 real*8 bbbeta, lindbeta
27 real*8 logbbbeta, loglindbeta
28 real*8 a,
b,
c, xx, gra, restricted
29 real*8 full, tm, vc, b1, b2, b3, b4, g1
35 parameter(bbbeta2 = bbbeta**2, lindbeta2=lindbeta**2)
37 * loglindbeta = -4.605170186
e+00)
39 *
b = 2*
a*loglindbeta + 1.)
48 data sha/0.076643
d0/, shb/17.38654
d0/
55 e = aptcl%fm%p(4)*1000.
d0 59 if(truebeta2 .lt. bbbeta2)
then 71 x=log10(
g**2 - 1. ) / 2
80 rkemin = w0inmev/emass
81 if(aptcl%charge .eq. -1)
then 85 full = shb + log(u**2*g1/2) +
86 * (1.0+u**2/8. -(u+
g)*ln2)/
g/
g 88 if(u/2 .gt. rkemin)
then 93 * - (u+
g)*gi*gi*(0.5-vc) + (1.-vc/(1.0-vc))
94 * + 0.5*(u*gi)**2 * (0.25-vc**2)
95 * - log(2*(1.-vc)) *(1.+(u+
g)*gi*gi)
102 elseif(aptcl%charge .eq. 1)
then 106 full = shb + log(u**2*g1/2) + tln2 -
107 * beta2/12. * (((4./g1 + 10.)/g1 + 14.0)/g1 + 23.)
108 if(u .gt. rkemin)
then 111 b2 = (1.0-2*
y)*(3.0+
y**2)
112 b3 = (1.0-2*
y)**2 *( 1. + (1.-2*
y))
114 f = log(1./vc) -beta2*
115 * (b1*(1.-vc) - b2/2.0*(1.0-vc**2) + b3/3.0*(1.-vc**3)
116 * - b4/4.0*(1.-vc**4) )
121 write(0,*)
' charge is invalid for cdedxe=', aptcl%charge
122 write(0,*)
' ptcl code =', aptcl%code, aptcl%subcode
130 restricted = full -
f 131 dedt =sha/beta2 *restricted
132 dedtf =sha/beta2 * full
134 if(truebeta2 .lt. bbbeta2)
then 135 c = log(dedt) + (
a* logbbbeta -
b )*logbbbeta
136 if( truebeta2 .gt. lindbeta2)
then 137 xx = log( truebeta2 )/2.
138 dedt =exp( (-
a*xx +
b)*xx +
c)
141 dedt = exp( (-
a*loglindbeta +
b)* loglindbeta +
c) *
142 * sqrt(truebeta2)/lindbeta
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)
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
latitude latitude this system is used *****************************************************************! type coord sequence union map real y
dE dx *! Nuc Int sampling table d
dE dx *! Nuc Int sampling table g
! 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 f
dE dx *! Nuc Int sampling table c