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

Go to the source code of this file.

Namespaces

 pyG4GeometryManager
 

Functions

void export_G4GeometryManager ()
 

Function Documentation

void export_G4GeometryManager ( )

Definition at line 53 of file pyG4GeometryManager.cc.

Referenced by BOOST_PYTHON_MODULE().

54 {
55  class_<G4GeometryManager, boost::noncopyable>
56  ("G4GeometryManager", "geometry manager", no_init)
57  .def("GetInstance", &G4GeometryManager::GetInstance,
58  return_value_policy<reference_existing_object>())
59  .staticmethod("GetInstance")
60  // ---
61  .def("CloseGeometry", &G4GeometryManager::CloseGeometry,
62  f_CloseGeometry())
63  .def("OpenGeometry", &G4GeometryManager::OpenGeometry,
64  f_OpenGeometry())
65  .def("IsGeometryClosed", &G4GeometryManager::IsGeometryClosed)
66  .def("SetWorldMaximumExtent", &G4GeometryManager::SetWorldMaximumExtent)
67  ;
68 }