LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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 64 of file pyG4UserEventAction.cc.

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

Referenced by BOOST_PYTHON_MODULE().

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 }
void EndOfEventAction(const G4Event *anEvent)
void BeginOfEventAction(const G4Event *anEvent)