Geant4  10.02.p03
pyG4VUserPrimaryGeneratorAction.cc File Reference
#include <boost/python.hpp>
#include "G4VUserPrimaryGeneratorAction.hh"
#include "G4Event.hh"
Include dependency graph for pyG4VUserPrimaryGeneratorAction.cc:

Go to the source code of this file.

Classes

struct  pyG4VUserPrimaryGeneratorAction::CB_G4VUserPrimaryGeneratorAction
 

Namespaces

 pyG4VUserPrimaryGeneratorAction
 

Functions

void export_G4VUserPrimaryGeneratorAction ()
 

Function Documentation

◆ export_G4VUserPrimaryGeneratorAction()

void export_G4VUserPrimaryGeneratorAction ( )

Definition at line 58 of file pyG4VUserPrimaryGeneratorAction.cc.

59 {
60  class_<CB_G4VUserPrimaryGeneratorAction, CB_G4VUserPrimaryGeneratorAction*,
61  boost::noncopyable>
62  ("G4VUserPrimaryGeneratorAction",
63  "base class of user primary generator action")
64 
65  .def("GeneratePrimaries",
67  ;
68 }
virtual void GeneratePrimaries(G4Event *anEvent)=0
Here is the call graph for this function:
Here is the caller graph for this function: