Geant4-11
Data Structures | Namespaces | Functions
pyG4VUserPrimaryGeneratorAction.cc File Reference
#include <boost/python.hpp>
#include "G4VUserPrimaryGeneratorAction.hh"
#include "G4Event.hh"

Go to the source code of this file.

Data Structures

struct  pyG4VUserPrimaryGeneratorAction::CB_G4VUserPrimaryGeneratorAction
 

Namespaces

namespace  pyG4VUserPrimaryGeneratorAction
 

Functions

void export_G4VUserPrimaryGeneratorAction ()
 

Function Documentation

◆ export_G4VUserPrimaryGeneratorAction()

void export_G4VUserPrimaryGeneratorAction ( )

Definition at line 57 of file pyG4VUserPrimaryGeneratorAction.cc.

58{
60 boost::noncopyable>
61 ("G4VUserPrimaryGeneratorAction",
62 "base class of user primary generator action")
63
64 .def("GeneratePrimaries",
66 ;
67}
virtual void GeneratePrimaries(G4Event *anEvent)=0

References G4VUserPrimaryGeneratorAction::GeneratePrimaries().

Referenced by BOOST_PYTHON_MODULE().