-
Notifications
You must be signed in to change notification settings - Fork 104
/
ext_h101_psp.h
143 lines (131 loc) · 8.31 KB
/
ext_h101_psp.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
/********************************************************
*
* Structure for ext_data_fetch_event() filling.
*
* Do not edit - automatically generated.
*/
#ifndef __GUARD_H101_PSP_EXT_H101_PSP_H__
#define __GUARD_H101_PSP_EXT_H101_PSP_H__
#ifndef __CINT__
#include <stdint.h>
#else
/* For CINT (old version trouble with stdint.h): */
#ifndef uint32_t
typedef unsigned int uint32_t;
typedef int int32_t;
#endif
#endif
#ifndef EXT_STRUCT_CTRL
#define EXT_STRUCT_CTRL(x)
#endif
/********************************************************
*
* Plain structure (layout as ntuple/root file):
*/
typedef struct EXT_STR_h101_PSP_t
{
/* RAW */
uint32_t PSPX1F1S1E /* [0,32] */;
uint32_t PSPX1F1S1EI[32 EXT_STRUCT_CTRL(PSPX1F1S1E)] /* [1,32] */;
uint32_t PSPX1F1S1Ev[32 EXT_STRUCT_CTRL(PSPX1F1S1E)] /* [0,65535] */;
uint32_t PSPX1F1S2E /* [0,32] */;
uint32_t PSPX1F1S2EI[32 EXT_STRUCT_CTRL(PSPX1F1S2E)] /* [1,32] */;
uint32_t PSPX1F1S2Ev[32 EXT_STRUCT_CTRL(PSPX1F1S2E)] /* [0,65535] */;
uint32_t PSPX1F2S1E /* [0,32] */;
uint32_t PSPX1F2S1EI[32 EXT_STRUCT_CTRL(PSPX1F2S1E)] /* [1,32] */;
uint32_t PSPX1F2S1Ev[32 EXT_STRUCT_CTRL(PSPX1F2S1E)] /* [0,65535] */;
uint32_t PSPX1F2S2E /* [0,32] */;
uint32_t PSPX1F2S2EI[32 EXT_STRUCT_CTRL(PSPX1F2S2E)] /* [1,32] */;
uint32_t PSPX1F2S2Ev[32 EXT_STRUCT_CTRL(PSPX1F2S2E)] /* [0,65535] */;
uint32_t PSPX2F1S1E /* [0,32] */;
uint32_t PSPX2F1S1EI[32 EXT_STRUCT_CTRL(PSPX2F1S1E)] /* [1,32] */;
uint32_t PSPX2F1S1Ev[32 EXT_STRUCT_CTRL(PSPX2F1S1E)] /* [0,65535] */;
uint32_t PSPX2F1S2E /* [0,32] */;
uint32_t PSPX2F1S2EI[32 EXT_STRUCT_CTRL(PSPX2F1S2E)] /* [1,32] */;
uint32_t PSPX2F1S2Ev[32 EXT_STRUCT_CTRL(PSPX2F1S2E)] /* [0,65535] */;
uint32_t PSPX2F2S1E /* [0,32] */;
uint32_t PSPX2F2S1EI[32 EXT_STRUCT_CTRL(PSPX2F2S1E)] /* [1,32] */;
uint32_t PSPX2F2S1Ev[32 EXT_STRUCT_CTRL(PSPX2F2S1E)] /* [0,65535] */;
uint32_t PSPX2F2S2E /* [0,32] */;
uint32_t PSPX2F2S2EI[32 EXT_STRUCT_CTRL(PSPX2F2S2E)] /* [1,32] */;
uint32_t PSPX2F2S2Ev[32 EXT_STRUCT_CTRL(PSPX2F2S2E)] /* [0,65535] */;
uint32_t PSPX3F1S1E /* [0,32] */;
uint32_t PSPX3F1S1EI[32 EXT_STRUCT_CTRL(PSPX3F1S1E)] /* [1,32] */;
uint32_t PSPX3F1S1Ev[32 EXT_STRUCT_CTRL(PSPX3F1S1E)] /* [0,65535] */;
uint32_t PSPX3F1S2E /* [0,32] */;
uint32_t PSPX3F1S2EI[32 EXT_STRUCT_CTRL(PSPX3F1S2E)] /* [1,32] */;
uint32_t PSPX3F1S2Ev[32 EXT_STRUCT_CTRL(PSPX3F1S2E)] /* [0,65535] */;
uint32_t PSPX3F2S1E /* [0,32] */;
uint32_t PSPX3F2S1EI[32 EXT_STRUCT_CTRL(PSPX3F2S1E)] /* [1,32] */;
uint32_t PSPX3F2S1Ev[32 EXT_STRUCT_CTRL(PSPX3F2S1E)] /* [0,65535] */;
uint32_t PSPX3F2S2E /* [0,32] */;
uint32_t PSPX3F2S2EI[32 EXT_STRUCT_CTRL(PSPX3F2S2E)] /* [1,32] */;
uint32_t PSPX3F2S2Ev[32 EXT_STRUCT_CTRL(PSPX3F2S2E)] /* [0,65535] */;
} EXT_STR_h101_PSP;
/********************************************************
*
* Structure with multiple levels of arrays (partially)
* recovered (recommended):
*/
typedef struct EXT_STR_h101_PSP_onion_t
{
/* RAW */
struct
{
struct
{
struct
{
uint32_t E;
uint32_t EI[32 /* E */];
uint32_t Ev[32 /* E */];
} S[2];
} F[2];
} PSPX[3];
} EXT_STR_h101_PSP_onion;
/*******************************************************/
#define EXT_STR_h101_PSP_ITEMS_INFO(ok, si, offset, struct_t, printerr) \
do \
{ \
ok = 1; \
/* RAW */ \
EXT_STR_ITEM_INFO_LIM(ok, si, offset, struct_t, printerr, PSPX1F1S1E, UINT32, "PSPX1F1S1E", 32); \
EXT_STR_ITEM_INFO_ZZP(ok, si, offset, struct_t, printerr, PSPX1F1S1EI, UINT32, "PSPX1F1S1EI", "PSPX1F1S1E"); \
EXT_STR_ITEM_INFO_ZZP(ok, si, offset, struct_t, printerr, PSPX1F1S1Ev, UINT32, "PSPX1F1S1Ev", "PSPX1F1S1E"); \
EXT_STR_ITEM_INFO_LIM(ok, si, offset, struct_t, printerr, PSPX1F1S2E, UINT32, "PSPX1F1S2E", 32); \
EXT_STR_ITEM_INFO_ZZP(ok, si, offset, struct_t, printerr, PSPX1F1S2EI, UINT32, "PSPX1F1S2EI", "PSPX1F1S2E"); \
EXT_STR_ITEM_INFO_ZZP(ok, si, offset, struct_t, printerr, PSPX1F1S2Ev, UINT32, "PSPX1F1S2Ev", "PSPX1F1S2E"); \
EXT_STR_ITEM_INFO_LIM(ok, si, offset, struct_t, printerr, PSPX1F2S1E, UINT32, "PSPX1F2S1E", 32); \
EXT_STR_ITEM_INFO_ZZP(ok, si, offset, struct_t, printerr, PSPX1F2S1EI, UINT32, "PSPX1F2S1EI", "PSPX1F2S1E"); \
EXT_STR_ITEM_INFO_ZZP(ok, si, offset, struct_t, printerr, PSPX1F2S1Ev, UINT32, "PSPX1F2S1Ev", "PSPX1F2S1E"); \
EXT_STR_ITEM_INFO_LIM(ok, si, offset, struct_t, printerr, PSPX1F2S2E, UINT32, "PSPX1F2S2E", 32); \
EXT_STR_ITEM_INFO_ZZP(ok, si, offset, struct_t, printerr, PSPX1F2S2EI, UINT32, "PSPX1F2S2EI", "PSPX1F2S2E"); \
EXT_STR_ITEM_INFO_ZZP(ok, si, offset, struct_t, printerr, PSPX1F2S2Ev, UINT32, "PSPX1F2S2Ev", "PSPX1F2S2E"); \
EXT_STR_ITEM_INFO_LIM(ok, si, offset, struct_t, printerr, PSPX2F1S1E, UINT32, "PSPX2F1S1E", 32); \
EXT_STR_ITEM_INFO_ZZP(ok, si, offset, struct_t, printerr, PSPX2F1S1EI, UINT32, "PSPX2F1S1EI", "PSPX2F1S1E"); \
EXT_STR_ITEM_INFO_ZZP(ok, si, offset, struct_t, printerr, PSPX2F1S1Ev, UINT32, "PSPX2F1S1Ev", "PSPX2F1S1E"); \
EXT_STR_ITEM_INFO_LIM(ok, si, offset, struct_t, printerr, PSPX2F1S2E, UINT32, "PSPX2F1S2E", 32); \
EXT_STR_ITEM_INFO_ZZP(ok, si, offset, struct_t, printerr, PSPX2F1S2EI, UINT32, "PSPX2F1S2EI", "PSPX2F1S2E"); \
EXT_STR_ITEM_INFO_ZZP(ok, si, offset, struct_t, printerr, PSPX2F1S2Ev, UINT32, "PSPX2F1S2Ev", "PSPX2F1S2E"); \
EXT_STR_ITEM_INFO_LIM(ok, si, offset, struct_t, printerr, PSPX2F2S1E, UINT32, "PSPX2F2S1E", 32); \
EXT_STR_ITEM_INFO_ZZP(ok, si, offset, struct_t, printerr, PSPX2F2S1EI, UINT32, "PSPX2F2S1EI", "PSPX2F2S1E"); \
EXT_STR_ITEM_INFO_ZZP(ok, si, offset, struct_t, printerr, PSPX2F2S1Ev, UINT32, "PSPX2F2S1Ev", "PSPX2F2S1E"); \
EXT_STR_ITEM_INFO_LIM(ok, si, offset, struct_t, printerr, PSPX2F2S2E, UINT32, "PSPX2F2S2E", 32); \
EXT_STR_ITEM_INFO_ZZP(ok, si, offset, struct_t, printerr, PSPX2F2S2EI, UINT32, "PSPX2F2S2EI", "PSPX2F2S2E"); \
EXT_STR_ITEM_INFO_ZZP(ok, si, offset, struct_t, printerr, PSPX2F2S2Ev, UINT32, "PSPX2F2S2Ev", "PSPX2F2S2E"); \
EXT_STR_ITEM_INFO_LIM(ok, si, offset, struct_t, printerr, PSPX3F1S1E, UINT32, "PSPX3F1S1E", 32); \
EXT_STR_ITEM_INFO_ZZP(ok, si, offset, struct_t, printerr, PSPX3F1S1EI, UINT32, "PSPX3F1S1EI", "PSPX3F1S1E"); \
EXT_STR_ITEM_INFO_ZZP(ok, si, offset, struct_t, printerr, PSPX3F1S1Ev, UINT32, "PSPX3F1S1Ev", "PSPX3F1S1E"); \
EXT_STR_ITEM_INFO_LIM(ok, si, offset, struct_t, printerr, PSPX3F1S2E, UINT32, "PSPX3F1S2E", 32); \
EXT_STR_ITEM_INFO_ZZP(ok, si, offset, struct_t, printerr, PSPX3F1S2EI, UINT32, "PSPX3F1S2EI", "PSPX3F1S2E"); \
EXT_STR_ITEM_INFO_ZZP(ok, si, offset, struct_t, printerr, PSPX3F1S2Ev, UINT32, "PSPX3F1S2Ev", "PSPX3F1S2E"); \
EXT_STR_ITEM_INFO_LIM(ok, si, offset, struct_t, printerr, PSPX3F2S1E, UINT32, "PSPX3F2S1E", 32); \
EXT_STR_ITEM_INFO_ZZP(ok, si, offset, struct_t, printerr, PSPX3F2S1EI, UINT32, "PSPX3F2S1EI", "PSPX3F2S1E"); \
EXT_STR_ITEM_INFO_ZZP(ok, si, offset, struct_t, printerr, PSPX3F2S1Ev, UINT32, "PSPX3F2S1Ev", "PSPX3F2S1E"); \
EXT_STR_ITEM_INFO_LIM(ok, si, offset, struct_t, printerr, PSPX3F2S2E, UINT32, "PSPX3F2S2E", 32); \
EXT_STR_ITEM_INFO_ZZP(ok, si, offset, struct_t, printerr, PSPX3F2S2EI, UINT32, "PSPX3F2S2EI", "PSPX3F2S2E"); \
EXT_STR_ITEM_INFO_ZZP(ok, si, offset, struct_t, printerr, PSPX3F2S2Ev, UINT32, "PSPX3F2S2Ev", "PSPX3F2S2E"); \
\
} while (0);
#endif /*__GUARD_H101_PSP_EXT_H101_PSP_H__*/
/*******************************************************/