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

Go to the source code of this file.

Functions

void export_G4Timer ()
 

Function Documentation

void export_G4Timer ( )

Definition at line 39 of file pyG4Timer.cc.

Referenced by BOOST_PYTHON_MODULE().

40 {
41  class_<G4Timer>("G4Timer", "Timer")
42  // ---
43  .def("Start", &G4Timer::Start)
44  .def("Stop", &G4Timer::Stop)
45  .def("IsValid", &G4Timer::IsValid)
46  .def("GetRealElapsed", &G4Timer::GetRealElapsed)
47  .def("GetSystemElapsed", &G4Timer::GetSystemElapsed)
48  .def("GetUserElapsed", &G4Timer::GetUserElapsed)
49  ;
50 }