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

Referenced by BOOST_PYTHON_MODULE().

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