36 #include <boost/python.hpp>
40 using namespace boost::python;
47 namespace pyExN03geom {
57 using namespace pyExN03geom;
65 bases<G4VUserDetectorConstruction> >
66 (
"ExN03DetectorConstruction",
"ExN03 detector")
68 .def(
"SetAbsorberMaterial", &XXX::SetAbsorberMaterial)
69 .def(
"SetAbsorberThickness", &XXX::SetAbsorberThickness)
70 .def(
"SetGapMaterial", &XXX::SetGapMaterial)
71 .def(
"SetGapThickness", &XXX::SetGapThickness)
72 .def(
"SetCalorSizeYZ", &XXX::SetCalorSizeYZ)
73 .def(
"SetNbOfLayers", &XXX::SetNbOfLayers)
74 .def(
"SetMagField", &XXX::SetMagField)
76 .def(
"GetWorldSizeX", &XXX::GetWorldSizeX)
77 .def(
"GetWorldSizeYZ", &XXX::GetWorldSizeYZ)
78 .def(
"GetCalorThickness", &XXX::GetCalorThickness)
79 .def(
"GetCalorSizeYZ", &XXX::GetCalorSizeYZ)
80 .def(
"GetNbOfLayers", &XXX::GetNbOfLayers)
81 .def(
"GetAbsorberMaterial", &XXX::GetAbsorberMaterial,
82 return_value_policy<reference_existing_object>())
83 .def(
"GetAbsorberThickness", &XXX::GetAbsorberThickness)
84 .def(
"GetGapMaterial", &XXX::GetGapMaterial,
85 return_value_policy<reference_existing_object>())
86 .def(
"GetGapThickness", &XXX::GetGapThickness)
87 .def(
"GetphysiWorld", &XXX::GetphysiWorld,
88 return_value_policy<reference_existing_object>())
89 .def(
"GetAbsorber", &XXX::GetAbsorber,
90 return_value_policy<reference_existing_object>())
91 .def(
"GetGap", &XXX::GetGap,
92 return_value_policy<reference_existing_object>())
94 .def(
"UpdateGeometry", &XXX::UpdateGeometry)
95 .def(
"PrintCalorParameters", &XXX::PrintCalorParameters)