COSMOS v7.655  COSMOSv7655
(AirShowerMC)
csNeumuEMu.f File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine csneumuemu (f)
 

Function/Subroutine Documentation

◆ csneumuemu()

subroutine csneumuemu ( real*8  f)

Definition at line 16 of file csNeumuEMu.f.

References csampneueemu(), and rndc().

Referenced by cmuneudcy().

16  implicit none
17  real*8 f
18  real*8 u, u1, u2, u3
19  call rndc(u)
20  if(u .lt. 0.333333) then
21 ! first term
22  call csampneueemu(f)
23  else
24 ! second term. take max of 3 u's.
25  call rndc(u1)
26  call rndc(u2)
27  call rndc(u3)
28  f= max(u1, u2, u3)
29  endif
subroutine rndc(u)
Definition: rnd.f:91
subroutine csampneueemu(f)
Definition: csampNeueEMu.f:16
dE dx *! Nuc Int sampling table f
Definition: cblkMuInt.h:130
Here is the call graph for this function:
Here is the caller graph for this function: