Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SubevtConstants.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file SubevtConstants.h
1 #ifndef __SUBEVT_CONSTANTS_H
2 #define __SUBEVT_CONSTANTS_H
3 
4 /* the enum types for dump style */
5 #define DECIMAL 1
6 #define HEXADECIMAL 2
7 #define OCTAL 3
8 
9 /* Misc. values */
10 #define MAX_OUTLENGTH 40000
11 
12 // the header length value
13 #define SEVTHEADERLENGTH 4
14 #define PRDFHEADERLENGTH 6
15 
16 
17 
18 // ---------------------------------------------------------------------
19 // IDCRAW requests the subevent to be copied without any decoding
20 #define IDCRAW 0
21 
22 // ---------------------------------------------------------------------
23 // IDDGEN uses the standard decoding method imbedded in the subevent
24 // header in the new data format
25 #define IDDGEN 1
26 
27 // ---------------------------------------------------------------------
28 // IDHCPY requests only the subevent header (or the Event header) to be
29 // copied:
30 #define IDHCPY 2
31 
32 // ---------------------------------------------------------------------
33 // the next methods < 10 use what we consider standard methods by
34 // now, i.e., no scheme proprietary to one particular hardware brand
35 
36 #define ID1STR 3
37 #define IDCSTR 4
38 #define ID2EVT 5
39 #define ID4EVT 6
40 #define ID2SUP 7
41 #define IDRTCLK 9
42 
43 // ---------------------------------------------------------------------
44 // the next methods are for the hammond/g-2 board.
45 
46 #define IDHAMMONDSET 31
47 #define IDHAMMOND 32
48 
49 #define IDSAM 40
50 
51 #define IDMIZNHC 41
52 
53 #define IDDCFEM 51
54 #define IDTECFEM 52
55 
56 #define IDSIS3300 55
57 
58 #define IDCAENV792 56
59 #define IDCAENV785N 57
60 
61 #define IDRCFIFOB 58
62 
63 
64 
65 
66 
67 #endif
68