BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/MdcTrkRecon/MdcTrkRecon/MdcSegPatterns.h
Go to the documentation of this file.
1// MdcSegPatterns.h -- holds list of allowed hits and ambiguity patterns for
2// track segments in a superlayer. A set of 8 wires is grouped
3// together and the hits characterized by a bit-mapped number given by:
4//
5// 7 6 5 outer layer of superlayer
6// 4 3
7// 2
8// 1 0 inner layer of superlayer
9//
10// Bits corresponding to a hit wire are set to 1; others are 0. There are
11// therefore 256 integers representing the 256 possible combinations of
12// hit wires. Only certain combinations of hits represent possible tracks --
13// there are 8 hit combinations for tracks that span the group from inner
14// radius to outer (numbered 0 to 8):
15//
16// X X X X X X X X
17// X X X X X X X X
18// X X X X X X X X
19// X X X X X X X X
20//
21// Similarly, there are 22 allowed three-hit combinations; two of these
22// are dropped to avoid double-counting between overlapping groups.
23//
24// For each 4(3)-hit pattern there are 16(8) possible L-R ambiguity
25// combinations; for each pattern, some are allowed. Allowed ambig patterns
26// have ambigPatt4[pattern #][ambigPatt #] = 1.
27
28// Interface Dependencies ----------------------------------------------
29
30#ifndef MDCSEGPATTERNS_H
31#define MDCSEGPATTERNS_H
32
33// End Interface Dependencies -----------------------------------------
34
35// Class definition//
37public:
38 unsigned patt4[8]; // bit-mapped list of allowed patterns
39 unsigned patt3[20];
40 int npatt4[256];
41 int npatt3[256];
42 int *allowedPatt4[256]; // pointers to lists of 4-hit allowed patterns
43 int *allowedPatt3[256]; // " " " " 3-hit " "
44 int **ambigPatt4;
45 int **ambigPatt3;
46 MdcSegPatterns(int useAllAmbig);
48
49};
50#endif
51
52
53
54
55
56
57