LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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 41 of file pyG4Run.cc.

Referenced by BOOST_PYTHON_MODULE().

42 {
43  class_<G4Run, G4Run*, boost::noncopyable>("G4Run", "run class")
44  // ---
45  .def("GetRunID", &G4Run::GetRunID)
46  .def("SetRunID", &G4Run::SetRunID)
47  .def("GetNumberOfEvent", &G4Run::GetNumberOfEvent)
48  .def("GetNumberOfEventToBeProcessed",
49  &G4Run::GetNumberOfEventToBeProcessed)
50  .def("SetNumberOfEventToBeProcessed",
51  &G4Run::SetNumberOfEventToBeProcessed)
52  ;
53 
54  // reduced functionality...
55  //.def("RecordEvent", &G4Run::RecordEvent) // virtual
56  //.def("GetHCtable", &G4Run::GetHCtable,
57  //return_internal_reference<>())
58  //.def("SetHCtable", &G4Run::SetHCtable)
59  //.def("GetDCtable", &G4Run::GetDCtable,
60  //return_internal_reference<>())
61  //.def("SetDCtable", &G4Run::SetDCtable)
62 
63 }