33 if(em .ge. 1.0
d0)
then 39 * cbhabhatx(g, em)*
masele/t0 * constm
45 subroutine cbhabhaea(ein, w, es, er, coss, cosr)
60 real*8 g, em, t0, u, ep, ge, tr, gr, gs
79 ep=1.
d0/ ( (1.0
d0-em)*u/em + 1.0
d0 )
80 ge=cbhabharf(w, em, g, ep)
99 cosr =sqrt( (gr-1.0)*(g+1.0)/(gr+1.)/(g-1.0))
100 coss = sqrt( (gs-1.0)*(g+1.)/(gs+1.)/(g-1.0))
114 real*8 c1, c2, c3, c4, y, gsave, beta2
117 save c1, c2, c3, c4, y, gsave, beta2
119 if(g .ne. gsave)
then 121 beta2 = 1.
d0 - 1.
d0/g**2
126 c2 = temp*(3.0
d0 + y**2)
129 cbhabhag = (( (c4*x -c3)*x + c2)*x -c1) *x +1./beta2
151 g1 = cbhabhag(g, 1.
d0)
171 real*8 beta2, y, c1, c2, c3, c4, temp
173 beta2 = 1.
d0 - 1.
d0/g**2
178 c2 = temp*(3.0
d0 + y**2)
182 * + c4*(1.0
d0 -em**3)/3.0
d0 183 * + (1.
d0-em)/beta2/em
integer npitbl real *nx parameter(n=101, npitbl=46, nx=n-1) real *8 uconst
block data cblkElemag data *AnihiE ! Eposi< 1 TeV, anihilation considered *X0/365.667/, ! radiation length of air in kg/m2 *Ecrit/81.e-3/, ! critical energy of air in GeV *MaxComptonE/1./, ! compton is considered below 1 GeV *MaxPhotoE/1.e-3/, ! above this, PhotoElectric effect neg. *MinPhotoProdE/153.e-3/, ! below 153 MeV, no gp --> hadrons ! scattering const not MeV *Knockon true
real *8 function cbhabhatx(g, em)
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
dE dx *! Nuc Int sampling table d
real *8 function cbhabharf(w, em, g, x)
real *8 function cbhabhag(g, x)
subroutine cbhabhapath(ein, w, prob, path)
subroutine cbhabhaea(ein, w, es, er, coss, cosr)