Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pyG4Run.cc File Reference
#include <boost/python.hpp>
#include "G4Run.hh"
#include "G4HCtable.hh"
#include "G4DCtable.hh"
Include dependency graph for pyG4Run.cc:

Go to the source code of this file.

Functions

void export_G4Run ()
 

Function Documentation

void export_G4Run ( )

Definition at line 42 of file pyG4Run.cc.

43 {
44  class_<G4Run, G4Run*, boost::noncopyable>("G4Run", "run class")
45  // ---
46  .def("GetRunID", &G4Run::GetRunID)
47  .def("SetRunID", &G4Run::SetRunID)
48  .def("GetNumberOfEvent", &G4Run::GetNumberOfEvent)
49  .def("GetNumberOfEventToBeProcessed",
51  .def("SetNumberOfEventToBeProcessed",
53  ;
54 
55  // reduced functionality...
56  //.def("RecordEvent", &G4Run::RecordEvent) // virtual
57  //.def("GetHCtable", &G4Run::GetHCtable,
58  //return_internal_reference<>())
59  //.def("SetHCtable", &G4Run::SetHCtable)
60  //.def("GetDCtable", &G4Run::GetDCtable,
61  //return_internal_reference<>())
62  //.def("SetDCtable", &G4Run::SetDCtable)
63 
64 }
void SetNumberOfEventToBeProcessed(G4int n_ev)
Definition: G4Run.hh:97
G4int GetNumberOfEvent() const
Definition: G4Run.hh:79
G4int GetRunID() const
Definition: G4Run.hh:76
G4int GetNumberOfEventToBeProcessed() const
Definition: G4Run.hh:83
void SetRunID(G4int id)
Definition: G4Run.hh:95

Here is the call graph for this function:

Here is the caller graph for this function: