Go to the source code of this file.
◆ cspiangofpin()
Definition at line 22 of file csPiAngOfPiN.f.
References csamppolang(), d0, and true.
Referenced by cg1pi0(), and cg1pic().
37 real*8 ap, bp, cp, a0, c0
40 ap(
x)=(( 523.8081 *
x-2523.137 )*
x+ 3994.917 )*
x-2066.6
44 bp(
x)=((( 551.7981 *
x-3704.184 )*
x+ 9214.102 )*
x-10054.2
48 cp(
x)=((-337.0378 *
x+ 1605.070 )*
x-2511.868 )*
x+ 1287.63
52 a0(
x)=((( 5566.031 *
x-33254.71 )*
x+ 73843.62 )*
x-72204
56 c0(
x)=(((-5099.891 *
x+ 30526.40 )*
x-67929.69 )*
x+ 6658
59 cmse=min(cmsein, 1.8
d0)
60 cmse=max(cmse, 1.239
d0)
61 if(cn .eq. 0 .and. cpi .eq. 1)
then 65 elseif(cn .eq. 1 .and. cpi .eq. 0)
then 69 elseif(cn .eq. 1 .and. cpi .eq. -1)
then 81 if(icon .eq. 0)
goto 30
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 cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
subroutine csamppolang(a, b, c, cost, icon)
! 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 c