26 real*8 u, v, temp, s, w, u1, v1, w1, x
27 real*8 cmigdG, cmigdPsi, cmigdSforPair, cmigdGzai
29 real*8 a1, a2, suma, a1prob
31 * suma = a1 + a2, a1prob = a1/suma)
35 if(u .lt. a1prob)
then 40 s = cmigdsforpair(eg, rho, v)
41 temp = cmigdgzai(s) * (cmigdg(s) +cmigdpsi(s))/2.
60 elseif(x .eq. w1)
then 64 s = cmigdsforpair(eg, rho, v)
65 temp = cmigdgzai(s) * cmigdpsi(s)
integer npitbl real *nx parameter(n=101, npitbl=46, nx=n-1) real *8 uconst
subroutine cpairerglpm(eg, rho, ee)
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
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0