33 #include <boost/python.hpp>
46 using namespace boost::python;
51 namespace pyG4LogicalVolume {
59 #if G4VERSION_NUMBER <= 701
61 #elif G4VERSION_NUMBER >=710
67 using namespace pyG4LogicalVolume;
74 class_<G4LogicalVolume, G4LogicalVolume*, boost::noncopyable>
75 (
"G4LogicalVolume",
"logical volume class", no_init)
77 .def(init<G4VSolid*, G4Material*, const G4String& >())
94 return_internal_reference<>())
103 return_internal_reference<>())
106 return_internal_reference<>())
112 return_internal_reference<>())
115 return_internal_reference<>())
117 return_internal_reference<>())
121 return_internal_reference<>())
133 return_internal_reference<>())
136 return_internal_reference<>())
140 return_internal_reference<>())
144 #if G4VERSION_NUMBER >= 700 && G4VERSION_NUMBER <= 711
145 .def(
"BecomeEnvelopeForFastSimulation",
146 &G4LogicalVolume::BecomeEnvelopeForFastSimulation)
147 .def(
"ClearEnvelopeForFastSimulation",
148 &G4LogicalVolume::ClearEnvelopeForFastSimulation)
150 .def(
"GetFastSimulationManager",
152 return_internal_reference<>())