52 integer,
parameter::nmax=50
54 real*8 b(6)/8.333333e-2, -1.388889e-3, 3.3068783e-5,
55 1 -8.267196e-7, 2.087676e-8, -52.841901e-11/
58 real*8 z, s, znt, z2, sn, sum, zn
66 f(i)=float(i-1)*f(i-1)
71 if(z .gt. 0. .or. z - aint(z) .ne. 0. .and.
72 * (n .ge. 0 .and. n .lt. nmax) )
then 91 if(mod(n,2).ne.0) sn=1.
96 sum=(sum+f(m)*b(j))/z2
98 sum=((sum+0.5*f(n+1)/z)/zn+s)*sn
106 *
'( ''***error input to kpolygC: (z,n)='',e18.8,i10)') z,n
real *8 function kpolygc(n, x)
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 ! knockon is considered Obsolete *PhotoProd false