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

Go to the source code of this file.

Functions/Subroutines

subroutine cbomegadcy (pj, a, np)
 

Function/Subroutine Documentation

◆ cbomegadcy()

subroutine cbomegadcy ( type(ptcl pj,
type(ptcl), dimension(*)  a,
integer  np 
)

Definition at line 8 of file cbomegaDcy.f.

References c2bdcy(), cmkptc(), d0, kgzai, kkaon, klambda, kpion, and rndc().

Referenced by cintebomega(), and cmydecay().

8  implicit none
9 #include "Zptcl.h"
10 #include "Zcode.h"
11 
12  integer np !output. no. of ptcls produced
13  type(ptcl):: pj ! input. kaon
14  type(ptcl):: a(*) ! output. produced ptcls
15 !
16 ! Omega- ---> Lambda + K- (67.8%)
17 ! ---> gzai0 + pi- (23.6%)
18 ! ---> gzai- + pi0 ( 8.6 %)
19  integer subcode !
20  integer charge !
21  real*8 u
22 
23  charge = pj%subcode
24  subcode = pj%subcode
25  call rndc(u)
26  if(u .lt. 0.678d0) then
27 ! lambda + K
28  call cmkptc(klambda, subcode, 0, a(1))
29  call cmkptc(kkaon, -subcode, subcode, a(2))
30  call c2bdcy(pj, a(1), a(2))
31  np=2
32  elseif(u .lt. 0.914d0) then
33 ! gzai0 + pi
34  call cmkptc(kgzai, subcode, 0, a(1))
35  call cmkptc(kpion, -subcode, subcode, a(2))
36  call c2bdcy(pj, a(1), a(2))
37  np=2
38  else
39 ! gzai- + pi0 ( 8.6 %)
40  call cmkptc(kgzai, subcode, subcode, a(1))
41  call cmkptc(kpion, 0, 0, a(2))
42  call c2bdcy(pj, a(1), a(2))
43  np=2
44  endif
max ptcl codes in the kgzai
Definition: Zcode.h:2
max ptcl codes in the kkaon
Definition: Zcode.h:2
subroutine rndc(u)
Definition: rnd.f:91
block data cblkEvhnp ! currently usable models data RegMdls ad *special data *Cekaon d0
Definition: cblkEvhnp.h:5
max ptcl codes in the klambda
Definition: Zcode.h:2
*Zfirst p fm *Zfirst p Zfirst p Zfirst p *Zfirst p charge
Definition: ZavoidUnionMap.h:1
subroutine c2bdcy(p, p1, p2)
Definition: c2bdcy.f:44
real(4), save a
Definition: cNRLAtmos.f:20
subroutine cmkptc(code, subcode, charge, p)
Definition: cmkptc.f:15
Definition: Zptcl.h:75
max ptcl codes in the kpion
Definition: Zcode.h:2
*Zfirst p fm *Zfirst p Zfirst p Zfirst p subcode
Definition: ZavoidUnionMap.h:1
Here is the call graph for this function:
Here is the caller graph for this function: