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

Go to the source code of this file.

Functions/Subroutines

subroutine cpcos2pxyz (cosa, p, pxyz)
 

Function/Subroutine Documentation

◆ cpcos2pxyz()

subroutine cpcos2pxyz ( real*8  cosa,
real*8  p,
type(fmom pxyz 
)

Definition at line 2 of file cpCos2pxyz.f.

References kcossn().

Referenced by ckmuneupidcy(), ckpieneudecay(), and cmuneudcy().

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
Definition: Zptcl.h:72
********************block data cblkHeavy ********************integer j data *HeavyG2symbol p
Definition: cblkHeavy.h:7
subroutine kcossn(cs, sn)
Definition: kcossn.f:13
Here is the call graph for this function:
Here is the caller graph for this function: