Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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

void export_G4UserEventAction ( )

Definition at line 65 of file pyG4UserEventAction.cc.

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

Referenced by BOOST_PYTHON_MODULE().

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