LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
pyG4UserStackingAction.cc File Reference
#include <boost/python.hpp>
#include "G4UserStackingAction.hh"
#include "G4Track.hh"

Go to the source code of this file.

Classes

struct  pyG4UserStackingAction::CB_G4UserStackingAction
 

Namespaces

 pyG4UserStackingAction
 

Functions

void export_G4UserStackingAction ()
 

Function Documentation

void export_G4UserStackingAction ( )

Definition at line 78 of file pyG4UserStackingAction.cc.

Referenced by BOOST_PYTHON_MODULE().

79 {
80  class_<CB_G4UserStackingAction, CB_G4UserStackingAction*, boost::noncopyable>
81  ("G4UserStackingAction", "stacking action class")
82  // ---
83  .def("ClassifyNewTrack", &G4UserStackingAction::ClassifyNewTrack,
84  &CB_G4UserStackingAction::ClassifyNewTrack)
85  .def("NewStage", &G4UserStackingAction::NewStage,
86  &CB_G4UserStackingAction::NewStage)
87  .def("PrepareNewEvent", &G4UserStackingAction::PrepareNewEvent,
88  &CB_G4UserStackingAction::PrepareNewEvent)
89  ;
90 }