forked from decibelcooper/proio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlcio.proto
355 lines (317 loc) · 6.57 KB
/
lcio.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
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
syntax = "proto3";
package proio.model.lcio;
option go_package = "github.com/decibelcooper/proio/go-proio/model/lcio";
option java_package = "proio.model";
option java_outer_classname = "Lcio";
import "proio/model/proio.proto";
message ParticleID {
float likelihood = 1;
int32 type = 2;
int32 PDG = 3;
int32 algType = 4;
repeated float params = 5;
}
// DATA MODEL MESSAGES
// Each message type must be accompanied by one with the identical name
// suffixed with Collection with an "entries" field. Both message and it's
// colleciton message must have the field "id".
message MCParticle {
uint32 id = 1;
repeated Reference parents = 2;
repeated Reference children = 3;
int32 PDG = 4;
repeated double vertex = 5;
float time = 6;
repeated double p = 7;
double mass = 8;
float charge = 9;
repeated double PEndPoint = 10;
repeated float spin = 11;
repeated int32 colorFlow = 12;
int32 genStatus = 13;
uint32 simStatus = 14;
}
message MCParticleCollection {
uint32 id = 1;
uint32 flags = 2;
Params params = 3;
repeated MCParticle entries = 4;
}
message SimTrackerHit {
uint32 id = 1;
int32 cellID0 = 2;
int32 cellID1 = 3;
repeated double pos = 4;
float EDep = 5;
float time = 6;
Reference mc = 7;
repeated float p = 8;
float pathLength = 9;
int32 quality = 10;
}
message SimTrackerHitCollection {
uint32 id = 1;
uint32 flags = 2;
Params params = 3;
repeated SimTrackerHit entries = 4;
}
message TrackerRawData {
uint32 id = 1;
int32 cellID0 = 2;
int32 cellID1 = 3;
int32 time = 4;
repeated uint32 ADCs = 5;
}
message TrackerRawDataCollection {
uint32 id = 1;
uint32 flags = 2;
Params params = 3;
repeated TrackerRawData entries = 4;
}
message TrackerData {
uint32 id = 1;
int32 cellID0 = 2;
int32 cellID1 = 3;
float time = 4;
repeated float charges = 5;
}
message TrackerDataCollection {
uint32 id = 1;
uint32 flags = 2;
Params params = 3;
repeated TrackerData entries = 4;
}
message TrackerHit {
uint32 id = 1;
int32 cellID0 = 2;
int32 cellID1 = 3;
int32 type = 4;
repeated double pos = 5;
repeated double cov = 6;
float EDep = 7;
float EDepErr = 8;
float time = 9;
int32 quality = 10;
repeated Reference rawHits = 11;
}
message TrackerHitCollection {
uint32 id = 1;
uint32 flags = 2;
Params params = 3;
repeated TrackerHit entries = 4;
}
message TrackerPulse {
uint32 id = 1;
int32 cellID0 = 2;
int32 cellID1 = 3;
float time = 4;
float charge = 5;
repeated float cov = 6;
int32 quality = 7;
Reference TPC = 8;
}
message TrackerPulseCollection {
uint32 id = 1;
uint32 flags = 2;
Params params = 3;
repeated TrackerPulse entries = 4;
}
message TrackerHitPlane {
uint32 id = 1;
int32 cellID0 = 2;
int32 cellID1 = 3;
int32 type = 4;
repeated double pos = 5;
repeated float U = 6;
repeated float V = 7;
float dU = 8;
float dV = 9;
float EDep = 10;
float EDepErr = 11;
float time = 12;
int32 quality = 13;
repeated Reference rawHits = 14;
}
message TrackerHitPlaneCollection {
uint32 id = 1;
uint32 flags = 2;
Params params = 3;
repeated TrackerHitPlane entries = 4;
}
message TrackerHitZCylinder {
uint32 id = 1;
int32 cellID0 = 2;
int32 cellID1 = 3;
int32 type = 4;
repeated double pos = 5;
repeated float center = 6;
float dRPhi = 7;
float dZ = 8;
float EDep = 9;
float EDepErr = 10;
float time = 11;
int32 quality = 12;
repeated Reference rawHits = 13;
}
message TrackerHitZCylinderCollection {
uint32 id = 1;
uint32 flags = 2;
Params params = 3;
repeated TrackerHitZCylinder entries = 4;
}
message Track {
uint32 id = 1;
int32 type = 2;
float chi2 = 3;
int32 NDF = 4;
float dEdx = 5;
float dEdxErr = 6;
float radius = 7;
repeated int32 subDetHits = 8;
message TrackState {
int32 loc = 1;
float d0 = 2;
float phi = 3;
float omega = 4;
float z0 = 5;
float tanL = 6;
repeated float cov = 7;
repeated float ref = 8;
}
repeated TrackState states = 9;
repeated Reference hits = 10;
repeated Reference tracks = 11;
}
message TrackCollection {
uint32 id = 1;
uint32 flags = 2;
Params params = 3;
repeated Track entries = 4;
}
message SimCalorimeterHit {
uint32 id = 1;
Params params = 2;
int32 cellID0 = 3;
int32 cellID1 = 4;
float energy = 5;
repeated float pos = 6;
message Contrib {
Reference MCParticle = 1;
float energy = 2;
float time = 3;
int32 PDG = 4;
repeated float stepPos = 5;
}
repeated Contrib contributions = 7;
}
message SimCalorimeterHitCollection {
uint32 id = 1;
uint32 flags = 2;
Params params = 3;
repeated SimCalorimeterHit entries = 4;
}
message RawCalorimeterHit {
uint32 id = 1;
int32 cellID0 = 2;
int32 cellID1 = 3;
int32 amplitude = 4;
int32 timeStamp = 5;
}
message RawCalorimeterHitCollection {
uint32 id = 1;
uint32 flags = 2;
Params params = 3;
repeated RawCalorimeterHit entries = 4;
}
message CalorimeterHit {
uint32 id = 1;
int32 cellID0 = 2;
int32 cellID1 = 3;
float energy = 4;
float energyErr = 5;
float time = 6;
repeated float pos = 7;
int32 type = 8;
Reference raw = 9;
}
message CalorimeterHitCollection {
uint32 id = 1;
uint32 flags = 2;
Params params = 3;
repeated CalorimeterHit entries = 4;
}
message Cluster {
uint32 id = 1;
int32 type = 2;
float energy = 3;
float energyErr = 4;
repeated float pos = 5;
repeated float posErr = 6;
float theta = 7;
float phi = 8;
repeated float dirErr = 9;
repeated float shape = 10;
repeated ParticleID PIDs = 11;
repeated Reference clusters = 12;
repeated Reference hits = 13;
repeated float weights = 14;
repeated float subDetEnes = 15;
}
message ClusterCollection {
uint32 id = 1;
uint32 flags = 2;
Params params = 3;
repeated Cluster entries = 4;
}
message RecParticle {
uint32 id = 1;
int32 type = 2;
repeated float p = 3;
float energy = 4;
repeated float cov = 5;
float mass = 6;
float charge = 7;
repeated float ref = 8;
repeated ParticleID PIDs = 9;
int32 PIDUsed = 10;
float goodnessOfPID = 11;
repeated Reference recs = 12;
repeated Reference tracks = 13;
repeated Reference clusters = 14;
Reference startVtx = 15;
}
message RecParticleCollection {
uint32 id = 1;
uint32 flags = 2;
Params params = 3;
repeated RecParticle entries = 4;
}
message Vertex {
uint32 id = 1;
int32 primary = 2;
int32 algType = 3;
float chi2 = 4;
float prob = 5;
repeated float pos = 6;
repeated float cov = 7;
repeated float params = 8;
Reference recPart = 9;
}
message VertexCollection {
uint32 id = 1;
uint32 flags = 2;
Params params = 3;
repeated Vertex entries = 4;
}
message Relation {
uint32 id = 1;
Reference from = 2;
Reference to = 3;
float weight = 4;
}
message RelationCollection {
uint32 id = 1;
uint32 flags = 2;
Params params = 3;
repeated Relation entries = 4;
}