BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcxSegPatterns.cxx
Go to the documentation of this file.
2
3const int MdcxSegPatterns::patt4_size = 14;
4const unsigned MdcxSegPatterns::patt4[14] = {
5 0x2222, 0x4242, 0x2221, 0x4244, 0x2242, 0x4222, 0x2244,
6 0x4221, 0x2248, 0x8221, 0x1244, 0x8441, 0x8421, 0x1144
7};
8
9const int MdcxSegPatterns::patt3_size = 20;
10const unsigned MdcxSegPatterns::patt3[20] = {
11 0x0221, 0x4201, 0x4220, 0x0222, 0x4202, 0x0242, 0x4240,
12 0x0244, 0x4204, 0x2201, 0x2220, 0x2202, 0x2240, 0x2204,
13 0x4021, 0x4022, 0x2042, 0x2044, 0x2021, 0x2022
14};
15
16const int MdcxSegPatterns::ambPat4_size[14] = {
17 4, 4, 3, 3, 3, 3, 4, 4, 2, 2, 4, 2, 1, 4
18};
19const int MdcxSegPatterns::ambigPatt4[14][4] = {
20 { 1, 3, 0, 2 }, //0x2222
21 { 2, 0, 3, 1 }, //0x4242
22 { 3, 1, 2 }, //0x2221
23 { 0, 2, 1 }, //0x4244
24 { 3, 2, 1 }, //0x2242
25 { 0, 1, 2 }, //0x4222
26 { 1, 3, 0, 2 }, //0x2244
27 { 2, 0, 3, 1 }, //0x4221
28 { 1, 0, 3, 2 }, //0x2248 add amb 3 2009-10-20
29 { 0, 2 }, //0x8221
30 { 1, 3 }, //0x1244
31 { 2, 3 }, //0x8441
32 { 2 }, //0x8421
33 { 1, 3, 2, 0 } //0x1144 add amb 3 2009-10-20
34};
35
36const int MdcxSegPatterns::ambPat3_size[20] = {
37 4, 4, 4, 3, 2, 3, 3, 4, 2, 2, 3, 2, 4, 4, 4, 2, 2, 4, 2, 2
38};
39const int MdcxSegPatterns::ambigPatt3[20][4] = {
40 { 2, 0, 3, 1 }, //0x0221
41 { 2, 0, 3, 1 }, //0x4201
42 { 2, 0, 3, 1 }, //0x4220
43 { 0, 1, 2 }, //0x0222
44 { 1, 0 }, //0x4202
45 { 3, 2, 1 }, //0x0242
46 { 0, 1, 2 }, //0x4240
47 { 1, 3, 0, 2 }, //0x0244
48 { 0, 2 }, //0x4204
49 { 3, 1 }, //0x2201
50 { 3, 2, 1 }, //0x2220
51 { 1, 3 }, //0x2202
52 { 1, 3, 0, 2 }, //0x2240
53 { 1, 3, 0, 2 }, //0x2204
54 { 2, 0, 3, 1 }, //0x4021
55 { 1, 0 }, //0x4022
56 { 3, 2 }, //0x2042
57 { 1, 3, 0, 2 }, //0x2044
58 { 3, 2 }, //0x2021
59 { 0, 1 } //0x2022
60};
61
62const int MdcxSegPatterns::wirePat4[14][4] = {
63 { 2, 2, 2, 2 }, //0x2222
64 { 3, 2, 3, 2 }, //0x4242
65 { 2, 2, 2, 1 }, //0x2221
66 { 3, 2, 3, 3 }, //0x4244
67 { 2, 2, 3, 2 }, //0x2242
68 { 3, 2, 2, 2 }, //0x4222
69 { 2, 2, 3, 3 }, //0x2244
70 { 3, 2, 2, 1 }, //0x4221
71 { 2, 2, 3, 4 }, //0x2248
72 { 4, 2, 2, 1 }, //0x8221
73 { 1, 2, 3, 3 }, //0x1244
74 { 4, 3, 3, 1 }, //0x8441
75 { 4, 3, 2, 1 }, //0x8421
76 { 1, 1, 3, 3 } //0x1144
77};
78
79const int MdcxSegPatterns::wirePat3[20][4] = {
80 { 0, 2, 2, 1 }, //0x0221
81 { 3, 2, 0, 1 }, //0x4201
82 { 3, 2, 2, 0 }, //0x4220
83 { 0, 2, 2, 2 }, //0x0222
84 { 3, 2, 0, 2 }, //0x4202
85 { 0, 2, 3, 2 }, //0x0242
86 { 3, 2, 3, 0 }, //0x4240
87 { 0, 2, 3, 3 }, //0x0244
88 { 3, 2, 0, 3 }, //0x4204
89 { 2, 2, 0, 1 }, //0x2201
90 { 2, 2, 2, 0 }, //0x2220
91 { 2, 2, 0, 2 }, //0x2202
92 { 2, 2, 3, 0 }, //0x2240
93 { 2, 2, 0, 3 }, //0x2204
94 { 3, 0, 2, 1 }, //0x4021
95 { 3, 0, 2, 2 }, //0x4022
96 { 2, 0, 3, 2 }, //0x2042
97 { 2, 0, 3, 3 }, //0x2044
98 { 2, 0, 2, 1 }, //0x2021
99 { 2, 0, 2, 2 } //0x2022
100};
101
static const unsigned patt4[14]
static const int ambigPatt4[14][4]
static const int wirePat4[14][4]
static const int ambigPatt3[20][4]
static const int patt4_size
static const int ambPat3_size[20]
static const int ambPat4_size[14]
static const unsigned patt3[20]
static const int wirePat3[20][4]
static const int patt3_size