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 bool has_mpi() const;
00112 inline void clear_mpi();
00113 static const int kMPIFieldNumber = 3;
00114 inline ::google::protobuf::int32 mpi() const;
00115 inline void set_mpi(::google::protobuf::int32 value);
00116
00117
00118 inline bool has_id1() const;
00119 inline void clear_id1();
00120 static const int kID1FieldNumber = 4;
00121 inline ::google::protobuf::int32 id1() const;
00122 inline void set_id1(::google::protobuf::int32 value);
00123
00124
00125 inline bool has_id2() const;
00126 inline void clear_id2();
00127 static const int kID2FieldNumber = 5;
00128 inline ::google::protobuf::int32 id2() const;
00129 inline void set_id2(::google::protobuf::int32 value);
00130
00131
00132 inline bool has_pdf1() const;
00133 inline void clear_pdf1();
00134 static const int kPDF1FieldNumber = 6;
00135 inline float pdf1() const;
00136 inline void set_pdf1(float value);
00137
00138
00139 inline bool has_pdf2() const;
00140 inline void clear_pdf2();
00141 static const int kPDF2FieldNumber = 7;
00142 inline float pdf2() const;
00143 inline void set_pdf2(float value);
00144
00145
00146 inline bool has_x1() const;
00147 inline void clear_x1();
00148 static const int kX1FieldNumber = 8;
00149 inline float x1() const;
00150 inline void set_x1(float value);
00151
00152
00153 inline bool has_x2() const;
00154 inline void clear_x2();
00155 static const int kX2FieldNumber = 9;
00156 inline float x2() const;
00157 inline void set_x2(float value);
00158
00159
00160 inline bool has_scale_pdf() const;
00161 inline void clear_scale_pdf();
00162 static const int kScalePDFFieldNumber = 10;
00163 inline float scale_pdf() const;
00164 inline void set_scale_pdf(float value);
00165
00166
00167 inline bool has_alpha_qed() const;
00168 inline void clear_alpha_qed();
00169 static const int kAlphaQEDFieldNumber = 11;
00170 inline float alpha_qed() const;
00171 inline void set_alpha_qed(float value);
00172
00173
00174 inline bool has_scale() const;
00175 inline void clear_scale();
00176 static const int kScaleFieldNumber = 12;
00177 inline float scale() const;
00178 inline void set_scale(float value);
00179
00180
00181 inline bool has_alpha_qcd() const;
00182 inline void clear_alpha_qcd();
00183 static const int kAlphaQCDFieldNumber = 13;
00184 inline float alpha_qcd() const;
00185 inline void set_alpha_qcd(float value);
00186
00187
00188 inline bool has_weight() const;
00189 inline void clear_weight();
00190 static const int kWeightFieldNumber = 14;
00191 inline double weight() const;
00192 inline void set_weight(double value);
00193
00194
00195 private:
00196 inline void set_has_number();
00197 inline void clear_has_number();
00198 inline void set_has_process_id();
00199 inline void clear_has_process_id();
00200 inline void set_has_mpi();
00201 inline void clear_has_mpi();
00202 inline void set_has_id1();
00203 inline void clear_has_id1();
00204 inline void set_has_id2();
00205 inline void clear_has_id2();
00206 inline void set_has_pdf1();
00207 inline void clear_has_pdf1();
00208 inline void set_has_pdf2();
00209 inline void clear_has_pdf2();
00210 inline void set_has_x1();
00211 inline void clear_has_x1();
00212 inline void set_has_x2();
00213 inline void clear_has_x2();
00214 inline void set_has_scale_pdf();
00215 inline void clear_has_scale_pdf();
00216 inline void set_has_alpha_qed();
00217 inline void clear_has_alpha_qed();
00218 inline void set_has_scale();
00219 inline void clear_has_scale();
00220 inline void set_has_alpha_qcd();
00221 inline void clear_has_alpha_qcd();
00222 inline void set_has_weight();
00223 inline void clear_has_weight();
00224
00225 ::google::protobuf::UnknownFieldSet _unknown_fields_;
00226
00227 ::google::protobuf::int32 number_;
00228 ::google::protobuf::int32 process_id_;
00229 ::google::protobuf::int32 mpi_;
00230 ::google::protobuf::int32 id1_;
00231 ::google::protobuf::int32 id2_;
00232 float pdf1_;
00233 float pdf2_;
00234 float x1_;
00235 float x2_;
00236 float scale_pdf_;
00237 float alpha_qed_;
00238 float scale_;
00239 double weight_;
00240 float alpha_qcd_;
00241
00242 mutable int _cached_size_;
00243 ::google::protobuf::uint32 _has_bits_[(14 + 31) / 32];
00244
00245 friend void protobuf_AddDesc_ProMC_2eproto();
00246 friend void protobuf_AssignDesc_ProMC_2eproto();
00247 friend void protobuf_ShutdownFile_ProMC_2eproto();
00248
00249 void InitAsDefaultInstance();
00250 static ProMCEvent_Event* default_instance_;
00251 };
00252
00253
00254 class ProMCEvent_Particles : public ::google::protobuf::Message {
00255 public:
00256 ProMCEvent_Particles();
00257 virtual ~ProMCEvent_Particles();
00258
00259 ProMCEvent_Particles(const ProMCEvent_Particles& from);
00260
00261 inline ProMCEvent_Particles& operator=(const ProMCEvent_Particles& from) {
00262 CopyFrom(from);
00263 return *this;
00264 }
00265
00266 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00267 return _unknown_fields_;
00268 }
00269
00270 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00271 return &_unknown_fields_;
00272 }
00273
00274 static const ::google::protobuf::Descriptor* descriptor();
00275 static const ProMCEvent_Particles& default_instance();
00276
00277 void Swap(ProMCEvent_Particles* other);
00278
00279
00280
00281 ProMCEvent_Particles* New() const;
00282 void CopyFrom(const ::google::protobuf::Message& from);
00283 void MergeFrom(const ::google::protobuf::Message& from);
00284 void CopyFrom(const ProMCEvent_Particles& from);
00285 void MergeFrom(const ProMCEvent_Particles& from);
00286 void Clear();
00287 bool IsInitialized() const;
00288
00289 int ByteSize() const;
00290 bool MergePartialFromCodedStream(
00291 ::google::protobuf::io::CodedInputStream* input);
00292 void SerializeWithCachedSizes(
00293 ::google::protobuf::io::CodedOutputStream* output) const;
00294 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00295 int GetCachedSize() const { return _cached_size_; }
00296 private:
00297 void SharedCtor();
00298 void SharedDtor();
00299 void SetCachedSize(int size) const;
00300 public:
00301
00302 ::google::protobuf::Metadata GetMetadata() const;
00303
00304
00305
00306
00307
00308
00309 inline int id_size() const;
00310 inline void clear_id();
00311 static const int kIdFieldNumber = 1;
00312 inline ::google::protobuf::uint32 id(int index) const;
00313 inline void set_id(int index, ::google::protobuf::uint32 value);
00314 inline void add_id(::google::protobuf::uint32 value);
00315 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
00316 id() const;
00317 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
00318 mutable_id();
00319
00320
00321 inline int pdg_id_size() const;
00322 inline void clear_pdg_id();
00323 static const int kPdgIdFieldNumber = 2;
00324 inline ::google::protobuf::int32 pdg_id(int index) const;
00325 inline void set_pdg_id(int index, ::google::protobuf::int32 value);
00326 inline void add_pdg_id(::google::protobuf::int32 value);
00327 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
00328 pdg_id() const;
00329 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
00330 mutable_pdg_id();
00331
00332
00333 inline int status_size() const;
00334 inline void clear_status();
00335 static const int kStatusFieldNumber = 3;
00336 inline ::google::protobuf::uint32 status(int index) const;
00337 inline void set_status(int index, ::google::protobuf::uint32 value);
00338 inline void add_status(::google::protobuf::uint32 value);
00339 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
00340 status() const;
00341 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
00342 mutable_status();
00343
00344
00345 inline int mass_size() const;
00346 inline void clear_mass();
00347 static const int kMassFieldNumber = 4;
00348 inline ::google::protobuf::uint64 mass(int index) const;
00349 inline void set_mass(int index, ::google::protobuf::uint64 value);
00350 inline void add_mass(::google::protobuf::uint64 value);
00351 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
00352 mass() const;
00353 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
00354 mutable_mass();
00355
00356
00357 inline int px_size() const;
00358 inline void clear_px();
00359 static const int kPxFieldNumber = 5;
00360 inline ::google::protobuf::int64 px(int index) const;
00361 inline void set_px(int index, ::google::protobuf::int64 value);
00362 inline void add_px(::google::protobuf::int64 value);
00363 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
00364 px() const;
00365 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
00366 mutable_px();
00367
00368
00369 inline int py_size() const;
00370 inline void clear_py();
00371 static const int kPyFieldNumber = 6;
00372 inline ::google::protobuf::int64 py(int index) const;
00373 inline void set_py(int index, ::google::protobuf::int64 value);
00374 inline void add_py(::google::protobuf::int64 value);
00375 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
00376 py() const;
00377 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
00378 mutable_py();
00379
00380
00381 inline int pz_size() const;
00382 inline void clear_pz();
00383 static const int kPzFieldNumber = 7;
00384 inline ::google::protobuf::int64 pz(int index) const;
00385 inline void set_pz(int index, ::google::protobuf::int64 value);
00386 inline void add_pz(::google::protobuf::int64 value);
00387 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
00388 pz() const;
00389 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
00390 mutable_pz();
00391
00392
00393 inline int mother1_size() const;
00394 inline void clear_mother1();
00395 static const int kMother1FieldNumber = 8;
00396 inline ::google::protobuf::uint32 mother1(int index) const;
00397 inline void set_mother1(int index, ::google::protobuf::uint32 value);
00398 inline void add_mother1(::google::protobuf::uint32 value);
00399 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
00400 mother1() const;
00401 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
00402 mutable_mother1();
00403
00404
00405 inline int mother2_size() const;
00406 inline void clear_mother2();
00407 static const int kMother2FieldNumber = 9;
00408 inline ::google::protobuf::uint32 mother2(int index) const;
00409 inline void set_mother2(int index, ::google::protobuf::uint32 value);
00410 inline void add_mother2(::google::protobuf::uint32 value);
00411 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
00412 mother2() const;
00413 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
00414 mutable_mother2();
00415
00416
00417 inline int daughter1_size() const;
00418 inline void clear_daughter1();
00419 static const int kDaughter1FieldNumber = 10;
00420 inline ::google::protobuf::uint32 daughter1(int index) const;
00421 inline void set_daughter1(int index, ::google::protobuf::uint32 value);
00422 inline void add_daughter1(::google::protobuf::uint32 value);
00423 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
00424 daughter1() const;
00425 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
00426 mutable_daughter1();
00427
00428
00429 inline int daughter2_size() const;
00430 inline void clear_daughter2();
00431 static const int kDaughter2FieldNumber = 11;
00432 inline ::google::protobuf::uint32 daughter2(int index) const;
00433 inline void set_daughter2(int index, ::google::protobuf::uint32 value);
00434 inline void add_daughter2(::google::protobuf::uint32 value);
00435 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
00436 daughter2() const;
00437 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
00438 mutable_daughter2();
00439
00440
00441 inline int barcode_size() const;
00442 inline void clear_barcode();
00443 static const int kBarcodeFieldNumber = 12;
00444 inline ::google::protobuf::int32 barcode(int index) const;
00445 inline void set_barcode(int index, ::google::protobuf::int32 value);
00446 inline void add_barcode(::google::protobuf::int32 value);
00447 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
00448 barcode() const;
00449 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
00450 mutable_barcode();
00451
00452
00453 inline int x_size() const;
00454 inline void clear_x();
00455 static const int kXFieldNumber = 13;
00456 inline ::google::protobuf::int32 x(int index) const;
00457 inline void set_x(int index, ::google::protobuf::int32 value);
00458 inline void add_x(::google::protobuf::int32 value);
00459 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
00460 x() const;
00461 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
00462 mutable_x();
00463
00464
00465 inline int y_size() const;
00466 inline void clear_y();
00467 static const int kYFieldNumber = 14;
00468 inline ::google::protobuf::int32 y(int index) const;
00469 inline void set_y(int index, ::google::protobuf::int32 value);
00470 inline void add_y(::google::protobuf::int32 value);
00471 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
00472 y() const;
00473 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
00474 mutable_y();
00475
00476
00477 inline int z_size() const;
00478 inline void clear_z();
00479 static const int kZFieldNumber = 15;
00480 inline ::google::protobuf::int32 z(int index) const;
00481 inline void set_z(int index, ::google::protobuf::int32 value);
00482 inline void add_z(::google::protobuf::int32 value);
00483 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
00484 z() const;
00485 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
00486 mutable_z();
00487
00488
00489 inline int t_size() const;
00490 inline void clear_t();
00491 static const int kTFieldNumber = 16;
00492 inline ::google::protobuf::uint32 t(int index) const;
00493 inline void set_t(int index, ::google::protobuf::uint32 value);
00494 inline void add_t(::google::protobuf::uint32 value);
00495 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
00496 t() const;
00497 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
00498 mutable_t();
00499
00500
00501 inline int weight_size() const;
00502 inline void clear_weight();
00503 static const int kWeightFieldNumber = 17;
00504 inline ::google::protobuf::uint64 weight(int index) const;
00505 inline void set_weight(int index, ::google::protobuf::uint64 value);
00506 inline void add_weight(::google::protobuf::uint64 value);
00507 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
00508 weight() const;
00509 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
00510 mutable_weight();
00511
00512
00513 inline int charge_size() const;
00514 inline void clear_charge();
00515 static const int kChargeFieldNumber = 18;
00516 inline ::google::protobuf::int32 charge(int index) const;
00517 inline void set_charge(int index, ::google::protobuf::int32 value);
00518 inline void add_charge(::google::protobuf::int32 value);
00519 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
00520 charge() const;
00521 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
00522 mutable_charge();
00523
00524
00525 inline int energy_size() const;
00526 inline void clear_energy();
00527 static const int kEnergyFieldNumber = 19;
00528 inline ::google::protobuf::int64 energy(int index) const;
00529 inline void set_energy(int index, ::google::protobuf::int64 value);
00530 inline void add_energy(::google::protobuf::int64 value);
00531 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
00532 energy() const;
00533 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
00534 mutable_energy();
00535
00536
00537 private:
00538
00539 ::google::protobuf::UnknownFieldSet _unknown_fields_;
00540
00541 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > id_;
00542 mutable int _id_cached_byte_size_;
00543 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > pdg_id_;
00544 mutable int _pdg_id_cached_byte_size_;
00545 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > status_;
00546 mutable int _status_cached_byte_size_;
00547 ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > mass_;
00548 mutable int _mass_cached_byte_size_;
00549 ::google::protobuf::RepeatedField< ::google::protobuf::int64 > px_;
00550 mutable int _px_cached_byte_size_;
00551 ::google::protobuf::RepeatedField< ::google::protobuf::int64 > py_;
00552 mutable int _py_cached_byte_size_;
00553 ::google::protobuf::RepeatedField< ::google::protobuf::int64 > pz_;
00554 mutable int _pz_cached_byte_size_;
00555 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > mother1_;
00556 mutable int _mother1_cached_byte_size_;
00557 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > mother2_;
00558 mutable int _mother2_cached_byte_size_;
00559 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > daughter1_;
00560 mutable int _daughter1_cached_byte_size_;
00561 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > daughter2_;
00562 mutable int _daughter2_cached_byte_size_;
00563 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > barcode_;
00564 mutable int _barcode_cached_byte_size_;
00565 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > x_;
00566 mutable int _x_cached_byte_size_;
00567 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > y_;
00568 mutable int _y_cached_byte_size_;
00569 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > z_;
00570 mutable int _z_cached_byte_size_;
00571 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > t_;
00572 mutable int _t_cached_byte_size_;
00573 ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > weight_;
00574 mutable int _weight_cached_byte_size_;
00575 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > charge_;
00576 mutable int _charge_cached_byte_size_;
00577 ::google::protobuf::RepeatedField< ::google::protobuf::int64 > energy_;
00578 mutable int _energy_cached_byte_size_;
00579
00580 mutable int _cached_size_;
00581 ::google::protobuf::uint32 _has_bits_[(19 + 31) / 32];
00582
00583 friend void protobuf_AddDesc_ProMC_2eproto();
00584 friend void protobuf_AssignDesc_ProMC_2eproto();
00585 friend void protobuf_ShutdownFile_ProMC_2eproto();
00586
00587 void InitAsDefaultInstance();
00588 static ProMCEvent_Particles* default_instance_;
00589 };
00590
00591
00592 class ProMCEvent : public ::google::protobuf::Message {
00593 public:
00594 ProMCEvent();
00595 virtual ~ProMCEvent();
00596
00597 ProMCEvent(const ProMCEvent& from);
00598
00599 inline ProMCEvent& operator=(const ProMCEvent& from) {
00600 CopyFrom(from);
00601 return *this;
00602 }
00603
00604 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00605 return _unknown_fields_;
00606 }
00607
00608 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00609 return &_unknown_fields_;
00610 }
00611
00612 static const ::google::protobuf::Descriptor* descriptor();
00613 static const ProMCEvent& default_instance();
00614
00615 void Swap(ProMCEvent* other);
00616
00617
00618
00619 ProMCEvent* New() const;
00620 void CopyFrom(const ::google::protobuf::Message& from);
00621 void MergeFrom(const ::google::protobuf::Message& from);
00622 void CopyFrom(const ProMCEvent& from);
00623 void MergeFrom(const ProMCEvent& from);
00624 void Clear();
00625 bool IsInitialized() const;
00626
00627 int ByteSize() const;
00628 bool MergePartialFromCodedStream(
00629 ::google::protobuf::io::CodedInputStream* input);
00630 void SerializeWithCachedSizes(
00631 ::google::protobuf::io::CodedOutputStream* output) const;
00632 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00633 int GetCachedSize() const { return _cached_size_; }
00634 private:
00635 void SharedCtor();
00636 void SharedDtor();
00637 void SetCachedSize(int size) const;
00638 public:
00639
00640 ::google::protobuf::Metadata GetMetadata() const;
00641
00642
00643
00644 typedef ProMCEvent_Event Event;
00645 typedef ProMCEvent_Particles Particles;
00646
00647
00648
00649
00650 inline bool has_event() const;
00651 inline void clear_event();
00652 static const int kEventFieldNumber = 1;
00653 inline const ::promc::ProMCEvent_Event& event() const;
00654 inline ::promc::ProMCEvent_Event* mutable_event();
00655 inline ::promc::ProMCEvent_Event* release_event();
00656 inline void set_allocated_event(::promc::ProMCEvent_Event* event);
00657
00658
00659 inline bool has_particles() const;
00660 inline void clear_particles();
00661 static const int kParticlesFieldNumber = 2;
00662 inline const ::promc::ProMCEvent_Particles& particles() const;
00663 inline ::promc::ProMCEvent_Particles* mutable_particles();
00664 inline ::promc::ProMCEvent_Particles* release_particles();
00665 inline void set_allocated_particles(::promc::ProMCEvent_Particles* particles);
00666
00667
00668 private:
00669 inline void set_has_event();
00670 inline void clear_has_event();
00671 inline void set_has_particles();
00672 inline void clear_has_particles();
00673
00674 ::google::protobuf::UnknownFieldSet _unknown_fields_;
00675
00676 ::promc::ProMCEvent_Event* event_;
00677 ::promc::ProMCEvent_Particles* particles_;
00678
00679 mutable int _cached_size_;
00680 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
00681
00682 friend void protobuf_AddDesc_ProMC_2eproto();
00683 friend void protobuf_AssignDesc_ProMC_2eproto();
00684 friend void protobuf_ShutdownFile_ProMC_2eproto();
00685
00686 void InitAsDefaultInstance();
00687 static ProMCEvent* default_instance_;
00688 };
00689
00690
00691
00692
00693
00694
00695
00696
00697 inline bool ProMCEvent_Event::has_number() const {
00698 return (_has_bits_[0] & 0x00000001u) != 0;
00699 }
00700 inline void ProMCEvent_Event::set_has_number() {
00701 _has_bits_[0] |= 0x00000001u;
00702 }
00703 inline void ProMCEvent_Event::clear_has_number() {
00704 _has_bits_[0] &= ~0x00000001u;
00705 }
00706 inline void ProMCEvent_Event::clear_number() {
00707 number_ = 0;
00708 clear_has_number();
00709 }
00710 inline ::google::protobuf::int32 ProMCEvent_Event::number() const {
00711 return number_;
00712 }
00713 inline void ProMCEvent_Event::set_number(::google::protobuf::int32 value) {
00714 set_has_number();
00715 number_ = value;
00716 }
00717
00718
00719 inline bool ProMCEvent_Event::has_process_id() const {
00720 return (_has_bits_[0] & 0x00000002u) != 0;
00721 }
00722 inline void ProMCEvent_Event::set_has_process_id() {
00723 _has_bits_[0] |= 0x00000002u;
00724 }
00725 inline void ProMCEvent_Event::clear_has_process_id() {
00726 _has_bits_[0] &= ~0x00000002u;
00727 }
00728 inline void ProMCEvent_Event::clear_process_id() {
00729 process_id_ = 0;
00730 clear_has_process_id();
00731 }
00732 inline ::google::protobuf::int32 ProMCEvent_Event::process_id() const {
00733 return process_id_;
00734 }
00735 inline void ProMCEvent_Event::set_process_id(::google::protobuf::int32 value) {
00736 set_has_process_id();
00737 process_id_ = value;
00738 }
00739
00740
00741 inline bool ProMCEvent_Event::has_mpi() const {
00742 return (_has_bits_[0] & 0x00000004u) != 0;
00743 }
00744 inline void ProMCEvent_Event::set_has_mpi() {
00745 _has_bits_[0] |= 0x00000004u;
00746 }
00747 inline void ProMCEvent_Event::clear_has_mpi() {
00748 _has_bits_[0] &= ~0x00000004u;
00749 }
00750 inline void ProMCEvent_Event::clear_mpi() {
00751 mpi_ = 0;
00752 clear_has_mpi();
00753 }
00754 inline ::google::protobuf::int32 ProMCEvent_Event::mpi() const {
00755 return mpi_;
00756 }
00757 inline void ProMCEvent_Event::set_mpi(::google::protobuf::int32 value) {
00758 set_has_mpi();
00759 mpi_ = value;
00760 }
00761
00762
00763 inline bool ProMCEvent_Event::has_id1() const {
00764 return (_has_bits_[0] & 0x00000008u) != 0;
00765 }
00766 inline void ProMCEvent_Event::set_has_id1() {
00767 _has_bits_[0] |= 0x00000008u;
00768 }
00769 inline void ProMCEvent_Event::clear_has_id1() {
00770 _has_bits_[0] &= ~0x00000008u;
00771 }
00772 inline void ProMCEvent_Event::clear_id1() {
00773 id1_ = 0;
00774 clear_has_id1();
00775 }
00776 inline ::google::protobuf::int32 ProMCEvent_Event::id1() const {
00777 return id1_;
00778 }
00779 inline void ProMCEvent_Event::set_id1(::google::protobuf::int32 value) {
00780 set_has_id1();
00781 id1_ = value;
00782 }
00783
00784
00785 inline bool ProMCEvent_Event::has_id2() const {
00786 return (_has_bits_[0] & 0x00000010u) != 0;
00787 }
00788 inline void ProMCEvent_Event::set_has_id2() {
00789 _has_bits_[0] |= 0x00000010u;
00790 }
00791 inline void ProMCEvent_Event::clear_has_id2() {
00792 _has_bits_[0] &= ~0x00000010u;
00793 }
00794 inline void ProMCEvent_Event::clear_id2() {
00795 id2_ = 0;
00796 clear_has_id2();
00797 }
00798 inline ::google::protobuf::int32 ProMCEvent_Event::id2() const {
00799 return id2_;
00800 }
00801 inline void ProMCEvent_Event::set_id2(::google::protobuf::int32 value) {
00802 set_has_id2();
00803 id2_ = value;
00804 }
00805
00806
00807 inline bool ProMCEvent_Event::has_pdf1() const {
00808 return (_has_bits_[0] & 0x00000020u) != 0;
00809 }
00810 inline void ProMCEvent_Event::set_has_pdf1() {
00811 _has_bits_[0] |= 0x00000020u;
00812 }
00813 inline void ProMCEvent_Event::clear_has_pdf1() {
00814 _has_bits_[0] &= ~0x00000020u;
00815 }
00816 inline void ProMCEvent_Event::clear_pdf1() {
00817 pdf1_ = 0;
00818 clear_has_pdf1();
00819 }
00820 inline float ProMCEvent_Event::pdf1() const {
00821 return pdf1_;
00822 }
00823 inline void ProMCEvent_Event::set_pdf1(float value) {
00824 set_has_pdf1();
00825 pdf1_ = value;
00826 }
00827
00828
00829 inline bool ProMCEvent_Event::has_pdf2() const {
00830 return (_has_bits_[0] & 0x00000040u) != 0;
00831 }
00832 inline void ProMCEvent_Event::set_has_pdf2() {
00833 _has_bits_[0] |= 0x00000040u;
00834 }
00835 inline void ProMCEvent_Event::clear_has_pdf2() {
00836 _has_bits_[0] &= ~0x00000040u;
00837 }
00838 inline void ProMCEvent_Event::clear_pdf2() {
00839 pdf2_ = 0;
00840 clear_has_pdf2();
00841 }
00842 inline float ProMCEvent_Event::pdf2() const {
00843 return pdf2_;
00844 }
00845 inline void ProMCEvent_Event::set_pdf2(float value) {
00846 set_has_pdf2();
00847 pdf2_ = value;
00848 }
00849
00850
00851 inline bool ProMCEvent_Event::has_x1() const {
00852 return (_has_bits_[0] & 0x00000080u) != 0;
00853 }
00854 inline void ProMCEvent_Event::set_has_x1() {
00855 _has_bits_[0] |= 0x00000080u;
00856 }
00857 inline void ProMCEvent_Event::clear_has_x1() {
00858 _has_bits_[0] &= ~0x00000080u;
00859 }
00860 inline void ProMCEvent_Event::clear_x1() {
00861 x1_ = 0;
00862 clear_has_x1();
00863 }
00864 inline float ProMCEvent_Event::x1() const {
00865 return x1_;
00866 }
00867 inline void ProMCEvent_Event::set_x1(float value) {
00868 set_has_x1();
00869 x1_ = value;
00870 }
00871
00872
00873 inline bool ProMCEvent_Event::has_x2() const {
00874 return (_has_bits_[0] & 0x00000100u) != 0;
00875 }
00876 inline void ProMCEvent_Event::set_has_x2() {
00877 _has_bits_[0] |= 0x00000100u;
00878 }
00879 inline void ProMCEvent_Event::clear_has_x2() {
00880 _has_bits_[0] &= ~0x00000100u;
00881 }
00882 inline void ProMCEvent_Event::clear_x2() {
00883 x2_ = 0;
00884 clear_has_x2();
00885 }
00886 inline float ProMCEvent_Event::x2() const {
00887 return x2_;
00888 }
00889 inline void ProMCEvent_Event::set_x2(float value) {
00890 set_has_x2();
00891 x2_ = value;
00892 }
00893
00894
00895 inline bool ProMCEvent_Event::has_scale_pdf() const {
00896 return (_has_bits_[0] & 0x00000200u) != 0;
00897 }
00898 inline void ProMCEvent_Event::set_has_scale_pdf() {
00899 _has_bits_[0] |= 0x00000200u;
00900 }
00901 inline void ProMCEvent_Event::clear_has_scale_pdf() {
00902 _has_bits_[0] &= ~0x00000200u;
00903 }
00904 inline void ProMCEvent_Event::clear_scale_pdf() {
00905 scale_pdf_ = 0;
00906 clear_has_scale_pdf();
00907 }
00908 inline float ProMCEvent_Event::scale_pdf() const {
00909 return scale_pdf_;
00910 }
00911 inline void ProMCEvent_Event::set_scale_pdf(float value) {
00912 set_has_scale_pdf();
00913 scale_pdf_ = value;
00914 }
00915
00916
00917 inline bool ProMCEvent_Event::has_alpha_qed() const {
00918 return (_has_bits_[0] & 0x00000400u) != 0;
00919 }
00920 inline void ProMCEvent_Event::set_has_alpha_qed() {
00921 _has_bits_[0] |= 0x00000400u;
00922 }
00923 inline void ProMCEvent_Event::clear_has_alpha_qed() {
00924 _has_bits_[0] &= ~0x00000400u;
00925 }
00926 inline void ProMCEvent_Event::clear_alpha_qed() {
00927 alpha_qed_ = 0;
00928 clear_has_alpha_qed();
00929 }
00930 inline float ProMCEvent_Event::alpha_qed() const {
00931 return alpha_qed_;
00932 }
00933 inline void ProMCEvent_Event::set_alpha_qed(float value) {
00934 set_has_alpha_qed();
00935 alpha_qed_ = value;
00936 }
00937
00938
00939 inline bool ProMCEvent_Event::has_scale() const {
00940 return (_has_bits_[0] & 0x00000800u) != 0;
00941 }
00942 inline void ProMCEvent_Event::set_has_scale() {
00943 _has_bits_[0] |= 0x00000800u;
00944 }
00945 inline void ProMCEvent_Event::clear_has_scale() {
00946 _has_bits_[0] &= ~0x00000800u;
00947 }
00948 inline void ProMCEvent_Event::clear_scale() {
00949 scale_ = 0;
00950 clear_has_scale();
00951 }
00952 inline float ProMCEvent_Event::scale() const {
00953 return scale_;
00954 }
00955 inline void ProMCEvent_Event::set_scale(float value) {
00956 set_has_scale();
00957 scale_ = value;
00958 }
00959
00960
00961 inline bool ProMCEvent_Event::has_alpha_qcd() const {
00962 return (_has_bits_[0] & 0x00001000u) != 0;
00963 }
00964 inline void ProMCEvent_Event::set_has_alpha_qcd() {
00965 _has_bits_[0] |= 0x00001000u;
00966 }
00967 inline void ProMCEvent_Event::clear_has_alpha_qcd() {
00968 _has_bits_[0] &= ~0x00001000u;
00969 }
00970 inline void ProMCEvent_Event::clear_alpha_qcd() {
00971 alpha_qcd_ = 0;
00972 clear_has_alpha_qcd();
00973 }
00974 inline float ProMCEvent_Event::alpha_qcd() const {
00975 return alpha_qcd_;
00976 }
00977 inline void ProMCEvent_Event::set_alpha_qcd(float value) {
00978 set_has_alpha_qcd();
00979 alpha_qcd_ = value;
00980 }
00981
00982
00983 inline bool ProMCEvent_Event::has_weight() const {
00984 return (_has_bits_[0] & 0x00002000u) != 0;
00985 }
00986 inline void ProMCEvent_Event::set_has_weight() {
00987 _has_bits_[0] |= 0x00002000u;
00988 }
00989 inline void ProMCEvent_Event::clear_has_weight() {
00990 _has_bits_[0] &= ~0x00002000u;
00991 }
00992 inline void ProMCEvent_Event::clear_weight() {
00993 weight_ = 0;
00994 clear_has_weight();
00995 }
00996 inline double ProMCEvent_Event::weight() const {
00997 return weight_;
00998 }
00999 inline void ProMCEvent_Event::set_weight(double value) {
01000 set_has_weight();
01001 weight_ = value;
01002 }
01003
01004
01005
01006
01007
01008
01009 inline int ProMCEvent_Particles::id_size() const {
01010 return id_.size();
01011 }
01012 inline void ProMCEvent_Particles::clear_id() {
01013 id_.Clear();
01014 }
01015 inline ::google::protobuf::uint32 ProMCEvent_Particles::id(int index) const {
01016 return id_.Get(index);
01017 }
01018 inline void ProMCEvent_Particles::set_id(int index, ::google::protobuf::uint32 value) {
01019 id_.Set(index, value);
01020 }
01021 inline void ProMCEvent_Particles::add_id(::google::protobuf::uint32 value) {
01022 id_.Add(value);
01023 }
01024 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
01025 ProMCEvent_Particles::id() const {
01026 return id_;
01027 }
01028 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
01029 ProMCEvent_Particles::mutable_id() {
01030 return &id_;
01031 }
01032
01033
01034 inline int ProMCEvent_Particles::pdg_id_size() const {
01035 return pdg_id_.size();
01036 }
01037 inline void ProMCEvent_Particles::clear_pdg_id() {
01038 pdg_id_.Clear();
01039 }
01040 inline ::google::protobuf::int32 ProMCEvent_Particles::pdg_id(int index) const {
01041 return pdg_id_.Get(index);
01042 }
01043 inline void ProMCEvent_Particles::set_pdg_id(int index, ::google::protobuf::int32 value) {
01044 pdg_id_.Set(index, value);
01045 }
01046 inline void ProMCEvent_Particles::add_pdg_id(::google::protobuf::int32 value) {
01047 pdg_id_.Add(value);
01048 }
01049 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
01050 ProMCEvent_Particles::pdg_id() const {
01051 return pdg_id_;
01052 }
01053 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
01054 ProMCEvent_Particles::mutable_pdg_id() {
01055 return &pdg_id_;
01056 }
01057
01058
01059 inline int ProMCEvent_Particles::status_size() const {
01060 return status_.size();
01061 }
01062 inline void ProMCEvent_Particles::clear_status() {
01063 status_.Clear();
01064 }
01065 inline ::google::protobuf::uint32 ProMCEvent_Particles::status(int index) const {
01066 return status_.Get(index);
01067 }
01068 inline void ProMCEvent_Particles::set_status(int index, ::google::protobuf::uint32 value) {
01069 status_.Set(index, value);
01070 }
01071 inline void ProMCEvent_Particles::add_status(::google::protobuf::uint32 value) {
01072 status_.Add(value);
01073 }
01074 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
01075 ProMCEvent_Particles::status() const {
01076 return status_;
01077 }
01078 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
01079 ProMCEvent_Particles::mutable_status() {
01080 return &status_;
01081 }
01082
01083
01084 inline int ProMCEvent_Particles::mass_size() const {
01085 return mass_.size();
01086 }
01087 inline void ProMCEvent_Particles::clear_mass() {
01088 mass_.Clear();
01089 }
01090 inline ::google::protobuf::uint64 ProMCEvent_Particles::mass(int index) const {
01091 return mass_.Get(index);
01092 }
01093 inline void ProMCEvent_Particles::set_mass(int index, ::google::protobuf::uint64 value) {
01094 mass_.Set(index, value);
01095 }
01096 inline void ProMCEvent_Particles::add_mass(::google::protobuf::uint64 value) {
01097 mass_.Add(value);
01098 }
01099 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
01100 ProMCEvent_Particles::mass() const {
01101 return mass_;
01102 }
01103 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
01104 ProMCEvent_Particles::mutable_mass() {
01105 return &mass_;
01106 }
01107
01108
01109 inline int ProMCEvent_Particles::px_size() const {
01110 return px_.size();
01111 }
01112 inline void ProMCEvent_Particles::clear_px() {
01113 px_.Clear();
01114 }
01115 inline ::google::protobuf::int64 ProMCEvent_Particles::px(int index) const {
01116 return px_.Get(index);
01117 }
01118 inline void ProMCEvent_Particles::set_px(int index, ::google::protobuf::int64 value) {
01119 px_.Set(index, value);
01120 }
01121 inline void ProMCEvent_Particles::add_px(::google::protobuf::int64 value) {
01122 px_.Add(value);
01123 }
01124 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
01125 ProMCEvent_Particles::px() const {
01126 return px_;
01127 }
01128 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
01129 ProMCEvent_Particles::mutable_px() {
01130 return &px_;
01131 }
01132
01133
01134 inline int ProMCEvent_Particles::py_size() const {
01135 return py_.size();
01136 }
01137 inline void ProMCEvent_Particles::clear_py() {
01138 py_.Clear();
01139 }
01140 inline ::google::protobuf::int64 ProMCEvent_Particles::py(int index) const {
01141 return py_.Get(index);
01142 }
01143 inline void ProMCEvent_Particles::set_py(int index, ::google::protobuf::int64 value) {
01144 py_.Set(index, value);
01145 }
01146 inline void ProMCEvent_Particles::add_py(::google::protobuf::int64 value) {
01147 py_.Add(value);
01148 }
01149 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
01150 ProMCEvent_Particles::py() const {
01151 return py_;
01152 }
01153 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
01154 ProMCEvent_Particles::mutable_py() {
01155 return &py_;
01156 }
01157
01158
01159 inline int ProMCEvent_Particles::pz_size() const {
01160 return pz_.size();
01161 }
01162 inline void ProMCEvent_Particles::clear_pz() {
01163 pz_.Clear();
01164 }
01165 inline ::google::protobuf::int64 ProMCEvent_Particles::pz(int index) const {
01166 return pz_.Get(index);
01167 }
01168 inline void ProMCEvent_Particles::set_pz(int index, ::google::protobuf::int64 value) {
01169 pz_.Set(index, value);
01170 }
01171 inline void ProMCEvent_Particles::add_pz(::google::protobuf::int64 value) {
01172 pz_.Add(value);
01173 }
01174 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
01175 ProMCEvent_Particles::pz() const {
01176 return pz_;
01177 }
01178 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
01179 ProMCEvent_Particles::mutable_pz() {
01180 return &pz_;
01181 }
01182
01183
01184 inline int ProMCEvent_Particles::mother1_size() const {
01185 return mother1_.size();
01186 }
01187 inline void ProMCEvent_Particles::clear_mother1() {
01188 mother1_.Clear();
01189 }
01190 inline ::google::protobuf::uint32 ProMCEvent_Particles::mother1(int index) const {
01191 return mother1_.Get(index);
01192 }
01193 inline void ProMCEvent_Particles::set_mother1(int index, ::google::protobuf::uint32 value) {
01194 mother1_.Set(index, value);
01195 }
01196 inline void ProMCEvent_Particles::add_mother1(::google::protobuf::uint32 value) {
01197 mother1_.Add(value);
01198 }
01199 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
01200 ProMCEvent_Particles::mother1() const {
01201 return mother1_;
01202 }
01203 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
01204 ProMCEvent_Particles::mutable_mother1() {
01205 return &mother1_;
01206 }
01207
01208
01209 inline int ProMCEvent_Particles::mother2_size() const {
01210 return mother2_.size();
01211 }
01212 inline void ProMCEvent_Particles::clear_mother2() {
01213 mother2_.Clear();
01214 }
01215 inline ::google::protobuf::uint32 ProMCEvent_Particles::mother2(int index) const {
01216 return mother2_.Get(index);
01217 }
01218 inline void ProMCEvent_Particles::set_mother2(int index, ::google::protobuf::uint32 value) {
01219 mother2_.Set(index, value);
01220 }
01221 inline void ProMCEvent_Particles::add_mother2(::google::protobuf::uint32 value) {
01222 mother2_.Add(value);
01223 }
01224 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
01225 ProMCEvent_Particles::mother2() const {
01226 return mother2_;
01227 }
01228 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
01229 ProMCEvent_Particles::mutable_mother2() {
01230 return &mother2_;
01231 }
01232
01233
01234 inline int ProMCEvent_Particles::daughter1_size() const {
01235 return daughter1_.size();
01236 }
01237 inline void ProMCEvent_Particles::clear_daughter1() {
01238 daughter1_.Clear();
01239 }
01240 inline ::google::protobuf::uint32 ProMCEvent_Particles::daughter1(int index) const {
01241 return daughter1_.Get(index);
01242 }
01243 inline void ProMCEvent_Particles::set_daughter1(int index, ::google::protobuf::uint32 value) {
01244 daughter1_.Set(index, value);
01245 }
01246 inline void ProMCEvent_Particles::add_daughter1(::google::protobuf::uint32 value) {
01247 daughter1_.Add(value);
01248 }
01249 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
01250 ProMCEvent_Particles::daughter1() const {
01251 return daughter1_;
01252 }
01253 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
01254 ProMCEvent_Particles::mutable_daughter1() {
01255 return &daughter1_;
01256 }
01257
01258
01259 inline int ProMCEvent_Particles::daughter2_size() const {
01260 return daughter2_.size();
01261 }
01262 inline void ProMCEvent_Particles::clear_daughter2() {
01263 daughter2_.Clear();
01264 }
01265 inline ::google::protobuf::uint32 ProMCEvent_Particles::daughter2(int index) const {
01266 return daughter2_.Get(index);
01267 }
01268 inline void ProMCEvent_Particles::set_daughter2(int index, ::google::protobuf::uint32 value) {
01269 daughter2_.Set(index, value);
01270 }
01271 inline void ProMCEvent_Particles::add_daughter2(::google::protobuf::uint32 value) {
01272 daughter2_.Add(value);
01273 }
01274 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
01275 ProMCEvent_Particles::daughter2() const {
01276 return daughter2_;
01277 }
01278 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
01279 ProMCEvent_Particles::mutable_daughter2() {
01280 return &daughter2_;
01281 }
01282
01283
01284 inline int ProMCEvent_Particles::barcode_size() const {
01285 return barcode_.size();
01286 }
01287 inline void ProMCEvent_Particles::clear_barcode() {
01288 barcode_.Clear();
01289 }
01290 inline ::google::protobuf::int32 ProMCEvent_Particles::barcode(int index) const {
01291 return barcode_.Get(index);
01292 }
01293 inline void ProMCEvent_Particles::set_barcode(int index, ::google::protobuf::int32 value) {
01294 barcode_.Set(index, value);
01295 }
01296 inline void ProMCEvent_Particles::add_barcode(::google::protobuf::int32 value) {
01297 barcode_.Add(value);
01298 }
01299 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
01300 ProMCEvent_Particles::barcode() const {
01301 return barcode_;
01302 }
01303 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
01304 ProMCEvent_Particles::mutable_barcode() {
01305 return &barcode_;
01306 }
01307
01308
01309 inline int ProMCEvent_Particles::x_size() const {
01310 return x_.size();
01311 }
01312 inline void ProMCEvent_Particles::clear_x() {
01313 x_.Clear();
01314 }
01315 inline ::google::protobuf::int32 ProMCEvent_Particles::x(int index) const {
01316 return x_.Get(index);
01317 }
01318 inline void ProMCEvent_Particles::set_x(int index, ::google::protobuf::int32 value) {
01319 x_.Set(index, value);
01320 }
01321 inline void ProMCEvent_Particles::add_x(::google::protobuf::int32 value) {
01322 x_.Add(value);
01323 }
01324 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
01325 ProMCEvent_Particles::x() const {
01326 return x_;
01327 }
01328 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
01329 ProMCEvent_Particles::mutable_x() {
01330 return &x_;
01331 }
01332
01333
01334 inline int ProMCEvent_Particles::y_size() const {
01335 return y_.size();
01336 }
01337 inline void ProMCEvent_Particles::clear_y() {
01338 y_.Clear();
01339 }
01340 inline ::google::protobuf::int32 ProMCEvent_Particles::y(int index) const {
01341 return y_.Get(index);
01342 }
01343 inline void ProMCEvent_Particles::set_y(int index, ::google::protobuf::int32 value) {
01344 y_.Set(index, value);
01345 }
01346 inline void ProMCEvent_Particles::add_y(::google::protobuf::int32 value) {
01347 y_.Add(value);
01348 }
01349 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
01350 ProMCEvent_Particles::y() const {
01351 return y_;
01352 }
01353 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
01354 ProMCEvent_Particles::mutable_y() {
01355 return &y_;
01356 }
01357
01358
01359 inline int ProMCEvent_Particles::z_size() const {
01360 return z_.size();
01361 }
01362 inline void ProMCEvent_Particles::clear_z() {
01363 z_.Clear();
01364 }
01365 inline ::google::protobuf::int32 ProMCEvent_Particles::z(int index) const {
01366 return z_.Get(index);
01367 }
01368 inline void ProMCEvent_Particles::set_z(int index, ::google::protobuf::int32 value) {
01369 z_.Set(index, value);
01370 }
01371 inline void ProMCEvent_Particles::add_z(::google::protobuf::int32 value) {
01372 z_.Add(value);
01373 }
01374 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
01375 ProMCEvent_Particles::z() const {
01376 return z_;
01377 }
01378 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
01379 ProMCEvent_Particles::mutable_z() {
01380 return &z_;
01381 }
01382
01383
01384 inline int ProMCEvent_Particles::t_size() const {
01385 return t_.size();
01386 }
01387 inline void ProMCEvent_Particles::clear_t() {
01388 t_.Clear();
01389 }
01390 inline ::google::protobuf::uint32 ProMCEvent_Particles::t(int index) const {
01391 return t_.Get(index);
01392 }
01393 inline void ProMCEvent_Particles::set_t(int index, ::google::protobuf::uint32 value) {
01394 t_.Set(index, value);
01395 }
01396 inline void ProMCEvent_Particles::add_t(::google::protobuf::uint32 value) {
01397 t_.Add(value);
01398 }
01399 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
01400 ProMCEvent_Particles::t() const {
01401 return t_;
01402 }
01403 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
01404 ProMCEvent_Particles::mutable_t() {
01405 return &t_;
01406 }
01407
01408
01409 inline int ProMCEvent_Particles::weight_size() const {
01410 return weight_.size();
01411 }
01412 inline void ProMCEvent_Particles::clear_weight() {
01413 weight_.Clear();
01414 }
01415 inline ::google::protobuf::uint64 ProMCEvent_Particles::weight(int index) const {
01416 return weight_.Get(index);
01417 }
01418 inline void ProMCEvent_Particles::set_weight(int index, ::google::protobuf::uint64 value) {
01419 weight_.Set(index, value);
01420 }
01421 inline void ProMCEvent_Particles::add_weight(::google::protobuf::uint64 value) {
01422 weight_.Add(value);
01423 }
01424 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
01425 ProMCEvent_Particles::weight() const {
01426 return weight_;
01427 }
01428 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
01429 ProMCEvent_Particles::mutable_weight() {
01430 return &weight_;
01431 }
01432
01433
01434 inline int ProMCEvent_Particles::charge_size() const {
01435 return charge_.size();
01436 }
01437 inline void ProMCEvent_Particles::clear_charge() {
01438 charge_.Clear();
01439 }
01440 inline ::google::protobuf::int32 ProMCEvent_Particles::charge(int index) const {
01441 return charge_.Get(index);
01442 }
01443 inline void ProMCEvent_Particles::set_charge(int index, ::google::protobuf::int32 value) {
01444 charge_.Set(index, value);
01445 }
01446 inline void ProMCEvent_Particles::add_charge(::google::protobuf::int32 value) {
01447 charge_.Add(value);
01448 }
01449 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
01450 ProMCEvent_Particles::charge() const {
01451 return charge_;
01452 }
01453 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
01454 ProMCEvent_Particles::mutable_charge() {
01455 return &charge_;
01456 }
01457
01458
01459 inline int ProMCEvent_Particles::energy_size() const {
01460 return energy_.size();
01461 }
01462 inline void ProMCEvent_Particles::clear_energy() {
01463 energy_.Clear();
01464 }
01465 inline ::google::protobuf::int64 ProMCEvent_Particles::energy(int index) const {
01466 return energy_.Get(index);
01467 }
01468 inline void ProMCEvent_Particles::set_energy(int index, ::google::protobuf::int64 value) {
01469 energy_.Set(index, value);
01470 }
01471 inline void ProMCEvent_Particles::add_energy(::google::protobuf::int64 value) {
01472 energy_.Add(value);
01473 }
01474 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
01475 ProMCEvent_Particles::energy() const {
01476 return energy_;
01477 }
01478 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
01479 ProMCEvent_Particles::mutable_energy() {
01480 return &energy_;
01481 }
01482
01483
01484
01485
01486
01487
01488 inline bool ProMCEvent::has_event() const {
01489 return (_has_bits_[0] & 0x00000001u) != 0;
01490 }
01491 inline void ProMCEvent::set_has_event() {
01492 _has_bits_[0] |= 0x00000001u;
01493 }
01494 inline void ProMCEvent::clear_has_event() {
01495 _has_bits_[0] &= ~0x00000001u;
01496 }
01497 inline void ProMCEvent::clear_event() {
01498 if (event_ != NULL) event_->::promc::ProMCEvent_Event::Clear();
01499 clear_has_event();
01500 }
01501 inline const ::promc::ProMCEvent_Event& ProMCEvent::event() const {
01502 return event_ != NULL ? *event_ : *default_instance_->event_;
01503 }
01504 inline ::promc::ProMCEvent_Event* ProMCEvent::mutable_event() {
01505 set_has_event();
01506 if (event_ == NULL) event_ = new ::promc::ProMCEvent_Event;
01507 return event_;
01508 }
01509 inline ::promc::ProMCEvent_Event* ProMCEvent::release_event() {
01510 clear_has_event();
01511 ::promc::ProMCEvent_Event* temp = event_;
01512 event_ = NULL;
01513 return temp;
01514 }
01515 inline void ProMCEvent::set_allocated_event(::promc::ProMCEvent_Event* event) {
01516 delete event_;
01517 event_ = event;
01518 if (event) {
01519 set_has_event();
01520 } else {
01521 clear_has_event();
01522 }
01523 }
01524
01525
01526 inline bool ProMCEvent::has_particles() const {
01527 return (_has_bits_[0] & 0x00000002u) != 0;
01528 }
01529 inline void ProMCEvent::set_has_particles() {
01530 _has_bits_[0] |= 0x00000002u;
01531 }
01532 inline void ProMCEvent::clear_has_particles() {
01533 _has_bits_[0] &= ~0x00000002u;
01534 }
01535 inline void ProMCEvent::clear_particles() {
01536 if (particles_ != NULL) particles_->::promc::ProMCEvent_Particles::Clear();
01537 clear_has_particles();
01538 }
01539 inline const ::promc::ProMCEvent_Particles& ProMCEvent::particles() const {
01540 return particles_ != NULL ? *particles_ : *default_instance_->particles_;
01541 }
01542 inline ::promc::ProMCEvent_Particles* ProMCEvent::mutable_particles() {
01543 set_has_particles();
01544 if (particles_ == NULL) particles_ = new ::promc::ProMCEvent_Particles;
01545 return particles_;
01546 }
01547 inline ::promc::ProMCEvent_Particles* ProMCEvent::release_particles() {
01548 clear_has_particles();
01549 ::promc::ProMCEvent_Particles* temp = particles_;
01550 particles_ = NULL;
01551 return temp;
01552 }
01553 inline void ProMCEvent::set_allocated_particles(::promc::ProMCEvent_Particles* particles) {
01554 delete particles_;
01555 particles_ = particles;
01556 if (particles) {
01557 set_has_particles();
01558 } else {
01559 clear_has_particles();
01560 }
01561 }
01562
01563
01564
01565
01566 }
01567
01568 #ifndef SWIG
01569 namespace google {
01570 namespace protobuf {
01571
01572
01573 }
01574 }
01575 #endif // SWIG
01576
01577
01578
01579 #endif // PROTOBUF_ProMC_2eproto__INCLUDED