LArSoft  v06_85_00
Liquid Argon Software toolkit - http://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 79 of file pyG4UserStackingAction.cc.

Referenced by BOOST_PYTHON_MODULE().

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