Go to the source code of this file.
◆ cprcsampe()
subroutine cprcsampe |
( |
real*8 |
Eg, |
|
|
real*8 |
Ee |
|
) |
| |
Definition at line 31 of file cPrCSamp.f.
References d0, masele, rndc(), and true.
Referenced by cpairenergy().
39 real*8 x, u, u1, u2, u3, term1, term2
42 term1 = cscrmain/12.
d0 43 term2 = cscrc1 - cscrmain/4.
d0 46 if(u .lt. term2/(term1+term2))
then 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
! 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
◆ cprcsampp()
subroutine cprcsampp |
( |
real*8 |
Eg, |
|
|
real*8 |
prob |
|
) |
| |
Definition at line 2 of file cPrCSamp.f.
References d, d0, and parameter().
Referenced by cpairpath().
12 * r0 = 2.81794092
d-15,
13 * alpha = 1./137.0359895
d0,
14 * m2tomb = 1./1.0
d-31,
15 * ar02 = alpha * r0**2 * m2tomb
23 * ( cscrc1 - cscrmain/6.
d0)
integer npitbl real *nx parameter(n=101, npitbl=46, nx=n-1) real *8 uconst
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
dE dx *! Nuc Int sampling table d