52 integer,
parameter::nmax=50
54 real*8 b(6)/8.333333
e-2, -1.388889
e-3, 3.3068783
e-5,
55 1 -8.267196
e-7, 2.087676
e-8, -52.841901
e-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
dE dx *! Nuc Int sampling table e
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 true
********************block data cblkHeavy ********************integer j data *HeavyG2symbol *data *HeavyG2code kiron data j
block data include Zlatfit h c fitting region data data data data data d0 data data d0 data data m
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
! 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