Go to the source code of this file.
◆ canihiea()
Definition at line 60 of file canihiPath.f.
References masele, rndc(), and true.
Referenced by canihi().
69 real*8 g, gc, bc, sints, sint2
71 real*8 u, egs,
x,
x1,
x2,
a, aq, c2, a22
72 real*8 geqv1/1.00000001
d0/
83 x1 =1./(
a + sqrt(
g**2 -1.))
92 if( count .gt. 100 )
then 93 write(0,*)
'****** loop in canihiea' 94 write(0,*)
'****** ein=',ein
95 write(0,*)
' ein=Me forced ' 101 if(u .le. (aq -
a**2*
x -1./
x)/a22)
goto 100
111 bc=sqrt((
g-1.)/(
g+1.))
113 if(
g .gt. geqv1)
then 115 u =max(min( (eg1/gc/egs -1.0)/bc, 1.0
d0), 0.
d0)
122 sint2= (egs/eg1)**2 *sints
123 if(sint2 .gt. 1.
d0)
then 126 cos1 = sqrt(1.
d0 - sint2)
129 sint2= (egs/eg2)**2 * sints
130 if( sint2 .gt. 1.
d0)
then 133 cos2=sqrt(1.
d0 - sint2)
139 if(bc-u .lt. 0.)
then block data include Zlatfit h c fitting region data x1(1)/0.03/
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
dE dx *! Nuc Int sampling table g
block data include Zlatfit h c fitting region data x2(1)/0.5/data x1(2)/0.3/
! 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
◆ canihipath()
subroutine canihipath |
( |
real*8 |
ein, |
|
|
real*8 |
prob, |
|
|
real*8 |
path |
|
) |
| |
Definition at line 14 of file canihiPath.f.
References e, masele, and rndc().
Referenced by csampeintl().
21 real*8 g, csc, g2m, srg2m
30 real*8 geqv1/1.00000001
d0/
34 if(
g .ge. geqv1)
then 35 if(
g .gt. 2.5 .and.
g .lt. 25.)
then 37 csc=(((((0.9382535
e-07*
g-.8791180
e-05)*
g+0.3338919
e-03)*
g 39 * +0.7308900
e-01)*
g-.4516664)*
g+ 1.534200
40 elseif(
g .lt. 2.5)
then 43 csc=( ((
g+4.)*
g+1.)/g2m * log(
g+srg2m) - (
g+3.)/srg2m)
dE dx *! Nuc Int sampling table e
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
dE dx *! Nuc Int sampling table g