LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
pyG4UserRunAction.cc File Reference
#include <boost/python.hpp>
#include "G4UserRunAction.hh"
#include "G4Run.hh"

Go to the source code of this file.

Classes

struct  CB_G4UserRunAction
 

Functions

void export_G4UserRunAction ()
 

Function Documentation

void export_G4UserRunAction ( )

Definition at line 64 of file pyG4UserRunAction.cc.

References CB_G4UserRunAction::BeginOfRunAction(), and CB_G4UserRunAction::EndOfRunAction().

Referenced by BOOST_PYTHON_MODULE().

65 {
66  class_<CB_G4UserRunAction, CB_G4UserRunAction*, boost::noncopyable>
67  ( "G4UserRunAction", "run action class")
68  // ---
69  .def("BeginOfRunAction", &G4UserRunAction::BeginOfRunAction,
71  .def("EndOfRunAction", &G4UserRunAction::EndOfRunAction,
73 
74  // reduced functionality...
75  //.def("GenerateRun", &G4UserRunAction::GenerateRun) // virtual
76  ;
77 }
void EndOfRunAction(const G4Run *aRun)
void BeginOfRunAction(const G4Run *aRun)