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

Go to the source code of this file.

Functions/Subroutines

subroutine cgzaidecay (pj, a, np)
 

Function/Subroutine Documentation

◆ cgzaidecay()

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

Definition at line 8 of file cgzaiDecay.f.

References c2bdcy(), cmkptc(), klambda, kpion, and regptcl.

Referenced by cintegzai(), 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  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
max ptcl codes in the kseethru ! subcode integer regptcl
Definition: Zcode.h:2
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: