StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
RTS
include
FTP
padfinder.h
1
#ifndef _FTP_PADFINDER_H_
2
#define _FTP_PADFINDER_H_
3
4
/*
5
This file specifies the Receiver to Mezzanine to daqrow relation.
6
It is done in the following way.
7
Each FTPC has 30 sectors which consichts out of 2 daqrows and 320 dapads.
8
The counting of the daqrow within the physical row is linear i.e.
9
10
row 1 == daqrows 1-6
11
row 2 == daqrows 7-12
12
....
13
14
Within a daqrow the daqpads are arraged linear from 1-160.
15
The pads within a row a counted counter clockwise for both FTPC by
16
looking in direction of the positive z-axis (west) of the STAR coordinate system.
17
18
IT'S NOT SYMETRIC IN RESPECT TO THE COLLISION POINT !!!!!!!!
19
20
This means that pad 1 of each row of the west FTPC starts on sectors 1 7 13 19 25
21
and for the east FTPC at sectors 6 12 18 24 30.
22
23
Revision 1.0 10/05/2000 A.S.
24
25
*/
26
27
#ifndef FTP_RB
28
#define FTP_RB 20
29
#define FTP_MZ 3
30
#endif
31
32
#define FTP_NDAQROWS 2
33
34
static
unsigned
char
ftpc_daqrow[FTP_RB][FTP_MZ][FTP_NDAQROWS] =
35
{
36
//ftpc west 1
37
{
38
{1,7},
39
{13,19},
40
{25,31}
41
},
42
43
{
44
{37,43},
45
{49,55},
46
{50,56}
47
},
48
49
{
50
{2,8},
51
{14,20},
52
{26,32}
53
},
54
55
{
56
{38,44},
57
{39,45},
58
{51,57}
59
},
60
61
{
62
{3,9},
63
{15,21},
64
{27,33}
65
},
66
67
{
68
{4,10},
69
{16,22},
70
{28,34}
71
},
72
73
{
74
{40,46},
75
{52,58},
76
{53,59}
77
},
78
79
{
80
{5,11},
81
{17,23},
82
{29,35}
83
},
84
85
{
86
{41,47},
87
{42,48},
88
{54,60}
89
},
90
91
{
92
{6,12},
93
{18,24},
94
{30,36}
95
},
96
97
//ftpc east 2
98
99
{
100
{6,12},
101
{18,24},
102
{30,36}
103
},
104
105
{
106
{42,48},
107
{54,60},
108
{53,59}
109
},
110
111
{
112
{5,11},
113
{17,23},
114
{29,35}
115
},
116
117
{
118
{41,47},
119
{40,46},
120
{52,58}
121
},
122
123
{
124
{4,10},
125
{16,22},
126
{28,34}
127
},
128
129
{
130
{3,9},
131
{15,21},
132
{27,33}
133
},
134
135
{
136
{39,45},
137
{51,57},
138
{50,56}
139
},
140
141
{
142
{2,8},
143
{14,20},
144
{26,32}
145
},
146
147
{
148
{38,44},
149
{37,43},
150
{49,55}
151
},
152
153
{
154
{1,7},
155
{13,19},
156
{25,31}
157
}
158
159
};
160
161
162
#endif
Generated by
1.8.5