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

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

Referenced by BOOST_PYTHON_MODULE().

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