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

Go to the source code of this file.

Classes

struct  CB_G4UserTrackingAction
 

Functions

void export_G4UserTrackingAction ()
 

Function Documentation

void export_G4UserTrackingAction ( )

Definition at line 68 of file pyG4UserTrackingAction.cc.

References CB_G4UserTrackingAction::PostUserTrackingAction(), and CB_G4UserTrackingAction::PreUserTrackingAction().

Referenced by BOOST_PYTHON_MODULE().

69 {
70  class_<CB_G4UserTrackingAction, CB_G4UserTrackingAction*, boost::noncopyable>
71  ("G4UserTrackingAction", "tracking action class")
72  // ---
73  .def("PreUserTrackingAction",
74  &G4UserTrackingAction::PreUserTrackingAction,
76  .def("PostUserTrackingAction",
77  &G4UserTrackingAction::PostUserTrackingAction,
79  ;
80 }
void PreUserTrackingAction(const G4Track *atrack)
void PostUserTrackingAction(const G4Track *atrack)