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

Go to the source code of this file.

Classes

struct  pyG4VUserPrimaryGeneratorAction::CB_G4VUserPrimaryGeneratorAction
 

Namespaces

 pyG4VUserPrimaryGeneratorAction
 

Functions

void export_G4VUserPrimaryGeneratorAction ()
 

Function Documentation

void export_G4VUserPrimaryGeneratorAction ( )

Definition at line 57 of file pyG4VUserPrimaryGeneratorAction.cc.

Referenced by BOOST_PYTHON_MODULE().

58 {
59  class_<CB_G4VUserPrimaryGeneratorAction, CB_G4VUserPrimaryGeneratorAction*,
60  boost::noncopyable>
61  ("G4VUserPrimaryGeneratorAction",
62  "base class of user primary generator action")
63 
64  .def("GeneratePrimaries",
65  pure_virtual(&G4VUserPrimaryGeneratorAction::GeneratePrimaries))
66  ;
67 }