Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pyG4UserStackingAction.cc File Reference
#include <boost/python.hpp>
#include "G4UserStackingAction.hh"
#include "G4Track.hh"
Include dependency graph for pyG4UserStackingAction.cc:

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.

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 }
virtual void PrepareNewEvent()
virtual G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track *aTrack)

Here is the call graph for this function:

Here is the caller graph for this function: