COSMOS v7.655  COSMOSv7655
(AirShowerMC)
Zcode.h
Go to the documentation of this file.
1 /*
2 c ptcl kind code; kindmx is the no. of observable ptcls
3 c klast; max ptcl code in the system.
4 c
5 */
6 const int kphoton = 1;
7 const int kelec = 2;
8 const int kmuon = 3;
9 const int kpion = 4;
10 const int kkaon = 5;
11 const int knuc = 6;
12 const int kneue = 7;
13 const int kneumu = 8;
14 
15 
16 
17 const int kdmes = 16;
18 
19 
20 
21 
22 
23 
24 const int kgnuc = 9;
25 const int kalfa = 10;
26 const int klibe = 11;
27 const int kcno = 12;
28 const int khvy = 13;
29 const int kvhvy = 14;
30 const int kiron = 15;
31 const int khvymax = kiron;
32 
33 
34 const int klambda = 18;
35 const int ksigma = 19;
36 const int kgzai = 20;
37 const int kbomega = 22;
38 const int ktriton = 17;
39 const int klambdac =21;
40 const int krare = 0;
41 const int kindmx = kbomega;
42 const int knnb = kindmx+1;
43 const int kddb = knnb+1;
44 const int krho = kddb+1;
45 const int komega =krho+1;
46 const int kphi = komega+1;
47 const int keta = kphi+1;
48 const int klast = keta;
49 // subcode
50 const int regptcl = -1;
51 const int antip = 1;
52 const int k0s = 4;
53 const int k0l = 5;
54 const int kneutron = regptcl;
55 const int kneutronb = antip;
56 const int kd0 = -8;
57 const int kd0b = -kd0;
58 const int kdirectg = 2;
59 const int kcasg = 3;
60 const int maxheavymassn = 56;
61 const int maxheavycharge = 26;
62 const int maxheavyg = 7;
63 /*
64  c kphoton: gamma ray
65  c kelec: electron, positiron
66  c kmuon: muon
67  c kpion: pion
68  c kkaon: kaon
69  c knuc: neucleon
70  c kneue: electron neutrino
71  c kneumu: muon neutrino
72  c kgnuc: general nucleus(A>=2.)
73  c kalfa: alpha (heliunm)
74  c klibe: Li, Be, B
75  c kcno: C, N, O
76  c khvy: heavy such as, Na/Mg/Si
77  c kvhvy: very heavy such as S/Cl/Ar
78  c kiron: iron group
79  c regptcl: particle index
80  c antip: anti-particle index
81  c krare: used to set very rare particle code
82  c which might come from imported soft.
83  c such as tau. They are neglected in
84  c Cosmos.
85 */
max ptcl codes in the kalfa
Definition: Zcode.h:2
const int maxheavycharge
Definition: Zcode.h:61
max ptcl codes in the kgzai
Definition: Zcode.h:2
max ptcl codes in the kcno
Definition: Zcode.h:2
max ptcl codes in the kseethru ! subcode integer k0l
Definition: Zcode.h:2
max ptcl codes in the kdmes
Definition: Zcode.h:2
max ptcl codes in the kgnuc
Definition: Zcode.h:2
max ptcl codes in the kseethru ! subcode integer k0s
Definition: Zcode.h:2
max ptcl codes in the kphi
Definition: Zcode.h:2
max ptcl codes in the knuc
Definition: Zcode.h:2
const int kphoton
Definition: Zcode.h:6
max ptcl codes in the klambdac
Definition: Zcode.h:2
max ptcl codes in the kkaon
Definition: Zcode.h:2
max ptcl codes in the kelec
Definition: Zcode.h:2
max ptcl codes in the kseethru ! subcode integer kdirectg
Definition: Zcode.h:2
max ptcl codes in the kneue
Definition: Zcode.h:2
max ptcl codes in the ktriton
Definition: Zcode.h:2
max ptcl codes in the klibe
Definition: Zcode.h:2
max ptcl codes in the komega
Definition: Zcode.h:2
max ptcl codes in the khvy
Definition: Zcode.h:2
max ptcl codes in the kseethru ! subcode integer regptcl
Definition: Zcode.h:2
max ptcl codes in the kseethru ! subcode integer kneutronb
Definition: Zcode.h:2
max ptcl codes in the kseethru ! subcode integer kneutron
Definition: Zcode.h:2
max ptcl codes in the kseethru ! subcode integer kcasg
Definition: Zcode.h:2
max ptcl codes in the kiron
Definition: Zcode.h:2
max ptcl codes in the klambda
Definition: Zcode.h:2
max ptcl codes in the krho
Definition: Zcode.h:2
max ptcl codes in the kneumu
Definition: Zcode.h:2
max ptcl codes in the knnb
Definition: Zcode.h:2
const int kindmx
Definition: Zcode.h:41
const int maxheavyg
Definition: Zcode.h:62
max ptcl codes in the kvhvy
Definition: Zcode.h:2
max ptcl codes in the kseethru ! subcode integer kd0
Definition: Zcode.h:2
max ptcl codes in the khvymax
Definition: Zcode.h:2
max ptcl codes in the keta
Definition: Zcode.h:2
const int maxheavymassn
Definition: Zcode.h:60
max ptcl codes in the kseethru ! subcode integer kd0b
Definition: Zcode.h:2
max ptcl codes in the klast
Definition: Zcode.h:2
max ptcl codes in the kseethru ! subcode integer antip
Definition: Zcode.h:2
max ptcl codes in the kpion
Definition: Zcode.h:2
max ptcl codes in the ksigma
Definition: Zcode.h:2
max ptcl codes in the kddb
Definition: Zcode.h:2
max ptcl codes in the kmuon
Definition: Zcode.h:2
max ptcl codes in the kbomega
Definition: Zcode.h:2
max ptcl codes in the krare
Definition: Zcode.h:2