Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pyExN03geom.cc File Reference
#include <boost/python.hpp>
#include "G4RunManager.hh"
#include "ExN03DetectorConstruction.hh"
Include dependency graph for pyExN03geom.cc:

Go to the source code of this file.

Namespaces

 pyExN03geom
 

Typedefs

typedef ExN03DetectorConstruction XXX
 

Functions

void pyExN03geom::Construct ()
 
 BOOST_PYTHON_MODULE (ExN03geom)
 

Typedef Documentation

Definition at line 43 of file pyExN03geom.cc.

Function Documentation

BOOST_PYTHON_MODULE ( ExN03geom  )

Definition at line 64 of file pyExN03geom.cc.

64  {
65  class_<ExN03DetectorConstruction, ExN03DetectorConstruction*,
66  bases<G4VUserDetectorConstruction> >
67  ("ExN03DetectorConstruction", "ExN03 detector")
68  // ---
69  .def("SetAbsorberMaterial", &XXX::SetAbsorberMaterial)
70  .def("SetAbsorberThickness", &XXX::SetAbsorberThickness)
71  .def("SetGapMaterial", &XXX::SetGapMaterial)
72  .def("SetGapThickness", &XXX::SetGapThickness)
73  .def("SetCalorSizeYZ", &XXX::SetCalorSizeYZ)
74  .def("SetNbOfLayers", &XXX::SetNbOfLayers)
75  .def("SetMagField", &XXX::SetMagField)
76  // ---
77  .def("GetWorldSizeX", &XXX::GetWorldSizeX)
78  .def("GetWorldSizeYZ", &XXX::GetWorldSizeYZ)
79  .def("GetCalorThickness", &XXX::GetCalorThickness)
80  .def("GetCalorSizeYZ", &XXX::GetCalorSizeYZ)
81  .def("GetNbOfLayers", &XXX::GetNbOfLayers)
82  .def("GetAbsorberMaterial", &XXX::GetAbsorberMaterial,
83  return_value_policy<reference_existing_object>())
84  .def("GetAbsorberThickness", &XXX::GetAbsorberThickness)
85  .def("GetGapMaterial", &XXX::GetGapMaterial,
86  return_value_policy<reference_existing_object>())
87  .def("GetGapThickness", &XXX::GetGapThickness)
88  .def("GetphysiWorld", &XXX::GetphysiWorld,
89  return_value_policy<reference_existing_object>())
90  .def("GetAbsorber", &XXX::GetAbsorber,
91  return_value_policy<reference_existing_object>())
92  .def("GetGap", &XXX::GetGap,
93  return_value_policy<reference_existing_object>())
94  // ---
95  .def("UpdateGeometry", &XXX::UpdateGeometry)
96  .def("PrintCalorParameters", &XXX::PrintCalorParameters)
97  ;
98 
99  // ---
100  def("Construct", Construct);
101 }
const G4VPhysicalVolume * GetGap()
void Construct()
Definition: pyExN01geom.cc:48
const G4VPhysicalVolume * GetphysiWorld()
const G4VPhysicalVolume * GetAbsorber()

Here is the call graph for this function: