#include <boost/python.hpp>
#include "G4PrimaryVertex.hh"
Go to the source code of this file.
void export_G4PrimaryVertex |
( |
| ) |
|
Definition at line 51 of file pyG4PrimaryVertex.cc.
53 class_<G4PrimaryVertex, G4PrimaryVertex*>
54 (
"G4PrimaryVertex",
"primary vertex")
56 .def(init<G4double, G4double, G4double, G4double>())
57 .def(init<G4ThreeVector, G4double>())
65 return_value_policy<return_by_value>())
72 return_internal_reference<>(), f_GetPrimary())
G4int GetNumberOfParticle() const
G4ThreeVector GetPosition() const
void SetWeight(G4double w)
G4double GetWeight() const
G4PrimaryParticle * GetPrimary(G4int i=0) const
void SetPrimary(G4PrimaryParticle *pp)