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

Go to the source code of this file.

Functions

void export_G4Navigator ()
 

Function Documentation

void export_G4Navigator ( )

Definition at line 42 of file pyG4Navigator.cc.

Referenced by BOOST_PYTHON_MODULE().

43 {
44  class_<G4Navigator, G4Navigator*, boost::noncopyable>
45  ("G4Navigator", "navigator")
46  // ---
47  .def("GetWorldVolume", &G4Navigator::GetWorldVolume,
48  return_value_policy<reference_existing_object>())
49  .def("GetVerboseLevel", &G4Navigator::GetVerboseLevel)
50  .def("SetVerboseLevel", &G4Navigator::SetVerboseLevel)
51  .def("IsActive", &G4Navigator::IsActive)
52  .def("PrintState", &G4Navigator::PrintState)
53  ;
54 }