LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
pyG4Run.cc File Reference
#include <boost/python.hpp>
#include "G4Run.hh"
#include "G4HCtable.hh"
#include "G4DCtable.hh"

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.

Referenced by BOOST_PYTHON_MODULE().

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",
50  &G4Run::GetNumberOfEventToBeProcessed)
51  .def("SetNumberOfEventToBeProcessed",
52  &G4Run::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 }