31 #include <boost/python.hpp> 32 #include "G4UserRunAction.hh" 43 if(
const override&
f= get_override(
"BeginOfRunAction")) {
46 G4UserRunAction::BeginOfRunAction(aRun);
51 if(
const override&
f= get_override(
"EndOfRunAction")) {
54 G4UserRunAction::EndOfRunAction(aRun);
65 class_<CB_G4UserRunAction, CB_G4UserRunAction*, boost::noncopyable>
66 (
"G4UserRunAction",
"run action class")
68 .def(
"BeginOfRunAction", &G4UserRunAction::BeginOfRunAction,
70 .def(
"EndOfRunAction", &G4UserRunAction::EndOfRunAction,
void EndOfRunAction(const G4Run *aRun)
void export_G4UserRunAction()
void BeginOfRunAction(const G4Run *aRun)