StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
svt_rb_map.h
1 /*
2  Tonko, 7/19/00
3 
4  This board maps the DAQ's numbering scheme (sector,RB) to what
5  SVT expects.
6  Normally, they are the same but during the first phase of SVT
7  test they may differ depending which fiber is plugged into which
8  DAQ RB.
9 */
10 #ifndef SVT_RB_MAP_H_
11 
12 /*
13  The index of this table is the DAQ's RB number generated as
14 
15  (svt_sector*6)+rb where svt_sector 0..3, RB 0..5
16 
17  while the output is SVTs RB count from 0..23.
18  Value 255 represents "not valid".
19  Again, normally this map is 1:1 i.e. index 13 has value 13.
20 */
21 
22 static unsigned char svt_rb_map[24] = {
23  0,12,255,255,255,255,
24  255,255,255,255,255,255,
25  255,255,255,255,255,255,
26  255,255,255,255,255,255
27 } ;
28 
29 #define SVT_RB_MAP_H_
30 #endif