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

Referenced by BOOST_PYTHON_MODULE().

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