ProMC  1.3
 All Classes Functions
ProMC.pb.h
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:
45  virtual ~ProMCEvent_Event();
46 
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:
257  virtual ~ProMCEvent_Particles();
258 
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  // repeated sint64 energy = 19 [packed = true];
525  inline int energy_size() const;
526  inline void clear_energy();
527  static const int kEnergyFieldNumber = 19;
528  inline ::google::protobuf::int64 energy(int index) const;
529  inline void set_energy(int index, ::google::protobuf::int64 value);
530  inline void add_energy(::google::protobuf::int64 value);
531  inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
532  energy() const;
533  inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
534  mutable_energy();
535 
536  // @@protoc_insertion_point(class_scope:promc.ProMCEvent.Particles)
537  private:
538 
539  ::google::protobuf::UnknownFieldSet _unknown_fields_;
540 
541  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > id_;
542  mutable int _id_cached_byte_size_;
543  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > pdg_id_;
544  mutable int _pdg_id_cached_byte_size_;
545  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > status_;
546  mutable int _status_cached_byte_size_;
547  ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > mass_;
548  mutable int _mass_cached_byte_size_;
549  ::google::protobuf::RepeatedField< ::google::protobuf::int64 > px_;
550  mutable int _px_cached_byte_size_;
551  ::google::protobuf::RepeatedField< ::google::protobuf::int64 > py_;
552  mutable int _py_cached_byte_size_;
553  ::google::protobuf::RepeatedField< ::google::protobuf::int64 > pz_;
554  mutable int _pz_cached_byte_size_;
555  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > mother1_;
556  mutable int _mother1_cached_byte_size_;
557  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > mother2_;
558  mutable int _mother2_cached_byte_size_;
559  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > daughter1_;
560  mutable int _daughter1_cached_byte_size_;
561  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > daughter2_;
562  mutable int _daughter2_cached_byte_size_;
563  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > barcode_;
564  mutable int _barcode_cached_byte_size_;
565  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > x_;
566  mutable int _x_cached_byte_size_;
567  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > y_;
568  mutable int _y_cached_byte_size_;
569  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > z_;
570  mutable int _z_cached_byte_size_;
571  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > t_;
572  mutable int _t_cached_byte_size_;
573  ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > weight_;
574  mutable int _weight_cached_byte_size_;
575  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > charge_;
576  mutable int _charge_cached_byte_size_;
577  ::google::protobuf::RepeatedField< ::google::protobuf::int64 > energy_;
578  mutable int _energy_cached_byte_size_;
579 
580  mutable int _cached_size_;
581  ::google::protobuf::uint32 _has_bits_[(19 + 31) / 32];
582 
583  friend void protobuf_AddDesc_ProMC_2eproto();
584  friend void protobuf_AssignDesc_ProMC_2eproto();
585  friend void protobuf_ShutdownFile_ProMC_2eproto();
586 
587  void InitAsDefaultInstance();
588  static ProMCEvent_Particles* default_instance_;
589 };
590 // -------------------------------------------------------------------
591 
592 class ProMCEvent : public ::google::protobuf::Message {
593  public:
594  ProMCEvent();
595  virtual ~ProMCEvent();
596 
597  ProMCEvent(const ProMCEvent& from);
598 
599  inline ProMCEvent& operator=(const ProMCEvent& from) {
600  CopyFrom(from);
601  return *this;
602  }
603 
604  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
605  return _unknown_fields_;
606  }
607 
608  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
609  return &_unknown_fields_;
610  }
611 
612  static const ::google::protobuf::Descriptor* descriptor();
613  static const ProMCEvent& default_instance();
614 
615  void Swap(ProMCEvent* other);
616 
617  // implements Message ----------------------------------------------
618 
619  ProMCEvent* New() const;
620  void CopyFrom(const ::google::protobuf::Message& from);
621  void MergeFrom(const ::google::protobuf::Message& from);
622  void CopyFrom(const ProMCEvent& from);
623  void MergeFrom(const ProMCEvent& from);
624  void Clear();
625  bool IsInitialized() const;
626 
627  int ByteSize() const;
628  bool MergePartialFromCodedStream(
629  ::google::protobuf::io::CodedInputStream* input);
630  void SerializeWithCachedSizes(
631  ::google::protobuf::io::CodedOutputStream* output) const;
632  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
633  int GetCachedSize() const { return _cached_size_; }
634  private:
635  void SharedCtor();
636  void SharedDtor();
637  void SetCachedSize(int size) const;
638  public:
639 
640  ::google::protobuf::Metadata GetMetadata() const;
641 
642  // nested types ----------------------------------------------------
643 
644  typedef ProMCEvent_Event Event;
646 
647  // accessors -------------------------------------------------------
648 
649  // optional .promc.ProMCEvent.Event event = 1;
650  inline bool has_event() const;
651  inline void clear_event();
652  static const int kEventFieldNumber = 1;
653  inline const ::promc::ProMCEvent_Event& event() const;
654  inline ::promc::ProMCEvent_Event* mutable_event();
655  inline ::promc::ProMCEvent_Event* release_event();
656  inline void set_allocated_event(::promc::ProMCEvent_Event* event);
657 
658  // optional .promc.ProMCEvent.Particles particles = 2;
659  inline bool has_particles() const;
660  inline void clear_particles();
661  static const int kParticlesFieldNumber = 2;
662  inline const ::promc::ProMCEvent_Particles& particles() const;
663  inline ::promc::ProMCEvent_Particles* mutable_particles();
664  inline ::promc::ProMCEvent_Particles* release_particles();
665  inline void set_allocated_particles(::promc::ProMCEvent_Particles* particles);
666 
667  // @@protoc_insertion_point(class_scope:promc.ProMCEvent)
668  private:
669  inline void set_has_event();
670  inline void clear_has_event();
671  inline void set_has_particles();
672  inline void clear_has_particles();
673 
674  ::google::protobuf::UnknownFieldSet _unknown_fields_;
675 
677  ::promc::ProMCEvent_Particles* particles_;
678 
679  mutable int _cached_size_;
680  ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
681 
682  friend void protobuf_AddDesc_ProMC_2eproto();
683  friend void protobuf_AssignDesc_ProMC_2eproto();
684  friend void protobuf_ShutdownFile_ProMC_2eproto();
685 
686  void InitAsDefaultInstance();
687  static ProMCEvent* default_instance_;
688 };
689 // ===================================================================
690 
691 
692 // ===================================================================
693 
694 // ProMCEvent_Event
695 
696 // optional int32 Number = 1;
697 inline bool ProMCEvent_Event::has_number() const {
698  return (_has_bits_[0] & 0x00000001u) != 0;
699 }
700 inline void ProMCEvent_Event::set_has_number() {
701  _has_bits_[0] |= 0x00000001u;
702 }
703 inline void ProMCEvent_Event::clear_has_number() {
704  _has_bits_[0] &= ~0x00000001u;
705 }
706 inline void ProMCEvent_Event::clear_number() {
707  number_ = 0;
708  clear_has_number();
709 }
710 inline ::google::protobuf::int32 ProMCEvent_Event::number() const {
711  return number_;
712 }
713 inline void ProMCEvent_Event::set_number(::google::protobuf::int32 value) {
714  set_has_number();
715  number_ = value;
716 }
717 
718 // optional int32 Process_ID = 2;
719 inline bool ProMCEvent_Event::has_process_id() const {
720  return (_has_bits_[0] & 0x00000002u) != 0;
721 }
722 inline void ProMCEvent_Event::set_has_process_id() {
723  _has_bits_[0] |= 0x00000002u;
724 }
725 inline void ProMCEvent_Event::clear_has_process_id() {
726  _has_bits_[0] &= ~0x00000002u;
727 }
728 inline void ProMCEvent_Event::clear_process_id() {
729  process_id_ = 0;
730  clear_has_process_id();
731 }
732 inline ::google::protobuf::int32 ProMCEvent_Event::process_id() const {
733  return process_id_;
734 }
735 inline void ProMCEvent_Event::set_process_id(::google::protobuf::int32 value) {
736  set_has_process_id();
737  process_id_ = value;
738 }
739 
740 // optional int32 MPI = 3;
741 inline bool ProMCEvent_Event::has_mpi() const {
742  return (_has_bits_[0] & 0x00000004u) != 0;
743 }
744 inline void ProMCEvent_Event::set_has_mpi() {
745  _has_bits_[0] |= 0x00000004u;
746 }
747 inline void ProMCEvent_Event::clear_has_mpi() {
748  _has_bits_[0] &= ~0x00000004u;
749 }
750 inline void ProMCEvent_Event::clear_mpi() {
751  mpi_ = 0;
752  clear_has_mpi();
753 }
754 inline ::google::protobuf::int32 ProMCEvent_Event::mpi() const {
755  return mpi_;
756 }
757 inline void ProMCEvent_Event::set_mpi(::google::protobuf::int32 value) {
758  set_has_mpi();
759  mpi_ = value;
760 }
761 
762 // optional int32 ID1 = 4;
763 inline bool ProMCEvent_Event::has_id1() const {
764  return (_has_bits_[0] & 0x00000008u) != 0;
765 }
766 inline void ProMCEvent_Event::set_has_id1() {
767  _has_bits_[0] |= 0x00000008u;
768 }
769 inline void ProMCEvent_Event::clear_has_id1() {
770  _has_bits_[0] &= ~0x00000008u;
771 }
772 inline void ProMCEvent_Event::clear_id1() {
773  id1_ = 0;
774  clear_has_id1();
775 }
776 inline ::google::protobuf::int32 ProMCEvent_Event::id1() const {
777  return id1_;
778 }
779 inline void ProMCEvent_Event::set_id1(::google::protobuf::int32 value) {
780  set_has_id1();
781  id1_ = value;
782 }
783 
784 // optional int32 ID2 = 5;
785 inline bool ProMCEvent_Event::has_id2() const {
786  return (_has_bits_[0] & 0x00000010u) != 0;
787 }
788 inline void ProMCEvent_Event::set_has_id2() {
789  _has_bits_[0] |= 0x00000010u;
790 }
791 inline void ProMCEvent_Event::clear_has_id2() {
792  _has_bits_[0] &= ~0x00000010u;
793 }
794 inline void ProMCEvent_Event::clear_id2() {
795  id2_ = 0;
796  clear_has_id2();
797 }
798 inline ::google::protobuf::int32 ProMCEvent_Event::id2() const {
799  return id2_;
800 }
801 inline void ProMCEvent_Event::set_id2(::google::protobuf::int32 value) {
802  set_has_id2();
803  id2_ = value;
804 }
805 
806 // optional float PDF1 = 6;
807 inline bool ProMCEvent_Event::has_pdf1() const {
808  return (_has_bits_[0] & 0x00000020u) != 0;
809 }
810 inline void ProMCEvent_Event::set_has_pdf1() {
811  _has_bits_[0] |= 0x00000020u;
812 }
813 inline void ProMCEvent_Event::clear_has_pdf1() {
814  _has_bits_[0] &= ~0x00000020u;
815 }
816 inline void ProMCEvent_Event::clear_pdf1() {
817  pdf1_ = 0;
818  clear_has_pdf1();
819 }
820 inline float ProMCEvent_Event::pdf1() const {
821  return pdf1_;
822 }
823 inline void ProMCEvent_Event::set_pdf1(float value) {
824  set_has_pdf1();
825  pdf1_ = value;
826 }
827 
828 // optional float PDF2 = 7;
829 inline bool ProMCEvent_Event::has_pdf2() const {
830  return (_has_bits_[0] & 0x00000040u) != 0;
831 }
832 inline void ProMCEvent_Event::set_has_pdf2() {
833  _has_bits_[0] |= 0x00000040u;
834 }
835 inline void ProMCEvent_Event::clear_has_pdf2() {
836  _has_bits_[0] &= ~0x00000040u;
837 }
838 inline void ProMCEvent_Event::clear_pdf2() {
839  pdf2_ = 0;
840  clear_has_pdf2();
841 }
842 inline float ProMCEvent_Event::pdf2() const {
843  return pdf2_;
844 }
845 inline void ProMCEvent_Event::set_pdf2(float value) {
846  set_has_pdf2();
847  pdf2_ = value;
848 }
849 
850 // optional float X1 = 8;
851 inline bool ProMCEvent_Event::has_x1() const {
852  return (_has_bits_[0] & 0x00000080u) != 0;
853 }
854 inline void ProMCEvent_Event::set_has_x1() {
855  _has_bits_[0] |= 0x00000080u;
856 }
857 inline void ProMCEvent_Event::clear_has_x1() {
858  _has_bits_[0] &= ~0x00000080u;
859 }
860 inline void ProMCEvent_Event::clear_x1() {
861  x1_ = 0;
862  clear_has_x1();
863 }
864 inline float ProMCEvent_Event::x1() const {
865  return x1_;
866 }
867 inline void ProMCEvent_Event::set_x1(float value) {
868  set_has_x1();
869  x1_ = value;
870 }
871 
872 // optional float X2 = 9;
873 inline bool ProMCEvent_Event::has_x2() const {
874  return (_has_bits_[0] & 0x00000100u) != 0;
875 }
876 inline void ProMCEvent_Event::set_has_x2() {
877  _has_bits_[0] |= 0x00000100u;
878 }
879 inline void ProMCEvent_Event::clear_has_x2() {
880  _has_bits_[0] &= ~0x00000100u;
881 }
882 inline void ProMCEvent_Event::clear_x2() {
883  x2_ = 0;
884  clear_has_x2();
885 }
886 inline float ProMCEvent_Event::x2() const {
887  return x2_;
888 }
889 inline void ProMCEvent_Event::set_x2(float value) {
890  set_has_x2();
891  x2_ = value;
892 }
893 
894 // optional float Scale_PDF = 10;
895 inline bool ProMCEvent_Event::has_scale_pdf() const {
896  return (_has_bits_[0] & 0x00000200u) != 0;
897 }
898 inline void ProMCEvent_Event::set_has_scale_pdf() {
899  _has_bits_[0] |= 0x00000200u;
900 }
901 inline void ProMCEvent_Event::clear_has_scale_pdf() {
902  _has_bits_[0] &= ~0x00000200u;
903 }
904 inline void ProMCEvent_Event::clear_scale_pdf() {
905  scale_pdf_ = 0;
906  clear_has_scale_pdf();
907 }
908 inline float ProMCEvent_Event::scale_pdf() const {
909  return scale_pdf_;
910 }
911 inline void ProMCEvent_Event::set_scale_pdf(float value) {
912  set_has_scale_pdf();
913  scale_pdf_ = value;
914 }
915 
916 // optional float Alpha_QED = 11;
917 inline bool ProMCEvent_Event::has_alpha_qed() const {
918  return (_has_bits_[0] & 0x00000400u) != 0;
919 }
920 inline void ProMCEvent_Event::set_has_alpha_qed() {
921  _has_bits_[0] |= 0x00000400u;
922 }
923 inline void ProMCEvent_Event::clear_has_alpha_qed() {
924  _has_bits_[0] &= ~0x00000400u;
925 }
926 inline void ProMCEvent_Event::clear_alpha_qed() {
927  alpha_qed_ = 0;
928  clear_has_alpha_qed();
929 }
930 inline float ProMCEvent_Event::alpha_qed() const {
931  return alpha_qed_;
932 }
933 inline void ProMCEvent_Event::set_alpha_qed(float value) {
934  set_has_alpha_qed();
935  alpha_qed_ = value;
936 }
937 
938 // optional float Scale = 12;
939 inline bool ProMCEvent_Event::has_scale() const {
940  return (_has_bits_[0] & 0x00000800u) != 0;
941 }
942 inline void ProMCEvent_Event::set_has_scale() {
943  _has_bits_[0] |= 0x00000800u;
944 }
945 inline void ProMCEvent_Event::clear_has_scale() {
946  _has_bits_[0] &= ~0x00000800u;
947 }
948 inline void ProMCEvent_Event::clear_scale() {
949  scale_ = 0;
950  clear_has_scale();
951 }
952 inline float ProMCEvent_Event::scale() const {
953  return scale_;
954 }
955 inline void ProMCEvent_Event::set_scale(float value) {
956  set_has_scale();
957  scale_ = value;
958 }
959 
960 // optional float Alpha_QCD = 13;
961 inline bool ProMCEvent_Event::has_alpha_qcd() const {
962  return (_has_bits_[0] & 0x00001000u) != 0;
963 }
964 inline void ProMCEvent_Event::set_has_alpha_qcd() {
965  _has_bits_[0] |= 0x00001000u;
966 }
967 inline void ProMCEvent_Event::clear_has_alpha_qcd() {
968  _has_bits_[0] &= ~0x00001000u;
969 }
970 inline void ProMCEvent_Event::clear_alpha_qcd() {
971  alpha_qcd_ = 0;
972  clear_has_alpha_qcd();
973 }
974 inline float ProMCEvent_Event::alpha_qcd() const {
975  return alpha_qcd_;
976 }
977 inline void ProMCEvent_Event::set_alpha_qcd(float value) {
978  set_has_alpha_qcd();
979  alpha_qcd_ = value;
980 }
981 
982 // optional double Weight = 14;
983 inline bool ProMCEvent_Event::has_weight() const {
984  return (_has_bits_[0] & 0x00002000u) != 0;
985 }
986 inline void ProMCEvent_Event::set_has_weight() {
987  _has_bits_[0] |= 0x00002000u;
988 }
989 inline void ProMCEvent_Event::clear_has_weight() {
990  _has_bits_[0] &= ~0x00002000u;
991 }
992 inline void ProMCEvent_Event::clear_weight() {
993  weight_ = 0;
994  clear_has_weight();
995 }
996 inline double ProMCEvent_Event::weight() const {
997  return weight_;
998 }
999 inline void ProMCEvent_Event::set_weight(double value) {
1000  set_has_weight();
1001  weight_ = value;
1002 }
1003 
1004 // -------------------------------------------------------------------
1005 
1006 // ProMCEvent_Particles
1007 
1008 // repeated uint32 id = 1 [packed = true];
1009 inline int ProMCEvent_Particles::id_size() const {
1010  return id_.size();
1011 }
1012 inline void ProMCEvent_Particles::clear_id() {
1013  id_.Clear();
1014 }
1015 inline ::google::protobuf::uint32 ProMCEvent_Particles::id(int index) const {
1016  return id_.Get(index);
1017 }
1018 inline void ProMCEvent_Particles::set_id(int index, ::google::protobuf::uint32 value) {
1019  id_.Set(index, value);
1020 }
1021 inline void ProMCEvent_Particles::add_id(::google::protobuf::uint32 value) {
1022  id_.Add(value);
1023 }
1024 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1025 ProMCEvent_Particles::id() const {
1026  return id_;
1027 }
1028 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1029 ProMCEvent_Particles::mutable_id() {
1030  return &id_;
1031 }
1032 
1033 // repeated sint32 pdg_id = 2 [packed = true];
1034 inline int ProMCEvent_Particles::pdg_id_size() const {
1035  return pdg_id_.size();
1036 }
1037 inline void ProMCEvent_Particles::clear_pdg_id() {
1038  pdg_id_.Clear();
1039 }
1040 inline ::google::protobuf::int32 ProMCEvent_Particles::pdg_id(int index) const {
1041  return pdg_id_.Get(index);
1042 }
1043 inline void ProMCEvent_Particles::set_pdg_id(int index, ::google::protobuf::int32 value) {
1044  pdg_id_.Set(index, value);
1045 }
1046 inline void ProMCEvent_Particles::add_pdg_id(::google::protobuf::int32 value) {
1047  pdg_id_.Add(value);
1048 }
1049 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
1050 ProMCEvent_Particles::pdg_id() const {
1051  return pdg_id_;
1052 }
1053 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
1054 ProMCEvent_Particles::mutable_pdg_id() {
1055  return &pdg_id_;
1056 }
1057 
1058 // repeated uint32 status = 3 [packed = true];
1059 inline int ProMCEvent_Particles::status_size() const {
1060  return status_.size();
1061 }
1062 inline void ProMCEvent_Particles::clear_status() {
1063  status_.Clear();
1064 }
1065 inline ::google::protobuf::uint32 ProMCEvent_Particles::status(int index) const {
1066  return status_.Get(index);
1067 }
1068 inline void ProMCEvent_Particles::set_status(int index, ::google::protobuf::uint32 value) {
1069  status_.Set(index, value);
1070 }
1071 inline void ProMCEvent_Particles::add_status(::google::protobuf::uint32 value) {
1072  status_.Add(value);
1073 }
1074 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1075 ProMCEvent_Particles::status() const {
1076  return status_;
1077 }
1078 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1079 ProMCEvent_Particles::mutable_status() {
1080  return &status_;
1081 }
1082 
1083 // repeated uint64 mass = 4 [packed = true];
1084 inline int ProMCEvent_Particles::mass_size() const {
1085  return mass_.size();
1086 }
1087 inline void ProMCEvent_Particles::clear_mass() {
1088  mass_.Clear();
1089 }
1090 inline ::google::protobuf::uint64 ProMCEvent_Particles::mass(int index) const {
1091  return mass_.Get(index);
1092 }
1093 inline void ProMCEvent_Particles::set_mass(int index, ::google::protobuf::uint64 value) {
1094  mass_.Set(index, value);
1095 }
1096 inline void ProMCEvent_Particles::add_mass(::google::protobuf::uint64 value) {
1097  mass_.Add(value);
1098 }
1099 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
1100 ProMCEvent_Particles::mass() const {
1101  return mass_;
1102 }
1103 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
1104 ProMCEvent_Particles::mutable_mass() {
1105  return &mass_;
1106 }
1107 
1108 // repeated sint64 Px = 5 [packed = true];
1109 inline int ProMCEvent_Particles::px_size() const {
1110  return px_.size();
1111 }
1112 inline void ProMCEvent_Particles::clear_px() {
1113  px_.Clear();
1114 }
1115 inline ::google::protobuf::int64 ProMCEvent_Particles::px(int index) const {
1116  return px_.Get(index);
1117 }
1118 inline void ProMCEvent_Particles::set_px(int index, ::google::protobuf::int64 value) {
1119  px_.Set(index, value);
1120 }
1121 inline void ProMCEvent_Particles::add_px(::google::protobuf::int64 value) {
1122  px_.Add(value);
1123 }
1124 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
1125 ProMCEvent_Particles::px() const {
1126  return px_;
1127 }
1128 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
1129 ProMCEvent_Particles::mutable_px() {
1130  return &px_;
1131 }
1132 
1133 // repeated sint64 Py = 6 [packed = true];
1134 inline int ProMCEvent_Particles::py_size() const {
1135  return py_.size();
1136 }
1137 inline void ProMCEvent_Particles::clear_py() {
1138  py_.Clear();
1139 }
1140 inline ::google::protobuf::int64 ProMCEvent_Particles::py(int index) const {
1141  return py_.Get(index);
1142 }
1143 inline void ProMCEvent_Particles::set_py(int index, ::google::protobuf::int64 value) {
1144  py_.Set(index, value);
1145 }
1146 inline void ProMCEvent_Particles::add_py(::google::protobuf::int64 value) {
1147  py_.Add(value);
1148 }
1149 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
1150 ProMCEvent_Particles::py() const {
1151  return py_;
1152 }
1153 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
1154 ProMCEvent_Particles::mutable_py() {
1155  return &py_;
1156 }
1157 
1158 // repeated sint64 Pz = 7 [packed = true];
1159 inline int ProMCEvent_Particles::pz_size() const {
1160  return pz_.size();
1161 }
1162 inline void ProMCEvent_Particles::clear_pz() {
1163  pz_.Clear();
1164 }
1165 inline ::google::protobuf::int64 ProMCEvent_Particles::pz(int index) const {
1166  return pz_.Get(index);
1167 }
1168 inline void ProMCEvent_Particles::set_pz(int index, ::google::protobuf::int64 value) {
1169  pz_.Set(index, value);
1170 }
1171 inline void ProMCEvent_Particles::add_pz(::google::protobuf::int64 value) {
1172  pz_.Add(value);
1173 }
1174 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
1175 ProMCEvent_Particles::pz() const {
1176  return pz_;
1177 }
1178 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
1179 ProMCEvent_Particles::mutable_pz() {
1180  return &pz_;
1181 }
1182 
1183 // repeated uint32 mother1 = 8 [packed = true];
1184 inline int ProMCEvent_Particles::mother1_size() const {
1185  return mother1_.size();
1186 }
1187 inline void ProMCEvent_Particles::clear_mother1() {
1188  mother1_.Clear();
1189 }
1190 inline ::google::protobuf::uint32 ProMCEvent_Particles::mother1(int index) const {
1191  return mother1_.Get(index);
1192 }
1193 inline void ProMCEvent_Particles::set_mother1(int index, ::google::protobuf::uint32 value) {
1194  mother1_.Set(index, value);
1195 }
1196 inline void ProMCEvent_Particles::add_mother1(::google::protobuf::uint32 value) {
1197  mother1_.Add(value);
1198 }
1199 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1200 ProMCEvent_Particles::mother1() const {
1201  return mother1_;
1202 }
1203 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1204 ProMCEvent_Particles::mutable_mother1() {
1205  return &mother1_;
1206 }
1207 
1208 // repeated uint32 mother2 = 9 [packed = true];
1209 inline int ProMCEvent_Particles::mother2_size() const {
1210  return mother2_.size();
1211 }
1212 inline void ProMCEvent_Particles::clear_mother2() {
1213  mother2_.Clear();
1214 }
1215 inline ::google::protobuf::uint32 ProMCEvent_Particles::mother2(int index) const {
1216  return mother2_.Get(index);
1217 }
1218 inline void ProMCEvent_Particles::set_mother2(int index, ::google::protobuf::uint32 value) {
1219  mother2_.Set(index, value);
1220 }
1221 inline void ProMCEvent_Particles::add_mother2(::google::protobuf::uint32 value) {
1222  mother2_.Add(value);
1223 }
1224 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1225 ProMCEvent_Particles::mother2() const {
1226  return mother2_;
1227 }
1228 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1229 ProMCEvent_Particles::mutable_mother2() {
1230  return &mother2_;
1231 }
1232 
1233 // repeated uint32 daughter1 = 10 [packed = true];
1234 inline int ProMCEvent_Particles::daughter1_size() const {
1235  return daughter1_.size();
1236 }
1237 inline void ProMCEvent_Particles::clear_daughter1() {
1238  daughter1_.Clear();
1239 }
1240 inline ::google::protobuf::uint32 ProMCEvent_Particles::daughter1(int index) const {
1241  return daughter1_.Get(index);
1242 }
1243 inline void ProMCEvent_Particles::set_daughter1(int index, ::google::protobuf::uint32 value) {
1244  daughter1_.Set(index, value);
1245 }
1246 inline void ProMCEvent_Particles::add_daughter1(::google::protobuf::uint32 value) {
1247  daughter1_.Add(value);
1248 }
1249 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1250 ProMCEvent_Particles::daughter1() const {
1251  return daughter1_;
1252 }
1253 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1254 ProMCEvent_Particles::mutable_daughter1() {
1255  return &daughter1_;
1256 }
1257 
1258 // repeated uint32 daughter2 = 11 [packed = true];
1259 inline int ProMCEvent_Particles::daughter2_size() const {
1260  return daughter2_.size();
1261 }
1262 inline void ProMCEvent_Particles::clear_daughter2() {
1263  daughter2_.Clear();
1264 }
1265 inline ::google::protobuf::uint32 ProMCEvent_Particles::daughter2(int index) const {
1266  return daughter2_.Get(index);
1267 }
1268 inline void ProMCEvent_Particles::set_daughter2(int index, ::google::protobuf::uint32 value) {
1269  daughter2_.Set(index, value);
1270 }
1271 inline void ProMCEvent_Particles::add_daughter2(::google::protobuf::uint32 value) {
1272  daughter2_.Add(value);
1273 }
1274 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1275 ProMCEvent_Particles::daughter2() const {
1276  return daughter2_;
1277 }
1278 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1279 ProMCEvent_Particles::mutable_daughter2() {
1280  return &daughter2_;
1281 }
1282 
1283 // repeated sint32 barcode = 12 [packed = true];
1284 inline int ProMCEvent_Particles::barcode_size() const {
1285  return barcode_.size();
1286 }
1287 inline void ProMCEvent_Particles::clear_barcode() {
1288  barcode_.Clear();
1289 }
1290 inline ::google::protobuf::int32 ProMCEvent_Particles::barcode(int index) const {
1291  return barcode_.Get(index);
1292 }
1293 inline void ProMCEvent_Particles::set_barcode(int index, ::google::protobuf::int32 value) {
1294  barcode_.Set(index, value);
1295 }
1296 inline void ProMCEvent_Particles::add_barcode(::google::protobuf::int32 value) {
1297  barcode_.Add(value);
1298 }
1299 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
1300 ProMCEvent_Particles::barcode() const {
1301  return barcode_;
1302 }
1303 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
1304 ProMCEvent_Particles::mutable_barcode() {
1305  return &barcode_;
1306 }
1307 
1308 // repeated sint32 X = 13 [packed = true];
1309 inline int ProMCEvent_Particles::x_size() const {
1310  return x_.size();
1311 }
1312 inline void ProMCEvent_Particles::clear_x() {
1313  x_.Clear();
1314 }
1315 inline ::google::protobuf::int32 ProMCEvent_Particles::x(int index) const {
1316  return x_.Get(index);
1317 }
1318 inline void ProMCEvent_Particles::set_x(int index, ::google::protobuf::int32 value) {
1319  x_.Set(index, value);
1320 }
1321 inline void ProMCEvent_Particles::add_x(::google::protobuf::int32 value) {
1322  x_.Add(value);
1323 }
1324 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
1325 ProMCEvent_Particles::x() const {
1326  return x_;
1327 }
1328 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
1329 ProMCEvent_Particles::mutable_x() {
1330  return &x_;
1331 }
1332 
1333 // repeated sint32 Y = 14 [packed = true];
1334 inline int ProMCEvent_Particles::y_size() const {
1335  return y_.size();
1336 }
1337 inline void ProMCEvent_Particles::clear_y() {
1338  y_.Clear();
1339 }
1340 inline ::google::protobuf::int32 ProMCEvent_Particles::y(int index) const {
1341  return y_.Get(index);
1342 }
1343 inline void ProMCEvent_Particles::set_y(int index, ::google::protobuf::int32 value) {
1344  y_.Set(index, value);
1345 }
1346 inline void ProMCEvent_Particles::add_y(::google::protobuf::int32 value) {
1347  y_.Add(value);
1348 }
1349 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
1350 ProMCEvent_Particles::y() const {
1351  return y_;
1352 }
1353 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
1354 ProMCEvent_Particles::mutable_y() {
1355  return &y_;
1356 }
1357 
1358 // repeated sint32 Z = 15 [packed = true];
1359 inline int ProMCEvent_Particles::z_size() const {
1360  return z_.size();
1361 }
1362 inline void ProMCEvent_Particles::clear_z() {
1363  z_.Clear();
1364 }
1365 inline ::google::protobuf::int32 ProMCEvent_Particles::z(int index) const {
1366  return z_.Get(index);
1367 }
1368 inline void ProMCEvent_Particles::set_z(int index, ::google::protobuf::int32 value) {
1369  z_.Set(index, value);
1370 }
1371 inline void ProMCEvent_Particles::add_z(::google::protobuf::int32 value) {
1372  z_.Add(value);
1373 }
1374 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
1375 ProMCEvent_Particles::z() const {
1376  return z_;
1377 }
1378 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
1379 ProMCEvent_Particles::mutable_z() {
1380  return &z_;
1381 }
1382 
1383 // repeated uint32 T = 16 [packed = true];
1384 inline int ProMCEvent_Particles::t_size() const {
1385  return t_.size();
1386 }
1387 inline void ProMCEvent_Particles::clear_t() {
1388  t_.Clear();
1389 }
1390 inline ::google::protobuf::uint32 ProMCEvent_Particles::t(int index) const {
1391  return t_.Get(index);
1392 }
1393 inline void ProMCEvent_Particles::set_t(int index, ::google::protobuf::uint32 value) {
1394  t_.Set(index, value);
1395 }
1396 inline void ProMCEvent_Particles::add_t(::google::protobuf::uint32 value) {
1397  t_.Add(value);
1398 }
1399 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1400 ProMCEvent_Particles::t() const {
1401  return t_;
1402 }
1403 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1404 ProMCEvent_Particles::mutable_t() {
1405  return &t_;
1406 }
1407 
1408 // repeated uint64 weight = 17 [packed = true];
1409 inline int ProMCEvent_Particles::weight_size() const {
1410  return weight_.size();
1411 }
1412 inline void ProMCEvent_Particles::clear_weight() {
1413  weight_.Clear();
1414 }
1415 inline ::google::protobuf::uint64 ProMCEvent_Particles::weight(int index) const {
1416  return weight_.Get(index);
1417 }
1418 inline void ProMCEvent_Particles::set_weight(int index, ::google::protobuf::uint64 value) {
1419  weight_.Set(index, value);
1420 }
1421 inline void ProMCEvent_Particles::add_weight(::google::protobuf::uint64 value) {
1422  weight_.Add(value);
1423 }
1424 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
1425 ProMCEvent_Particles::weight() const {
1426  return weight_;
1427 }
1428 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
1429 ProMCEvent_Particles::mutable_weight() {
1430  return &weight_;
1431 }
1432 
1433 // repeated sint32 charge = 18 [packed = true];
1434 inline int ProMCEvent_Particles::charge_size() const {
1435  return charge_.size();
1436 }
1437 inline void ProMCEvent_Particles::clear_charge() {
1438  charge_.Clear();
1439 }
1440 inline ::google::protobuf::int32 ProMCEvent_Particles::charge(int index) const {
1441  return charge_.Get(index);
1442 }
1443 inline void ProMCEvent_Particles::set_charge(int index, ::google::protobuf::int32 value) {
1444  charge_.Set(index, value);
1445 }
1446 inline void ProMCEvent_Particles::add_charge(::google::protobuf::int32 value) {
1447  charge_.Add(value);
1448 }
1449 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
1450 ProMCEvent_Particles::charge() const {
1451  return charge_;
1452 }
1453 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
1454 ProMCEvent_Particles::mutable_charge() {
1455  return &charge_;
1456 }
1457 
1458 // repeated sint64 energy = 19 [packed = true];
1459 inline int ProMCEvent_Particles::energy_size() const {
1460  return energy_.size();
1461 }
1462 inline void ProMCEvent_Particles::clear_energy() {
1463  energy_.Clear();
1464 }
1465 inline ::google::protobuf::int64 ProMCEvent_Particles::energy(int index) const {
1466  return energy_.Get(index);
1467 }
1468 inline void ProMCEvent_Particles::set_energy(int index, ::google::protobuf::int64 value) {
1469  energy_.Set(index, value);
1470 }
1471 inline void ProMCEvent_Particles::add_energy(::google::protobuf::int64 value) {
1472  energy_.Add(value);
1473 }
1474 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
1475 ProMCEvent_Particles::energy() const {
1476  return energy_;
1477 }
1478 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
1479 ProMCEvent_Particles::mutable_energy() {
1480  return &energy_;
1481 }
1482 
1483 // -------------------------------------------------------------------
1484 
1485 // ProMCEvent
1486 
1487 // optional .promc.ProMCEvent.Event event = 1;
1488 inline bool ProMCEvent::has_event() const {
1489  return (_has_bits_[0] & 0x00000001u) != 0;
1490 }
1491 inline void ProMCEvent::set_has_event() {
1492  _has_bits_[0] |= 0x00000001u;
1493 }
1494 inline void ProMCEvent::clear_has_event() {
1495  _has_bits_[0] &= ~0x00000001u;
1496 }
1497 inline void ProMCEvent::clear_event() {
1498  if (event_ != NULL) event_->::promc::ProMCEvent_Event::Clear();
1499  clear_has_event();
1500 }
1501 inline const ::promc::ProMCEvent_Event& ProMCEvent::event() const {
1502  return event_ != NULL ? *event_ : *default_instance_->event_;
1503 }
1504 inline ::promc::ProMCEvent_Event* ProMCEvent::mutable_event() {
1505  set_has_event();
1506  if (event_ == NULL) event_ = new ::promc::ProMCEvent_Event;
1507  return event_;
1508 }
1509 inline ::promc::ProMCEvent_Event* ProMCEvent::release_event() {
1510  clear_has_event();
1511  ::promc::ProMCEvent_Event* temp = event_;
1512  event_ = NULL;
1513  return temp;
1514 }
1515 inline void ProMCEvent::set_allocated_event(::promc::ProMCEvent_Event* event) {
1516  delete event_;
1517  event_ = event;
1518  if (event) {
1519  set_has_event();
1520  } else {
1521  clear_has_event();
1522  }
1523 }
1524 
1525 // optional .promc.ProMCEvent.Particles particles = 2;
1526 inline bool ProMCEvent::has_particles() const {
1527  return (_has_bits_[0] & 0x00000002u) != 0;
1528 }
1529 inline void ProMCEvent::set_has_particles() {
1530  _has_bits_[0] |= 0x00000002u;
1531 }
1532 inline void ProMCEvent::clear_has_particles() {
1533  _has_bits_[0] &= ~0x00000002u;
1534 }
1535 inline void ProMCEvent::clear_particles() {
1536  if (particles_ != NULL) particles_->::promc::ProMCEvent_Particles::Clear();
1537  clear_has_particles();
1538 }
1539 inline const ::promc::ProMCEvent_Particles& ProMCEvent::particles() const {
1540  return particles_ != NULL ? *particles_ : *default_instance_->particles_;
1541 }
1542 inline ::promc::ProMCEvent_Particles* ProMCEvent::mutable_particles() {
1543  set_has_particles();
1544  if (particles_ == NULL) particles_ = new ::promc::ProMCEvent_Particles;
1545  return particles_;
1546 }
1547 inline ::promc::ProMCEvent_Particles* ProMCEvent::release_particles() {
1548  clear_has_particles();
1549  ::promc::ProMCEvent_Particles* temp = particles_;
1550  particles_ = NULL;
1551  return temp;
1552 }
1553 inline void ProMCEvent::set_allocated_particles(::promc::ProMCEvent_Particles* particles) {
1554  delete particles_;
1555  particles_ = particles;
1556  if (particles) {
1557  set_has_particles();
1558  } else {
1559  clear_has_particles();
1560  }
1561 }
1562 
1563 
1564 // @@protoc_insertion_point(namespace_scope)
1565 
1566 } // namespace promc
1567 
1568 #ifndef SWIG
1569 namespace google {
1570 namespace protobuf {
1571 
1572 
1573 } // namespace google
1574 } // namespace protobuf
1575 #endif // SWIG
1576 
1577 // @@protoc_insertion_point(global_scope)
1578 
1579 #endif // PROTOBUF_ProMC_2eproto__INCLUDED
Definition: ProMC.pb.h:254
Definition: ProMC.pb.h:42
Definition: ProMC.pb.h:592