Go to the source code of this file.
◆ cdedxathe()
subroutine cdedxathe |
( |
type(ptcl) |
aPtcl, |
|
|
real*8 |
rhoin, |
|
|
real*8 |
dedt |
|
) |
| |
Definition at line 23 of file cdedxatHE.f.
References betasq, d, d0, d3, parameter(), w0, and wlg0.
34 real*8 ek, amass,
a,
b, x0,
c,
x1, sa, rho, rl,
e, gi
35 real*8 pbmc, cb, dltx, p2, wm, wlg,
x 40 write(*, *)
' cdedxEleci must be called' 44 if(aptcl%charge .ne. 0)
then 45 ek=aptcl%fm%p(4) *1.
d3 46 amass=aptcl%mass * 1.
d3 49 if(ek .lt. 50.
d0*amass)
then 55 rho=min( max(rhoin, 1.
d-7), 5.
d-3)
57 x0= (((-.0165
d0*rl-0.305
d0)*rl-1.94
d0)*rl
59 c=-4.0635
d0+2.303
d0*rl
60 if(rho .gt. 2.78605
d-4)
then 62 sa=((-.6872064
d-01*rl-.5340530
d0 )*rl
63 * -1.521159
d0 )*rl-1.365158
d0 66 sa=(((.04256
d0*rl+0.7888
d0)*rl+5.465
d0)*rl
67 * + 16.642
d0)*rl+ 18.855
d0 75 pbmc = (
e/amass)**2 - 1.
d0 82 elseif(
x .lt.
x1)
then 83 dltx=cb - (
x1-
x)**3 * sa
88 wm=2*emass*p2/( amass**2+ emass2+ emass*
e*2)
97 dedt=dedt *1.
d-4 *aptcl%charge**2
integer npitbl real *nx parameter(n=101, npitbl=46, nx=n-1) real *8 uconst
block data include Zlatfit h c fitting region data x1(1)/0.03/
dE dx *! Nuc Int sampling table e
block data cblkIncident data *Za1ry *HeightOfInj d3
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
dE dx *! Nuc Int sampling table d
! 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