BmnRoot
26.10.0-19-g6979a6c6
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
uni_db_structures.h
Go to the documentation of this file.
1
#ifndef DB_STRUCTURES_H
2
#define DB_STRUCTURES_H
3
4
#include "
UniValue.h
"
5
#include "nlohmann/json.hpp"
6
7
#include <cstdint>
8
#include <cstring>
9
#include <string>
10
using namespace
std;
11
using
json = nlohmann::json;
12
13
// unique run number = period_number : run_number
14
struct
UniqueRunNumber
15
{
16
UniqueRunNumber
()
17
{
18
period_number
= 0;
19
run_number
= 0;
20
}
21
UniqueRunNumber
(
int
period_num,
int
run_num)
22
{
23
period_number
= period_num;
24
run_number
= run_num;
25
}
26
int
period_number
;
27
int
run_number
;
28
};
29
30
// enumeration 'enumValueType' is corresponding to 'parameter_type' member of the UniParameter class, types:
31
// 0 - boolean, 1 - integer, 2 - unsigned integer, 3 - double, 4 - string, 5 - binary, 6 - int+int,
32
// 7 - DCH mapping, 8 - GEM mapping, 9 - GEM pedestal mapping, 10 - trigger mapping, 11 - Lorentz shift,
33
// 12 - mapping with bool value (serial+channel+bool), 13 - mapping with int, 14 - mapping with double vector,
34
// 15 - alignment type, 16 - TDC INL values, 17 - value as JSON format
35
enum
enumValueType
:
unsigned
int
36
{
37
BoolType
= 0,
38
IntType
,
39
UIntType
,
40
DoubleType
,
41
StringType
,
42
BinaryType
,
43
IIType
,
// base types: 0 - 6
44
DchMapType
,
45
GemMapType
,
46
GemPedestalType
,
47
TriggerMapType
,
48
LorentzShiftType
,
// detector-dependent types: 7 - 11
49
MapBoolType
,
50
MapIntType
,
51
MapDVectorType
,
52
AlignmentType
,
53
TdcInlType
,
54
JsonType
,
// detector-dependent types: 12 - 17
55
UndefinedType
= 999
56
};
57
58
/** STRUCTURES for parameter storing corresponding enumValueType list **/
59
struct
BoolValue
:
public
UniValue
60
{
61
uint8_t
value
;
62
63
enumValueType
GetType
() {
return
BoolType
; }
64
size_t
GetStorageSize
() {
return
1; }
65
void
ReadValue
(
unsigned
char
* source) {
Read
(source,
value
); }
66
void
WriteValue
(
unsigned
char
* destination) {
Write
(destination,
value
); }
67
};
68
69
struct
IntValue
:
public
UniValue
70
{
71
int32_t
value
;
72
73
enumValueType
GetType
() {
return
IntType
; }
74
size_t
GetStorageSize
() {
return
4; }
75
void
ReadValue
(
unsigned
char
* source) {
Read
(source,
value
); }
76
void
WriteValue
(
unsigned
char
* destination) {
Write
(destination,
value
); }
77
};
78
79
struct
UIntValue
:
public
UniValue
80
{
81
uint32_t
value
;
82
83
enumValueType
GetType
() {
return
UIntType
; }
84
size_t
GetStorageSize
() {
return
4; }
85
void
ReadValue
(
unsigned
char
* source) {
Read
(source,
value
); }
86
void
WriteValue
(
unsigned
char
* destination) {
Write
(destination,
value
); }
87
};
88
89
struct
DoubleValue
:
public
UniValue
90
{
91
double
value
;
92
93
enumValueType
GetType
() {
return
DoubleType
; }
94
size_t
GetStorageSize
() {
return
8; }
95
void
ReadValue
(
unsigned
char
* source) {
Read
(source,
value
); }
96
void
WriteValue
(
unsigned
char
* destination) {
Write
(destination,
value
); }
97
};
98
99
struct
StringValue
:
public
UniValue
100
{
101
string
value
;
102
103
enumValueType
GetType
() {
return
StringType
; }
104
size_t
GetStorageSize
() {
return
value
.length() + 1; }
105
void
ReadValue
(
unsigned
char
* source) {
Read
(source,
value
); }
106
void
WriteValue
(
unsigned
char
* destination) {
Write
(destination,
value
); }
107
};
108
109
struct
BinaryValue
:
public
UniValue
110
{
111
uint64_t
size
;
112
unsigned
char
*
value
;
// char array is stored with the size variable (+8)
113
114
enumValueType
GetType
() {
return
BinaryType
; }
115
size_t
GetStorageSize
() {
return
size
+ 8; }
116
void
ReadValue
(
unsigned
char
* source) {
Read
(source,
value
,
size
); }
117
void
WriteValue
(
unsigned
char
* destination) {
Write
(destination,
value
,
size
); }
118
};
119
120
struct
IIValue
:
public
UniValue
121
{
122
int32_t
value1
;
123
int32_t
value2
;
124
125
enumValueType
GetType
() {
return
IIType
; }
126
size_t
GetStorageSize
() {
return
8; }
127
void
ReadValue
(
unsigned
char
* source)
128
{
129
Read
(source,
value1
);
130
Read
(source,
value2
);
131
}
132
void
WriteValue
(
unsigned
char
* destination)
133
{
134
Write
(destination,
value1
);
135
Write
(destination,
value2
);
136
}
137
};
138
139
struct
DchMapValue
:
public
UniValue
140
{
141
int32_t
plane
;
142
int32_t
group
;
143
uint32_t
crate
;
144
int32_t
slot
;
145
int32_t
channel_low
;
146
int32_t
channel_high
;
147
148
enumValueType
GetType
() {
return
DchMapType
; }
149
size_t
GetStorageSize
() {
return
24; }
150
void
ReadValue
(
unsigned
char
* source)
151
{
152
Read
(source,
plane
);
153
Read
(source,
group
);
154
Read
(source,
crate
);
155
Read
(source,
slot
);
156
Read
(source,
channel_low
);
157
Read
(source,
channel_high
);
158
}
159
void
WriteValue
(
unsigned
char
* destination)
160
{
161
Write
(destination,
plane
);
162
Write
(destination,
group
);
163
Write
(destination,
crate
);
164
Write
(destination,
slot
);
165
Write
(destination,
channel_low
);
166
Write
(destination,
channel_high
);
167
}
168
};
169
170
struct
GemMapValue
:
public
UniValue
171
{
172
uint32_t
serial
;
173
int32_t
id
;
174
int32_t
station
;
175
int32_t
channel_low
;
176
int32_t
channel_high
;
177
int32_t
hotZone
;
178
179
enumValueType
GetType
() {
return
GemMapType
; }
180
size_t
GetStorageSize
() {
return
24; }
181
void
ReadValue
(
unsigned
char
* source)
182
{
183
Read
(source,
serial
);
184
Read
(source,
id
);
185
Read
(source,
station
);
186
Read
(source,
channel_low
);
187
Read
(source,
channel_high
);
188
Read
(source,
hotZone
);
189
}
190
void
WriteValue
(
unsigned
char
* destination)
191
{
192
Write
(destination,
serial
);
193
Write
(destination,
id
);
194
Write
(destination,
station
);
195
Write
(destination,
channel_low
);
196
Write
(destination,
channel_high
);
197
Write
(destination,
hotZone
);
198
}
199
};
200
201
struct
GemPedestalValue
:
public
UniValue
202
{
203
uint32_t
serial
;
204
int32_t
channel
;
205
int32_t
pedestal
;
206
int32_t
noise
;
207
208
enumValueType
GetType
() {
return
GemPedestalType
; }
209
size_t
GetStorageSize
() {
return
16; }
210
void
ReadValue
(
unsigned
char
* source)
211
{
212
Read
(source,
serial
);
213
Read
(source,
channel
);
214
Read
(source,
pedestal
);
215
Read
(source,
noise
);
216
}
217
void
WriteValue
(
unsigned
char
* destination)
218
{
219
Write
(destination,
serial
);
220
Write
(destination,
channel
);
221
Write
(destination,
pedestal
);
222
Write
(destination,
noise
);
223
}
224
};
225
226
struct
TriggerMapValue
:
public
UniValue
227
{
228
uint32_t
serial
;
229
uint32_t
slot
;
230
int32_t
channel
;
231
232
enumValueType
GetType
() {
return
TriggerMapType
; }
233
size_t
GetStorageSize
() {
return
12; }
234
void
ReadValue
(
unsigned
char
* source)
235
{
236
Read
(source,
serial
);
237
Read
(source,
slot
);
238
Read
(source,
channel
);
239
}
240
void
WriteValue
(
unsigned
char
* destination)
241
{
242
Write
(destination,
serial
);
243
Write
(destination,
slot
);
244
Write
(destination,
channel
);
245
}
246
};
247
248
struct
MapBoolValue
:
public
UniValue
249
{
250
uint32_t
serial
;
251
int32_t
channel
;
252
uint8_t
value
;
253
254
enumValueType
GetType
() {
return
MapBoolType
; }
255
size_t
GetStorageSize
() {
return
9; }
256
void
ReadValue
(
unsigned
char
* source)
257
{
258
Read
(source,
serial
);
259
Read
(source,
channel
);
260
Read
(source,
value
);
261
}
262
void
WriteValue
(
unsigned
char
* destination)
263
{
264
Write
(destination,
serial
);
265
Write
(destination,
channel
);
266
Write
(destination,
value
);
267
}
268
};
269
270
struct
MapIntValue
:
public
UniValue
271
{
272
uint32_t
serial
;
273
int32_t
channel
;
274
int32_t
value
;
275
276
enumValueType
GetType
() {
return
MapIntType
; }
277
size_t
GetStorageSize
() {
return
12; }
278
void
ReadValue
(
unsigned
char
* source)
279
{
280
Read
(source,
serial
);
281
Read
(source,
channel
);
282
Read
(source,
value
);
283
}
284
void
WriteValue
(
unsigned
char
* destination)
285
{
286
Write
(destination,
serial
);
287
Write
(destination,
channel
);
288
Write
(destination,
value
);
289
}
290
};
291
292
struct
MapDVectorValue
:
public
UniValue
293
{
294
uint32_t
serial
;
295
int32_t
channel
;
296
vector<double>
value
;
// vector is stored with the size (+8)
297
298
enumValueType
GetType
() {
return
MapDVectorType
; }
299
size_t
GetStorageSize
() {
return
value
.size() * 8 + 16; }
// (value.size()*8+8) + 8
300
void
ReadValue
(
unsigned
char
* source)
301
{
302
Read
(source,
serial
);
303
Read
(source,
channel
);
304
Read
(source,
value
);
305
}
306
void
WriteValue
(
unsigned
char
* destination)
307
{
308
Write
(destination,
serial
);
309
Write
(destination,
channel
);
310
Write
(destination,
value
);
311
}
312
};
313
314
struct
LorentzShiftValue
:
public
UniValue
315
{
316
int32_t
number
;
317
double
ls
[3];
318
319
enumValueType
GetType
() {
return
LorentzShiftType
; }
320
size_t
GetStorageSize
() {
return
28; }
321
void
ReadValue
(
unsigned
char
* source)
322
{
323
Read
(source,
number
);
324
Read
(source,
ls
, 3);
325
}
326
void
WriteValue
(
unsigned
char
* destination)
327
{
328
Write
(destination,
number
);
329
Write
(destination,
ls
, 3);
330
}
331
};
332
333
struct
AlignmentValue
:
public
UniValue
334
{
335
uint8_t
station
;
336
uint8_t
module
;
337
double
value
[3];
338
339
enumValueType
GetType
() {
return
AlignmentType
; }
340
size_t
GetStorageSize
() {
return
26; }
341
void
ReadValue
(
unsigned
char
* source)
342
{
343
Read
(source,
station
);
344
Read
(source,
module
);
345
Read
(source,
value
, 3);
346
}
347
void
WriteValue
(
unsigned
char
* destination)
348
{
349
Write
(destination,
station
);
350
Write
(destination,
module
);
351
Write
(destination,
value
, 3);
352
}
353
};
354
355
struct
TdcInlValue
:
public
UniValue
356
{
357
uint32_t
serial
;
358
double
inl
[72][1024];
359
360
enumValueType
GetType
() {
return
TdcInlType
; }
361
size_t
GetStorageSize
() {
return
589828; }
362
void
ReadValue
(
unsigned
char
* source)
363
{
364
Read
(source,
serial
);
365
Read
(source,
inl
);
366
}
367
void
WriteValue
(
unsigned
char
* destination)
368
{
369
Write
(destination,
serial
);
370
Write
(destination,
inl
);
371
}
372
};
373
374
struct
JsonValue
:
public
UniValue
375
{
376
json
value
;
377
378
enumValueType
GetType
() {
return
JsonType
; }
379
size_t
GetStorageSize
() {
return
json::to_cbor(
value
).size() + 8; }
380
void
ReadValue
(
unsigned
char
* source) {
Read
(source,
value
); }
381
void
WriteValue
(
unsigned
char
* destination) {
Write
(destination,
value
); }
382
};
383
384
/*struct AlignmentValue : public UniValue
385
{
386
uint8_t n_stations;
387
uint8_t n_modules;
388
uint8_t n_space;
389
double*** value;
390
391
enumValueType GetType() { return AlignmentType; }
392
size_t GetStorageSize() { return n_stations*n_modules*n_space*8+3; }
393
void ReadValue(unsigned char* source) { Read(source, value, n_stations, n_modules, n_space); }
394
void WriteValue(unsigned char* destination) { Write(destination, value, n_stations, n_modules, n_space); }
395
};*/
396
397
#ifndef CREATE_PARAMETER_VALUE_H
398
#define CREATE_PARAMETER_VALUE_H
399
// global function for creating value according to a given type name (parameter_type)
400
inline
UniValue
*
CreateParameterValue
(
enumValueType
parameter_type)
401
{
402
switch
(parameter_type) {
403
case
BoolType
:
404
return
new
BoolValue
;
405
case
IntType
:
406
return
new
IntValue
;
407
case
UIntType
:
408
return
new
UIntValue
;
409
case
DoubleType
:
410
return
new
DoubleValue
;
411
case
StringType
:
412
return
new
StringValue
;
413
case
BinaryType
:
414
return
new
BinaryValue
;
415
case
IIType
:
416
return
new
IIValue
;
417
case
DchMapType
:
418
return
new
DchMapValue
;
419
case
GemMapType
:
420
return
new
GemMapValue
;
421
case
GemPedestalType
:
422
return
new
GemPedestalValue
;
423
case
TriggerMapType
:
424
return
new
TriggerMapValue
;
425
case
LorentzShiftType
:
426
return
new
LorentzShiftValue
;
427
case
MapBoolType
:
428
return
new
MapBoolValue
;
429
case
MapIntType
:
430
return
new
MapIntValue
;
431
case
MapDVectorType
:
432
return
new
MapDVectorValue
;
433
case
AlignmentType
:
434
return
new
AlignmentValue
;
435
case
TdcInlType
:
436
return
new
TdcInlValue
;
437
case
JsonType
:
438
return
new
JsonValue
;
439
default
:
440
break
;
441
}
442
443
cout <<
"ERROR: The given value type is not supported!"
<< endl;
444
return
nullptr
;
445
}
446
#endif
447
448
#endif
// DB_STRUCTURES_H
UniValue.h
AlignmentValue
Definition
uni_db_structures.h:334
AlignmentValue::WriteValue
void WriteValue(unsigned char *destination)
Definition
uni_db_structures.h:347
AlignmentValue::station
uint8_t station
Definition
uni_db_structures.h:335
AlignmentValue::GetType
enumValueType GetType()
Definition
uni_db_structures.h:339
AlignmentValue::value
double value[3]
Definition
uni_db_structures.h:337
AlignmentValue::GetStorageSize
size_t GetStorageSize()
Definition
uni_db_structures.h:340
AlignmentValue::module
uint8_t module
Definition
uni_db_structures.h:336
AlignmentValue::ReadValue
void ReadValue(unsigned char *source)
Definition
uni_db_structures.h:341
BinaryValue
Definition
uni_db_structures.h:110
BinaryValue::WriteValue
void WriteValue(unsigned char *destination)
Definition
uni_db_structures.h:117
BinaryValue::GetStorageSize
size_t GetStorageSize()
Definition
uni_db_structures.h:115
BinaryValue::ReadValue
void ReadValue(unsigned char *source)
Definition
uni_db_structures.h:116
BinaryValue::size
uint64_t size
Definition
uni_db_structures.h:111
BinaryValue::value
unsigned char * value
Definition
uni_db_structures.h:112
BinaryValue::GetType
enumValueType GetType()
Definition
uni_db_structures.h:114
BoolValue
STRUCTURES for parameter storing corresponding enumValueType list.
Definition
uni_db_structures.h:60
BoolValue::value
uint8_t value
Definition
uni_db_structures.h:61
BoolValue::ReadValue
void ReadValue(unsigned char *source)
Definition
uni_db_structures.h:65
BoolValue::WriteValue
void WriteValue(unsigned char *destination)
Definition
uni_db_structures.h:66
BoolValue::GetType
enumValueType GetType()
Definition
uni_db_structures.h:63
BoolValue::GetStorageSize
size_t GetStorageSize()
Definition
uni_db_structures.h:64
DchMapValue
Definition
uni_db_structures.h:140
DchMapValue::GetType
enumValueType GetType()
Definition
uni_db_structures.h:148
DchMapValue::channel_high
int32_t channel_high
Definition
uni_db_structures.h:146
DchMapValue::WriteValue
void WriteValue(unsigned char *destination)
Definition
uni_db_structures.h:159
DchMapValue::ReadValue
void ReadValue(unsigned char *source)
Definition
uni_db_structures.h:150
DchMapValue::crate
uint32_t crate
Definition
uni_db_structures.h:143
DchMapValue::GetStorageSize
size_t GetStorageSize()
Definition
uni_db_structures.h:149
DchMapValue::group
int32_t group
Definition
uni_db_structures.h:142
DchMapValue::slot
int32_t slot
Definition
uni_db_structures.h:144
DchMapValue::channel_low
int32_t channel_low
Definition
uni_db_structures.h:145
DchMapValue::plane
int32_t plane
Definition
uni_db_structures.h:141
DoubleValue
Definition
uni_db_structures.h:90
DoubleValue::WriteValue
void WriteValue(unsigned char *destination)
Definition
uni_db_structures.h:96
DoubleValue::value
double value
Definition
uni_db_structures.h:91
DoubleValue::ReadValue
void ReadValue(unsigned char *source)
Definition
uni_db_structures.h:95
DoubleValue::GetStorageSize
size_t GetStorageSize()
Definition
uni_db_structures.h:94
DoubleValue::GetType
enumValueType GetType()
Definition
uni_db_structures.h:93
GemMapValue
Definition
uni_db_structures.h:171
GemMapValue::hotZone
int32_t hotZone
Definition
uni_db_structures.h:177
GemMapValue::WriteValue
void WriteValue(unsigned char *destination)
Definition
uni_db_structures.h:190
GemMapValue::ReadValue
void ReadValue(unsigned char *source)
Definition
uni_db_structures.h:181
GemMapValue::station
int32_t station
Definition
uni_db_structures.h:174
GemMapValue::serial
uint32_t serial
Definition
uni_db_structures.h:172
GemMapValue::GetStorageSize
size_t GetStorageSize()
Definition
uni_db_structures.h:180
GemMapValue::GetType
enumValueType GetType()
Definition
uni_db_structures.h:179
GemMapValue::channel_high
int32_t channel_high
Definition
uni_db_structures.h:176
GemMapValue::channel_low
int32_t channel_low
Definition
uni_db_structures.h:175
GemMapValue::id
int32_t id
Definition
uni_db_structures.h:173
GemPedestalValue
Definition
uni_db_structures.h:202
GemPedestalValue::WriteValue
void WriteValue(unsigned char *destination)
Definition
uni_db_structures.h:217
GemPedestalValue::noise
int32_t noise
Definition
uni_db_structures.h:206
GemPedestalValue::GetType
enumValueType GetType()
Definition
uni_db_structures.h:208
GemPedestalValue::channel
int32_t channel
Definition
uni_db_structures.h:204
GemPedestalValue::ReadValue
void ReadValue(unsigned char *source)
Definition
uni_db_structures.h:210
GemPedestalValue::GetStorageSize
size_t GetStorageSize()
Definition
uni_db_structures.h:209
GemPedestalValue::pedestal
int32_t pedestal
Definition
uni_db_structures.h:205
GemPedestalValue::serial
uint32_t serial
Definition
uni_db_structures.h:203
IIValue
Definition
uni_db_structures.h:121
IIValue::GetType
enumValueType GetType()
Definition
uni_db_structures.h:125
IIValue::value1
int32_t value1
Definition
uni_db_structures.h:122
IIValue::WriteValue
void WriteValue(unsigned char *destination)
Definition
uni_db_structures.h:132
IIValue::value2
int32_t value2
Definition
uni_db_structures.h:123
IIValue::ReadValue
void ReadValue(unsigned char *source)
Definition
uni_db_structures.h:127
IIValue::GetStorageSize
size_t GetStorageSize()
Definition
uni_db_structures.h:126
IntValue
Definition
uni_db_structures.h:70
IntValue::WriteValue
void WriteValue(unsigned char *destination)
Definition
uni_db_structures.h:76
IntValue::GetType
enumValueType GetType()
Definition
uni_db_structures.h:73
IntValue::ReadValue
void ReadValue(unsigned char *source)
Definition
uni_db_structures.h:75
IntValue::GetStorageSize
size_t GetStorageSize()
Definition
uni_db_structures.h:74
IntValue::value
int32_t value
Definition
uni_db_structures.h:71
JsonValue
Definition
uni_db_structures.h:375
JsonValue::GetType
enumValueType GetType()
Definition
uni_db_structures.h:378
JsonValue::GetStorageSize
size_t GetStorageSize()
Definition
uni_db_structures.h:379
JsonValue::value
json value
Definition
uni_db_structures.h:376
JsonValue::ReadValue
void ReadValue(unsigned char *source)
Definition
uni_db_structures.h:380
JsonValue::WriteValue
void WriteValue(unsigned char *destination)
Definition
uni_db_structures.h:381
LorentzShiftValue
Definition
uni_db_structures.h:315
LorentzShiftValue::GetStorageSize
size_t GetStorageSize()
Definition
uni_db_structures.h:320
LorentzShiftValue::number
int32_t number
Definition
uni_db_structures.h:316
LorentzShiftValue::GetType
enumValueType GetType()
Definition
uni_db_structures.h:319
LorentzShiftValue::WriteValue
void WriteValue(unsigned char *destination)
Definition
uni_db_structures.h:326
LorentzShiftValue::ls
double ls[3]
Definition
uni_db_structures.h:317
LorentzShiftValue::ReadValue
void ReadValue(unsigned char *source)
Definition
uni_db_structures.h:321
MapBoolValue
Definition
uni_db_structures.h:249
MapBoolValue::GetType
enumValueType GetType()
Definition
uni_db_structures.h:254
MapBoolValue::GetStorageSize
size_t GetStorageSize()
Definition
uni_db_structures.h:255
MapBoolValue::channel
int32_t channel
Definition
uni_db_structures.h:251
MapBoolValue::value
uint8_t value
Definition
uni_db_structures.h:252
MapBoolValue::ReadValue
void ReadValue(unsigned char *source)
Definition
uni_db_structures.h:256
MapBoolValue::serial
uint32_t serial
Definition
uni_db_structures.h:250
MapBoolValue::WriteValue
void WriteValue(unsigned char *destination)
Definition
uni_db_structures.h:262
MapDVectorValue
Definition
uni_db_structures.h:293
MapDVectorValue::GetStorageSize
size_t GetStorageSize()
Definition
uni_db_structures.h:299
MapDVectorValue::GetType
enumValueType GetType()
Definition
uni_db_structures.h:298
MapDVectorValue::channel
int32_t channel
Definition
uni_db_structures.h:295
MapDVectorValue::serial
uint32_t serial
Definition
uni_db_structures.h:294
MapDVectorValue::value
vector< double > value
Definition
uni_db_structures.h:296
MapDVectorValue::ReadValue
void ReadValue(unsigned char *source)
Definition
uni_db_structures.h:300
MapDVectorValue::WriteValue
void WriteValue(unsigned char *destination)
Definition
uni_db_structures.h:306
MapIntValue
Definition
uni_db_structures.h:271
MapIntValue::GetType
enumValueType GetType()
Definition
uni_db_structures.h:276
MapIntValue::value
int32_t value
Definition
uni_db_structures.h:274
MapIntValue::serial
uint32_t serial
Definition
uni_db_structures.h:272
MapIntValue::ReadValue
void ReadValue(unsigned char *source)
Definition
uni_db_structures.h:278
MapIntValue::channel
int32_t channel
Definition
uni_db_structures.h:273
MapIntValue::WriteValue
void WriteValue(unsigned char *destination)
Definition
uni_db_structures.h:284
MapIntValue::GetStorageSize
size_t GetStorageSize()
Definition
uni_db_structures.h:277
StringValue
Definition
uni_db_structures.h:100
StringValue::ReadValue
void ReadValue(unsigned char *source)
Definition
uni_db_structures.h:105
StringValue::GetStorageSize
size_t GetStorageSize()
Definition
uni_db_structures.h:104
StringValue::value
string value
Definition
uni_db_structures.h:101
StringValue::WriteValue
void WriteValue(unsigned char *destination)
Definition
uni_db_structures.h:106
StringValue::GetType
enumValueType GetType()
Definition
uni_db_structures.h:103
TdcInlValue
Definition
uni_db_structures.h:356
TdcInlValue::WriteValue
void WriteValue(unsigned char *destination)
Definition
uni_db_structures.h:367
TdcInlValue::serial
uint32_t serial
Definition
uni_db_structures.h:357
TdcInlValue::GetType
enumValueType GetType()
Definition
uni_db_structures.h:360
TdcInlValue::GetStorageSize
size_t GetStorageSize()
Definition
uni_db_structures.h:361
TdcInlValue::inl
double inl[72][1024]
Definition
uni_db_structures.h:358
TdcInlValue::ReadValue
void ReadValue(unsigned char *source)
Definition
uni_db_structures.h:362
TriggerMapValue
Definition
uni_db_structures.h:227
TriggerMapValue::WriteValue
void WriteValue(unsigned char *destination)
Definition
uni_db_structures.h:240
TriggerMapValue::serial
uint32_t serial
Definition
uni_db_structures.h:228
TriggerMapValue::slot
uint32_t slot
Definition
uni_db_structures.h:229
TriggerMapValue::GetStorageSize
size_t GetStorageSize()
Definition
uni_db_structures.h:233
TriggerMapValue::channel
int32_t channel
Definition
uni_db_structures.h:230
TriggerMapValue::ReadValue
void ReadValue(unsigned char *source)
Definition
uni_db_structures.h:234
TriggerMapValue::GetType
enumValueType GetType()
Definition
uni_db_structures.h:232
UIntValue
Definition
uni_db_structures.h:80
UIntValue::WriteValue
void WriteValue(unsigned char *destination)
Definition
uni_db_structures.h:86
UIntValue::value
uint32_t value
Definition
uni_db_structures.h:81
UIntValue::GetType
enumValueType GetType()
Definition
uni_db_structures.h:83
UIntValue::GetStorageSize
size_t GetStorageSize()
Definition
uni_db_structures.h:84
UIntValue::ReadValue
void ReadValue(unsigned char *source)
Definition
uni_db_structures.h:85
UniValue
Definition
UniValue.h:29
UniValue::Write
void Write(unsigned char *&destination, uint8_t &value)
Definition
UniValue.h:42
UniValue::Read
void Read(unsigned char *&source, uint8_t &value)
Definition
UniValue.h:37
UniqueRunNumber::UniqueRunNumber
UniqueRunNumber()
Definition
uni_db_structures.h:16
UniqueRunNumber::run_number
int run_number
Definition
uni_db_structures.h:27
UniqueRunNumber::UniqueRunNumber
UniqueRunNumber(int period_num, int run_num)
Definition
uni_db_structures.h:21
UniqueRunNumber::period_number
int period_number
Definition
uni_db_structures.h:26
enumValueType
enumValueType
Definition
uni_db_structures.h:36
DchMapType
@ DchMapType
Definition
uni_db_structures.h:44
GemMapType
@ GemMapType
Definition
uni_db_structures.h:45
GemPedestalType
@ GemPedestalType
Definition
uni_db_structures.h:46
AlignmentType
@ AlignmentType
Definition
uni_db_structures.h:52
IntType
@ IntType
Definition
uni_db_structures.h:38
MapBoolType
@ MapBoolType
Definition
uni_db_structures.h:49
BinaryType
@ BinaryType
Definition
uni_db_structures.h:42
TriggerMapType
@ TriggerMapType
Definition
uni_db_structures.h:47
MapDVectorType
@ MapDVectorType
Definition
uni_db_structures.h:51
StringType
@ StringType
Definition
uni_db_structures.h:41
LorentzShiftType
@ LorentzShiftType
Definition
uni_db_structures.h:48
UndefinedType
@ UndefinedType
Definition
uni_db_structures.h:55
TdcInlType
@ TdcInlType
Definition
uni_db_structures.h:53
BoolType
@ BoolType
Definition
uni_db_structures.h:37
DoubleType
@ DoubleType
Definition
uni_db_structures.h:40
IIType
@ IIType
Definition
uni_db_structures.h:43
UIntType
@ UIntType
Definition
uni_db_structures.h:39
JsonType
@ JsonType
Definition
uni_db_structures.h:54
MapIntType
@ MapIntType
Definition
uni_db_structures.h:50
CreateParameterValue
UniValue * CreateParameterValue(enumValueType parameter_type)
Definition
uni_db_structures.h:400
database
uni_db
uni_db_structures.h
Generated on
for BmnRoot by
1.17.0