COSMOS v7.655  COSMOSv7655
(AirShowerMC)
cbomegaDcy.f
Go to the documentation of this file.
1 ! ******************************************************************
2 ! * *
3 ! * cbomegaDcy: Omega (baryon) decay.
4 ! * *
5 ! ******************************************************************
6 !
7  subroutine cbomegadcy(pj, a, np)
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
45  end
46 
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
subroutine cbomegadcy(pj, a, np)
Definition: cbomegaDcy.f:8
subroutine c2bdcy(p, p1, p2)
Definition: c2bdcy.f:44
subroutine cmkptc(code, subcode, charge, p)
Definition: cmkptc.f:15
Definition: Zptcl.h:75
max ptcl codes in the kpion
Definition: Zcode.h:2