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

Go to the source code of this file.

Functions/Subroutines

subroutine csampneueemu (f)
 

Function/Subroutine Documentation

◆ csampneueemu()

subroutine csampneueemu ( real*8  f)

Definition at line 16 of file csampNeueEMu.f.

References rndc().

Referenced by cmuneudcy(), and csneumuemu().

16  implicit none
17  real*8 f
18 
19  real*8 u1, u2, u3, u4, ux, uy
20  call rndc(u1)
21  call rndc(u2)
22  call rndc(u3)
23  call rndc(u4)
24  ux = max(u1, u2)
25  uy = max(u3, u4)
26  if(ux .gt. uy) then
27  f=max( min(u1, u2), uy)
28  else
29  f=max( min(u3, u4), ux)
30  endif
subroutine rndc(u)
Definition: rnd.f:91
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: