Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SubevtStructures.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file SubevtStructures.h
1 #ifndef __SUBEVTSTRUCTURES_H__
2 #define __SUBEVTSTRUCTURES_H__
3 
4 #include "SubevtConstants.h"
5 
6 typedef struct subevt_data
7  {
8  int sub_length;
9  short sub_id;
10  short sub_type;
11  short sub_decoding;
12  short sub_padding;
13  short reserved[2];
14  int data;
15  } *subevtdata_ptr;
16 
17 typedef struct packet_data
18  {
20 
21  // char hdrversion;
22  // char hdrlength;
23  // short status;
24  int hdrinfo;
25 
26  int sub_id;
27 
28  short debug_length;
29  short error_length;
30 
31  /* char structure; */
32  /* char numDescWds; */
33  /* char endianism; */
34  /* char sub_padding; */
36 
37  short sub_decoding;
38  short sub_type;
39 
40  int data;
41  } *packetdata_ptr;
42 
43 #endif /* __SUBEVTSTRUCTURES_H__ */