LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
pyG4UserEventAction.cc File Reference
#include <boost/python.hpp>
#include "G4UserEventAction.hh"
#include "G4Event.hh"

Go to the source code of this file.

Classes

struct  CB_G4UserEventAction
 

Functions

void export_G4UserEventAction ()
 

Function Documentation

void export_G4UserEventAction ( )

Definition at line 65 of file pyG4UserEventAction.cc.

References CB_G4UserEventAction::BeginOfEventAction(), and CB_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 EndOfEventAction(const G4Event *anEvent)
void BeginOfEventAction(const G4Event *anEvent)