FEDRA emulsion software from the OPERA Collaboration
dbpred_ds.h
Go to the documentation of this file.
1#ifndef _DB_PREDICTIONS_DATA_STRUCTURES_
2#define _DB_PREDICTIONS_DATA_STRUCTURES_
3
4#pragma pack(push)
5#pragma pack(1)
6
7#include "id.h"
8
9#define DBP_TRACK_SECTION 1
10#define DBP_EVENT_SECTION 2
11
12#define DBP_DATA_BYTES 0x30
13#define DBP_HEADER_BYTES 0x50
14
15#define DBP_HEADER_TYPE 0x1
16#define DBP_MAX_ADDITIONAL_DATA_SIZE 32
17#define DBP_ADDITIONAL_DATA_NAME_LEN 16
18
19#define DBP_TYPE_INT 0
20#define DBP_TYPE_SHORT 1
21#define DBP_TYPE_CHAR 2
22#define DBP_TYPE_FLOAT 3
23#define DBP_TYPE_DOUBLE 4
24
25typedef struct
26{
29 int Count;
31 struct
32 {
33 int Type;
37
38typedef struct
39{
41 union
42 {
43 int Int;
44 short Short;
45 char Char;
46 float Float;
47 double Double;
48 boolean Bool;
51
52typedef struct
53{
57
58#pragma pack(pop)
59
60#endif
#define DBP_ADDITIONAL_DATA_NAME_LEN
Definition: dbpred_ds.h:17
#define DBP_MAX_ADDITIONAL_DATA_SIZE
Definition: dbpred_ds.h:16
Definition: dbpred_ds.h:39
float Float
Definition: dbpred_ds.h:46
short Short
Definition: dbpred_ds.h:44
int Int
Definition: dbpred_ds.h:43
double Double
Definition: dbpred_ds.h:47
Identifier ID
Definition: dbpred_ds.h:40
boolean Bool
Definition: dbpred_ds.h:48
char Char
Definition: dbpred_ds.h:45
Definition: dbpred_ds.h:26
Identifier ID
Definition: dbpred_ds.h:28
int AdditionalDataSize
Definition: dbpred_ds.h:30
int Count
Definition: dbpred_ds.h:29
IO_Header Type
Definition: dbpred_ds.h:27
int Type
Definition: dbpred_ds.h:33
Definition: dbpred_ds.h:53
DBPred_TracksHeader Hdr
Definition: dbpred_ds.h:54
DBPred_Track * pTracks
Definition: dbpred_ds.h:55
Definition: id.h:13
Definition: AcqPlateChanger.h:31