forked from decibelcooper/proio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
proio.proto
53 lines (43 loc) · 1.05 KB
/
proio.proto
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
syntax = "proto3";
package proio.model;
option go_package = "github.com/decibelcooper/proio/go-proio/model";
option java_package = "proio";
option java_outer_classname = "Model";
// Warning: do not change any fields without understanding how the changes
// affect the proio libraries. Any field may be added without affecting the
// libraries.
message EventHeader {
uint32 version = 1;
uint64 runNumber = 2;
uint64 eventNumber = 3;
uint64 timeStamp = 4;
string detector = 5;
Params params = 6;
message CollectionHeader {
string name = 1;
uint32 id = 2;
string type = 3;
uint32 payloadSize = 4;
}
repeated CollectionHeader payloadCollections = 7;
uint32 nUniqueIDs = 8;
string description = 16;
}
message IntParams {
repeated int32 array = 1;
}
message FloatParams {
repeated float array = 1;
}
message StringParams {
repeated string array = 1;
}
message Params {
map<string, IntParams> ints = 1;
map<string, FloatParams> floats = 2;
map<string, StringParams> strings = 3;
}
message Reference {
uint32 collID = 1;
uint32 entryID = 2;
}