forked from sPHENIX-Collaboration/rcdaq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SubevtConstants.h
68 lines (44 loc) · 1.56 KB
/
SubevtConstants.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#ifndef __SUBEVT_CONSTANTS_H
#define __SUBEVT_CONSTANTS_H
/* the enum types for dump style */
#define DECIMAL 1
#define HEXADECIMAL 2
#define OCTAL 3
/* Misc. values */
#define MAX_OUTLENGTH 40000
// the header length value
#define SEVTHEADERLENGTH 4
#define PRDFHEADERLENGTH 6
// ---------------------------------------------------------------------
// IDCRAW requests the subevent to be copied without any decoding
#define IDCRAW 0
// ---------------------------------------------------------------------
// IDDGEN uses the standard decoding method imbedded in the subevent
// header in the new data format
#define IDDGEN 1
// ---------------------------------------------------------------------
// IDHCPY requests only the subevent header (or the Event header) to be
// copied:
#define IDHCPY 2
// ---------------------------------------------------------------------
// the next methods < 10 use what we consider standard methods by
// now, i.e., no scheme proprietary to one particular hardware brand
#define ID1STR 3
#define IDCSTR 4
#define ID2EVT 5
#define ID4EVT 6
#define ID2SUP 7
#define IDRTCLK 9
// ---------------------------------------------------------------------
// the next methods are for the hammond/g-2 board.
#define IDHAMMONDSET 31
#define IDHAMMOND 32
#define IDSAM 40
#define IDMIZNHC 41
#define IDDCFEM 51
#define IDTECFEM 52
#define IDSIS3300 55
#define IDCAENV792 56
#define IDCAENV785N 57
#define IDRCFIFOB 58
#endif