1 #include "BlockData/cblkGene.h" 10 #include "Zprimaryc.h" 11 #include "Zprimaryv.h" 12 #include "Zincidentp.h" 22 real*8 cosmin, cosmax, rigc
23 real*8 flux, E, azmmin, azmmax, dE, zen1, zen2
31 azmmax = imag_p(azimuth) + xaxisfromsouth
32 azmmin =
real(Azimuth) + XaxisFromSouth
34 if(cutofffile .eq.
' ')
then 39 if(zenvalue .eq.
'deg')
then 47 do i = 1, prim%no_of_comps
48 e = prim%each(
i)%energy(1)
54 * prim%each(
i)%label, sngl(
e), sngl(flux)
57 if(
e .gt. prim%each(
i)%energy(prim%each(
i)%no_of_seg+1))
subroutine cprimflux(comp, e_or_p, rigth, cos1, cos2, fai1, fai2, flux)
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