52 class_<G4PrimaryVertex, G4PrimaryVertex*>
53 (
"G4PrimaryVertex",
"primary vertex")
55 .def(init<G4double, G4double, G4double, G4double>())
56 .def(init<G4ThreeVector, G4double>())
58 .add_property(
"X0", &G4PrimaryVertex::GetX0)
59 .add_property(
"Y0", &G4PrimaryVertex::GetY0)
60 .add_property(
"Z0", &G4PrimaryVertex::GetZ0)
61 .add_property(
"T0", &G4PrimaryVertex::GetT0)
63 .def(
"GetPosition", &G4PrimaryVertex::GetPosition,
64 return_value_policy<return_by_value>())
65 .def(
"GetX0", &G4PrimaryVertex::GetX0)
66 .def(
"GetY0", &G4PrimaryVertex::GetY0)
67 .def(
"GetZ0", &G4PrimaryVertex::GetZ0)
68 .def(
"GetT0", &G4PrimaryVertex::GetT0)
69 .def(
"GetNumberOfParticle", &G4PrimaryVertex::GetNumberOfParticle)
70 .def(
"GetPrimary", &G4PrimaryVertex::GetPrimary,
71 return_internal_reference<>(), f_GetPrimary())
72 .def(
"SetPrimary", &G4PrimaryVertex::SetPrimary)
73 .def(
"GetWeight", &G4PrimaryVertex::GetWeight)
74 .def(
"SetWeight", &G4PrimaryVertex::SetWeight)
void Print(G4Element &ele)