StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
defines.h
1 // detector numbers
2 #define BEMCMODULES 120
3 #define MAXDETBARREL 4
4 #define BTOW 1
5 #define BPRS 2
6 #define BSMDE 3
7 #define BSMDP 4
8 
9 #define STATUS_OK 1
10 #define CAP1 124
11 #define CAP2 125
12 
13 // Number of channels
14 #define BTOWCH 4800
15 #define BSMDCH 18000
16 
17 // number of crates
18 #define MAXCRATES 30
19 #define MAXSMDCRATES 8
20 #define MAXBPRSCRATES 4
21 #define NBEMCTRIGGERTOWER 300
22 #define NPATCHESPERCRATE 10
23 #define NTOWERSPERCRATE 160
24 
25 // raw data position in StEvent
26 #define BTOWBANK 0
27 #define BTOWHEADER 120
28 #define BTOWSIZE 4800
29 
30 #define BSMDOFFSET 1
31 #define BSMDHEADER 128
32 #define BSMDSIZE 4800
33 
34 #define BPRSOFFSET 9
35 #define BPRSHEADER 128
36 #define BPRSSIZE 4800
37 
38 // DAQ header specific information
39 #define BTOWTDCERROFFSET 30
40 #define BTOWCRATEOFFSET 90
41 #define BTOWBYTESUM 164
42 #define BTOWERRFLAG 0
43 #define BTOWNOTPRESENT 4095
44 #define SMDCAPACITOR 32
45 #define BTOWTOKENOFFSET 60