Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
ppfx
src
Numi2Pdg.cpp
Go to the documentation of this file.
1
2
#include "
Numi2Pdg.h
"
3
4
Numi2Pdg::Numi2Pdg
(){
5
6
}
7
8
int
Numi2Pdg::GetPdg
(
int
numipart){
9
10
int
pdg
= 0;
11
12
switch
(numipart){
13
case
5:
14
pdg = -13;
break
;
15
case
6:
16
pdg = 13;
break
;
17
case
7:
18
pdg = 111;
break
;
19
case
8:
20
pdg = 211;
break
;
21
case
9:
22
pdg = -211;
break
;
23
case
10:
24
pdg = 130;
break
;
25
case
11:
26
pdg = 321;
break
;
27
case
12:
28
pdg = -321;
break
;
29
case
13:
30
pdg = 2112;
break
;
31
case
14:
32
pdg = 2212;
break
;
33
case
15:
34
pdg = -2212;
break
;
35
case
16:
36
pdg = 310;
break
;
37
case
17:
38
pdg = 221;
break
;
39
case
18:
40
pdg = 3122;
break
;
41
case
19:
42
pdg = 3222;
break
;
43
case
20:
44
pdg = 3212;
break
;
45
case
21:
46
pdg = 3112;
break
;
47
case
22:
48
pdg = 3322;
break
;
49
case
23:
50
pdg = 3312;
break
;
51
case
24:
52
pdg = 3334;
break
;
53
case
25:
54
pdg = -2112;
break
;
55
case
26:
56
pdg = -3122;
break
;
57
case
27:
58
pdg = -3112;
break
;
59
case
28:
60
pdg = -3212;
break
;
61
case
29:
62
pdg = -3222;
break
;
63
case
30:
64
pdg = -3322;
break
;
65
case
31:
66
pdg = -3312;
break
;
67
case
52:
68
pdg = -12;
break
;
69
case
53:
70
pdg = 12;
break
;
71
case
55:
72
pdg = -14;
break
;
73
case
56:
74
pdg = 14;
break
;
75
case
99:
76
pdg = 0;
break
;
77
}
78
79
return
pdg
;
80
81
}
82
83
Numi2Pdg::~Numi2Pdg
(){
84
85
}
86
Numi2Pdg::Numi2Pdg
Numi2Pdg()
Definition:
Numi2Pdg.cpp:4
Numi2Pdg::GetPdg
int GetPdg(int numipart)
Definition:
Numi2Pdg.cpp:8
Numi2Pdg.h
run_cnn_1class.pdg
pdg
Definition:
run_cnn_1class.py:54
Numi2Pdg::~Numi2Pdg
virtual ~Numi2Pdg()
Definition:
Numi2Pdg.cpp:83
Generated by
1.8.11