31#include <boost/python.hpp>
34using namespace boost::python;
52 class_<G4PrimaryVertex, G4PrimaryVertex*>
53 (
"G4PrimaryVertex",
"primary vertex")
55 .def(init<G4double, G4double, G4double, G4double>())
56 .def(init<G4ThreeVector, G4double>())
64 return_value_policy<return_by_value>())
71 return_internal_reference<>(), f_GetPrimary())
G4double GetWeight() const
G4ThreeVector GetPosition() const
void SetPrimary(G4PrimaryParticle *pp)
void SetWeight(G4double w)
G4PrimaryParticle * GetPrimary(G4int i=0) const
G4int GetNumberOfParticle() const
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_ClearWaitingStack, ClearWaitingStack, 0, 1) BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_GetNWaitingTrack
void export_G4PrimaryVertex()