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

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

Referenced by BOOST_PYTHON_MODULE().

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