Belle II Software development
constants.py
1
8import enum
9
10
11class EventCode(enum.IntEnum):
12 """
13 Event code number for channel identification. The value should be
14 read from mDST with variable ``eventExtraInfo(EventCode)``.
15 """
16
17 eetautau = 1
18
19 mumumumu = 2
20
21 mumutautau = 3
22
23 tautautautau = 4
24
25 eeKK = 5
26
27 eepp = 6
28
29 eepipi = 7
30
31 pipipi0ISR = 8
32
33 KKISR = 9
34
35 K0K0barISR = 10
36
37 pipiISR = 11
38
39 pipipipiISR = 12
40
41 pipipi0pi0ISR = 13
42
43 pipietaISR = 14
44
45 ppbarISR = 15
46
47
48EventCode_CrossSection = {
49 # The cross sections here are in nb.
50 EventCode.eetautau: 0.01836,
51 EventCode.mumumumu: 0.0003512,
52 EventCode.mumutautau: 0.0001441,
53 EventCode.tautautautau: 0.0000002114,
54 EventCode.eeKK: 0.0798,
55 EventCode.eepp: 0.0117,
56 EventCode.eepipi: 1.895,
57 EventCode.pipipi0ISR: 0.02637,
58 EventCode.pipipipiISR: 0.02586,
59 EventCode.pipipi0pi0ISR: 0.03922,
60 EventCode.pipietaISR: 0.00264,
61 EventCode.KKISR: 0.01631,
62 EventCode.K0K0barISR: 0.008951,
63 EventCode.ppbarISR: 0.0006176,
64 EventCode.pipiISR: 0.1710,
65}
66
67
68__eventCodes = [e for e in (EventCode)]
69EventCodes = tuple(__eventCodes)
70
71EventCodes_hhISR = (
72 EventCode.pipipi0ISR,
73 EventCode.pipipipiISR,
74 EventCode.pipipi0pi0ISR,
75 EventCode.pipietaISR,
76 EventCode.KKISR,
77 EventCode.K0K0barISR,
78 EventCode.ppbarISR,
79 EventCode.pipiISR)
80
81__eventCodes_llXX = [e for e in EventCodes if e not in EventCodes_hhISR]
82EventCodes_llXX = tuple(__eventCodes_llXX)
83
84EventCodes_taus = (EventCode.eetautau, EventCode.mumutautau, EventCode.tautautautau)