Geant4-11
Data Structures | Functions
pyG4UserEventAction.cc File Reference
#include <boost/python.hpp>
#include "G4UserEventAction.hh"
#include "G4Event.hh"

Go to the source code of this file.

Data Structures

struct  CB_G4UserEventAction
 

Functions

void export_G4UserEventAction ()
 

Function Documentation

◆ export_G4UserEventAction()

void export_G4UserEventAction ( )

Definition at line 64 of file pyG4UserEventAction.cc.

65{
66 class_<CB_G4UserEventAction, CB_G4UserEventAction*, boost::noncopyable>
67 ( "G4UserEventAction", "event action class")
68
69 .def("BeginOfEventAction", &G4UserEventAction::BeginOfEventAction,
71 .def("EndOfEventAction", &G4UserEventAction::EndOfEventAction,
73 ;
74}
virtual void BeginOfEventAction(const G4Event *anEvent)
virtual void EndOfEventAction(const G4Event *anEvent)
void EndOfEventAction(const G4Event *anEvent)
void BeginOfEventAction(const G4Event *anEvent)

References CB_G4UserEventAction::BeginOfEventAction(), G4UserEventAction::BeginOfEventAction(), CB_G4UserEventAction::EndOfEventAction(), and G4UserEventAction::EndOfEventAction().

Referenced by BOOST_PYTHON_MODULE().