COSMOS v7.655  COSMOSv7655
(AirShowerMC)
cgzaiDecay.f
Go to the documentation of this file.
1 ! ******************************************************************
2 ! * *
3 ! * cgzaiDecay: gzai and anti gzai decay
4 ! * *
5 ! ******************************************************************
6 !
7  subroutine cgzaidecay(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  integer subcode ! of lambda
17  integer charge ! of pi
18 ! gzai- --> lambda + pi-
19 ! gzai-Bar --> lambda_bar + pi+
20 
21  charge = pj%subcode
22  subcode = pj%subcode
23 !
24  call cmkptc(kpion, regptcl, charge, a(1))
25  call cmkptc(klambda, subcode, 0, a(2))
26  call c2bdcy(pj, a(1), a(2))
27  np=2
28  end
29 
max ptcl codes in the kseethru ! subcode integer regptcl
Definition: Zcode.h:2
max ptcl codes in the klambda
Definition: Zcode.h:2
subroutine c2bdcy(p, p1, p2)
Definition: c2bdcy.f:44
subroutine cmkptc(code, subcode, charge, p)
Definition: cmkptc.f:15
subroutine cgzaidecay(pj, a, np)
Definition: cgzaiDecay.f:8
Definition: Zptcl.h:75
max ptcl codes in the kpion
Definition: Zcode.h:2