5 #include <daqFormats.h>
8 typedef unsigned int u_int;
9 typedef unsigned short u_short;
10 typedef unsigned char u_char;
11 typedef unsigned long long int UINT64;
13 #define CMD2_PING 0x01
14 #define CMD2_DATA 0x02
15 #define CMD2_RELEASE 0x03
16 #define CMD2_RUN_DONE 0x04
18 #define CMD2_L3_RELEASE 0x06
19 #define CMD2_FUTURE_DATA 0x07
20 #define CMD2_FUTURE_RELEASE 0x08
21 #define CMD2_EMULATE_EVENT 0x09
22 #define CMD2_L4_DATA 0x10
23 #define CMD2_STREAMING_TRIGGER 0x11
26 #define EVBFLAG_RAW_DATA (1<<0)
27 #define EVBFLAG_FCF_DATA (1<<1)
28 #define EVBFLAG_HLT (1<<2)
31 #define EVBFLAG_DET_RELEASE (1<<5) // Released by DET
32 #define EVBFLAG_TIMEOUT (1<<6) // Timedout by EVB
33 #define EVBFLAG_BADBUILD (1<<7)
34 #define EVBFLAG_FUTURE_RELEASE (1<<8)
35 #define EVBFLAG_L4_PROCESSED (1<<9)
38 #define EVBFLAG_L1ABORT (1<<11)
39 #define EVBFLAG_L25ABORT (1<<12)
40 #define EVBFLAG_L25TIMEOUT (1<<13)
41 #define EVBFLAG_L3ABORT (1<<14)
55 u_short payload_words;
84 #define GB_PAYLOAD_VERSION 0xDA000003
87 u_int gbPayloadVersion;
110 u_int gbPayloadVersion;
132 u_int gbPayloadVersion;
222 #define EVB_SUMMARY_VERSION 3
227 UINT64 detectorsInRun;
228 float triggerFrequency;
235 UINT64 detectorsInRun;
241 u_int detectorsInRun;