1 #include "BlockData/cblkGene.h" 10 #include "Zprimaryc.h" 11 #include "Zprimaryv.h" 12 #include "Zincidentp.h" 24 real*8 E, azmmin, azmmax, dE, zen1, zen2
29 write(errorout,*)
' XaxisFromSouth=',xaxisfromsouth
32 azmmax =imag_p(azimuth) + xaxisfromsouth
33 azmmin =
real(Azimuth) + XaxisFromSouth
35 if(cutofffile .eq.
' ')
then 39 if(abs(latit-latitofsite) .gt. 5. .or.
40 * abs(longi-longitofsite) .gt. 5. )
then 42 *
'check LatitOfSite and LongitOfSite; they differ'//
43 *
' from those in CutoffFile' 47 if(zenvalue .eq.
'deg')
then 53 do i = 1, prim%no_of_comps
54 e = prim%each(
i)%energy(1)
58 write(*,*) prim%each(
i)%label, sngl(
e), sngl(prob)
60 if(
e .gt. prim%each(
i)%energy(prim%each(
i)%no_of_seg+1))
dE dx *! Nuc Int sampling table e
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 cprintprim(out)
subroutine csetcosdeg(cosin, degin)
********************block data cblkHeavy ********************integer j data *HeavyG2symbol *data *HeavyG2code kiron data j
subroutine creadparam(io)
*Zfirst p fm *Zfirst p Zfirst p Zfirst p *Zfirst p *Zfirst pos xyz Zfirst pos xyz *Zfirst pos *Zfirst pos Zfirst pos *Zfirst pos *Zfirst Zfirst vec w *Zfirst vec w Zfirst vec coszenith
subroutine chookcerens(no, primary, angle)
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
subroutine cprimacceptance(comp, e_or_p, rigth, cos1, cos2, fai1, fai2, prob)