COSMOS v7.655
COSMOSv7655
(AirShowerMC)
csampFermiM.f
Go to the documentation of this file.
1
subroutine
csampfermim
(t)
2
implicit none
3
!---- include '../../Zmass.h'
4
#include "Zmass.h"
5
!---- include '../../Zptcl.h'
6
#include "Zptcl.h"
7
!
8
type
(
fmom
):: t
9
real*8
ef
10
real*8
u, ek, p, cs, sn, cst, snt
11
! sample fermi momentum and set 4 momentum in t
12
! Fermi(surface) momentum is 200 MeV
13
parameter
( ef=200.
e
-3**2/2/
masp
)
14
!
15
call
rndc
(u)
16
ek=ef*u
17
p=sqrt(ek*(ek+
masp
*2))
18
call
kcossn
(cs, sn)
19
call
rndc
(cst)
20
cst=cst*2-1.
21
snt=sqrt(1.-cst**2)
22
t%p(1) = p*snt*cs
23
t%p(2) = p*snt*sn
24
t%p(3) = p*cst
25
t%p(4) = ek+
masp
26
end
27
28
parameter
integer npitbl real *nx parameter(n=101, npitbl=46, nx=n-1) real *8 uconst
e
dE dx *! Nuc Int sampling table e
Definition:
cblkMuInt.h:130
rndc
subroutine rndc(u)
Definition:
rnd.f:91
fmom
Definition:
Zptcl.h:72
csampfermim
subroutine csampfermim(t)
Definition:
csampFermiM.f:2
kcossn
subroutine kcossn(cs, sn)
Definition:
kcossn.f:13
masp
masp
Definition:
Zmass.h:5
Particle
Event
Hacol
csampFermiM.f
Generated by
1.8.13