21 #pragma warning ( disable : 4786 )
22 #ifndef LCGDICT_STRING
26 #define private public
27 #define protected public
28 #include "../GeneratorObjects/McEventDict.h"
31 #include "ReflectionBuilder/ReflectionBuilder.h"
32 #include "ReflectionBuilder/CollectionProxy.h"
34 using namespace seal::reflect;
41 static void* constructor_6443(
void*,
const std::vector<void*>& );
42 static void* constructor_6444(
void*,
const std::vector<void*>& );
43 static void destructor(
void* o ) { ((HepMC::GenVertex*)o)->~GenVertex(); }
44 static void* operator_6446(
void*,
const std::vector<void*>& );
45 static void* operator_6447(
void*,
const std::vector<void*>& );
46 static void* operator_6448(
void*,
const std::vector<void*>& );
47 static void method_6449(
void*,
const std::vector<void*>& );
48 static void* method_6450(
void* );
49 static void method_6451(
void*,
const std::vector<void*>& );
50 static void method_6452(
void*,
const std::vector<void*>& );
51 static void* method_6453(
void*,
const std::vector<void*>& );
52 static void* converter_6454(
void* );
53 static void* converter_6455(
void* );
54 static void* method_6456(
void* );
55 static void* method_6457(
void* );
56 static void* method_6458(
void* );
57 static void method_6459(
void*,
const std::vector<void*>& );
58 static void* method_6460(
void* );
59 static void method_6461(
void*,
const std::vector<void*>& );
60 static void* method_6462(
void* );
61 static void* method_6463(
void*,
const std::vector<void*>& );
62 static void* method_6464(
void* );
63 static void* method_6465(
void* );
64 static void* method_6466(
void* );
65 static void* method_6467(
void* );
66 static void* method_6468(
void* );
67 static void* method_6469(
void* );
68 static void* method_6470(
void* );
69 static void* method_6471(
void* );
70 static void* method_6478(
void*,
const std::vector<void*>& );
71 static void* method_6479(
void*,
const std::vector<void*>& );
72 static void* method_6480(
void*,
const std::vector<void*>& );
73 static void* method_6481(
void*,
const std::vector<void*>& );
74 static void* constructor_x4(
void* );
77 ClassBuilder _c_(
"HepMC::GenVertex",
"",
typeid(HepMC::GenVertex),
sizeof(HepMC::GenVertex),std::vector<const std::type_info*>(),
false, NOCONTAINER, 0, PUBLIC | VIRTUAL);
78 _c_.addField(
"m_position",
"HepLorentzVector",
"", (
size_t)(&((HepMC::GenVertex*)64)->m_position)-64, PRIVATE );
79 _c_.addField(
"m_particles_in",
"std::set<HepMC::GenParticle*>",
"", (
size_t)(&((HepMC::GenVertex*)64)->m_particles_in)-64, PRIVATE );
80 _c_.addField(
"m_particles_out",
"std::set<HepMC::GenParticle*>",
"", (
size_t)(&((HepMC::GenVertex*)64)->m_particles_out)-64, PRIVATE );
81 _c_.addField(
"m_id",
"int",
"", (
size_t)(&((HepMC::GenVertex*)64)->m_id)-64, PRIVATE );
82 _c_.addField(
"m_weights",
"HepMC::WeightContainer",
"", (
size_t)(&((HepMC::GenVertex*)64)->m_weights)-64, PRIVATE );
83 _c_.addField(
"m_event",
"HepMC::GenEvent*",
"", (
size_t)(&((HepMC::GenVertex*)64)->m_event)-64, PRIVATE );
84 _c_.addField(
"m_barcode",
"int",
"", (
size_t)(&((HepMC::GenVertex*)64)->m_barcode)-64, PRIVATE );
85 _c_.addMethod(
"GenVertex",
"",
"HepMC::GenVertex",
"CLHEP::HepLorentzVector&=; int=; HepMC::WeightContainer&=", constructor_6443, PUBLIC);
86 _c_.addMethod(
"GenVertex",
"",
"HepMC::GenVertex",
"HepMC::GenVertex&", constructor_6444, PUBLIC);
87 _c_.addMethod(
"~GenVertex",
"", destructor, PUBLIC | VIRTUAL);
88 _c_.addMethod(
"=",
"",
"HepMC::GenVertex&",
"HepMC::GenVertex&", operator_6446, PUBLIC);
89 _c_.addMethod(
"==",
"",
"bool",
"HepMC::GenVertex&", operator_6447, PUBLIC);
90 _c_.addMethod(
"!=",
"",
"bool",
"HepMC::GenVertex&", operator_6448, PUBLIC);
91 _c_.addMethod(
"print",
"",
"std::basic_ostream<char,std::char_traits<char> >&=", method_6449, PUBLIC);
92 _c_.addMethod(
"check_momentum_conservation",
"",
"double", method_6450, PUBLIC);
93 _c_.addMethod(
"add_particle_in",
"",
"HepMC::GenParticle*", method_6451, PUBLIC);
94 _c_.addMethod(
"add_particle_out",
"",
"HepMC::GenParticle*", method_6452, PUBLIC);
95 _c_.addMethod(
"remove_particle",
"",
"HepMC::GenParticle*",
"HepMC::GenParticle*", method_6453, PUBLIC);
96 _c_.addMethod(
"CLHEP::HepLorentzVector",
"",
"CLHEP::HepLorentzVector", converter_6454, PUBLIC);
97 _c_.addMethod(
"HepGeom::Point3D<double>",
"",
"HepGeom::Point3D<double>", converter_6455, PUBLIC);
98 _c_.addMethod(
"parent_event",
"",
"HepMC::GenEvent*", method_6456, PUBLIC);
99 _c_.addMethod(
"point3d",
"",
"HepGeom::Point3D<double>", method_6457, PUBLIC);
100 _c_.addMethod(
"position",
"",
"CLHEP::HepLorentzVector", method_6458, PUBLIC);
101 _c_.addMethod(
"set_position",
"",
"CLHEP::HepLorentzVector&=", method_6459, PUBLIC);
102 _c_.addMethod(
"id",
"",
"int", method_6460, PUBLIC);
103 _c_.addMethod(
"set_id",
"",
"int", method_6461, PUBLIC);
104 _c_.addMethod(
"barcode",
"",
"int", method_6462, PUBLIC);
105 _c_.addMethod(
"suggest_barcode",
"",
"bool",
"int", method_6463, PUBLIC);
106 _c_.addMethod(
"weights",
"",
"HepMC::WeightContainer&", method_6464, PUBLIC);
107 _c_.addMethod(
"weights",
"",
"HepMC::WeightContainer&", method_6465, PUBLIC);
108 _c_.addMethod(
"particles_in_const_begin",
"",
"std::_Rb_tree_iterator<HepMC::GenParticle*,HepMC::GenParticle* const&,HepMC::GenParticle* const*>", method_6466, PUBLIC);
109 _c_.addMethod(
"particles_in_const_end",
"",
"std::_Rb_tree_iterator<HepMC::GenParticle*,HepMC::GenParticle* const&,HepMC::GenParticle* const*>", method_6467, PUBLIC);
110 _c_.addMethod(
"particles_out_const_begin",
"",
"std::_Rb_tree_iterator<HepMC::GenParticle*,HepMC::GenParticle* const&,HepMC::GenParticle* const*>", method_6468, PUBLIC);
111 _c_.addMethod(
"particles_out_const_end",
"",
"std::_Rb_tree_iterator<HepMC::GenParticle*,HepMC::GenParticle* const&,HepMC::GenParticle* const*>", method_6469, PUBLIC);
112 _c_.addMethod(
"particles_in_size",
"",
"int", method_6470, PUBLIC);
113 _c_.addMethod(
"particles_out_size",
"",
"int", method_6471, PUBLIC);
114 _c_.addMethod(
"vertices_begin",
"",
"HepMC::GenVertex::vertex_iterator",
"int=", method_6478, PUBLIC);
115 _c_.addMethod(
"vertices_end",
"",
"HepMC::GenVertex::vertex_iterator",
"int", method_6479, PUBLIC);
116 _c_.addMethod(
"particles_begin",
"",
"HepMC::GenVertex::particle_iterator",
"int=", method_6480, PUBLIC);
117 _c_.addMethod(
"particles_end",
"",
"HepMC::GenVertex::particle_iterator",
"int", method_6481, PUBLIC);
118 _c_.addMethod(
"GenVertex",
"",
"HepMC::GenVertex", constructor_x4, PUBLIC);
124 if (
arg.size() == 0 ) {
127 else if (
arg.size() == 1 ) {
128 return ::new(mem) HepMC::GenVertex(*(
const CLHEP::HepLorentzVector*)
arg[0]);
130 else if (
arg.size() == 2 ) {
131 return ::new(mem) HepMC::GenVertex(*(
const CLHEP::HepLorentzVector*)
arg[0],
134 else if (
arg.size() == 3 ) {
135 return ::new(mem) HepMC::GenVertex(*(
const CLHEP::HepLorentzVector*)
arg[0],
137 *(
const HepMC::WeightContainer*)
arg[2]);
148 return (
void*)&((HepMC::GenVertex*)o)->operator =(*(
const HepMC::GenVertex*)
arg[0]);
154 ret = ((
const HepMC::GenVertex*)o)->operator ==(*(
const HepMC::GenVertex*)
arg[0]);
161 ret = ((
const HepMC::GenVertex*)o)->operator !=(*(
const HepMC::GenVertex*)
arg[0]);
167 if (
arg.size() == 0 ) {
168 ((
const HepMC::GenVertex*)o)->print();
170 else if (
arg.size() == 1 ) {
171 ((
const HepMC::GenVertex*)o)->print(*(std::basic_ostream<
char,std::char_traits<char> >*)
arg[0]);
178 ret = ((
const HepMC::GenVertex*)o)->check_momentum_conservation();
199 return new CLHEP::HepLorentzVector(((
const HepMC::GenVertex*)o)->
operator CLHEP::HepLorentzVector());
204 return new HepGeom::Point3D<double>(((
const HepMC::GenVertex*)o)->
operator HepGeom::Point3D<double>());
209 return (
void*)((
const HepMC::GenVertex*)o)->parent_event();
214 return new HepGeom::Point3D<double>(((
const HepMC::GenVertex*)o)->point3d());
219 return new CLHEP::HepLorentzVector(((
const HepMC::GenVertex*)o)->position());
224 if (
arg.size() == 0 ) {
225 ((HepMC::GenVertex*)o)->set_position();
227 else if (
arg.size() == 1 ) {
228 ((HepMC::GenVertex*)o)->set_position(*(
const CLHEP::HepLorentzVector*)
arg[0]);
235 ret = ((
const HepMC::GenVertex*)o)->id();
241 ((HepMC::GenVertex*)o)->set_id(*(
int*)
arg[0]);
247 ret = ((
const HepMC::GenVertex*)o)->barcode();
254 ret = ((HepMC::GenVertex*)o)->suggest_barcode(*(
int*)
arg[0]);
260 return (
void*)&((HepMC::GenVertex*)o)->weights();
265 return (
void*)&((
const HepMC::GenVertex*)o)->weights();
270 return new std::_Rb_tree_iterator<HepMC::GenParticle*,HepMC::GenParticle* const&,HepMC::GenParticle* const*>(((
const HepMC::GenVertex*)o)->particles_in_const_begin());
275 return new std::_Rb_tree_iterator<HepMC::GenParticle*,HepMC::GenParticle* const&,HepMC::GenParticle* const*>(((
const HepMC::GenVertex*)o)->particles_in_const_end());
280 return new std::_Rb_tree_iterator<HepMC::GenParticle*,HepMC::GenParticle* const&,HepMC::GenParticle* const*>(((
const HepMC::GenVertex*)o)->particles_out_const_begin());
285 return new std::_Rb_tree_iterator<HepMC::GenParticle*,HepMC::GenParticle* const&,HepMC::GenParticle* const*>(((
const HepMC::GenVertex*)o)->particles_out_const_end());
291 ret = ((
const HepMC::GenVertex*)o)->particles_in_size();
298 ret = ((
const HepMC::GenVertex*)o)->particles_out_size();
304 if (
arg.size() == 0 ) {
305 return new HepMC::GenVertex::vertex_iterator(((HepMC::GenVertex*)o)->vertices_begin());
307 else if (
arg.size() == 1 ) {
308 return new HepMC::GenVertex::vertex_iterator(((HepMC::GenVertex*)o)->vertices_begin(*(HepMC::IteratorRange*)
arg[0]));
315 return new HepMC::GenVertex::vertex_iterator(((HepMC::GenVertex*)o)->vertices_end(*(HepMC::IteratorRange*)
arg[0]));
320 if (
arg.size() == 0 ) {
321 return new HepMC::GenVertex::particle_iterator(((HepMC::GenVertex*)o)->particles_begin());
323 else if (
arg.size() == 1 ) {
324 return new HepMC::GenVertex::particle_iterator(((HepMC::GenVertex*)o)->particles_begin(*(HepMC::IteratorRange*)
arg[0]));
331 return new HepMC::GenVertex::particle_iterator(((HepMC::GenVertex*)o)->particles_end(*(HepMC::IteratorRange*)
arg[0]));
343 static void* constructor_6550(
void* );
344 static void* constructor_6551(
void*,
const std::vector<void*>& );
345 static void* constructor_6552(
void*,
const std::vector<void*>& );
347 static void* operator_6554(
void*,
const std::vector<void*>& );
348 static void* operator_6555(
void*,
const std::vector<void*>& );
349 static void* operator_6556(
void*,
const std::vector<void*>& );
350 static void method_6557(
void*,
const std::vector<void*>& );
351 static void* converter_6558(
void* );
352 static void* method_6559(
void* );
353 static void* method_6560(
void* );
354 static void* method_6561(
void* );
355 static void* method_6562(
void* );
356 static void* method_6563(
void*,
const std::vector<void*>& );
357 static void* method_6564(
void* );
358 static void* method_6565(
void* );
359 static void* method_6566(
void* );
360 static void* method_6567(
void* );
361 static void* method_6568(
void* );
362 static void* method_6569(
void*,
const std::vector<void*>& );
363 static void method_6570(
void*,
const std::vector<void*>& );
364 static void method_6571(
void*,
const std::vector<void*>& );
365 static void method_6572(
void*,
const std::vector<void*>& );
366 static void method_6573(
void*,
const std::vector<void*>& );
367 static void method_6574(
void*,
const std::vector<void*>& );
368 static void method_6575(
void*,
const std::vector<void*>& );
371 ClassBuilder _c_(
"HepMC::GenParticle",
"",
typeid(
HepMC::GenParticle),
sizeof(
HepMC::GenParticle),std::vector<const std::type_info*>(),
false, NOCONTAINER, 0, PUBLIC | VIRTUAL);
372 _c_.addField(
"m_momentum",
"HepLorentzVector",
"", (
size_t)(&((
HepMC::GenParticle*)64)->m_momentum)-64, PRIVATE );
373 _c_.addField(
"m_pdg_id",
"int",
"", (
size_t)(&((
HepMC::GenParticle*)64)->m_pdg_id)-64, PRIVATE );
374 _c_.addField(
"m_status",
"int",
"", (
size_t)(&((
HepMC::GenParticle*)64)->m_status)-64, PRIVATE );
375 _c_.addField(
"m_flow",
"HepMC::Flow",
"", (
size_t)(&((
HepMC::GenParticle*)64)->m_flow)-64, PRIVATE );
376 _c_.addField(
"m_polarization",
"HepMC::Polarization",
"", (
size_t)(&((
HepMC::GenParticle*)64)->m_polarization)-64, PRIVATE );
377 _c_.addField(
"m_production_vertex",
"HepMC::GenVertex*",
"", (
size_t)(&((
HepMC::GenParticle*)64)->m_production_vertex)-64, PRIVATE );
378 _c_.addField(
"m_end_vertex",
"HepMC::GenVertex*",
"", (
size_t)(&((
HepMC::GenParticle*)64)->m_end_vertex)-64, PRIVATE );
379 _c_.addField(
"m_barcode",
"int",
"", (
size_t)(&((
HepMC::GenParticle*)64)->m_barcode)-64, PRIVATE );
380 _c_.addMethod(
"GenParticle",
"",
"HepMC::GenParticle", constructor_6550, PUBLIC);
381 _c_.addMethod(
"GenParticle",
"",
"HepMC::GenParticle",
"CLHEP::HepLorentzVector&; int; int=; HepMC::Flow&=; HepMC::Polarization&=", constructor_6551, PUBLIC);
382 _c_.addMethod(
"GenParticle",
"",
"HepMC::GenParticle",
"HepMC::GenParticle&", constructor_6552, PUBLIC);
383 _c_.addMethod(
"~GenParticle",
"", destructor, PUBLIC | VIRTUAL);
384 _c_.addMethod(
"=",
"",
"HepMC::GenParticle&",
"HepMC::GenParticle&", operator_6554, PUBLIC);
385 _c_.addMethod(
"==",
"",
"bool",
"HepMC::GenParticle&", operator_6555, PUBLIC);
386 _c_.addMethod(
"!=",
"",
"bool",
"HepMC::GenParticle&", operator_6556, PUBLIC);
387 _c_.addMethod(
"print",
"",
"std::basic_ostream<char,std::char_traits<char> >&=", method_6557, PUBLIC);
388 _c_.addMethod(
"CLHEP::HepLorentzVector",
"",
"CLHEP::HepLorentzVector", converter_6558, PUBLIC);
389 _c_.addMethod(
"momentum",
"",
"CLHEP::HepLorentzVector", method_6559, PUBLIC);
390 _c_.addMethod(
"pdg_id",
"",
"int", method_6560, PUBLIC);
391 _c_.addMethod(
"status",
"",
"int", method_6561, PUBLIC);
392 _c_.addMethod(
"flow",
"",
"HepMC::Flow", method_6562, PUBLIC);
393 _c_.addMethod(
"flow",
"",
"int",
"int", method_6563, PUBLIC);
394 _c_.addMethod(
"polarization",
"",
"HepMC::Polarization", method_6564, PUBLIC);
395 _c_.addMethod(
"production_vertex",
"",
"HepMC::GenVertex*", method_6565, PUBLIC);
396 _c_.addMethod(
"end_vertex",
"",
"HepMC::GenVertex*", method_6566, PUBLIC);
397 _c_.addMethod(
"parent_event",
"",
"HepMC::GenEvent*", method_6567, PUBLIC);
398 _c_.addMethod(
"barcode",
"",
"int", method_6568, PUBLIC);
399 _c_.addMethod(
"suggest_barcode",
"",
"bool",
"int", method_6569, PUBLIC);
400 _c_.addMethod(
"set_momentum",
"",
"CLHEP::HepLorentzVector&", method_6570, PUBLIC);
401 _c_.addMethod(
"set_pdg_id",
"",
"int", method_6571, PUBLIC);
402 _c_.addMethod(
"set_status",
"",
"int=", method_6572, PUBLIC);
403 _c_.addMethod(
"set_flow",
"",
"HepMC::Flow&", method_6573, PUBLIC);
404 _c_.addMethod(
"set_flow",
"",
"int; int=", method_6574, PUBLIC);
405 _c_.addMethod(
"set_polarization",
"",
"HepMC::Polarization&=", method_6575, PUBLIC);
415 if (
arg.size() == 2 ) {
419 else if (
arg.size() == 3 ) {
424 else if (
arg.size() == 4 ) {
428 *(
const HepMC::Flow*)
arg[3]);
430 else if (
arg.size() == 5 ) {
434 *(
const HepMC::Flow*)
arg[3],
435 *(
const HepMC::Polarization*)
arg[4]);
465 if (
arg.size() == 0 ) {
468 else if (
arg.size() == 1 ) {
475 return new CLHEP::HepLorentzVector(((
const HepMC::GenParticle*)o)->
operator CLHEP::HepLorentzVector());
555 if (
arg.size() == 0 ) {
558 else if (
arg.size() == 1 ) {
570 if (
arg.size() == 1 ) {
573 else if (
arg.size() == 2 ) {
581 if (
arg.size() == 0 ) {
584 else if (
arg.size() == 1 ) {
593 struct Dictionaries {
597 Class::resolvePending();
608 static const char* clnames[] = {
610 "LCGDict/HepMC::GenParticle",
611 "LCGDict/HepMC::GenVertex"
619 n =
sizeof(clnames)/
sizeof(
char*);