32 #include <boost/python.hpp> 33 #include "G4UserRunAction.hh" 44 if(
const override&
f= get_override(
"BeginOfRunAction")) {
47 G4UserRunAction::BeginOfRunAction(aRun);
52 if(
const override&
f= get_override(
"EndOfRunAction")) {
55 G4UserRunAction::EndOfRunAction(aRun);
66 class_<CB_G4UserRunAction, CB_G4UserRunAction*, boost::noncopyable>
67 (
"G4UserRunAction",
"run action class")
69 .def(
"BeginOfRunAction", &G4UserRunAction::BeginOfRunAction,
71 .def(
"EndOfRunAction", &G4UserRunAction::EndOfRunAction,
void EndOfRunAction(const G4Run *aRun)
void export_G4UserRunAction()
void BeginOfRunAction(const G4Run *aRun)