COSMOS v7.655
COSMOSv7655
(AirShowerMC)
cpCos2pxyz.f
Go to the documentation of this file.
1
subroutine
cpcos2pxyz
(cosa, p, pxyz)
2
implicit none
3
!---- include '../../Zptcl.h'
4
#include "Zptcl.h"
5
real*8
cosa, p
6
7
type
(
fmom
):: pxyz
8
real*8
cs, sn, tmp, sina
9
10
call
kcossn
(cs, sn)
11
tmp=1.- cosa**2
12
sina=sqrt(tmp)
13
pxyz%p(1) = sina*cs*p
14
pxyz%p(2) = sina*sn*p
15
pxyz%p(3) = cosa*p
16
end
fmom
Definition:
Zptcl.h:72
cpcos2pxyz
subroutine cpcos2pxyz(cosa, p, pxyz)
Definition:
cpCos2pxyz.f:2
kcossn
subroutine kcossn(cs, sn)
Definition:
kcossn.f:13
Particle
Event
Decay
cpCos2pxyz.f
Generated by
1.8.13