19 #include "Zmanagerp.h" 22 #include "Zprimaryc.h" 23 #include "Zprimaryv.h" 39 write(0,*)
' # of 1ry comp. > maxNoOfComps=',
41 write(0,*)
' change the value in Zmaxdef%h ' 51 write(*,*)
' no primary is given' 65 #include "Zmanagerp.h" 68 #include "Zprimaryc.h" 76 read(tempdev, *, iostat=ios) each%symb, each%eunit,
77 * each%etype, each%diff_or_inte, each%flatterer, each%cut,
84 read(tempdev, *, iostat =ios)
88 write(*, *)
' error in the primary data' 89 write(*, *)
' data position: Primary block=',
90 * n+1,
' segment # =', np + 1
95 if(each%energy(np+1) .le. 0.)
goto 100
98 write(*, *)
'too many segments in ',n+1,
105 each%no_of_seg =max(0, np -1)
subroutine crdcompprim(each, n, icon)
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
subroutine crdprimdata(prm)