4 #ifndef PROTOBUF_ProMC_2eproto__INCLUDED
5 #define PROTOBUF_ProMC_2eproto__INCLUDED
9 #include <google/protobuf/stubs/common.h>
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
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.
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>
32 void protobuf_AddDesc_ProMC_2eproto();
33 void protobuf_AssignDesc_ProMC_2eproto();
34 void protobuf_ShutdownFile_ProMC_2eproto();
37 class ProMCEvent_Event;
38 class ProMCEvent_Particles;
54 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
55 return _unknown_fields_;
58 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
59 return &_unknown_fields_;
62 static const ::google::protobuf::Descriptor* descriptor();
70 void CopyFrom(const ::google::protobuf::Message& from);
71 void MergeFrom(const ::google::protobuf::Message& from);
75 bool IsInitialized()
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_; }
87 void SetCachedSize(
int size)
const;
90 ::google::protobuf::Metadata GetMetadata()
const;
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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();
225 ::google::protobuf::UnknownFieldSet _unknown_fields_;
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_;
242 mutable int _cached_size_;
243 ::google::protobuf::uint32 _has_bits_[(14 + 31) / 32];
245 friend void protobuf_AddDesc_ProMC_2eproto();
246 friend void protobuf_AssignDesc_ProMC_2eproto();
247 friend void protobuf_ShutdownFile_ProMC_2eproto();
249 void InitAsDefaultInstance();
266 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
267 return _unknown_fields_;
270 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
271 return &_unknown_fields_;
274 static const ::google::protobuf::Descriptor* descriptor();
282 void CopyFrom(const ::google::protobuf::Message& from);
283 void MergeFrom(const ::google::protobuf::Message& from);
287 bool IsInitialized()
const;
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_; }
299 void SetCachedSize(
int size)
const;
302 ::google::protobuf::Metadata GetMetadata()
const;
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 >&
317 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
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 >&
329 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
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 >&
341 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
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 >&
353 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
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 >&
365 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
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 >&
377 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
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 >&
389 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
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 >&
401 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
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 >&
413 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
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 >&
425 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
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 >&
437 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
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 >&
449 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
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 >&
461 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
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 >&
473 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
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 >&
485 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
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 >&
497 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
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 >&
509 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
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 >&
521 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
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 >&
533 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
539 ::google::protobuf::UnknownFieldSet _unknown_fields_;
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_;
580 mutable int _cached_size_;
581 ::google::protobuf::uint32 _has_bits_[(19 + 31) / 32];
583 friend void protobuf_AddDesc_ProMC_2eproto();
584 friend void protobuf_AssignDesc_ProMC_2eproto();
585 friend void protobuf_ShutdownFile_ProMC_2eproto();
587 void InitAsDefaultInstance();
604 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
605 return _unknown_fields_;
608 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
609 return &_unknown_fields_;
612 static const ::google::protobuf::Descriptor* descriptor();
620 void CopyFrom(const ::google::protobuf::Message& from);
621 void MergeFrom(const ::google::protobuf::Message& from);
625 bool IsInitialized()
const;
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_; }
637 void SetCachedSize(
int size)
const;
640 ::google::protobuf::Metadata GetMetadata()
const;
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();
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();
669 inline void set_has_event();
670 inline void clear_has_event();
671 inline void set_has_particles();
672 inline void clear_has_particles();
674 ::google::protobuf::UnknownFieldSet _unknown_fields_;
679 mutable int _cached_size_;
680 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
682 friend void protobuf_AddDesc_ProMC_2eproto();
683 friend void protobuf_AssignDesc_ProMC_2eproto();
684 friend void protobuf_ShutdownFile_ProMC_2eproto();
686 void InitAsDefaultInstance();
697 inline bool ProMCEvent_Event::has_number()
const {
698 return (_has_bits_[0] & 0x00000001u) != 0;
700 inline void ProMCEvent_Event::set_has_number() {
701 _has_bits_[0] |= 0x00000001u;
703 inline void ProMCEvent_Event::clear_has_number() {
704 _has_bits_[0] &= ~0x00000001u;
706 inline void ProMCEvent_Event::clear_number() {
710 inline ::google::protobuf::int32 ProMCEvent_Event::number()
const {
713 inline void ProMCEvent_Event::set_number(::google::protobuf::int32 value) {
719 inline bool ProMCEvent_Event::has_process_id()
const {
720 return (_has_bits_[0] & 0x00000002u) != 0;
722 inline void ProMCEvent_Event::set_has_process_id() {
723 _has_bits_[0] |= 0x00000002u;
725 inline void ProMCEvent_Event::clear_has_process_id() {
726 _has_bits_[0] &= ~0x00000002u;
728 inline void ProMCEvent_Event::clear_process_id() {
730 clear_has_process_id();
732 inline ::google::protobuf::int32 ProMCEvent_Event::process_id()
const {
735 inline void ProMCEvent_Event::set_process_id(::google::protobuf::int32 value) {
736 set_has_process_id();
741 inline bool ProMCEvent_Event::has_mpi()
const {
742 return (_has_bits_[0] & 0x00000004u) != 0;
744 inline void ProMCEvent_Event::set_has_mpi() {
745 _has_bits_[0] |= 0x00000004u;
747 inline void ProMCEvent_Event::clear_has_mpi() {
748 _has_bits_[0] &= ~0x00000004u;
750 inline void ProMCEvent_Event::clear_mpi() {
754 inline ::google::protobuf::int32 ProMCEvent_Event::mpi()
const {
757 inline void ProMCEvent_Event::set_mpi(::google::protobuf::int32 value) {
763 inline bool ProMCEvent_Event::has_id1()
const {
764 return (_has_bits_[0] & 0x00000008u) != 0;
766 inline void ProMCEvent_Event::set_has_id1() {
767 _has_bits_[0] |= 0x00000008u;
769 inline void ProMCEvent_Event::clear_has_id1() {
770 _has_bits_[0] &= ~0x00000008u;
772 inline void ProMCEvent_Event::clear_id1() {
776 inline ::google::protobuf::int32 ProMCEvent_Event::id1()
const {
779 inline void ProMCEvent_Event::set_id1(::google::protobuf::int32 value) {
785 inline bool ProMCEvent_Event::has_id2()
const {
786 return (_has_bits_[0] & 0x00000010u) != 0;
788 inline void ProMCEvent_Event::set_has_id2() {
789 _has_bits_[0] |= 0x00000010u;
791 inline void ProMCEvent_Event::clear_has_id2() {
792 _has_bits_[0] &= ~0x00000010u;
794 inline void ProMCEvent_Event::clear_id2() {
798 inline ::google::protobuf::int32 ProMCEvent_Event::id2()
const {
801 inline void ProMCEvent_Event::set_id2(::google::protobuf::int32 value) {
807 inline bool ProMCEvent_Event::has_pdf1()
const {
808 return (_has_bits_[0] & 0x00000020u) != 0;
810 inline void ProMCEvent_Event::set_has_pdf1() {
811 _has_bits_[0] |= 0x00000020u;
813 inline void ProMCEvent_Event::clear_has_pdf1() {
814 _has_bits_[0] &= ~0x00000020u;
816 inline void ProMCEvent_Event::clear_pdf1() {
820 inline float ProMCEvent_Event::pdf1()
const {
823 inline void ProMCEvent_Event::set_pdf1(
float value) {
829 inline bool ProMCEvent_Event::has_pdf2()
const {
830 return (_has_bits_[0] & 0x00000040u) != 0;
832 inline void ProMCEvent_Event::set_has_pdf2() {
833 _has_bits_[0] |= 0x00000040u;
835 inline void ProMCEvent_Event::clear_has_pdf2() {
836 _has_bits_[0] &= ~0x00000040u;
838 inline void ProMCEvent_Event::clear_pdf2() {
842 inline float ProMCEvent_Event::pdf2()
const {
845 inline void ProMCEvent_Event::set_pdf2(
float value) {
851 inline bool ProMCEvent_Event::has_x1()
const {
852 return (_has_bits_[0] & 0x00000080u) != 0;
854 inline void ProMCEvent_Event::set_has_x1() {
855 _has_bits_[0] |= 0x00000080u;
857 inline void ProMCEvent_Event::clear_has_x1() {
858 _has_bits_[0] &= ~0x00000080u;
860 inline void ProMCEvent_Event::clear_x1() {
864 inline float ProMCEvent_Event::x1()
const {
867 inline void ProMCEvent_Event::set_x1(
float value) {
873 inline bool ProMCEvent_Event::has_x2()
const {
874 return (_has_bits_[0] & 0x00000100u) != 0;
876 inline void ProMCEvent_Event::set_has_x2() {
877 _has_bits_[0] |= 0x00000100u;
879 inline void ProMCEvent_Event::clear_has_x2() {
880 _has_bits_[0] &= ~0x00000100u;
882 inline void ProMCEvent_Event::clear_x2() {
886 inline float ProMCEvent_Event::x2()
const {
889 inline void ProMCEvent_Event::set_x2(
float value) {
895 inline bool ProMCEvent_Event::has_scale_pdf()
const {
896 return (_has_bits_[0] & 0x00000200u) != 0;
898 inline void ProMCEvent_Event::set_has_scale_pdf() {
899 _has_bits_[0] |= 0x00000200u;
901 inline void ProMCEvent_Event::clear_has_scale_pdf() {
902 _has_bits_[0] &= ~0x00000200u;
904 inline void ProMCEvent_Event::clear_scale_pdf() {
906 clear_has_scale_pdf();
908 inline float ProMCEvent_Event::scale_pdf()
const {
911 inline void ProMCEvent_Event::set_scale_pdf(
float value) {
917 inline bool ProMCEvent_Event::has_alpha_qed()
const {
918 return (_has_bits_[0] & 0x00000400u) != 0;
920 inline void ProMCEvent_Event::set_has_alpha_qed() {
921 _has_bits_[0] |= 0x00000400u;
923 inline void ProMCEvent_Event::clear_has_alpha_qed() {
924 _has_bits_[0] &= ~0x00000400u;
926 inline void ProMCEvent_Event::clear_alpha_qed() {
928 clear_has_alpha_qed();
930 inline float ProMCEvent_Event::alpha_qed()
const {
933 inline void ProMCEvent_Event::set_alpha_qed(
float value) {
939 inline bool ProMCEvent_Event::has_scale()
const {
940 return (_has_bits_[0] & 0x00000800u) != 0;
942 inline void ProMCEvent_Event::set_has_scale() {
943 _has_bits_[0] |= 0x00000800u;
945 inline void ProMCEvent_Event::clear_has_scale() {
946 _has_bits_[0] &= ~0x00000800u;
948 inline void ProMCEvent_Event::clear_scale() {
952 inline float ProMCEvent_Event::scale()
const {
955 inline void ProMCEvent_Event::set_scale(
float value) {
961 inline bool ProMCEvent_Event::has_alpha_qcd()
const {
962 return (_has_bits_[0] & 0x00001000u) != 0;
964 inline void ProMCEvent_Event::set_has_alpha_qcd() {
965 _has_bits_[0] |= 0x00001000u;
967 inline void ProMCEvent_Event::clear_has_alpha_qcd() {
968 _has_bits_[0] &= ~0x00001000u;
970 inline void ProMCEvent_Event::clear_alpha_qcd() {
972 clear_has_alpha_qcd();
974 inline float ProMCEvent_Event::alpha_qcd()
const {
977 inline void ProMCEvent_Event::set_alpha_qcd(
float value) {
983 inline bool ProMCEvent_Event::has_weight()
const {
984 return (_has_bits_[0] & 0x00002000u) != 0;
986 inline void ProMCEvent_Event::set_has_weight() {
987 _has_bits_[0] |= 0x00002000u;
989 inline void ProMCEvent_Event::clear_has_weight() {
990 _has_bits_[0] &= ~0x00002000u;
992 inline void ProMCEvent_Event::clear_weight() {
996 inline double ProMCEvent_Event::weight()
const {
999 inline void ProMCEvent_Event::set_weight(
double value) {
1009 inline int ProMCEvent_Particles::id_size()
const {
1012 inline void ProMCEvent_Particles::clear_id() {
1015 inline ::google::protobuf::uint32 ProMCEvent_Particles::id(
int index)
const {
1016 return id_.Get(index);
1018 inline void ProMCEvent_Particles::set_id(
int index, ::google::protobuf::uint32 value) {
1019 id_.Set(index, value);
1021 inline void ProMCEvent_Particles::add_id(::google::protobuf::uint32 value) {
1024 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1025 ProMCEvent_Particles::id()
const {
1028 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1029 ProMCEvent_Particles::mutable_id() {
1034 inline int ProMCEvent_Particles::pdg_id_size()
const {
1035 return pdg_id_.size();
1037 inline void ProMCEvent_Particles::clear_pdg_id() {
1040 inline ::google::protobuf::int32 ProMCEvent_Particles::pdg_id(
int index)
const {
1041 return pdg_id_.Get(index);
1043 inline void ProMCEvent_Particles::set_pdg_id(
int index, ::google::protobuf::int32 value) {
1044 pdg_id_.Set(index, value);
1046 inline void ProMCEvent_Particles::add_pdg_id(::google::protobuf::int32 value) {
1049 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
1050 ProMCEvent_Particles::pdg_id()
const {
1053 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
1054 ProMCEvent_Particles::mutable_pdg_id() {
1059 inline int ProMCEvent_Particles::status_size()
const {
1060 return status_.size();
1062 inline void ProMCEvent_Particles::clear_status() {
1065 inline ::google::protobuf::uint32 ProMCEvent_Particles::status(
int index)
const {
1066 return status_.Get(index);
1068 inline void ProMCEvent_Particles::set_status(
int index, ::google::protobuf::uint32 value) {
1069 status_.Set(index, value);
1071 inline void ProMCEvent_Particles::add_status(::google::protobuf::uint32 value) {
1074 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1075 ProMCEvent_Particles::status()
const {
1078 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1079 ProMCEvent_Particles::mutable_status() {
1084 inline int ProMCEvent_Particles::mass_size()
const {
1085 return mass_.size();
1087 inline void ProMCEvent_Particles::clear_mass() {
1090 inline ::google::protobuf::uint64 ProMCEvent_Particles::mass(
int index)
const {
1091 return mass_.Get(index);
1093 inline void ProMCEvent_Particles::set_mass(
int index, ::google::protobuf::uint64 value) {
1094 mass_.Set(index, value);
1096 inline void ProMCEvent_Particles::add_mass(::google::protobuf::uint64 value) {
1099 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
1100 ProMCEvent_Particles::mass()
const {
1103 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
1104 ProMCEvent_Particles::mutable_mass() {
1109 inline int ProMCEvent_Particles::px_size()
const {
1112 inline void ProMCEvent_Particles::clear_px() {
1115 inline ::google::protobuf::int64 ProMCEvent_Particles::px(
int index)
const {
1116 return px_.Get(index);
1118 inline void ProMCEvent_Particles::set_px(
int index, ::google::protobuf::int64 value) {
1119 px_.Set(index, value);
1121 inline void ProMCEvent_Particles::add_px(::google::protobuf::int64 value) {
1124 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
1125 ProMCEvent_Particles::px()
const {
1128 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
1129 ProMCEvent_Particles::mutable_px() {
1134 inline int ProMCEvent_Particles::py_size()
const {
1137 inline void ProMCEvent_Particles::clear_py() {
1140 inline ::google::protobuf::int64 ProMCEvent_Particles::py(
int index)
const {
1141 return py_.Get(index);
1143 inline void ProMCEvent_Particles::set_py(
int index, ::google::protobuf::int64 value) {
1144 py_.Set(index, value);
1146 inline void ProMCEvent_Particles::add_py(::google::protobuf::int64 value) {
1149 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
1150 ProMCEvent_Particles::py()
const {
1153 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
1154 ProMCEvent_Particles::mutable_py() {
1159 inline int ProMCEvent_Particles::pz_size()
const {
1162 inline void ProMCEvent_Particles::clear_pz() {
1165 inline ::google::protobuf::int64 ProMCEvent_Particles::pz(
int index)
const {
1166 return pz_.Get(index);
1168 inline void ProMCEvent_Particles::set_pz(
int index, ::google::protobuf::int64 value) {
1169 pz_.Set(index, value);
1171 inline void ProMCEvent_Particles::add_pz(::google::protobuf::int64 value) {
1174 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
1175 ProMCEvent_Particles::pz()
const {
1178 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
1179 ProMCEvent_Particles::mutable_pz() {
1184 inline int ProMCEvent_Particles::mother1_size()
const {
1185 return mother1_.size();
1187 inline void ProMCEvent_Particles::clear_mother1() {
1190 inline ::google::protobuf::uint32 ProMCEvent_Particles::mother1(
int index)
const {
1191 return mother1_.Get(index);
1193 inline void ProMCEvent_Particles::set_mother1(
int index, ::google::protobuf::uint32 value) {
1194 mother1_.Set(index, value);
1196 inline void ProMCEvent_Particles::add_mother1(::google::protobuf::uint32 value) {
1197 mother1_.Add(value);
1199 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1200 ProMCEvent_Particles::mother1()
const {
1203 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1204 ProMCEvent_Particles::mutable_mother1() {
1209 inline int ProMCEvent_Particles::mother2_size()
const {
1210 return mother2_.size();
1212 inline void ProMCEvent_Particles::clear_mother2() {
1215 inline ::google::protobuf::uint32 ProMCEvent_Particles::mother2(
int index)
const {
1216 return mother2_.Get(index);
1218 inline void ProMCEvent_Particles::set_mother2(
int index, ::google::protobuf::uint32 value) {
1219 mother2_.Set(index, value);
1221 inline void ProMCEvent_Particles::add_mother2(::google::protobuf::uint32 value) {
1222 mother2_.Add(value);
1224 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1225 ProMCEvent_Particles::mother2()
const {
1228 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1229 ProMCEvent_Particles::mutable_mother2() {
1234 inline int ProMCEvent_Particles::daughter1_size()
const {
1235 return daughter1_.size();
1237 inline void ProMCEvent_Particles::clear_daughter1() {
1240 inline ::google::protobuf::uint32 ProMCEvent_Particles::daughter1(
int index)
const {
1241 return daughter1_.Get(index);
1243 inline void ProMCEvent_Particles::set_daughter1(
int index, ::google::protobuf::uint32 value) {
1244 daughter1_.Set(index, value);
1246 inline void ProMCEvent_Particles::add_daughter1(::google::protobuf::uint32 value) {
1247 daughter1_.Add(value);
1249 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1250 ProMCEvent_Particles::daughter1()
const {
1253 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1254 ProMCEvent_Particles::mutable_daughter1() {
1259 inline int ProMCEvent_Particles::daughter2_size()
const {
1260 return daughter2_.size();
1262 inline void ProMCEvent_Particles::clear_daughter2() {
1265 inline ::google::protobuf::uint32 ProMCEvent_Particles::daughter2(
int index)
const {
1266 return daughter2_.Get(index);
1268 inline void ProMCEvent_Particles::set_daughter2(
int index, ::google::protobuf::uint32 value) {
1269 daughter2_.Set(index, value);
1271 inline void ProMCEvent_Particles::add_daughter2(::google::protobuf::uint32 value) {
1272 daughter2_.Add(value);
1274 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1275 ProMCEvent_Particles::daughter2()
const {
1278 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1279 ProMCEvent_Particles::mutable_daughter2() {
1284 inline int ProMCEvent_Particles::barcode_size()
const {
1285 return barcode_.size();
1287 inline void ProMCEvent_Particles::clear_barcode() {
1290 inline ::google::protobuf::int32 ProMCEvent_Particles::barcode(
int index)
const {
1291 return barcode_.Get(index);
1293 inline void ProMCEvent_Particles::set_barcode(
int index, ::google::protobuf::int32 value) {
1294 barcode_.Set(index, value);
1296 inline void ProMCEvent_Particles::add_barcode(::google::protobuf::int32 value) {
1297 barcode_.Add(value);
1299 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
1300 ProMCEvent_Particles::barcode()
const {
1303 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
1304 ProMCEvent_Particles::mutable_barcode() {
1309 inline int ProMCEvent_Particles::x_size()
const {
1312 inline void ProMCEvent_Particles::clear_x() {
1315 inline ::google::protobuf::int32 ProMCEvent_Particles::x(
int index)
const {
1316 return x_.Get(index);
1318 inline void ProMCEvent_Particles::set_x(
int index, ::google::protobuf::int32 value) {
1319 x_.Set(index, value);
1321 inline void ProMCEvent_Particles::add_x(::google::protobuf::int32 value) {
1324 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
1325 ProMCEvent_Particles::x()
const {
1328 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
1329 ProMCEvent_Particles::mutable_x() {
1334 inline int ProMCEvent_Particles::y_size()
const {
1337 inline void ProMCEvent_Particles::clear_y() {
1340 inline ::google::protobuf::int32 ProMCEvent_Particles::y(
int index)
const {
1341 return y_.Get(index);
1343 inline void ProMCEvent_Particles::set_y(
int index, ::google::protobuf::int32 value) {
1344 y_.Set(index, value);
1346 inline void ProMCEvent_Particles::add_y(::google::protobuf::int32 value) {
1349 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
1350 ProMCEvent_Particles::y()
const {
1353 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
1354 ProMCEvent_Particles::mutable_y() {
1359 inline int ProMCEvent_Particles::z_size()
const {
1362 inline void ProMCEvent_Particles::clear_z() {
1365 inline ::google::protobuf::int32 ProMCEvent_Particles::z(
int index)
const {
1366 return z_.Get(index);
1368 inline void ProMCEvent_Particles::set_z(
int index, ::google::protobuf::int32 value) {
1369 z_.Set(index, value);
1371 inline void ProMCEvent_Particles::add_z(::google::protobuf::int32 value) {
1374 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
1375 ProMCEvent_Particles::z()
const {
1378 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
1379 ProMCEvent_Particles::mutable_z() {
1384 inline int ProMCEvent_Particles::t_size()
const {
1387 inline void ProMCEvent_Particles::clear_t() {
1390 inline ::google::protobuf::uint32 ProMCEvent_Particles::t(
int index)
const {
1391 return t_.Get(index);
1393 inline void ProMCEvent_Particles::set_t(
int index, ::google::protobuf::uint32 value) {
1394 t_.Set(index, value);
1396 inline void ProMCEvent_Particles::add_t(::google::protobuf::uint32 value) {
1399 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1400 ProMCEvent_Particles::t()
const {
1403 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1404 ProMCEvent_Particles::mutable_t() {
1409 inline int ProMCEvent_Particles::weight_size()
const {
1410 return weight_.size();
1412 inline void ProMCEvent_Particles::clear_weight() {
1415 inline ::google::protobuf::uint64 ProMCEvent_Particles::weight(
int index)
const {
1416 return weight_.Get(index);
1418 inline void ProMCEvent_Particles::set_weight(
int index, ::google::protobuf::uint64 value) {
1419 weight_.Set(index, value);
1421 inline void ProMCEvent_Particles::add_weight(::google::protobuf::uint64 value) {
1424 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
1425 ProMCEvent_Particles::weight()
const {
1428 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
1429 ProMCEvent_Particles::mutable_weight() {
1434 inline int ProMCEvent_Particles::charge_size()
const {
1435 return charge_.size();
1437 inline void ProMCEvent_Particles::clear_charge() {
1440 inline ::google::protobuf::int32 ProMCEvent_Particles::charge(
int index)
const {
1441 return charge_.Get(index);
1443 inline void ProMCEvent_Particles::set_charge(
int index, ::google::protobuf::int32 value) {
1444 charge_.Set(index, value);
1446 inline void ProMCEvent_Particles::add_charge(::google::protobuf::int32 value) {
1449 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
1450 ProMCEvent_Particles::charge()
const {
1453 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
1454 ProMCEvent_Particles::mutable_charge() {
1459 inline int ProMCEvent_Particles::energy_size()
const {
1460 return energy_.size();
1462 inline void ProMCEvent_Particles::clear_energy() {
1465 inline ::google::protobuf::int64 ProMCEvent_Particles::energy(
int index)
const {
1466 return energy_.Get(index);
1468 inline void ProMCEvent_Particles::set_energy(
int index, ::google::protobuf::int64 value) {
1469 energy_.Set(index, value);
1471 inline void ProMCEvent_Particles::add_energy(::google::protobuf::int64 value) {
1474 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
1475 ProMCEvent_Particles::energy()
const {
1478 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
1479 ProMCEvent_Particles::mutable_energy() {
1488 inline bool ProMCEvent::has_event()
const {
1489 return (_has_bits_[0] & 0x00000001u) != 0;
1491 inline void ProMCEvent::set_has_event() {
1492 _has_bits_[0] |= 0x00000001u;
1494 inline void ProMCEvent::clear_has_event() {
1495 _has_bits_[0] &= ~0x00000001u;
1497 inline void ProMCEvent::clear_event() {
1498 if (event_ != NULL) event_->::promc::ProMCEvent_Event::Clear();
1501 inline const ::promc::ProMCEvent_Event& ProMCEvent::event()
const {
1502 return event_ != NULL ? *event_ : *default_instance_->event_;
1504 inline ::promc::ProMCEvent_Event* ProMCEvent::mutable_event() {
1506 if (event_ == NULL) event_ = new ::promc::ProMCEvent_Event;
1509 inline ::promc::ProMCEvent_Event* ProMCEvent::release_event() {
1526 inline bool ProMCEvent::has_particles()
const {
1527 return (_has_bits_[0] & 0x00000002u) != 0;
1529 inline void ProMCEvent::set_has_particles() {
1530 _has_bits_[0] |= 0x00000002u;
1532 inline void ProMCEvent::clear_has_particles() {
1533 _has_bits_[0] &= ~0x00000002u;
1535 inline void ProMCEvent::clear_particles() {
1536 if (particles_ != NULL) particles_->::promc::ProMCEvent_Particles::Clear();
1537 clear_has_particles();
1539 inline const ::promc::ProMCEvent_Particles& ProMCEvent::particles()
const {
1540 return particles_ != NULL ? *particles_ : *default_instance_->particles_;
1542 inline ::promc::ProMCEvent_Particles* ProMCEvent::mutable_particles() {
1543 set_has_particles();
1544 if (particles_ == NULL) particles_ = new ::promc::ProMCEvent_Particles;
1547 inline ::promc::ProMCEvent_Particles* ProMCEvent::release_particles() {
1548 clear_has_particles();
1555 particles_ = particles;
1557 set_has_particles();
1559 clear_has_particles();
1570 namespace protobuf {
1579 #endif // PROTOBUF_ProMC_2eproto__INCLUDED
Definition: ProMC.pb.h:254
Definition: ProMC.pb.h:42
Definition: ProMC.pb.h:592