00001
00002
00003
00004 #ifndef PROTOBUF_ProMC_2eproto__INCLUDED
00005 #define PROTOBUF_ProMC_2eproto__INCLUDED
00006
00007 #include <string>
00008
00009 #include <google/protobuf/stubs/common.h>
00010
00011 #if GOOGLE_PROTOBUF_VERSION < 2005000
00012 #error This file was generated by a newer version of protoc which is
00013 #error incompatible with your Protocol Buffer headers. Please update
00014 #error your headers.
00015 #endif
00016 #if 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
00017 #error This file was generated by an older version of protoc which is
00018 #error incompatible with your Protocol Buffer headers. Please
00019 #error regenerate this file with a newer version of protoc.
00020 #endif
00021
00022 #include <google/protobuf/generated_message_util.h>
00023 #include <google/protobuf/message.h>
00024 #include <google/protobuf/repeated_field.h>
00025 #include <google/protobuf/extension_set.h>
00026 #include <google/protobuf/unknown_field_set.h>
00027
00028
00029 namespace promc {
00030
00031
00032 void protobuf_AddDesc_ProMC_2eproto();
00033 void protobuf_AssignDesc_ProMC_2eproto();
00034 void protobuf_ShutdownFile_ProMC_2eproto();
00035
00036 class ProMCEvent;
00037 class ProMCEvent_Event;
00038 class ProMCEvent_Particles;
00039
00040
00041
00042 class ProMCEvent_Event : public ::google::protobuf::Message {
00043 public:
00044 ProMCEvent_Event();
00045 virtual ~ProMCEvent_Event();
00046
00047 ProMCEvent_Event(const ProMCEvent_Event& from);
00048
00049 inline ProMCEvent_Event& operator=(const ProMCEvent_Event& from) {
00050 CopyFrom(from);
00051 return *this;
00052 }
00053
00054 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00055 return _unknown_fields_;
00056 }
00057
00058 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00059 return &_unknown_fields_;
00060 }
00061
00062 static const ::google::protobuf::Descriptor* descriptor();
00063 static const ProMCEvent_Event& default_instance();
00064
00065 void Swap(ProMCEvent_Event* other);
00066
00067
00068
00069 ProMCEvent_Event* New() const;
00070 void CopyFrom(const ::google::protobuf::Message& from);
00071 void MergeFrom(const ::google::protobuf::Message& from);
00072 void CopyFrom(const ProMCEvent_Event& from);
00073 void MergeFrom(const ProMCEvent_Event& from);
00074 void Clear();
00075 bool IsInitialized() const;
00076
00077 int ByteSize() const;
00078 bool MergePartialFromCodedStream(
00079 ::google::protobuf::io::CodedInputStream* input);
00080 void SerializeWithCachedSizes(
00081 ::google::protobuf::io::CodedOutputStream* output) const;
00082 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00083 int GetCachedSize() const { return _cached_size_; }
00084 private:
00085 void SharedCtor();
00086 void SharedDtor();
00087 void SetCachedSize(int size) const;
00088 public:
00089
00090 ::google::protobuf::Metadata GetMetadata() const;
00091
00092
00093
00094
00095
00096
00097 inline bool has_number() const;
00098 inline void clear_number();
00099 static const int kNumberFieldNumber = 1;
00100 inline ::google::protobuf::int32 number() const;
00101 inline void set_number(::google::protobuf::int32 value);
00102
00103
00104 inline bool has_process_id() const;
00105 inline void clear_process_id();
00106 static const int kProcessIDFieldNumber = 2;
00107 inline ::google::protobuf::int32 process_id() const;
00108 inline void set_process_id(::google::protobuf::int32 value);
00109
00110
00111 inline int fdata_size() const;
00112 inline void clear_fdata();
00113 static const int kFdataFieldNumber = 3;
00114 inline float fdata(int index) const;
00115 inline void set_fdata(int index, float value);
00116 inline void add_fdata(float value);
00117 inline const ::google::protobuf::RepeatedField< float >&
00118 fdata() const;
00119 inline ::google::protobuf::RepeatedField< float >*
00120 mutable_fdata();
00121
00122
00123 inline int idata_size() const;
00124 inline void clear_idata();
00125 static const int kIdataFieldNumber = 4;
00126 inline ::google::protobuf::int64 idata(int index) const;
00127 inline void set_idata(int index, ::google::protobuf::int64 value);
00128 inline void add_idata(::google::protobuf::int64 value);
00129 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
00130 idata() const;
00131 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
00132 mutable_idata();
00133
00134
00135 private:
00136 inline void set_has_number();
00137 inline void clear_has_number();
00138 inline void set_has_process_id();
00139 inline void clear_has_process_id();
00140
00141 ::google::protobuf::UnknownFieldSet _unknown_fields_;
00142
00143 ::google::protobuf::int32 number_;
00144 ::google::protobuf::int32 process_id_;
00145 ::google::protobuf::RepeatedField< float > fdata_;
00146 ::google::protobuf::RepeatedField< ::google::protobuf::int64 > idata_;
00147
00148 mutable int _cached_size_;
00149 ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
00150
00151 friend void protobuf_AddDesc_ProMC_2eproto();
00152 friend void protobuf_AssignDesc_ProMC_2eproto();
00153 friend void protobuf_ShutdownFile_ProMC_2eproto();
00154
00155 void InitAsDefaultInstance();
00156 static ProMCEvent_Event* default_instance_;
00157 };
00158
00159
00160 class ProMCEvent_Particles : public ::google::protobuf::Message {
00161 public:
00162 ProMCEvent_Particles();
00163 virtual ~ProMCEvent_Particles();
00164
00165 ProMCEvent_Particles(const ProMCEvent_Particles& from);
00166
00167 inline ProMCEvent_Particles& operator=(const ProMCEvent_Particles& from) {
00168 CopyFrom(from);
00169 return *this;
00170 }
00171
00172 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00173 return _unknown_fields_;
00174 }
00175
00176 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00177 return &_unknown_fields_;
00178 }
00179
00180 static const ::google::protobuf::Descriptor* descriptor();
00181 static const ProMCEvent_Particles& default_instance();
00182
00183 void Swap(ProMCEvent_Particles* other);
00184
00185
00186
00187 ProMCEvent_Particles* New() const;
00188 void CopyFrom(const ::google::protobuf::Message& from);
00189 void MergeFrom(const ::google::protobuf::Message& from);
00190 void CopyFrom(const ProMCEvent_Particles& from);
00191 void MergeFrom(const ProMCEvent_Particles& from);
00192 void Clear();
00193 bool IsInitialized() const;
00194
00195 int ByteSize() const;
00196 bool MergePartialFromCodedStream(
00197 ::google::protobuf::io::CodedInputStream* input);
00198 void SerializeWithCachedSizes(
00199 ::google::protobuf::io::CodedOutputStream* output) const;
00200 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00201 int GetCachedSize() const { return _cached_size_; }
00202 private:
00203 void SharedCtor();
00204 void SharedDtor();
00205 void SetCachedSize(int size) const;
00206 public:
00207
00208 ::google::protobuf::Metadata GetMetadata() const;
00209
00210
00211
00212
00213
00214
00215 inline int id_size() const;
00216 inline void clear_id();
00217 static const int kIdFieldNumber = 1;
00218 inline ::google::protobuf::uint32 id(int index) const;
00219 inline void set_id(int index, ::google::protobuf::uint32 value);
00220 inline void add_id(::google::protobuf::uint32 value);
00221 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
00222 id() const;
00223 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
00224 mutable_id();
00225
00226
00227 inline int pdg_id_size() const;
00228 inline void clear_pdg_id();
00229 static const int kPdgIdFieldNumber = 2;
00230 inline ::google::protobuf::int32 pdg_id(int index) const;
00231 inline void set_pdg_id(int index, ::google::protobuf::int32 value);
00232 inline void add_pdg_id(::google::protobuf::int32 value);
00233 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
00234 pdg_id() const;
00235 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
00236 mutable_pdg_id();
00237
00238
00239 inline int energy_size() const;
00240 inline void clear_energy();
00241 static const int kEnergyFieldNumber = 3;
00242 inline ::google::protobuf::int64 energy(int index) const;
00243 inline void set_energy(int index, ::google::protobuf::int64 value);
00244 inline void add_energy(::google::protobuf::int64 value);
00245 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
00246 energy() const;
00247 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
00248 mutable_energy();
00249
00250
00251 inline int px_size() const;
00252 inline void clear_px();
00253 static const int kPxFieldNumber = 4;
00254 inline ::google::protobuf::int64 px(int index) const;
00255 inline void set_px(int index, ::google::protobuf::int64 value);
00256 inline void add_px(::google::protobuf::int64 value);
00257 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
00258 px() const;
00259 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
00260 mutable_px();
00261
00262
00263 inline int py_size() const;
00264 inline void clear_py();
00265 static const int kPyFieldNumber = 5;
00266 inline ::google::protobuf::int64 py(int index) const;
00267 inline void set_py(int index, ::google::protobuf::int64 value);
00268 inline void add_py(::google::protobuf::int64 value);
00269 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
00270 py() const;
00271 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
00272 mutable_py();
00273
00274
00275 inline int pz_size() const;
00276 inline void clear_pz();
00277 static const int kPzFieldNumber = 6;
00278 inline ::google::protobuf::int64 pz(int index) const;
00279 inline void set_pz(int index, ::google::protobuf::int64 value);
00280 inline void add_pz(::google::protobuf::int64 value);
00281 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
00282 pz() const;
00283 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
00284 mutable_pz();
00285
00286
00287 private:
00288
00289 ::google::protobuf::UnknownFieldSet _unknown_fields_;
00290
00291 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > id_;
00292 mutable int _id_cached_byte_size_;
00293 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > pdg_id_;
00294 mutable int _pdg_id_cached_byte_size_;
00295 ::google::protobuf::RepeatedField< ::google::protobuf::int64 > energy_;
00296 mutable int _energy_cached_byte_size_;
00297 ::google::protobuf::RepeatedField< ::google::protobuf::int64 > px_;
00298 mutable int _px_cached_byte_size_;
00299 ::google::protobuf::RepeatedField< ::google::protobuf::int64 > py_;
00300 mutable int _py_cached_byte_size_;
00301 ::google::protobuf::RepeatedField< ::google::protobuf::int64 > pz_;
00302 mutable int _pz_cached_byte_size_;
00303
00304 mutable int _cached_size_;
00305 ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32];
00306
00307 friend void protobuf_AddDesc_ProMC_2eproto();
00308 friend void protobuf_AssignDesc_ProMC_2eproto();
00309 friend void protobuf_ShutdownFile_ProMC_2eproto();
00310
00311 void InitAsDefaultInstance();
00312 static ProMCEvent_Particles* default_instance_;
00313 };
00314
00315
00316 class ProMCEvent : public ::google::protobuf::Message {
00317 public:
00318 ProMCEvent();
00319 virtual ~ProMCEvent();
00320
00321 ProMCEvent(const ProMCEvent& from);
00322
00323 inline ProMCEvent& operator=(const ProMCEvent& from) {
00324 CopyFrom(from);
00325 return *this;
00326 }
00327
00328 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00329 return _unknown_fields_;
00330 }
00331
00332 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00333 return &_unknown_fields_;
00334 }
00335
00336 static const ::google::protobuf::Descriptor* descriptor();
00337 static const ProMCEvent& default_instance();
00338
00339 void Swap(ProMCEvent* other);
00340
00341
00342
00343 ProMCEvent* New() const;
00344 void CopyFrom(const ::google::protobuf::Message& from);
00345 void MergeFrom(const ::google::protobuf::Message& from);
00346 void CopyFrom(const ProMCEvent& from);
00347 void MergeFrom(const ProMCEvent& from);
00348 void Clear();
00349 bool IsInitialized() const;
00350
00351 int ByteSize() const;
00352 bool MergePartialFromCodedStream(
00353 ::google::protobuf::io::CodedInputStream* input);
00354 void SerializeWithCachedSizes(
00355 ::google::protobuf::io::CodedOutputStream* output) const;
00356 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00357 int GetCachedSize() const { return _cached_size_; }
00358 private:
00359 void SharedCtor();
00360 void SharedDtor();
00361 void SetCachedSize(int size) const;
00362 public:
00363
00364 ::google::protobuf::Metadata GetMetadata() const;
00365
00366
00367
00368 typedef ProMCEvent_Event Event;
00369 typedef ProMCEvent_Particles Particles;
00370
00371
00372
00373
00374 inline bool has_event() const;
00375 inline void clear_event();
00376 static const int kEventFieldNumber = 1;
00377 inline const ::promc::ProMCEvent_Event& event() const;
00378 inline ::promc::ProMCEvent_Event* mutable_event();
00379 inline ::promc::ProMCEvent_Event* release_event();
00380 inline void set_allocated_event(::promc::ProMCEvent_Event* event);
00381
00382
00383 inline bool has_particles() const;
00384 inline void clear_particles();
00385 static const int kParticlesFieldNumber = 2;
00386 inline const ::promc::ProMCEvent_Particles& particles() const;
00387 inline ::promc::ProMCEvent_Particles* mutable_particles();
00388 inline ::promc::ProMCEvent_Particles* release_particles();
00389 inline void set_allocated_particles(::promc::ProMCEvent_Particles* particles);
00390
00391
00392 private:
00393 inline void set_has_event();
00394 inline void clear_has_event();
00395 inline void set_has_particles();
00396 inline void clear_has_particles();
00397
00398 ::google::protobuf::UnknownFieldSet _unknown_fields_;
00399
00400 ::promc::ProMCEvent_Event* event_;
00401 ::promc::ProMCEvent_Particles* particles_;
00402
00403 mutable int _cached_size_;
00404 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
00405
00406 friend void protobuf_AddDesc_ProMC_2eproto();
00407 friend void protobuf_AssignDesc_ProMC_2eproto();
00408 friend void protobuf_ShutdownFile_ProMC_2eproto();
00409
00410 void InitAsDefaultInstance();
00411 static ProMCEvent* default_instance_;
00412 };
00413
00414
00415
00416
00417
00418
00419
00420
00421 inline bool ProMCEvent_Event::has_number() const {
00422 return (_has_bits_[0] & 0x00000001u) != 0;
00423 }
00424 inline void ProMCEvent_Event::set_has_number() {
00425 _has_bits_[0] |= 0x00000001u;
00426 }
00427 inline void ProMCEvent_Event::clear_has_number() {
00428 _has_bits_[0] &= ~0x00000001u;
00429 }
00430 inline void ProMCEvent_Event::clear_number() {
00431 number_ = 0;
00432 clear_has_number();
00433 }
00434 inline ::google::protobuf::int32 ProMCEvent_Event::number() const {
00435 return number_;
00436 }
00437 inline void ProMCEvent_Event::set_number(::google::protobuf::int32 value) {
00438 set_has_number();
00439 number_ = value;
00440 }
00441
00442
00443 inline bool ProMCEvent_Event::has_process_id() const {
00444 return (_has_bits_[0] & 0x00000002u) != 0;
00445 }
00446 inline void ProMCEvent_Event::set_has_process_id() {
00447 _has_bits_[0] |= 0x00000002u;
00448 }
00449 inline void ProMCEvent_Event::clear_has_process_id() {
00450 _has_bits_[0] &= ~0x00000002u;
00451 }
00452 inline void ProMCEvent_Event::clear_process_id() {
00453 process_id_ = 0;
00454 clear_has_process_id();
00455 }
00456 inline ::google::protobuf::int32 ProMCEvent_Event::process_id() const {
00457 return process_id_;
00458 }
00459 inline void ProMCEvent_Event::set_process_id(::google::protobuf::int32 value) {
00460 set_has_process_id();
00461 process_id_ = value;
00462 }
00463
00464
00465 inline int ProMCEvent_Event::fdata_size() const {
00466 return fdata_.size();
00467 }
00468 inline void ProMCEvent_Event::clear_fdata() {
00469 fdata_.Clear();
00470 }
00471 inline float ProMCEvent_Event::fdata(int index) const {
00472 return fdata_.Get(index);
00473 }
00474 inline void ProMCEvent_Event::set_fdata(int index, float value) {
00475 fdata_.Set(index, value);
00476 }
00477 inline void ProMCEvent_Event::add_fdata(float value) {
00478 fdata_.Add(value);
00479 }
00480 inline const ::google::protobuf::RepeatedField< float >&
00481 ProMCEvent_Event::fdata() const {
00482 return fdata_;
00483 }
00484 inline ::google::protobuf::RepeatedField< float >*
00485 ProMCEvent_Event::mutable_fdata() {
00486 return &fdata_;
00487 }
00488
00489
00490 inline int ProMCEvent_Event::idata_size() const {
00491 return idata_.size();
00492 }
00493 inline void ProMCEvent_Event::clear_idata() {
00494 idata_.Clear();
00495 }
00496 inline ::google::protobuf::int64 ProMCEvent_Event::idata(int index) const {
00497 return idata_.Get(index);
00498 }
00499 inline void ProMCEvent_Event::set_idata(int index, ::google::protobuf::int64 value) {
00500 idata_.Set(index, value);
00501 }
00502 inline void ProMCEvent_Event::add_idata(::google::protobuf::int64 value) {
00503 idata_.Add(value);
00504 }
00505 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
00506 ProMCEvent_Event::idata() const {
00507 return idata_;
00508 }
00509 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
00510 ProMCEvent_Event::mutable_idata() {
00511 return &idata_;
00512 }
00513
00514
00515
00516
00517
00518
00519 inline int ProMCEvent_Particles::id_size() const {
00520 return id_.size();
00521 }
00522 inline void ProMCEvent_Particles::clear_id() {
00523 id_.Clear();
00524 }
00525 inline ::google::protobuf::uint32 ProMCEvent_Particles::id(int index) const {
00526 return id_.Get(index);
00527 }
00528 inline void ProMCEvent_Particles::set_id(int index, ::google::protobuf::uint32 value) {
00529 id_.Set(index, value);
00530 }
00531 inline void ProMCEvent_Particles::add_id(::google::protobuf::uint32 value) {
00532 id_.Add(value);
00533 }
00534 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
00535 ProMCEvent_Particles::id() const {
00536 return id_;
00537 }
00538 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
00539 ProMCEvent_Particles::mutable_id() {
00540 return &id_;
00541 }
00542
00543
00544 inline int ProMCEvent_Particles::pdg_id_size() const {
00545 return pdg_id_.size();
00546 }
00547 inline void ProMCEvent_Particles::clear_pdg_id() {
00548 pdg_id_.Clear();
00549 }
00550 inline ::google::protobuf::int32 ProMCEvent_Particles::pdg_id(int index) const {
00551 return pdg_id_.Get(index);
00552 }
00553 inline void ProMCEvent_Particles::set_pdg_id(int index, ::google::protobuf::int32 value) {
00554 pdg_id_.Set(index, value);
00555 }
00556 inline void ProMCEvent_Particles::add_pdg_id(::google::protobuf::int32 value) {
00557 pdg_id_.Add(value);
00558 }
00559 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
00560 ProMCEvent_Particles::pdg_id() const {
00561 return pdg_id_;
00562 }
00563 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
00564 ProMCEvent_Particles::mutable_pdg_id() {
00565 return &pdg_id_;
00566 }
00567
00568
00569 inline int ProMCEvent_Particles::energy_size() const {
00570 return energy_.size();
00571 }
00572 inline void ProMCEvent_Particles::clear_energy() {
00573 energy_.Clear();
00574 }
00575 inline ::google::protobuf::int64 ProMCEvent_Particles::energy(int index) const {
00576 return energy_.Get(index);
00577 }
00578 inline void ProMCEvent_Particles::set_energy(int index, ::google::protobuf::int64 value) {
00579 energy_.Set(index, value);
00580 }
00581 inline void ProMCEvent_Particles::add_energy(::google::protobuf::int64 value) {
00582 energy_.Add(value);
00583 }
00584 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
00585 ProMCEvent_Particles::energy() const {
00586 return energy_;
00587 }
00588 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
00589 ProMCEvent_Particles::mutable_energy() {
00590 return &energy_;
00591 }
00592
00593
00594 inline int ProMCEvent_Particles::px_size() const {
00595 return px_.size();
00596 }
00597 inline void ProMCEvent_Particles::clear_px() {
00598 px_.Clear();
00599 }
00600 inline ::google::protobuf::int64 ProMCEvent_Particles::px(int index) const {
00601 return px_.Get(index);
00602 }
00603 inline void ProMCEvent_Particles::set_px(int index, ::google::protobuf::int64 value) {
00604 px_.Set(index, value);
00605 }
00606 inline void ProMCEvent_Particles::add_px(::google::protobuf::int64 value) {
00607 px_.Add(value);
00608 }
00609 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
00610 ProMCEvent_Particles::px() const {
00611 return px_;
00612 }
00613 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
00614 ProMCEvent_Particles::mutable_px() {
00615 return &px_;
00616 }
00617
00618
00619 inline int ProMCEvent_Particles::py_size() const {
00620 return py_.size();
00621 }
00622 inline void ProMCEvent_Particles::clear_py() {
00623 py_.Clear();
00624 }
00625 inline ::google::protobuf::int64 ProMCEvent_Particles::py(int index) const {
00626 return py_.Get(index);
00627 }
00628 inline void ProMCEvent_Particles::set_py(int index, ::google::protobuf::int64 value) {
00629 py_.Set(index, value);
00630 }
00631 inline void ProMCEvent_Particles::add_py(::google::protobuf::int64 value) {
00632 py_.Add(value);
00633 }
00634 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
00635 ProMCEvent_Particles::py() const {
00636 return py_;
00637 }
00638 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
00639 ProMCEvent_Particles::mutable_py() {
00640 return &py_;
00641 }
00642
00643
00644 inline int ProMCEvent_Particles::pz_size() const {
00645 return pz_.size();
00646 }
00647 inline void ProMCEvent_Particles::clear_pz() {
00648 pz_.Clear();
00649 }
00650 inline ::google::protobuf::int64 ProMCEvent_Particles::pz(int index) const {
00651 return pz_.Get(index);
00652 }
00653 inline void ProMCEvent_Particles::set_pz(int index, ::google::protobuf::int64 value) {
00654 pz_.Set(index, value);
00655 }
00656 inline void ProMCEvent_Particles::add_pz(::google::protobuf::int64 value) {
00657 pz_.Add(value);
00658 }
00659 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
00660 ProMCEvent_Particles::pz() const {
00661 return pz_;
00662 }
00663 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
00664 ProMCEvent_Particles::mutable_pz() {
00665 return &pz_;
00666 }
00667
00668
00669
00670
00671
00672
00673 inline bool ProMCEvent::has_event() const {
00674 return (_has_bits_[0] & 0x00000001u) != 0;
00675 }
00676 inline void ProMCEvent::set_has_event() {
00677 _has_bits_[0] |= 0x00000001u;
00678 }
00679 inline void ProMCEvent::clear_has_event() {
00680 _has_bits_[0] &= ~0x00000001u;
00681 }
00682 inline void ProMCEvent::clear_event() {
00683 if (event_ != NULL) event_->::promc::ProMCEvent_Event::Clear();
00684 clear_has_event();
00685 }
00686 inline const ::promc::ProMCEvent_Event& ProMCEvent::event() const {
00687 return event_ != NULL ? *event_ : *default_instance_->event_;
00688 }
00689 inline ::promc::ProMCEvent_Event* ProMCEvent::mutable_event() {
00690 set_has_event();
00691 if (event_ == NULL) event_ = new ::promc::ProMCEvent_Event;
00692 return event_;
00693 }
00694 inline ::promc::ProMCEvent_Event* ProMCEvent::release_event() {
00695 clear_has_event();
00696 ::promc::ProMCEvent_Event* temp = event_;
00697 event_ = NULL;
00698 return temp;
00699 }
00700 inline void ProMCEvent::set_allocated_event(::promc::ProMCEvent_Event* event) {
00701 delete event_;
00702 event_ = event;
00703 if (event) {
00704 set_has_event();
00705 } else {
00706 clear_has_event();
00707 }
00708 }
00709
00710
00711 inline bool ProMCEvent::has_particles() const {
00712 return (_has_bits_[0] & 0x00000002u) != 0;
00713 }
00714 inline void ProMCEvent::set_has_particles() {
00715 _has_bits_[0] |= 0x00000002u;
00716 }
00717 inline void ProMCEvent::clear_has_particles() {
00718 _has_bits_[0] &= ~0x00000002u;
00719 }
00720 inline void ProMCEvent::clear_particles() {
00721 if (particles_ != NULL) particles_->::promc::ProMCEvent_Particles::Clear();
00722 clear_has_particles();
00723 }
00724 inline const ::promc::ProMCEvent_Particles& ProMCEvent::particles() const {
00725 return particles_ != NULL ? *particles_ : *default_instance_->particles_;
00726 }
00727 inline ::promc::ProMCEvent_Particles* ProMCEvent::mutable_particles() {
00728 set_has_particles();
00729 if (particles_ == NULL) particles_ = new ::promc::ProMCEvent_Particles;
00730 return particles_;
00731 }
00732 inline ::promc::ProMCEvent_Particles* ProMCEvent::release_particles() {
00733 clear_has_particles();
00734 ::promc::ProMCEvent_Particles* temp = particles_;
00735 particles_ = NULL;
00736 return temp;
00737 }
00738 inline void ProMCEvent::set_allocated_particles(::promc::ProMCEvent_Particles* particles) {
00739 delete particles_;
00740 particles_ = particles;
00741 if (particles) {
00742 set_has_particles();
00743 } else {
00744 clear_has_particles();
00745 }
00746 }
00747
00748
00749
00750
00751 }
00752
00753 #ifndef SWIG
00754 namespace google {
00755 namespace protobuf {
00756
00757
00758 }
00759 }
00760 #endif // SWIG
00761
00762
00763
00764 #endif // PROTOBUF_ProMC_2eproto__INCLUDED