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 int fdata_size()
const;
112 inline void clear_fdata();
113 static const int kFdataFieldNumber = 3;
114 inline float fdata(
int index)
const;
115 inline void set_fdata(
int index,
float value);
116 inline void add_fdata(
float value);
117 inline const ::google::protobuf::RepeatedField< float >&
119 inline ::google::protobuf::RepeatedField< float >*
123 inline int idata_size()
const;
124 inline void clear_idata();
125 static const int kIdataFieldNumber = 4;
126 inline ::google::protobuf::int64 idata(
int index)
const;
127 inline void set_idata(
int index, ::google::protobuf::int64 value);
128 inline void add_idata(::google::protobuf::int64 value);
129 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
131 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
136 inline void set_has_number();
137 inline void clear_has_number();
138 inline void set_has_process_id();
139 inline void clear_has_process_id();
141 ::google::protobuf::UnknownFieldSet _unknown_fields_;
143 ::google::protobuf::int32 number_;
144 ::google::protobuf::int32 process_id_;
145 ::google::protobuf::RepeatedField< float > fdata_;
146 ::google::protobuf::RepeatedField< ::google::protobuf::int64 > idata_;
148 mutable int _cached_size_;
149 ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
151 friend void protobuf_AddDesc_ProMC_2eproto();
152 friend void protobuf_AssignDesc_ProMC_2eproto();
153 friend void protobuf_ShutdownFile_ProMC_2eproto();
155 void InitAsDefaultInstance();
172 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
173 return _unknown_fields_;
176 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
177 return &_unknown_fields_;
180 static const ::google::protobuf::Descriptor* descriptor();
188 void CopyFrom(const ::google::protobuf::Message& from);
189 void MergeFrom(const ::google::protobuf::Message& from);
193 bool IsInitialized()
const;
195 int ByteSize()
const;
196 bool MergePartialFromCodedStream(
197 ::google::protobuf::io::CodedInputStream* input);
198 void SerializeWithCachedSizes(
199 ::google::protobuf::io::CodedOutputStream* output)
const;
200 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
201 int GetCachedSize()
const {
return _cached_size_; }
205 void SetCachedSize(
int size)
const;
208 ::google::protobuf::Metadata GetMetadata()
const;
215 inline int id_size()
const;
216 inline void clear_id();
217 static const int kIdFieldNumber = 1;
218 inline ::google::protobuf::uint32 id(
int index)
const;
219 inline void set_id(
int index, ::google::protobuf::uint32 value);
220 inline void add_id(::google::protobuf::uint32 value);
221 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
223 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
227 inline int pdg_id_size()
const;
228 inline void clear_pdg_id();
229 static const int kPdgIdFieldNumber = 2;
230 inline ::google::protobuf::int32 pdg_id(
int index)
const;
231 inline void set_pdg_id(
int index, ::google::protobuf::int32 value);
232 inline void add_pdg_id(::google::protobuf::int32 value);
233 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
235 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
239 inline int energy_size()
const;
240 inline void clear_energy();
241 static const int kEnergyFieldNumber = 3;
242 inline ::google::protobuf::int64 energy(
int index)
const;
243 inline void set_energy(
int index, ::google::protobuf::int64 value);
244 inline void add_energy(::google::protobuf::int64 value);
245 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
247 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
251 inline int px_size()
const;
252 inline void clear_px();
253 static const int kPxFieldNumber = 4;
254 inline ::google::protobuf::int64 px(
int index)
const;
255 inline void set_px(
int index, ::google::protobuf::int64 value);
256 inline void add_px(::google::protobuf::int64 value);
257 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
259 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
263 inline int py_size()
const;
264 inline void clear_py();
265 static const int kPyFieldNumber = 5;
266 inline ::google::protobuf::int64 py(
int index)
const;
267 inline void set_py(
int index, ::google::protobuf::int64 value);
268 inline void add_py(::google::protobuf::int64 value);
269 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
271 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
275 inline int pz_size()
const;
276 inline void clear_pz();
277 static const int kPzFieldNumber = 6;
278 inline ::google::protobuf::int64 pz(
int index)
const;
279 inline void set_pz(
int index, ::google::protobuf::int64 value);
280 inline void add_pz(::google::protobuf::int64 value);
281 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
283 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
289 ::google::protobuf::UnknownFieldSet _unknown_fields_;
291 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > id_;
292 mutable int _id_cached_byte_size_;
293 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > pdg_id_;
294 mutable int _pdg_id_cached_byte_size_;
295 ::google::protobuf::RepeatedField< ::google::protobuf::int64 > energy_;
296 mutable int _energy_cached_byte_size_;
297 ::google::protobuf::RepeatedField< ::google::protobuf::int64 > px_;
298 mutable int _px_cached_byte_size_;
299 ::google::protobuf::RepeatedField< ::google::protobuf::int64 > py_;
300 mutable int _py_cached_byte_size_;
301 ::google::protobuf::RepeatedField< ::google::protobuf::int64 > pz_;
302 mutable int _pz_cached_byte_size_;
304 mutable int _cached_size_;
305 ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32];
307 friend void protobuf_AddDesc_ProMC_2eproto();
308 friend void protobuf_AssignDesc_ProMC_2eproto();
309 friend void protobuf_ShutdownFile_ProMC_2eproto();
311 void InitAsDefaultInstance();
328 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
329 return _unknown_fields_;
332 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
333 return &_unknown_fields_;
336 static const ::google::protobuf::Descriptor* descriptor();
344 void CopyFrom(const ::google::protobuf::Message& from);
345 void MergeFrom(const ::google::protobuf::Message& from);
349 bool IsInitialized()
const;
351 int ByteSize()
const;
352 bool MergePartialFromCodedStream(
353 ::google::protobuf::io::CodedInputStream* input);
354 void SerializeWithCachedSizes(
355 ::google::protobuf::io::CodedOutputStream* output)
const;
356 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
357 int GetCachedSize()
const {
return _cached_size_; }
361 void SetCachedSize(
int size)
const;
364 ::google::protobuf::Metadata GetMetadata()
const;
374 inline bool has_event()
const;
375 inline void clear_event();
376 static const int kEventFieldNumber = 1;
377 inline const ::promc::ProMCEvent_Event& event()
const;
378 inline ::promc::ProMCEvent_Event* mutable_event();
379 inline ::promc::ProMCEvent_Event* release_event();
383 inline bool has_particles()
const;
384 inline void clear_particles();
385 static const int kParticlesFieldNumber = 2;
386 inline const ::promc::ProMCEvent_Particles& particles()
const;
387 inline ::promc::ProMCEvent_Particles* mutable_particles();
388 inline ::promc::ProMCEvent_Particles* release_particles();
393 inline void set_has_event();
394 inline void clear_has_event();
395 inline void set_has_particles();
396 inline void clear_has_particles();
398 ::google::protobuf::UnknownFieldSet _unknown_fields_;
403 mutable int _cached_size_;
404 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
406 friend void protobuf_AddDesc_ProMC_2eproto();
407 friend void protobuf_AssignDesc_ProMC_2eproto();
408 friend void protobuf_ShutdownFile_ProMC_2eproto();
410 void InitAsDefaultInstance();
421 inline bool ProMCEvent_Event::has_number()
const {
422 return (_has_bits_[0] & 0x00000001u) != 0;
424 inline void ProMCEvent_Event::set_has_number() {
425 _has_bits_[0] |= 0x00000001u;
427 inline void ProMCEvent_Event::clear_has_number() {
428 _has_bits_[0] &= ~0x00000001u;
430 inline void ProMCEvent_Event::clear_number() {
434 inline ::google::protobuf::int32 ProMCEvent_Event::number()
const {
437 inline void ProMCEvent_Event::set_number(::google::protobuf::int32 value) {
443 inline bool ProMCEvent_Event::has_process_id()
const {
444 return (_has_bits_[0] & 0x00000002u) != 0;
446 inline void ProMCEvent_Event::set_has_process_id() {
447 _has_bits_[0] |= 0x00000002u;
449 inline void ProMCEvent_Event::clear_has_process_id() {
450 _has_bits_[0] &= ~0x00000002u;
452 inline void ProMCEvent_Event::clear_process_id() {
454 clear_has_process_id();
456 inline ::google::protobuf::int32 ProMCEvent_Event::process_id()
const {
459 inline void ProMCEvent_Event::set_process_id(::google::protobuf::int32 value) {
460 set_has_process_id();
465 inline int ProMCEvent_Event::fdata_size()
const {
466 return fdata_.size();
468 inline void ProMCEvent_Event::clear_fdata() {
471 inline float ProMCEvent_Event::fdata(
int index)
const {
472 return fdata_.Get(index);
474 inline void ProMCEvent_Event::set_fdata(
int index,
float value) {
475 fdata_.Set(index, value);
477 inline void ProMCEvent_Event::add_fdata(
float value) {
480 inline const ::google::protobuf::RepeatedField< float >&
481 ProMCEvent_Event::fdata()
const {
484 inline ::google::protobuf::RepeatedField< float >*
485 ProMCEvent_Event::mutable_fdata() {
490 inline int ProMCEvent_Event::idata_size()
const {
491 return idata_.size();
493 inline void ProMCEvent_Event::clear_idata() {
496 inline ::google::protobuf::int64 ProMCEvent_Event::idata(
int index)
const {
497 return idata_.Get(index);
499 inline void ProMCEvent_Event::set_idata(
int index, ::google::protobuf::int64 value) {
500 idata_.Set(index, value);
502 inline void ProMCEvent_Event::add_idata(::google::protobuf::int64 value) {
505 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
506 ProMCEvent_Event::idata()
const {
509 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
510 ProMCEvent_Event::mutable_idata() {
519 inline int ProMCEvent_Particles::id_size()
const {
522 inline void ProMCEvent_Particles::clear_id() {
525 inline ::google::protobuf::uint32 ProMCEvent_Particles::id(
int index)
const {
526 return id_.Get(index);
528 inline void ProMCEvent_Particles::set_id(
int index, ::google::protobuf::uint32 value) {
529 id_.Set(index, value);
531 inline void ProMCEvent_Particles::add_id(::google::protobuf::uint32 value) {
534 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
535 ProMCEvent_Particles::id()
const {
538 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
539 ProMCEvent_Particles::mutable_id() {
544 inline int ProMCEvent_Particles::pdg_id_size()
const {
545 return pdg_id_.size();
547 inline void ProMCEvent_Particles::clear_pdg_id() {
550 inline ::google::protobuf::int32 ProMCEvent_Particles::pdg_id(
int index)
const {
551 return pdg_id_.Get(index);
553 inline void ProMCEvent_Particles::set_pdg_id(
int index, ::google::protobuf::int32 value) {
554 pdg_id_.Set(index, value);
556 inline void ProMCEvent_Particles::add_pdg_id(::google::protobuf::int32 value) {
559 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
560 ProMCEvent_Particles::pdg_id()
const {
563 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
564 ProMCEvent_Particles::mutable_pdg_id() {
569 inline int ProMCEvent_Particles::energy_size()
const {
570 return energy_.size();
572 inline void ProMCEvent_Particles::clear_energy() {
575 inline ::google::protobuf::int64 ProMCEvent_Particles::energy(
int index)
const {
576 return energy_.Get(index);
578 inline void ProMCEvent_Particles::set_energy(
int index, ::google::protobuf::int64 value) {
579 energy_.Set(index, value);
581 inline void ProMCEvent_Particles::add_energy(::google::protobuf::int64 value) {
584 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
585 ProMCEvent_Particles::energy()
const {
588 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
589 ProMCEvent_Particles::mutable_energy() {
594 inline int ProMCEvent_Particles::px_size()
const {
597 inline void ProMCEvent_Particles::clear_px() {
600 inline ::google::protobuf::int64 ProMCEvent_Particles::px(
int index)
const {
601 return px_.Get(index);
603 inline void ProMCEvent_Particles::set_px(
int index, ::google::protobuf::int64 value) {
604 px_.Set(index, value);
606 inline void ProMCEvent_Particles::add_px(::google::protobuf::int64 value) {
609 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
610 ProMCEvent_Particles::px()
const {
613 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
614 ProMCEvent_Particles::mutable_px() {
619 inline int ProMCEvent_Particles::py_size()
const {
622 inline void ProMCEvent_Particles::clear_py() {
625 inline ::google::protobuf::int64 ProMCEvent_Particles::py(
int index)
const {
626 return py_.Get(index);
628 inline void ProMCEvent_Particles::set_py(
int index, ::google::protobuf::int64 value) {
629 py_.Set(index, value);
631 inline void ProMCEvent_Particles::add_py(::google::protobuf::int64 value) {
634 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
635 ProMCEvent_Particles::py()
const {
638 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
639 ProMCEvent_Particles::mutable_py() {
644 inline int ProMCEvent_Particles::pz_size()
const {
647 inline void ProMCEvent_Particles::clear_pz() {
650 inline ::google::protobuf::int64 ProMCEvent_Particles::pz(
int index)
const {
651 return pz_.Get(index);
653 inline void ProMCEvent_Particles::set_pz(
int index, ::google::protobuf::int64 value) {
654 pz_.Set(index, value);
656 inline void ProMCEvent_Particles::add_pz(::google::protobuf::int64 value) {
659 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
660 ProMCEvent_Particles::pz()
const {
663 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
664 ProMCEvent_Particles::mutable_pz() {
673 inline bool ProMCEvent::has_event()
const {
674 return (_has_bits_[0] & 0x00000001u) != 0;
676 inline void ProMCEvent::set_has_event() {
677 _has_bits_[0] |= 0x00000001u;
679 inline void ProMCEvent::clear_has_event() {
680 _has_bits_[0] &= ~0x00000001u;
682 inline void ProMCEvent::clear_event() {
683 if (event_ != NULL) event_->::promc::ProMCEvent_Event::Clear();
686 inline const ::promc::ProMCEvent_Event& ProMCEvent::event()
const {
687 return event_ != NULL ? *event_ : *default_instance_->event_;
689 inline ::promc::ProMCEvent_Event* ProMCEvent::mutable_event() {
691 if (event_ == NULL) event_ = new ::promc::ProMCEvent_Event;
694 inline ::promc::ProMCEvent_Event* ProMCEvent::release_event() {
711 inline bool ProMCEvent::has_particles()
const {
712 return (_has_bits_[0] & 0x00000002u) != 0;
714 inline void ProMCEvent::set_has_particles() {
715 _has_bits_[0] |= 0x00000002u;
717 inline void ProMCEvent::clear_has_particles() {
718 _has_bits_[0] &= ~0x00000002u;
720 inline void ProMCEvent::clear_particles() {
721 if (particles_ != NULL) particles_->::promc::ProMCEvent_Particles::Clear();
722 clear_has_particles();
724 inline const ::promc::ProMCEvent_Particles& ProMCEvent::particles()
const {
725 return particles_ != NULL ? *particles_ : *default_instance_->particles_;
727 inline ::promc::ProMCEvent_Particles* ProMCEvent::mutable_particles() {
729 if (particles_ == NULL) particles_ = new ::promc::ProMCEvent_Particles;
732 inline ::promc::ProMCEvent_Particles* ProMCEvent::release_particles() {
733 clear_has_particles();
740 particles_ = particles;
744 clear_has_particles();
764 #endif // PROTOBUF_ProMC_2eproto__INCLUDED
Definition: ProMC.pb.h:160
Definition: ProMC.pb.h:42
Definition: ProMC.pb.h:316