LArSoft  v07_13_02
Liquid Argon Software toolkit - http://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 58 of file pyG4VUserPrimaryGeneratorAction.cc.

Referenced by BOOST_PYTHON_MODULE().

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