1 | // Generated by the protocol buffer compiler. DO NOT EDIT!
|
---|
2 | // source: ProMC.proto
|
---|
3 |
|
---|
4 | #ifndef PROTOBUF_ProMC_2eproto__INCLUDED
|
---|
5 | #define PROTOBUF_ProMC_2eproto__INCLUDED
|
---|
6 |
|
---|
7 | #include <string>
|
---|
8 |
|
---|
9 | #include <google/protobuf/stubs/common.h>
|
---|
10 |
|
---|
11 | #if GOOGLE_PROTOBUF_VERSION < 2005000
|
---|
12 | #error This file was generated by a newer version of protoc which is
|
---|
13 | #error incompatible with your Protocol Buffer headers. Please update
|
---|
14 | #error your headers.
|
---|
15 | #endif
|
---|
16 | #if 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
|
---|
17 | #error This file was generated by an older version of protoc which is
|
---|
18 | #error incompatible with your Protocol Buffer headers. Please
|
---|
19 | #error regenerate this file with a newer version of protoc.
|
---|
20 | #endif
|
---|
21 |
|
---|
22 | #include <google/protobuf/generated_message_util.h>
|
---|
23 | #include <google/protobuf/message.h>
|
---|
24 | #include <google/protobuf/repeated_field.h>
|
---|
25 | #include <google/protobuf/extension_set.h>
|
---|
26 | #include <google/protobuf/unknown_field_set.h>
|
---|
27 | // @@protoc_insertion_point(includes)
|
---|
28 |
|
---|
29 | namespace promc {
|
---|
30 |
|
---|
31 | // Internal implementation detail -- do not call these.
|
---|
32 | void protobuf_AddDesc_ProMC_2eproto();
|
---|
33 | void protobuf_AssignDesc_ProMC_2eproto();
|
---|
34 | void protobuf_ShutdownFile_ProMC_2eproto();
|
---|
35 |
|
---|
36 | class ProMCEvent;
|
---|
37 | class ProMCEvent_Event;
|
---|
38 | class ProMCEvent_Particles;
|
---|
39 |
|
---|
40 | // ===================================================================
|
---|
41 |
|
---|
42 | class ProMCEvent_Event : public ::google::protobuf::Message {
|
---|
43 | public:
|
---|
44 | ProMCEvent_Event();
|
---|
45 | virtual ~ProMCEvent_Event();
|
---|
46 |
|
---|
47 | ProMCEvent_Event(const ProMCEvent_Event& from);
|
---|
48 |
|
---|
49 | inline ProMCEvent_Event& operator=(const ProMCEvent_Event& from) {
|
---|
50 | CopyFrom(from);
|
---|
51 | return *this;
|
---|
52 | }
|
---|
53 |
|
---|
54 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
|
---|
55 | return _unknown_fields_;
|
---|
56 | }
|
---|
57 |
|
---|
58 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
|
---|
59 | return &_unknown_fields_;
|
---|
60 | }
|
---|
61 |
|
---|
62 | static const ::google::protobuf::Descriptor* descriptor();
|
---|
63 | static const ProMCEvent_Event& default_instance();
|
---|
64 |
|
---|
65 | void Swap(ProMCEvent_Event* other);
|
---|
66 |
|
---|
67 | // implements Message ----------------------------------------------
|
---|
68 |
|
---|
69 | ProMCEvent_Event* New() const;
|
---|
70 | void CopyFrom(const ::google::protobuf::Message& from);
|
---|
71 | void MergeFrom(const ::google::protobuf::Message& from);
|
---|
72 | void CopyFrom(const ProMCEvent_Event& from);
|
---|
73 | void MergeFrom(const ProMCEvent_Event& from);
|
---|
74 | void Clear();
|
---|
75 | bool IsInitialized() const;
|
---|
76 |
|
---|
77 | int ByteSize() const;
|
---|
78 | bool MergePartialFromCodedStream(
|
---|
79 | ::google::protobuf::io::CodedInputStream* input);
|
---|
80 | void SerializeWithCachedSizes(
|
---|
81 | ::google::protobuf::io::CodedOutputStream* output) const;
|
---|
82 | ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
|
---|
83 | int GetCachedSize() const { return _cached_size_; }
|
---|
84 | private:
|
---|
85 | void SharedCtor();
|
---|
86 | void SharedDtor();
|
---|
87 | void SetCachedSize(int size) const;
|
---|
88 | public:
|
---|
89 |
|
---|
90 | ::google::protobuf::Metadata GetMetadata() const;
|
---|
91 |
|
---|
92 | // nested types ----------------------------------------------------
|
---|
93 |
|
---|
94 | // accessors -------------------------------------------------------
|
---|
95 |
|
---|
96 | // optional int32 Number = 1;
|
---|
97 | inline bool has_number() const;
|
---|
98 | inline void clear_number();
|
---|
99 | static const int kNumberFieldNumber = 1;
|
---|
100 | inline ::google::protobuf::int32 number() const;
|
---|
101 | inline void set_number(::google::protobuf::int32 value);
|
---|
102 |
|
---|
103 | // optional int32 Process_ID = 2;
|
---|
104 | inline bool has_process_id() const;
|
---|
105 | inline void clear_process_id();
|
---|
106 | static const int kProcessIDFieldNumber = 2;
|
---|
107 | inline ::google::protobuf::int32 process_id() const;
|
---|
108 | inline void set_process_id(::google::protobuf::int32 value);
|
---|
109 |
|
---|
110 | // optional int32 MPI = 3;
|
---|
111 | inline bool has_mpi() const;
|
---|
112 | inline void clear_mpi();
|
---|
113 | static const int kMPIFieldNumber = 3;
|
---|
114 | inline ::google::protobuf::int32 mpi() const;
|
---|
115 | inline void set_mpi(::google::protobuf::int32 value);
|
---|
116 |
|
---|
117 | // optional int32 ID1 = 4;
|
---|
118 | inline bool has_id1() const;
|
---|
119 | inline void clear_id1();
|
---|
120 | static const int kID1FieldNumber = 4;
|
---|
121 | inline ::google::protobuf::int32 id1() const;
|
---|
122 | inline void set_id1(::google::protobuf::int32 value);
|
---|
123 |
|
---|
124 | // optional int32 ID2 = 5;
|
---|
125 | inline bool has_id2() const;
|
---|
126 | inline void clear_id2();
|
---|
127 | static const int kID2FieldNumber = 5;
|
---|
128 | inline ::google::protobuf::int32 id2() const;
|
---|
129 | inline void set_id2(::google::protobuf::int32 value);
|
---|
130 |
|
---|
131 | // optional float PDF1 = 6;
|
---|
132 | inline bool has_pdf1() const;
|
---|
133 | inline void clear_pdf1();
|
---|
134 | static const int kPDF1FieldNumber = 6;
|
---|
135 | inline float pdf1() const;
|
---|
136 | inline void set_pdf1(float value);
|
---|
137 |
|
---|
138 | // optional float PDF2 = 7;
|
---|
139 | inline bool has_pdf2() const;
|
---|
140 | inline void clear_pdf2();
|
---|
141 | static const int kPDF2FieldNumber = 7;
|
---|
142 | inline float pdf2() const;
|
---|
143 | inline void set_pdf2(float value);
|
---|
144 |
|
---|
145 | // optional float X1 = 8;
|
---|
146 | inline bool has_x1() const;
|
---|
147 | inline void clear_x1();
|
---|
148 | static const int kX1FieldNumber = 8;
|
---|
149 | inline float x1() const;
|
---|
150 | inline void set_x1(float value);
|
---|
151 |
|
---|
152 | // optional float X2 = 9;
|
---|
153 | inline bool has_x2() const;
|
---|
154 | inline void clear_x2();
|
---|
155 | static const int kX2FieldNumber = 9;
|
---|
156 | inline float x2() const;
|
---|
157 | inline void set_x2(float value);
|
---|
158 |
|
---|
159 | // optional float Scale_PDF = 10;
|
---|
160 | inline bool has_scale_pdf() const;
|
---|
161 | inline void clear_scale_pdf();
|
---|
162 | static const int kScalePDFFieldNumber = 10;
|
---|
163 | inline float scale_pdf() const;
|
---|
164 | inline void set_scale_pdf(float value);
|
---|
165 |
|
---|
166 | // optional float Alpha_QED = 11;
|
---|
167 | inline bool has_alpha_qed() const;
|
---|
168 | inline void clear_alpha_qed();
|
---|
169 | static const int kAlphaQEDFieldNumber = 11;
|
---|
170 | inline float alpha_qed() const;
|
---|
171 | inline void set_alpha_qed(float value);
|
---|
172 |
|
---|
173 | // optional float Scale = 12;
|
---|
174 | inline bool has_scale() const;
|
---|
175 | inline void clear_scale();
|
---|
176 | static const int kScaleFieldNumber = 12;
|
---|
177 | inline float scale() const;
|
---|
178 | inline void set_scale(float value);
|
---|
179 |
|
---|
180 | // optional float Alpha_QCD = 13;
|
---|
181 | inline bool has_alpha_qcd() const;
|
---|
182 | inline void clear_alpha_qcd();
|
---|
183 | static const int kAlphaQCDFieldNumber = 13;
|
---|
184 | inline float alpha_qcd() const;
|
---|
185 | inline void set_alpha_qcd(float value);
|
---|
186 |
|
---|
187 | // optional double Weight = 14;
|
---|
188 | inline bool has_weight() const;
|
---|
189 | inline void clear_weight();
|
---|
190 | static const int kWeightFieldNumber = 14;
|
---|
191 | inline double weight() const;
|
---|
192 | inline void set_weight(double value);
|
---|
193 |
|
---|
194 | // @@protoc_insertion_point(class_scope:promc.ProMCEvent.Event)
|
---|
195 | private:
|
---|
196 | inline void set_has_number();
|
---|
197 | inline void clear_has_number();
|
---|
198 | inline void set_has_process_id();
|
---|
199 | inline void clear_has_process_id();
|
---|
200 | inline void set_has_mpi();
|
---|
201 | inline void clear_has_mpi();
|
---|
202 | inline void set_has_id1();
|
---|
203 | inline void clear_has_id1();
|
---|
204 | inline void set_has_id2();
|
---|
205 | inline void clear_has_id2();
|
---|
206 | inline void set_has_pdf1();
|
---|
207 | inline void clear_has_pdf1();
|
---|
208 | inline void set_has_pdf2();
|
---|
209 | inline void clear_has_pdf2();
|
---|
210 | inline void set_has_x1();
|
---|
211 | inline void clear_has_x1();
|
---|
212 | inline void set_has_x2();
|
---|
213 | inline void clear_has_x2();
|
---|
214 | inline void set_has_scale_pdf();
|
---|
215 | inline void clear_has_scale_pdf();
|
---|
216 | inline void set_has_alpha_qed();
|
---|
217 | inline void clear_has_alpha_qed();
|
---|
218 | inline void set_has_scale();
|
---|
219 | inline void clear_has_scale();
|
---|
220 | inline void set_has_alpha_qcd();
|
---|
221 | inline void clear_has_alpha_qcd();
|
---|
222 | inline void set_has_weight();
|
---|
223 | inline void clear_has_weight();
|
---|
224 |
|
---|
225 | ::google::protobuf::UnknownFieldSet _unknown_fields_;
|
---|
226 |
|
---|
227 | ::google::protobuf::int32 number_;
|
---|
228 | ::google::protobuf::int32 process_id_;
|
---|
229 | ::google::protobuf::int32 mpi_;
|
---|
230 | ::google::protobuf::int32 id1_;
|
---|
231 | ::google::protobuf::int32 id2_;
|
---|
232 | float pdf1_;
|
---|
233 | float pdf2_;
|
---|
234 | float x1_;
|
---|
235 | float x2_;
|
---|
236 | float scale_pdf_;
|
---|
237 | float alpha_qed_;
|
---|
238 | float scale_;
|
---|
239 | double weight_;
|
---|
240 | float alpha_qcd_;
|
---|
241 |
|
---|
242 | mutable int _cached_size_;
|
---|
243 | ::google::protobuf::uint32 _has_bits_[(14 + 31) / 32];
|
---|
244 |
|
---|
245 | friend void protobuf_AddDesc_ProMC_2eproto();
|
---|
246 | friend void protobuf_AssignDesc_ProMC_2eproto();
|
---|
247 | friend void protobuf_ShutdownFile_ProMC_2eproto();
|
---|
248 |
|
---|
249 | void InitAsDefaultInstance();
|
---|
250 | static ProMCEvent_Event* default_instance_;
|
---|
251 | };
|
---|
252 | // -------------------------------------------------------------------
|
---|
253 |
|
---|
254 | class ProMCEvent_Particles : public ::google::protobuf::Message {
|
---|
255 | public:
|
---|
256 | ProMCEvent_Particles();
|
---|
257 | virtual ~ProMCEvent_Particles();
|
---|
258 |
|
---|
259 | ProMCEvent_Particles(const ProMCEvent_Particles& from);
|
---|
260 |
|
---|
261 | inline ProMCEvent_Particles& operator=(const ProMCEvent_Particles& from) {
|
---|
262 | CopyFrom(from);
|
---|
263 | return *this;
|
---|
264 | }
|
---|
265 |
|
---|
266 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
|
---|
267 | return _unknown_fields_;
|
---|
268 | }
|
---|
269 |
|
---|
270 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
|
---|
271 | return &_unknown_fields_;
|
---|
272 | }
|
---|
273 |
|
---|
274 | static const ::google::protobuf::Descriptor* descriptor();
|
---|
275 | static const ProMCEvent_Particles& default_instance();
|
---|
276 |
|
---|
277 | void Swap(ProMCEvent_Particles* other);
|
---|
278 |
|
---|
279 | // implements Message ----------------------------------------------
|
---|
280 |
|
---|
281 | ProMCEvent_Particles* New() const;
|
---|
282 | void CopyFrom(const ::google::protobuf::Message& from);
|
---|
283 | void MergeFrom(const ::google::protobuf::Message& from);
|
---|
284 | void CopyFrom(const ProMCEvent_Particles& from);
|
---|
285 | void MergeFrom(const ProMCEvent_Particles& from);
|
---|
286 | void Clear();
|
---|
287 | bool IsInitialized() const;
|
---|
288 |
|
---|
289 | int ByteSize() const;
|
---|
290 | bool MergePartialFromCodedStream(
|
---|
291 | ::google::protobuf::io::CodedInputStream* input);
|
---|
292 | void SerializeWithCachedSizes(
|
---|
293 | ::google::protobuf::io::CodedOutputStream* output) const;
|
---|
294 | ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
|
---|
295 | int GetCachedSize() const { return _cached_size_; }
|
---|
296 | private:
|
---|
297 | void SharedCtor();
|
---|
298 | void SharedDtor();
|
---|
299 | void SetCachedSize(int size) const;
|
---|
300 | public:
|
---|
301 |
|
---|
302 | ::google::protobuf::Metadata GetMetadata() const;
|
---|
303 |
|
---|
304 | // nested types ----------------------------------------------------
|
---|
305 |
|
---|
306 | // accessors -------------------------------------------------------
|
---|
307 |
|
---|
308 | // repeated uint32 id = 1 [packed = true];
|
---|
309 | inline int id_size() const;
|
---|
310 | inline void clear_id();
|
---|
311 | static const int kIdFieldNumber = 1;
|
---|
312 | inline ::google::protobuf::uint32 id(int index) const;
|
---|
313 | inline void set_id(int index, ::google::protobuf::uint32 value);
|
---|
314 | inline void add_id(::google::protobuf::uint32 value);
|
---|
315 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
|
---|
316 | id() const;
|
---|
317 | inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
|
---|
318 | mutable_id();
|
---|
319 |
|
---|
320 | // repeated sint32 pdg_id = 2 [packed = true];
|
---|
321 | inline int pdg_id_size() const;
|
---|
322 | inline void clear_pdg_id();
|
---|
323 | static const int kPdgIdFieldNumber = 2;
|
---|
324 | inline ::google::protobuf::int32 pdg_id(int index) const;
|
---|
325 | inline void set_pdg_id(int index, ::google::protobuf::int32 value);
|
---|
326 | inline void add_pdg_id(::google::protobuf::int32 value);
|
---|
327 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
|
---|
328 | pdg_id() const;
|
---|
329 | inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
|
---|
330 | mutable_pdg_id();
|
---|
331 |
|
---|
332 | // repeated uint32 status = 3 [packed = true];
|
---|
333 | inline int status_size() const;
|
---|
334 | inline void clear_status();
|
---|
335 | static const int kStatusFieldNumber = 3;
|
---|
336 | inline ::google::protobuf::uint32 status(int index) const;
|
---|
337 | inline void set_status(int index, ::google::protobuf::uint32 value);
|
---|
338 | inline void add_status(::google::protobuf::uint32 value);
|
---|
339 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
|
---|
340 | status() const;
|
---|
341 | inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
|
---|
342 | mutable_status();
|
---|
343 |
|
---|
344 | // repeated uint64 mass = 4 [packed = true];
|
---|
345 | inline int mass_size() const;
|
---|
346 | inline void clear_mass();
|
---|
347 | static const int kMassFieldNumber = 4;
|
---|
348 | inline ::google::protobuf::uint64 mass(int index) const;
|
---|
349 | inline void set_mass(int index, ::google::protobuf::uint64 value);
|
---|
350 | inline void add_mass(::google::protobuf::uint64 value);
|
---|
351 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
|
---|
352 | mass() const;
|
---|
353 | inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
|
---|
354 | mutable_mass();
|
---|
355 |
|
---|
356 | // repeated sint64 Px = 5 [packed = true];
|
---|
357 | inline int px_size() const;
|
---|
358 | inline void clear_px();
|
---|
359 | static const int kPxFieldNumber = 5;
|
---|
360 | inline ::google::protobuf::int64 px(int index) const;
|
---|
361 | inline void set_px(int index, ::google::protobuf::int64 value);
|
---|
362 | inline void add_px(::google::protobuf::int64 value);
|
---|
363 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
|
---|
364 | px() const;
|
---|
365 | inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
|
---|
366 | mutable_px();
|
---|
367 |
|
---|
368 | // repeated sint64 Py = 6 [packed = true];
|
---|
369 | inline int py_size() const;
|
---|
370 | inline void clear_py();
|
---|
371 | static const int kPyFieldNumber = 6;
|
---|
372 | inline ::google::protobuf::int64 py(int index) const;
|
---|
373 | inline void set_py(int index, ::google::protobuf::int64 value);
|
---|
374 | inline void add_py(::google::protobuf::int64 value);
|
---|
375 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
|
---|
376 | py() const;
|
---|
377 | inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
|
---|
378 | mutable_py();
|
---|
379 |
|
---|
380 | // repeated sint64 Pz = 7 [packed = true];
|
---|
381 | inline int pz_size() const;
|
---|
382 | inline void clear_pz();
|
---|
383 | static const int kPzFieldNumber = 7;
|
---|
384 | inline ::google::protobuf::int64 pz(int index) const;
|
---|
385 | inline void set_pz(int index, ::google::protobuf::int64 value);
|
---|
386 | inline void add_pz(::google::protobuf::int64 value);
|
---|
387 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
|
---|
388 | pz() const;
|
---|
389 | inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
|
---|
390 | mutable_pz();
|
---|
391 |
|
---|
392 | // repeated uint32 mother1 = 8 [packed = true];
|
---|
393 | inline int mother1_size() const;
|
---|
394 | inline void clear_mother1();
|
---|
395 | static const int kMother1FieldNumber = 8;
|
---|
396 | inline ::google::protobuf::uint32 mother1(int index) const;
|
---|
397 | inline void set_mother1(int index, ::google::protobuf::uint32 value);
|
---|
398 | inline void add_mother1(::google::protobuf::uint32 value);
|
---|
399 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
|
---|
400 | mother1() const;
|
---|
401 | inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
|
---|
402 | mutable_mother1();
|
---|
403 |
|
---|
404 | // repeated uint32 mother2 = 9 [packed = true];
|
---|
405 | inline int mother2_size() const;
|
---|
406 | inline void clear_mother2();
|
---|
407 | static const int kMother2FieldNumber = 9;
|
---|
408 | inline ::google::protobuf::uint32 mother2(int index) const;
|
---|
409 | inline void set_mother2(int index, ::google::protobuf::uint32 value);
|
---|
410 | inline void add_mother2(::google::protobuf::uint32 value);
|
---|
411 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
|
---|
412 | mother2() const;
|
---|
413 | inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
|
---|
414 | mutable_mother2();
|
---|
415 |
|
---|
416 | // repeated uint32 daughter1 = 10 [packed = true];
|
---|
417 | inline int daughter1_size() const;
|
---|
418 | inline void clear_daughter1();
|
---|
419 | static const int kDaughter1FieldNumber = 10;
|
---|
420 | inline ::google::protobuf::uint32 daughter1(int index) const;
|
---|
421 | inline void set_daughter1(int index, ::google::protobuf::uint32 value);
|
---|
422 | inline void add_daughter1(::google::protobuf::uint32 value);
|
---|
423 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
|
---|
424 | daughter1() const;
|
---|
425 | inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
|
---|
426 | mutable_daughter1();
|
---|
427 |
|
---|
428 | // repeated uint32 daughter2 = 11 [packed = true];
|
---|
429 | inline int daughter2_size() const;
|
---|
430 | inline void clear_daughter2();
|
---|
431 | static const int kDaughter2FieldNumber = 11;
|
---|
432 | inline ::google::protobuf::uint32 daughter2(int index) const;
|
---|
433 | inline void set_daughter2(int index, ::google::protobuf::uint32 value);
|
---|
434 | inline void add_daughter2(::google::protobuf::uint32 value);
|
---|
435 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
|
---|
436 | daughter2() const;
|
---|
437 | inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
|
---|
438 | mutable_daughter2();
|
---|
439 |
|
---|
440 | // repeated sint32 barcode = 12 [packed = true];
|
---|
441 | inline int barcode_size() const;
|
---|
442 | inline void clear_barcode();
|
---|
443 | static const int kBarcodeFieldNumber = 12;
|
---|
444 | inline ::google::protobuf::int32 barcode(int index) const;
|
---|
445 | inline void set_barcode(int index, ::google::protobuf::int32 value);
|
---|
446 | inline void add_barcode(::google::protobuf::int32 value);
|
---|
447 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
|
---|
448 | barcode() const;
|
---|
449 | inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
|
---|
450 | mutable_barcode();
|
---|
451 |
|
---|
452 | // repeated sint32 X = 13 [packed = true];
|
---|
453 | inline int x_size() const;
|
---|
454 | inline void clear_x();
|
---|
455 | static const int kXFieldNumber = 13;
|
---|
456 | inline ::google::protobuf::int32 x(int index) const;
|
---|
457 | inline void set_x(int index, ::google::protobuf::int32 value);
|
---|
458 | inline void add_x(::google::protobuf::int32 value);
|
---|
459 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
|
---|
460 | x() const;
|
---|
461 | inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
|
---|
462 | mutable_x();
|
---|
463 |
|
---|
464 | // repeated sint32 Y = 14 [packed = true];
|
---|
465 | inline int y_size() const;
|
---|
466 | inline void clear_y();
|
---|
467 | static const int kYFieldNumber = 14;
|
---|
468 | inline ::google::protobuf::int32 y(int index) const;
|
---|
469 | inline void set_y(int index, ::google::protobuf::int32 value);
|
---|
470 | inline void add_y(::google::protobuf::int32 value);
|
---|
471 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
|
---|
472 | y() const;
|
---|
473 | inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
|
---|
474 | mutable_y();
|
---|
475 |
|
---|
476 | // repeated sint32 Z = 15 [packed = true];
|
---|
477 | inline int z_size() const;
|
---|
478 | inline void clear_z();
|
---|
479 | static const int kZFieldNumber = 15;
|
---|
480 | inline ::google::protobuf::int32 z(int index) const;
|
---|
481 | inline void set_z(int index, ::google::protobuf::int32 value);
|
---|
482 | inline void add_z(::google::protobuf::int32 value);
|
---|
483 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
|
---|
484 | z() const;
|
---|
485 | inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
|
---|
486 | mutable_z();
|
---|
487 |
|
---|
488 | // repeated uint32 T = 16 [packed = true];
|
---|
489 | inline int t_size() const;
|
---|
490 | inline void clear_t();
|
---|
491 | static const int kTFieldNumber = 16;
|
---|
492 | inline ::google::protobuf::uint32 t(int index) const;
|
---|
493 | inline void set_t(int index, ::google::protobuf::uint32 value);
|
---|
494 | inline void add_t(::google::protobuf::uint32 value);
|
---|
495 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
|
---|
496 | t() const;
|
---|
497 | inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
|
---|
498 | mutable_t();
|
---|
499 |
|
---|
500 | // repeated uint64 weight = 17 [packed = true];
|
---|
501 | inline int weight_size() const;
|
---|
502 | inline void clear_weight();
|
---|
503 | static const int kWeightFieldNumber = 17;
|
---|
504 | inline ::google::protobuf::uint64 weight(int index) const;
|
---|
505 | inline void set_weight(int index, ::google::protobuf::uint64 value);
|
---|
506 | inline void add_weight(::google::protobuf::uint64 value);
|
---|
507 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
|
---|
508 | weight() const;
|
---|
509 | inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
|
---|
510 | mutable_weight();
|
---|
511 |
|
---|
512 | // repeated sint32 charge = 18 [packed = true];
|
---|
513 | inline int charge_size() const;
|
---|
514 | inline void clear_charge();
|
---|
515 | static const int kChargeFieldNumber = 18;
|
---|
516 | inline ::google::protobuf::int32 charge(int index) const;
|
---|
517 | inline void set_charge(int index, ::google::protobuf::int32 value);
|
---|
518 | inline void add_charge(::google::protobuf::int32 value);
|
---|
519 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
|
---|
520 | charge() const;
|
---|
521 | inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
|
---|
522 | mutable_charge();
|
---|
523 |
|
---|
524 | // @@protoc_insertion_point(class_scope:promc.ProMCEvent.Particles)
|
---|
525 | private:
|
---|
526 |
|
---|
527 | ::google::protobuf::UnknownFieldSet _unknown_fields_;
|
---|
528 |
|
---|
529 | ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > id_;
|
---|
530 | mutable int _id_cached_byte_size_;
|
---|
531 | ::google::protobuf::RepeatedField< ::google::protobuf::int32 > pdg_id_;
|
---|
532 | mutable int _pdg_id_cached_byte_size_;
|
---|
533 | ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > status_;
|
---|
534 | mutable int _status_cached_byte_size_;
|
---|
535 | ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > mass_;
|
---|
536 | mutable int _mass_cached_byte_size_;
|
---|
537 | ::google::protobuf::RepeatedField< ::google::protobuf::int64 > px_;
|
---|
538 | mutable int _px_cached_byte_size_;
|
---|
539 | ::google::protobuf::RepeatedField< ::google::protobuf::int64 > py_;
|
---|
540 | mutable int _py_cached_byte_size_;
|
---|
541 | ::google::protobuf::RepeatedField< ::google::protobuf::int64 > pz_;
|
---|
542 | mutable int _pz_cached_byte_size_;
|
---|
543 | ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > mother1_;
|
---|
544 | mutable int _mother1_cached_byte_size_;
|
---|
545 | ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > mother2_;
|
---|
546 | mutable int _mother2_cached_byte_size_;
|
---|
547 | ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > daughter1_;
|
---|
548 | mutable int _daughter1_cached_byte_size_;
|
---|
549 | ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > daughter2_;
|
---|
550 | mutable int _daughter2_cached_byte_size_;
|
---|
551 | ::google::protobuf::RepeatedField< ::google::protobuf::int32 > barcode_;
|
---|
552 | mutable int _barcode_cached_byte_size_;
|
---|
553 | ::google::protobuf::RepeatedField< ::google::protobuf::int32 > x_;
|
---|
554 | mutable int _x_cached_byte_size_;
|
---|
555 | ::google::protobuf::RepeatedField< ::google::protobuf::int32 > y_;
|
---|
556 | mutable int _y_cached_byte_size_;
|
---|
557 | ::google::protobuf::RepeatedField< ::google::protobuf::int32 > z_;
|
---|
558 | mutable int _z_cached_byte_size_;
|
---|
559 | ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > t_;
|
---|
560 | mutable int _t_cached_byte_size_;
|
---|
561 | ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > weight_;
|
---|
562 | mutable int _weight_cached_byte_size_;
|
---|
563 | ::google::protobuf::RepeatedField< ::google::protobuf::int32 > charge_;
|
---|
564 | mutable int _charge_cached_byte_size_;
|
---|
565 |
|
---|
566 | mutable int _cached_size_;
|
---|
567 | ::google::protobuf::uint32 _has_bits_[(18 + 31) / 32];
|
---|
568 |
|
---|
569 | friend void protobuf_AddDesc_ProMC_2eproto();
|
---|
570 | friend void protobuf_AssignDesc_ProMC_2eproto();
|
---|
571 | friend void protobuf_ShutdownFile_ProMC_2eproto();
|
---|
572 |
|
---|
573 | void InitAsDefaultInstance();
|
---|
574 | static ProMCEvent_Particles* default_instance_;
|
---|
575 | };
|
---|
576 | // -------------------------------------------------------------------
|
---|
577 |
|
---|
578 | class ProMCEvent : public ::google::protobuf::Message {
|
---|
579 | public:
|
---|
580 | ProMCEvent();
|
---|
581 | virtual ~ProMCEvent();
|
---|
582 |
|
---|
583 | ProMCEvent(const ProMCEvent& from);
|
---|
584 |
|
---|
585 | inline ProMCEvent& operator=(const ProMCEvent& from) {
|
---|
586 | CopyFrom(from);
|
---|
587 | return *this;
|
---|
588 | }
|
---|
589 |
|
---|
590 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
|
---|
591 | return _unknown_fields_;
|
---|
592 | }
|
---|
593 |
|
---|
594 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
|
---|
595 | return &_unknown_fields_;
|
---|
596 | }
|
---|
597 |
|
---|
598 | static const ::google::protobuf::Descriptor* descriptor();
|
---|
599 | static const ProMCEvent& default_instance();
|
---|
600 |
|
---|
601 | void Swap(ProMCEvent* other);
|
---|
602 |
|
---|
603 | // implements Message ----------------------------------------------
|
---|
604 |
|
---|
605 | ProMCEvent* New() const;
|
---|
606 | void CopyFrom(const ::google::protobuf::Message& from);
|
---|
607 | void MergeFrom(const ::google::protobuf::Message& from);
|
---|
608 | void CopyFrom(const ProMCEvent& from);
|
---|
609 | void MergeFrom(const ProMCEvent& from);
|
---|
610 | void Clear();
|
---|
611 | bool IsInitialized() const;
|
---|
612 |
|
---|
613 | int ByteSize() const;
|
---|
614 | bool MergePartialFromCodedStream(
|
---|
615 | ::google::protobuf::io::CodedInputStream* input);
|
---|
616 | void SerializeWithCachedSizes(
|
---|
617 | ::google::protobuf::io::CodedOutputStream* output) const;
|
---|
618 | ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
|
---|
619 | int GetCachedSize() const { return _cached_size_; }
|
---|
620 | private:
|
---|
621 | void SharedCtor();
|
---|
622 | void SharedDtor();
|
---|
623 | void SetCachedSize(int size) const;
|
---|
624 | public:
|
---|
625 |
|
---|
626 | ::google::protobuf::Metadata GetMetadata() const;
|
---|
627 |
|
---|
628 | // nested types ----------------------------------------------------
|
---|
629 |
|
---|
630 | typedef ProMCEvent_Event Event;
|
---|
631 | typedef ProMCEvent_Particles Particles;
|
---|
632 |
|
---|
633 | // accessors -------------------------------------------------------
|
---|
634 |
|
---|
635 | // optional .promc.ProMCEvent.Event event = 1;
|
---|
636 | inline bool has_event() const;
|
---|
637 | inline void clear_event();
|
---|
638 | static const int kEventFieldNumber = 1;
|
---|
639 | inline const ::promc::ProMCEvent_Event& event() const;
|
---|
640 | inline ::promc::ProMCEvent_Event* mutable_event();
|
---|
641 | inline ::promc::ProMCEvent_Event* release_event();
|
---|
642 | inline void set_allocated_event(::promc::ProMCEvent_Event* event);
|
---|
643 |
|
---|
644 | // optional .promc.ProMCEvent.Particles particles = 2;
|
---|
645 | inline bool has_particles() const;
|
---|
646 | inline void clear_particles();
|
---|
647 | static const int kParticlesFieldNumber = 2;
|
---|
648 | inline const ::promc::ProMCEvent_Particles& particles() const;
|
---|
649 | inline ::promc::ProMCEvent_Particles* mutable_particles();
|
---|
650 | inline ::promc::ProMCEvent_Particles* release_particles();
|
---|
651 | inline void set_allocated_particles(::promc::ProMCEvent_Particles* particles);
|
---|
652 |
|
---|
653 | // @@protoc_insertion_point(class_scope:promc.ProMCEvent)
|
---|
654 | private:
|
---|
655 | inline void set_has_event();
|
---|
656 | inline void clear_has_event();
|
---|
657 | inline void set_has_particles();
|
---|
658 | inline void clear_has_particles();
|
---|
659 |
|
---|
660 | ::google::protobuf::UnknownFieldSet _unknown_fields_;
|
---|
661 |
|
---|
662 | ::promc::ProMCEvent_Event* event_;
|
---|
663 | ::promc::ProMCEvent_Particles* particles_;
|
---|
664 |
|
---|
665 | mutable int _cached_size_;
|
---|
666 | ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
|
---|
667 |
|
---|
668 | friend void protobuf_AddDesc_ProMC_2eproto();
|
---|
669 | friend void protobuf_AssignDesc_ProMC_2eproto();
|
---|
670 | friend void protobuf_ShutdownFile_ProMC_2eproto();
|
---|
671 |
|
---|
672 | void InitAsDefaultInstance();
|
---|
673 | static ProMCEvent* default_instance_;
|
---|
674 | };
|
---|
675 | // ===================================================================
|
---|
676 |
|
---|
677 |
|
---|
678 | // ===================================================================
|
---|
679 |
|
---|
680 | // ProMCEvent_Event
|
---|
681 |
|
---|
682 | // optional int32 Number = 1;
|
---|
683 | inline bool ProMCEvent_Event::has_number() const {
|
---|
684 | return (_has_bits_[0] & 0x00000001u) != 0;
|
---|
685 | }
|
---|
686 | inline void ProMCEvent_Event::set_has_number() {
|
---|
687 | _has_bits_[0] |= 0x00000001u;
|
---|
688 | }
|
---|
689 | inline void ProMCEvent_Event::clear_has_number() {
|
---|
690 | _has_bits_[0] &= ~0x00000001u;
|
---|
691 | }
|
---|
692 | inline void ProMCEvent_Event::clear_number() {
|
---|
693 | number_ = 0;
|
---|
694 | clear_has_number();
|
---|
695 | }
|
---|
696 | inline ::google::protobuf::int32 ProMCEvent_Event::number() const {
|
---|
697 | return number_;
|
---|
698 | }
|
---|
699 | inline void ProMCEvent_Event::set_number(::google::protobuf::int32 value) {
|
---|
700 | set_has_number();
|
---|
701 | number_ = value;
|
---|
702 | }
|
---|
703 |
|
---|
704 | // optional int32 Process_ID = 2;
|
---|
705 | inline bool ProMCEvent_Event::has_process_id() const {
|
---|
706 | return (_has_bits_[0] & 0x00000002u) != 0;
|
---|
707 | }
|
---|
708 | inline void ProMCEvent_Event::set_has_process_id() {
|
---|
709 | _has_bits_[0] |= 0x00000002u;
|
---|
710 | }
|
---|
711 | inline void ProMCEvent_Event::clear_has_process_id() {
|
---|
712 | _has_bits_[0] &= ~0x00000002u;
|
---|
713 | }
|
---|
714 | inline void ProMCEvent_Event::clear_process_id() {
|
---|
715 | process_id_ = 0;
|
---|
716 | clear_has_process_id();
|
---|
717 | }
|
---|
718 | inline ::google::protobuf::int32 ProMCEvent_Event::process_id() const {
|
---|
719 | return process_id_;
|
---|
720 | }
|
---|
721 | inline void ProMCEvent_Event::set_process_id(::google::protobuf::int32 value) {
|
---|
722 | set_has_process_id();
|
---|
723 | process_id_ = value;
|
---|
724 | }
|
---|
725 |
|
---|
726 | // optional int32 MPI = 3;
|
---|
727 | inline bool ProMCEvent_Event::has_mpi() const {
|
---|
728 | return (_has_bits_[0] & 0x00000004u) != 0;
|
---|
729 | }
|
---|
730 | inline void ProMCEvent_Event::set_has_mpi() {
|
---|
731 | _has_bits_[0] |= 0x00000004u;
|
---|
732 | }
|
---|
733 | inline void ProMCEvent_Event::clear_has_mpi() {
|
---|
734 | _has_bits_[0] &= ~0x00000004u;
|
---|
735 | }
|
---|
736 | inline void ProMCEvent_Event::clear_mpi() {
|
---|
737 | mpi_ = 0;
|
---|
738 | clear_has_mpi();
|
---|
739 | }
|
---|
740 | inline ::google::protobuf::int32 ProMCEvent_Event::mpi() const {
|
---|
741 | return mpi_;
|
---|
742 | }
|
---|
743 | inline void ProMCEvent_Event::set_mpi(::google::protobuf::int32 value) {
|
---|
744 | set_has_mpi();
|
---|
745 | mpi_ = value;
|
---|
746 | }
|
---|
747 |
|
---|
748 | // optional int32 ID1 = 4;
|
---|
749 | inline bool ProMCEvent_Event::has_id1() const {
|
---|
750 | return (_has_bits_[0] & 0x00000008u) != 0;
|
---|
751 | }
|
---|
752 | inline void ProMCEvent_Event::set_has_id1() {
|
---|
753 | _has_bits_[0] |= 0x00000008u;
|
---|
754 | }
|
---|
755 | inline void ProMCEvent_Event::clear_has_id1() {
|
---|
756 | _has_bits_[0] &= ~0x00000008u;
|
---|
757 | }
|
---|
758 | inline void ProMCEvent_Event::clear_id1() {
|
---|
759 | id1_ = 0;
|
---|
760 | clear_has_id1();
|
---|
761 | }
|
---|
762 | inline ::google::protobuf::int32 ProMCEvent_Event::id1() const {
|
---|
763 | return id1_;
|
---|
764 | }
|
---|
765 | inline void ProMCEvent_Event::set_id1(::google::protobuf::int32 value) {
|
---|
766 | set_has_id1();
|
---|
767 | id1_ = value;
|
---|
768 | }
|
---|
769 |
|
---|
770 | // optional int32 ID2 = 5;
|
---|
771 | inline bool ProMCEvent_Event::has_id2() const {
|
---|
772 | return (_has_bits_[0] & 0x00000010u) != 0;
|
---|
773 | }
|
---|
774 | inline void ProMCEvent_Event::set_has_id2() {
|
---|
775 | _has_bits_[0] |= 0x00000010u;
|
---|
776 | }
|
---|
777 | inline void ProMCEvent_Event::clear_has_id2() {
|
---|
778 | _has_bits_[0] &= ~0x00000010u;
|
---|
779 | }
|
---|
780 | inline void ProMCEvent_Event::clear_id2() {
|
---|
781 | id2_ = 0;
|
---|
782 | clear_has_id2();
|
---|
783 | }
|
---|
784 | inline ::google::protobuf::int32 ProMCEvent_Event::id2() const {
|
---|
785 | return id2_;
|
---|
786 | }
|
---|
787 | inline void ProMCEvent_Event::set_id2(::google::protobuf::int32 value) {
|
---|
788 | set_has_id2();
|
---|
789 | id2_ = value;
|
---|
790 | }
|
---|
791 |
|
---|
792 | // optional float PDF1 = 6;
|
---|
793 | inline bool ProMCEvent_Event::has_pdf1() const {
|
---|
794 | return (_has_bits_[0] & 0x00000020u) != 0;
|
---|
795 | }
|
---|
796 | inline void ProMCEvent_Event::set_has_pdf1() {
|
---|
797 | _has_bits_[0] |= 0x00000020u;
|
---|
798 | }
|
---|
799 | inline void ProMCEvent_Event::clear_has_pdf1() {
|
---|
800 | _has_bits_[0] &= ~0x00000020u;
|
---|
801 | }
|
---|
802 | inline void ProMCEvent_Event::clear_pdf1() {
|
---|
803 | pdf1_ = 0;
|
---|
804 | clear_has_pdf1();
|
---|
805 | }
|
---|
806 | inline float ProMCEvent_Event::pdf1() const {
|
---|
807 | return pdf1_;
|
---|
808 | }
|
---|
809 | inline void ProMCEvent_Event::set_pdf1(float value) {
|
---|
810 | set_has_pdf1();
|
---|
811 | pdf1_ = value;
|
---|
812 | }
|
---|
813 |
|
---|
814 | // optional float PDF2 = 7;
|
---|
815 | inline bool ProMCEvent_Event::has_pdf2() const {
|
---|
816 | return (_has_bits_[0] & 0x00000040u) != 0;
|
---|
817 | }
|
---|
818 | inline void ProMCEvent_Event::set_has_pdf2() {
|
---|
819 | _has_bits_[0] |= 0x00000040u;
|
---|
820 | }
|
---|
821 | inline void ProMCEvent_Event::clear_has_pdf2() {
|
---|
822 | _has_bits_[0] &= ~0x00000040u;
|
---|
823 | }
|
---|
824 | inline void ProMCEvent_Event::clear_pdf2() {
|
---|
825 | pdf2_ = 0;
|
---|
826 | clear_has_pdf2();
|
---|
827 | }
|
---|
828 | inline float ProMCEvent_Event::pdf2() const {
|
---|
829 | return pdf2_;
|
---|
830 | }
|
---|
831 | inline void ProMCEvent_Event::set_pdf2(float value) {
|
---|
832 | set_has_pdf2();
|
---|
833 | pdf2_ = value;
|
---|
834 | }
|
---|
835 |
|
---|
836 | // optional float X1 = 8;
|
---|
837 | inline bool ProMCEvent_Event::has_x1() const {
|
---|
838 | return (_has_bits_[0] & 0x00000080u) != 0;
|
---|
839 | }
|
---|
840 | inline void ProMCEvent_Event::set_has_x1() {
|
---|
841 | _has_bits_[0] |= 0x00000080u;
|
---|
842 | }
|
---|
843 | inline void ProMCEvent_Event::clear_has_x1() {
|
---|
844 | _has_bits_[0] &= ~0x00000080u;
|
---|
845 | }
|
---|
846 | inline void ProMCEvent_Event::clear_x1() {
|
---|
847 | x1_ = 0;
|
---|
848 | clear_has_x1();
|
---|
849 | }
|
---|
850 | inline float ProMCEvent_Event::x1() const {
|
---|
851 | return x1_;
|
---|
852 | }
|
---|
853 | inline void ProMCEvent_Event::set_x1(float value) {
|
---|
854 | set_has_x1();
|
---|
855 | x1_ = value;
|
---|
856 | }
|
---|
857 |
|
---|
858 | // optional float X2 = 9;
|
---|
859 | inline bool ProMCEvent_Event::has_x2() const {
|
---|
860 | return (_has_bits_[0] & 0x00000100u) != 0;
|
---|
861 | }
|
---|
862 | inline void ProMCEvent_Event::set_has_x2() {
|
---|
863 | _has_bits_[0] |= 0x00000100u;
|
---|
864 | }
|
---|
865 | inline void ProMCEvent_Event::clear_has_x2() {
|
---|
866 | _has_bits_[0] &= ~0x00000100u;
|
---|
867 | }
|
---|
868 | inline void ProMCEvent_Event::clear_x2() {
|
---|
869 | x2_ = 0;
|
---|
870 | clear_has_x2();
|
---|
871 | }
|
---|
872 | inline float ProMCEvent_Event::x2() const {
|
---|
873 | return x2_;
|
---|
874 | }
|
---|
875 | inline void ProMCEvent_Event::set_x2(float value) {
|
---|
876 | set_has_x2();
|
---|
877 | x2_ = value;
|
---|
878 | }
|
---|
879 |
|
---|
880 | // optional float Scale_PDF = 10;
|
---|
881 | inline bool ProMCEvent_Event::has_scale_pdf() const {
|
---|
882 | return (_has_bits_[0] & 0x00000200u) != 0;
|
---|
883 | }
|
---|
884 | inline void ProMCEvent_Event::set_has_scale_pdf() {
|
---|
885 | _has_bits_[0] |= 0x00000200u;
|
---|
886 | }
|
---|
887 | inline void ProMCEvent_Event::clear_has_scale_pdf() {
|
---|
888 | _has_bits_[0] &= ~0x00000200u;
|
---|
889 | }
|
---|
890 | inline void ProMCEvent_Event::clear_scale_pdf() {
|
---|
891 | scale_pdf_ = 0;
|
---|
892 | clear_has_scale_pdf();
|
---|
893 | }
|
---|
894 | inline float ProMCEvent_Event::scale_pdf() const {
|
---|
895 | return scale_pdf_;
|
---|
896 | }
|
---|
897 | inline void ProMCEvent_Event::set_scale_pdf(float value) {
|
---|
898 | set_has_scale_pdf();
|
---|
899 | scale_pdf_ = value;
|
---|
900 | }
|
---|
901 |
|
---|
902 | // optional float Alpha_QED = 11;
|
---|
903 | inline bool ProMCEvent_Event::has_alpha_qed() const {
|
---|
904 | return (_has_bits_[0] & 0x00000400u) != 0;
|
---|
905 | }
|
---|
906 | inline void ProMCEvent_Event::set_has_alpha_qed() {
|
---|
907 | _has_bits_[0] |= 0x00000400u;
|
---|
908 | }
|
---|
909 | inline void ProMCEvent_Event::clear_has_alpha_qed() {
|
---|
910 | _has_bits_[0] &= ~0x00000400u;
|
---|
911 | }
|
---|
912 | inline void ProMCEvent_Event::clear_alpha_qed() {
|
---|
913 | alpha_qed_ = 0;
|
---|
914 | clear_has_alpha_qed();
|
---|
915 | }
|
---|
916 | inline float ProMCEvent_Event::alpha_qed() const {
|
---|
917 | return alpha_qed_;
|
---|
918 | }
|
---|
919 | inline void ProMCEvent_Event::set_alpha_qed(float value) {
|
---|
920 | set_has_alpha_qed();
|
---|
921 | alpha_qed_ = value;
|
---|
922 | }
|
---|
923 |
|
---|
924 | // optional float Scale = 12;
|
---|
925 | inline bool ProMCEvent_Event::has_scale() const {
|
---|
926 | return (_has_bits_[0] & 0x00000800u) != 0;
|
---|
927 | }
|
---|
928 | inline void ProMCEvent_Event::set_has_scale() {
|
---|
929 | _has_bits_[0] |= 0x00000800u;
|
---|
930 | }
|
---|
931 | inline void ProMCEvent_Event::clear_has_scale() {
|
---|
932 | _has_bits_[0] &= ~0x00000800u;
|
---|
933 | }
|
---|
934 | inline void ProMCEvent_Event::clear_scale() {
|
---|
935 | scale_ = 0;
|
---|
936 | clear_has_scale();
|
---|
937 | }
|
---|
938 | inline float ProMCEvent_Event::scale() const {
|
---|
939 | return scale_;
|
---|
940 | }
|
---|
941 | inline void ProMCEvent_Event::set_scale(float value) {
|
---|
942 | set_has_scale();
|
---|
943 | scale_ = value;
|
---|
944 | }
|
---|
945 |
|
---|
946 | // optional float Alpha_QCD = 13;
|
---|
947 | inline bool ProMCEvent_Event::has_alpha_qcd() const {
|
---|
948 | return (_has_bits_[0] & 0x00001000u) != 0;
|
---|
949 | }
|
---|
950 | inline void ProMCEvent_Event::set_has_alpha_qcd() {
|
---|
951 | _has_bits_[0] |= 0x00001000u;
|
---|
952 | }
|
---|
953 | inline void ProMCEvent_Event::clear_has_alpha_qcd() {
|
---|
954 | _has_bits_[0] &= ~0x00001000u;
|
---|
955 | }
|
---|
956 | inline void ProMCEvent_Event::clear_alpha_qcd() {
|
---|
957 | alpha_qcd_ = 0;
|
---|
958 | clear_has_alpha_qcd();
|
---|
959 | }
|
---|
960 | inline float ProMCEvent_Event::alpha_qcd() const {
|
---|
961 | return alpha_qcd_;
|
---|
962 | }
|
---|
963 | inline void ProMCEvent_Event::set_alpha_qcd(float value) {
|
---|
964 | set_has_alpha_qcd();
|
---|
965 | alpha_qcd_ = value;
|
---|
966 | }
|
---|
967 |
|
---|
968 | // optional double Weight = 14;
|
---|
969 | inline bool ProMCEvent_Event::has_weight() const {
|
---|
970 | return (_has_bits_[0] & 0x00002000u) != 0;
|
---|
971 | }
|
---|
972 | inline void ProMCEvent_Event::set_has_weight() {
|
---|
973 | _has_bits_[0] |= 0x00002000u;
|
---|
974 | }
|
---|
975 | inline void ProMCEvent_Event::clear_has_weight() {
|
---|
976 | _has_bits_[0] &= ~0x00002000u;
|
---|
977 | }
|
---|
978 | inline void ProMCEvent_Event::clear_weight() {
|
---|
979 | weight_ = 0;
|
---|
980 | clear_has_weight();
|
---|
981 | }
|
---|
982 | inline double ProMCEvent_Event::weight() const {
|
---|
983 | return weight_;
|
---|
984 | }
|
---|
985 | inline void ProMCEvent_Event::set_weight(double value) {
|
---|
986 | set_has_weight();
|
---|
987 | weight_ = value;
|
---|
988 | }
|
---|
989 |
|
---|
990 | // -------------------------------------------------------------------
|
---|
991 |
|
---|
992 | // ProMCEvent_Particles
|
---|
993 |
|
---|
994 | // repeated uint32 id = 1 [packed = true];
|
---|
995 | inline int ProMCEvent_Particles::id_size() const {
|
---|
996 | return id_.size();
|
---|
997 | }
|
---|
998 | inline void ProMCEvent_Particles::clear_id() {
|
---|
999 | id_.Clear();
|
---|
1000 | }
|
---|
1001 | inline ::google::protobuf::uint32 ProMCEvent_Particles::id(int index) const {
|
---|
1002 | return id_.Get(index);
|
---|
1003 | }
|
---|
1004 | inline void ProMCEvent_Particles::set_id(int index, ::google::protobuf::uint32 value) {
|
---|
1005 | id_.Set(index, value);
|
---|
1006 | }
|
---|
1007 | inline void ProMCEvent_Particles::add_id(::google::protobuf::uint32 value) {
|
---|
1008 | id_.Add(value);
|
---|
1009 | }
|
---|
1010 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
|
---|
1011 | ProMCEvent_Particles::id() const {
|
---|
1012 | return id_;
|
---|
1013 | }
|
---|
1014 | inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
|
---|
1015 | ProMCEvent_Particles::mutable_id() {
|
---|
1016 | return &id_;
|
---|
1017 | }
|
---|
1018 |
|
---|
1019 | // repeated sint32 pdg_id = 2 [packed = true];
|
---|
1020 | inline int ProMCEvent_Particles::pdg_id_size() const {
|
---|
1021 | return pdg_id_.size();
|
---|
1022 | }
|
---|
1023 | inline void ProMCEvent_Particles::clear_pdg_id() {
|
---|
1024 | pdg_id_.Clear();
|
---|
1025 | }
|
---|
1026 | inline ::google::protobuf::int32 ProMCEvent_Particles::pdg_id(int index) const {
|
---|
1027 | return pdg_id_.Get(index);
|
---|
1028 | }
|
---|
1029 | inline void ProMCEvent_Particles::set_pdg_id(int index, ::google::protobuf::int32 value) {
|
---|
1030 | pdg_id_.Set(index, value);
|
---|
1031 | }
|
---|
1032 | inline void ProMCEvent_Particles::add_pdg_id(::google::protobuf::int32 value) {
|
---|
1033 | pdg_id_.Add(value);
|
---|
1034 | }
|
---|
1035 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
|
---|
1036 | ProMCEvent_Particles::pdg_id() const {
|
---|
1037 | return pdg_id_;
|
---|
1038 | }
|
---|
1039 | inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
|
---|
1040 | ProMCEvent_Particles::mutable_pdg_id() {
|
---|
1041 | return &pdg_id_;
|
---|
1042 | }
|
---|
1043 |
|
---|
1044 | // repeated uint32 status = 3 [packed = true];
|
---|
1045 | inline int ProMCEvent_Particles::status_size() const {
|
---|
1046 | return status_.size();
|
---|
1047 | }
|
---|
1048 | inline void ProMCEvent_Particles::clear_status() {
|
---|
1049 | status_.Clear();
|
---|
1050 | }
|
---|
1051 | inline ::google::protobuf::uint32 ProMCEvent_Particles::status(int index) const {
|
---|
1052 | return status_.Get(index);
|
---|
1053 | }
|
---|
1054 | inline void ProMCEvent_Particles::set_status(int index, ::google::protobuf::uint32 value) {
|
---|
1055 | status_.Set(index, value);
|
---|
1056 | }
|
---|
1057 | inline void ProMCEvent_Particles::add_status(::google::protobuf::uint32 value) {
|
---|
1058 | status_.Add(value);
|
---|
1059 | }
|
---|
1060 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
|
---|
1061 | ProMCEvent_Particles::status() const {
|
---|
1062 | return status_;
|
---|
1063 | }
|
---|
1064 | inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
|
---|
1065 | ProMCEvent_Particles::mutable_status() {
|
---|
1066 | return &status_;
|
---|
1067 | }
|
---|
1068 |
|
---|
1069 | // repeated uint64 mass = 4 [packed = true];
|
---|
1070 | inline int ProMCEvent_Particles::mass_size() const {
|
---|
1071 | return mass_.size();
|
---|
1072 | }
|
---|
1073 | inline void ProMCEvent_Particles::clear_mass() {
|
---|
1074 | mass_.Clear();
|
---|
1075 | }
|
---|
1076 | inline ::google::protobuf::uint64 ProMCEvent_Particles::mass(int index) const {
|
---|
1077 | return mass_.Get(index);
|
---|
1078 | }
|
---|
1079 | inline void ProMCEvent_Particles::set_mass(int index, ::google::protobuf::uint64 value) {
|
---|
1080 | mass_.Set(index, value);
|
---|
1081 | }
|
---|
1082 | inline void ProMCEvent_Particles::add_mass(::google::protobuf::uint64 value) {
|
---|
1083 | mass_.Add(value);
|
---|
1084 | }
|
---|
1085 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
|
---|
1086 | ProMCEvent_Particles::mass() const {
|
---|
1087 | return mass_;
|
---|
1088 | }
|
---|
1089 | inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
|
---|
1090 | ProMCEvent_Particles::mutable_mass() {
|
---|
1091 | return &mass_;
|
---|
1092 | }
|
---|
1093 |
|
---|
1094 | // repeated sint64 Px = 5 [packed = true];
|
---|
1095 | inline int ProMCEvent_Particles::px_size() const {
|
---|
1096 | return px_.size();
|
---|
1097 | }
|
---|
1098 | inline void ProMCEvent_Particles::clear_px() {
|
---|
1099 | px_.Clear();
|
---|
1100 | }
|
---|
1101 | inline ::google::protobuf::int64 ProMCEvent_Particles::px(int index) const {
|
---|
1102 | return px_.Get(index);
|
---|
1103 | }
|
---|
1104 | inline void ProMCEvent_Particles::set_px(int index, ::google::protobuf::int64 value) {
|
---|
1105 | px_.Set(index, value);
|
---|
1106 | }
|
---|
1107 | inline void ProMCEvent_Particles::add_px(::google::protobuf::int64 value) {
|
---|
1108 | px_.Add(value);
|
---|
1109 | }
|
---|
1110 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
|
---|
1111 | ProMCEvent_Particles::px() const {
|
---|
1112 | return px_;
|
---|
1113 | }
|
---|
1114 | inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
|
---|
1115 | ProMCEvent_Particles::mutable_px() {
|
---|
1116 | return &px_;
|
---|
1117 | }
|
---|
1118 |
|
---|
1119 | // repeated sint64 Py = 6 [packed = true];
|
---|
1120 | inline int ProMCEvent_Particles::py_size() const {
|
---|
1121 | return py_.size();
|
---|
1122 | }
|
---|
1123 | inline void ProMCEvent_Particles::clear_py() {
|
---|
1124 | py_.Clear();
|
---|
1125 | }
|
---|
1126 | inline ::google::protobuf::int64 ProMCEvent_Particles::py(int index) const {
|
---|
1127 | return py_.Get(index);
|
---|
1128 | }
|
---|
1129 | inline void ProMCEvent_Particles::set_py(int index, ::google::protobuf::int64 value) {
|
---|
1130 | py_.Set(index, value);
|
---|
1131 | }
|
---|
1132 | inline void ProMCEvent_Particles::add_py(::google::protobuf::int64 value) {
|
---|
1133 | py_.Add(value);
|
---|
1134 | }
|
---|
1135 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
|
---|
1136 | ProMCEvent_Particles::py() const {
|
---|
1137 | return py_;
|
---|
1138 | }
|
---|
1139 | inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
|
---|
1140 | ProMCEvent_Particles::mutable_py() {
|
---|
1141 | return &py_;
|
---|
1142 | }
|
---|
1143 |
|
---|
1144 | // repeated sint64 Pz = 7 [packed = true];
|
---|
1145 | inline int ProMCEvent_Particles::pz_size() const {
|
---|
1146 | return pz_.size();
|
---|
1147 | }
|
---|
1148 | inline void ProMCEvent_Particles::clear_pz() {
|
---|
1149 | pz_.Clear();
|
---|
1150 | }
|
---|
1151 | inline ::google::protobuf::int64 ProMCEvent_Particles::pz(int index) const {
|
---|
1152 | return pz_.Get(index);
|
---|
1153 | }
|
---|
1154 | inline void ProMCEvent_Particles::set_pz(int index, ::google::protobuf::int64 value) {
|
---|
1155 | pz_.Set(index, value);
|
---|
1156 | }
|
---|
1157 | inline void ProMCEvent_Particles::add_pz(::google::protobuf::int64 value) {
|
---|
1158 | pz_.Add(value);
|
---|
1159 | }
|
---|
1160 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
|
---|
1161 | ProMCEvent_Particles::pz() const {
|
---|
1162 | return pz_;
|
---|
1163 | }
|
---|
1164 | inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
|
---|
1165 | ProMCEvent_Particles::mutable_pz() {
|
---|
1166 | return &pz_;
|
---|
1167 | }
|
---|
1168 |
|
---|
1169 | // repeated uint32 mother1 = 8 [packed = true];
|
---|
1170 | inline int ProMCEvent_Particles::mother1_size() const {
|
---|
1171 | return mother1_.size();
|
---|
1172 | }
|
---|
1173 | inline void ProMCEvent_Particles::clear_mother1() {
|
---|
1174 | mother1_.Clear();
|
---|
1175 | }
|
---|
1176 | inline ::google::protobuf::uint32 ProMCEvent_Particles::mother1(int index) const {
|
---|
1177 | return mother1_.Get(index);
|
---|
1178 | }
|
---|
1179 | inline void ProMCEvent_Particles::set_mother1(int index, ::google::protobuf::uint32 value) {
|
---|
1180 | mother1_.Set(index, value);
|
---|
1181 | }
|
---|
1182 | inline void ProMCEvent_Particles::add_mother1(::google::protobuf::uint32 value) {
|
---|
1183 | mother1_.Add(value);
|
---|
1184 | }
|
---|
1185 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
|
---|
1186 | ProMCEvent_Particles::mother1() const {
|
---|
1187 | return mother1_;
|
---|
1188 | }
|
---|
1189 | inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
|
---|
1190 | ProMCEvent_Particles::mutable_mother1() {
|
---|
1191 | return &mother1_;
|
---|
1192 | }
|
---|
1193 |
|
---|
1194 | // repeated uint32 mother2 = 9 [packed = true];
|
---|
1195 | inline int ProMCEvent_Particles::mother2_size() const {
|
---|
1196 | return mother2_.size();
|
---|
1197 | }
|
---|
1198 | inline void ProMCEvent_Particles::clear_mother2() {
|
---|
1199 | mother2_.Clear();
|
---|
1200 | }
|
---|
1201 | inline ::google::protobuf::uint32 ProMCEvent_Particles::mother2(int index) const {
|
---|
1202 | return mother2_.Get(index);
|
---|
1203 | }
|
---|
1204 | inline void ProMCEvent_Particles::set_mother2(int index, ::google::protobuf::uint32 value) {
|
---|
1205 | mother2_.Set(index, value);
|
---|
1206 | }
|
---|
1207 | inline void ProMCEvent_Particles::add_mother2(::google::protobuf::uint32 value) {
|
---|
1208 | mother2_.Add(value);
|
---|
1209 | }
|
---|
1210 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
|
---|
1211 | ProMCEvent_Particles::mother2() const {
|
---|
1212 | return mother2_;
|
---|
1213 | }
|
---|
1214 | inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
|
---|
1215 | ProMCEvent_Particles::mutable_mother2() {
|
---|
1216 | return &mother2_;
|
---|
1217 | }
|
---|
1218 |
|
---|
1219 | // repeated uint32 daughter1 = 10 [packed = true];
|
---|
1220 | inline int ProMCEvent_Particles::daughter1_size() const {
|
---|
1221 | return daughter1_.size();
|
---|
1222 | }
|
---|
1223 | inline void ProMCEvent_Particles::clear_daughter1() {
|
---|
1224 | daughter1_.Clear();
|
---|
1225 | }
|
---|
1226 | inline ::google::protobuf::uint32 ProMCEvent_Particles::daughter1(int index) const {
|
---|
1227 | return daughter1_.Get(index);
|
---|
1228 | }
|
---|
1229 | inline void ProMCEvent_Particles::set_daughter1(int index, ::google::protobuf::uint32 value) {
|
---|
1230 | daughter1_.Set(index, value);
|
---|
1231 | }
|
---|
1232 | inline void ProMCEvent_Particles::add_daughter1(::google::protobuf::uint32 value) {
|
---|
1233 | daughter1_.Add(value);
|
---|
1234 | }
|
---|
1235 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
|
---|
1236 | ProMCEvent_Particles::daughter1() const {
|
---|
1237 | return daughter1_;
|
---|
1238 | }
|
---|
1239 | inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
|
---|
1240 | ProMCEvent_Particles::mutable_daughter1() {
|
---|
1241 | return &daughter1_;
|
---|
1242 | }
|
---|
1243 |
|
---|
1244 | // repeated uint32 daughter2 = 11 [packed = true];
|
---|
1245 | inline int ProMCEvent_Particles::daughter2_size() const {
|
---|
1246 | return daughter2_.size();
|
---|
1247 | }
|
---|
1248 | inline void ProMCEvent_Particles::clear_daughter2() {
|
---|
1249 | daughter2_.Clear();
|
---|
1250 | }
|
---|
1251 | inline ::google::protobuf::uint32 ProMCEvent_Particles::daughter2(int index) const {
|
---|
1252 | return daughter2_.Get(index);
|
---|
1253 | }
|
---|
1254 | inline void ProMCEvent_Particles::set_daughter2(int index, ::google::protobuf::uint32 value) {
|
---|
1255 | daughter2_.Set(index, value);
|
---|
1256 | }
|
---|
1257 | inline void ProMCEvent_Particles::add_daughter2(::google::protobuf::uint32 value) {
|
---|
1258 | daughter2_.Add(value);
|
---|
1259 | }
|
---|
1260 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
|
---|
1261 | ProMCEvent_Particles::daughter2() const {
|
---|
1262 | return daughter2_;
|
---|
1263 | }
|
---|
1264 | inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
|
---|
1265 | ProMCEvent_Particles::mutable_daughter2() {
|
---|
1266 | return &daughter2_;
|
---|
1267 | }
|
---|
1268 |
|
---|
1269 | // repeated sint32 barcode = 12 [packed = true];
|
---|
1270 | inline int ProMCEvent_Particles::barcode_size() const {
|
---|
1271 | return barcode_.size();
|
---|
1272 | }
|
---|
1273 | inline void ProMCEvent_Particles::clear_barcode() {
|
---|
1274 | barcode_.Clear();
|
---|
1275 | }
|
---|
1276 | inline ::google::protobuf::int32 ProMCEvent_Particles::barcode(int index) const {
|
---|
1277 | return barcode_.Get(index);
|
---|
1278 | }
|
---|
1279 | inline void ProMCEvent_Particles::set_barcode(int index, ::google::protobuf::int32 value) {
|
---|
1280 | barcode_.Set(index, value);
|
---|
1281 | }
|
---|
1282 | inline void ProMCEvent_Particles::add_barcode(::google::protobuf::int32 value) {
|
---|
1283 | barcode_.Add(value);
|
---|
1284 | }
|
---|
1285 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
|
---|
1286 | ProMCEvent_Particles::barcode() const {
|
---|
1287 | return barcode_;
|
---|
1288 | }
|
---|
1289 | inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
|
---|
1290 | ProMCEvent_Particles::mutable_barcode() {
|
---|
1291 | return &barcode_;
|
---|
1292 | }
|
---|
1293 |
|
---|
1294 | // repeated sint32 X = 13 [packed = true];
|
---|
1295 | inline int ProMCEvent_Particles::x_size() const {
|
---|
1296 | return x_.size();
|
---|
1297 | }
|
---|
1298 | inline void ProMCEvent_Particles::clear_x() {
|
---|
1299 | x_.Clear();
|
---|
1300 | }
|
---|
1301 | inline ::google::protobuf::int32 ProMCEvent_Particles::x(int index) const {
|
---|
1302 | return x_.Get(index);
|
---|
1303 | }
|
---|
1304 | inline void ProMCEvent_Particles::set_x(int index, ::google::protobuf::int32 value) {
|
---|
1305 | x_.Set(index, value);
|
---|
1306 | }
|
---|
1307 | inline void ProMCEvent_Particles::add_x(::google::protobuf::int32 value) {
|
---|
1308 | x_.Add(value);
|
---|
1309 | }
|
---|
1310 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
|
---|
1311 | ProMCEvent_Particles::x() const {
|
---|
1312 | return x_;
|
---|
1313 | }
|
---|
1314 | inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
|
---|
1315 | ProMCEvent_Particles::mutable_x() {
|
---|
1316 | return &x_;
|
---|
1317 | }
|
---|
1318 |
|
---|
1319 | // repeated sint32 Y = 14 [packed = true];
|
---|
1320 | inline int ProMCEvent_Particles::y_size() const {
|
---|
1321 | return y_.size();
|
---|
1322 | }
|
---|
1323 | inline void ProMCEvent_Particles::clear_y() {
|
---|
1324 | y_.Clear();
|
---|
1325 | }
|
---|
1326 | inline ::google::protobuf::int32 ProMCEvent_Particles::y(int index) const {
|
---|
1327 | return y_.Get(index);
|
---|
1328 | }
|
---|
1329 | inline void ProMCEvent_Particles::set_y(int index, ::google::protobuf::int32 value) {
|
---|
1330 | y_.Set(index, value);
|
---|
1331 | }
|
---|
1332 | inline void ProMCEvent_Particles::add_y(::google::protobuf::int32 value) {
|
---|
1333 | y_.Add(value);
|
---|
1334 | }
|
---|
1335 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
|
---|
1336 | ProMCEvent_Particles::y() const {
|
---|
1337 | return y_;
|
---|
1338 | }
|
---|
1339 | inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
|
---|
1340 | ProMCEvent_Particles::mutable_y() {
|
---|
1341 | return &y_;
|
---|
1342 | }
|
---|
1343 |
|
---|
1344 | // repeated sint32 Z = 15 [packed = true];
|
---|
1345 | inline int ProMCEvent_Particles::z_size() const {
|
---|
1346 | return z_.size();
|
---|
1347 | }
|
---|
1348 | inline void ProMCEvent_Particles::clear_z() {
|
---|
1349 | z_.Clear();
|
---|
1350 | }
|
---|
1351 | inline ::google::protobuf::int32 ProMCEvent_Particles::z(int index) const {
|
---|
1352 | return z_.Get(index);
|
---|
1353 | }
|
---|
1354 | inline void ProMCEvent_Particles::set_z(int index, ::google::protobuf::int32 value) {
|
---|
1355 | z_.Set(index, value);
|
---|
1356 | }
|
---|
1357 | inline void ProMCEvent_Particles::add_z(::google::protobuf::int32 value) {
|
---|
1358 | z_.Add(value);
|
---|
1359 | }
|
---|
1360 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
|
---|
1361 | ProMCEvent_Particles::z() const {
|
---|
1362 | return z_;
|
---|
1363 | }
|
---|
1364 | inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
|
---|
1365 | ProMCEvent_Particles::mutable_z() {
|
---|
1366 | return &z_;
|
---|
1367 | }
|
---|
1368 |
|
---|
1369 | // repeated uint32 T = 16 [packed = true];
|
---|
1370 | inline int ProMCEvent_Particles::t_size() const {
|
---|
1371 | return t_.size();
|
---|
1372 | }
|
---|
1373 | inline void ProMCEvent_Particles::clear_t() {
|
---|
1374 | t_.Clear();
|
---|
1375 | }
|
---|
1376 | inline ::google::protobuf::uint32 ProMCEvent_Particles::t(int index) const {
|
---|
1377 | return t_.Get(index);
|
---|
1378 | }
|
---|
1379 | inline void ProMCEvent_Particles::set_t(int index, ::google::protobuf::uint32 value) {
|
---|
1380 | t_.Set(index, value);
|
---|
1381 | }
|
---|
1382 | inline void ProMCEvent_Particles::add_t(::google::protobuf::uint32 value) {
|
---|
1383 | t_.Add(value);
|
---|
1384 | }
|
---|
1385 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
|
---|
1386 | ProMCEvent_Particles::t() const {
|
---|
1387 | return t_;
|
---|
1388 | }
|
---|
1389 | inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
|
---|
1390 | ProMCEvent_Particles::mutable_t() {
|
---|
1391 | return &t_;
|
---|
1392 | }
|
---|
1393 |
|
---|
1394 | // repeated uint64 weight = 17 [packed = true];
|
---|
1395 | inline int ProMCEvent_Particles::weight_size() const {
|
---|
1396 | return weight_.size();
|
---|
1397 | }
|
---|
1398 | inline void ProMCEvent_Particles::clear_weight() {
|
---|
1399 | weight_.Clear();
|
---|
1400 | }
|
---|
1401 | inline ::google::protobuf::uint64 ProMCEvent_Particles::weight(int index) const {
|
---|
1402 | return weight_.Get(index);
|
---|
1403 | }
|
---|
1404 | inline void ProMCEvent_Particles::set_weight(int index, ::google::protobuf::uint64 value) {
|
---|
1405 | weight_.Set(index, value);
|
---|
1406 | }
|
---|
1407 | inline void ProMCEvent_Particles::add_weight(::google::protobuf::uint64 value) {
|
---|
1408 | weight_.Add(value);
|
---|
1409 | }
|
---|
1410 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
|
---|
1411 | ProMCEvent_Particles::weight() const {
|
---|
1412 | return weight_;
|
---|
1413 | }
|
---|
1414 | inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
|
---|
1415 | ProMCEvent_Particles::mutable_weight() {
|
---|
1416 | return &weight_;
|
---|
1417 | }
|
---|
1418 |
|
---|
1419 | // repeated sint32 charge = 18 [packed = true];
|
---|
1420 | inline int ProMCEvent_Particles::charge_size() const {
|
---|
1421 | return charge_.size();
|
---|
1422 | }
|
---|
1423 | inline void ProMCEvent_Particles::clear_charge() {
|
---|
1424 | charge_.Clear();
|
---|
1425 | }
|
---|
1426 | inline ::google::protobuf::int32 ProMCEvent_Particles::charge(int index) const {
|
---|
1427 | return charge_.Get(index);
|
---|
1428 | }
|
---|
1429 | inline void ProMCEvent_Particles::set_charge(int index, ::google::protobuf::int32 value) {
|
---|
1430 | charge_.Set(index, value);
|
---|
1431 | }
|
---|
1432 | inline void ProMCEvent_Particles::add_charge(::google::protobuf::int32 value) {
|
---|
1433 | charge_.Add(value);
|
---|
1434 | }
|
---|
1435 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
|
---|
1436 | ProMCEvent_Particles::charge() const {
|
---|
1437 | return charge_;
|
---|
1438 | }
|
---|
1439 | inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
|
---|
1440 | ProMCEvent_Particles::mutable_charge() {
|
---|
1441 | return &charge_;
|
---|
1442 | }
|
---|
1443 |
|
---|
1444 | // -------------------------------------------------------------------
|
---|
1445 |
|
---|
1446 | // ProMCEvent
|
---|
1447 |
|
---|
1448 | // optional .promc.ProMCEvent.Event event = 1;
|
---|
1449 | inline bool ProMCEvent::has_event() const {
|
---|
1450 | return (_has_bits_[0] & 0x00000001u) != 0;
|
---|
1451 | }
|
---|
1452 | inline void ProMCEvent::set_has_event() {
|
---|
1453 | _has_bits_[0] |= 0x00000001u;
|
---|
1454 | }
|
---|
1455 | inline void ProMCEvent::clear_has_event() {
|
---|
1456 | _has_bits_[0] &= ~0x00000001u;
|
---|
1457 | }
|
---|
1458 | inline void ProMCEvent::clear_event() {
|
---|
1459 | if (event_ != NULL) event_->::promc::ProMCEvent_Event::Clear();
|
---|
1460 | clear_has_event();
|
---|
1461 | }
|
---|
1462 | inline const ::promc::ProMCEvent_Event& ProMCEvent::event() const {
|
---|
1463 | return event_ != NULL ? *event_ : *default_instance_->event_;
|
---|
1464 | }
|
---|
1465 | inline ::promc::ProMCEvent_Event* ProMCEvent::mutable_event() {
|
---|
1466 | set_has_event();
|
---|
1467 | if (event_ == NULL) event_ = new ::promc::ProMCEvent_Event;
|
---|
1468 | return event_;
|
---|
1469 | }
|
---|
1470 | inline ::promc::ProMCEvent_Event* ProMCEvent::release_event() {
|
---|
1471 | clear_has_event();
|
---|
1472 | ::promc::ProMCEvent_Event* temp = event_;
|
---|
1473 | event_ = NULL;
|
---|
1474 | return temp;
|
---|
1475 | }
|
---|
1476 | inline void ProMCEvent::set_allocated_event(::promc::ProMCEvent_Event* event) {
|
---|
1477 | delete event_;
|
---|
1478 | event_ = event;
|
---|
1479 | if (event) {
|
---|
1480 | set_has_event();
|
---|
1481 | } else {
|
---|
1482 | clear_has_event();
|
---|
1483 | }
|
---|
1484 | }
|
---|
1485 |
|
---|
1486 | // optional .promc.ProMCEvent.Particles particles = 2;
|
---|
1487 | inline bool ProMCEvent::has_particles() const {
|
---|
1488 | return (_has_bits_[0] & 0x00000002u) != 0;
|
---|
1489 | }
|
---|
1490 | inline void ProMCEvent::set_has_particles() {
|
---|
1491 | _has_bits_[0] |= 0x00000002u;
|
---|
1492 | }
|
---|
1493 | inline void ProMCEvent::clear_has_particles() {
|
---|
1494 | _has_bits_[0] &= ~0x00000002u;
|
---|
1495 | }
|
---|
1496 | inline void ProMCEvent::clear_particles() {
|
---|
1497 | if (particles_ != NULL) particles_->::promc::ProMCEvent_Particles::Clear();
|
---|
1498 | clear_has_particles();
|
---|
1499 | }
|
---|
1500 | inline const ::promc::ProMCEvent_Particles& ProMCEvent::particles() const {
|
---|
1501 | return particles_ != NULL ? *particles_ : *default_instance_->particles_;
|
---|
1502 | }
|
---|
1503 | inline ::promc::ProMCEvent_Particles* ProMCEvent::mutable_particles() {
|
---|
1504 | set_has_particles();
|
---|
1505 | if (particles_ == NULL) particles_ = new ::promc::ProMCEvent_Particles;
|
---|
1506 | return particles_;
|
---|
1507 | }
|
---|
1508 | inline ::promc::ProMCEvent_Particles* ProMCEvent::release_particles() {
|
---|
1509 | clear_has_particles();
|
---|
1510 | ::promc::ProMCEvent_Particles* temp = particles_;
|
---|
1511 | particles_ = NULL;
|
---|
1512 | return temp;
|
---|
1513 | }
|
---|
1514 | inline void ProMCEvent::set_allocated_particles(::promc::ProMCEvent_Particles* particles) {
|
---|
1515 | delete particles_;
|
---|
1516 | particles_ = particles;
|
---|
1517 | if (particles) {
|
---|
1518 | set_has_particles();
|
---|
1519 | } else {
|
---|
1520 | clear_has_particles();
|
---|
1521 | }
|
---|
1522 | }
|
---|
1523 |
|
---|
1524 |
|
---|
1525 | // @@protoc_insertion_point(namespace_scope)
|
---|
1526 |
|
---|
1527 | } // namespace promc
|
---|
1528 |
|
---|
1529 | #ifndef SWIG
|
---|
1530 | namespace google {
|
---|
1531 | namespace protobuf {
|
---|
1532 |
|
---|
1533 |
|
---|
1534 | } // namespace google
|
---|
1535 | } // namespace protobuf
|
---|
1536 | #endif // SWIG
|
---|
1537 |
|
---|
1538 | // @@protoc_insertion_point(global_scope)
|
---|
1539 |
|
---|
1540 | #endif // PROTOBUF_ProMC_2eproto__INCLUDED
|
---|