32 #include <boost/python.hpp> 33 #include "G4UserTrackingAction.hh" 42 wrapper<G4UserTrackingAction> {
46 if(
const override&
f= get_override(
"PreUserTrackingAction")) {
47 f(boost::ref(atrack));
49 G4UserTrackingAction::PreUserTrackingAction(atrack);
55 if(
const override&
f= get_override(
"PostUserTrackingAction")) {
56 f(boost::ref(atrack));
58 G4UserTrackingAction::PostUserTrackingAction(atrack);
70 class_<CB_G4UserTrackingAction, CB_G4UserTrackingAction*, boost::noncopyable>
71 (
"G4UserTrackingAction",
"tracking action class")
73 .def(
"PreUserTrackingAction",
74 &G4UserTrackingAction::PreUserTrackingAction,
76 .def(
"PostUserTrackingAction",
77 &G4UserTrackingAction::PostUserTrackingAction,
void PreUserTrackingAction(const G4Track *atrack)
void export_G4UserTrackingAction()
void PostUserTrackingAction(const G4Track *atrack)