Go to the source code of this file.
◆ ccomptea()
Definition at line 50 of file ccomptPath.f.
References d, d0, ksamplin(), masele, rndc(), and true.
Referenced by ccompt().
59 real*8 xmin, a1, a2,
x,
temp, u, sin2g, cos2e,
g 62 xmin = 1.
d0/( 1.
d0 + 2*
g)
64 a2 = (1.
d0 -xmin*xmin) /2
67 if( u .lt. a1/(a1+a2) )
then 70 x = xmin * exp( a1 * u )
79 if(u .lt. (1. -
x*sin2g/(1+
x*
x)))
goto 10
88 cos2e=(1.
d0-cosg) / ( 1.
d0-cosg +(1.
d0+cosg)/(1.
d0+
g)**2 )
90 cose=min( max(sqrt(cos2e), 1.
d-10), 0.9999999999
d0)
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
real(4), dimension(:), allocatable, save temp
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
dE dx *! Nuc Int sampling table d
subroutine ksamplin(a, b, alpha, beta, x)
dE dx *! Nuc Int sampling table g
! 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
◆ ccomptpath()
Definition at line 18 of file ccomptPath.f.
References d0, masele, and rndc().
Referenced by csampgintl().
32 real*8 cconst/2.7429630/
38 p=( (5.2*
g-2.)*
g +1. )*2.66666*cconst
40 p=( (1. - (
g+1.)*2/
g**2)*log(
g*2+1.) + .5 + 4./
g -
41 * 1./(
g*2+1.)**2/2 ) /
g * cconst
********************block data cblkHeavy ********************integer j data *HeavyG2symbol p
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
dE dx *! Nuc Int sampling table g