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

Referenced by BOOST_PYTHON_MODULE().

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