LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
pyExN03geom.cc File Reference
#include <boost/python.hpp>
#include "G4RunManager.hh"
#include "ExN03DetectorConstruction.hh"

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.

References pyExN03geom::Construct(), ExN03DetectorConstruction::GetAbsorber(), ExN03DetectorConstruction::GetAbsorberMaterial(), ExN03DetectorConstruction::GetAbsorberThickness(), ExN03DetectorConstruction::GetCalorSizeYZ(), ExN03DetectorConstruction::GetCalorThickness(), ExN03DetectorConstruction::GetGap(), ExN03DetectorConstruction::GetGapMaterial(), ExN03DetectorConstruction::GetGapThickness(), ExN03DetectorConstruction::GetNbOfLayers(), ExN03DetectorConstruction::GetphysiWorld(), ExN03DetectorConstruction::GetWorldSizeX(), ExN03DetectorConstruction::GetWorldSizeYZ(), ExN03DetectorConstruction::PrintCalorParameters(), ExN03DetectorConstruction::SetAbsorberMaterial(), ExN03DetectorConstruction::SetAbsorberThickness(), ExN03DetectorConstruction::SetCalorSizeYZ(), ExN03DetectorConstruction::SetGapMaterial(), ExN03DetectorConstruction::SetGapThickness(), ExN03DetectorConstruction::SetMagField(), ExN03DetectorConstruction::SetNbOfLayers(), and ExN03DetectorConstruction::UpdateGeometry().

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 }
void Construct()
Definition: pyExN01geom.cc:48
const G4VPhysicalVolume * GetphysiWorld()
const G4VPhysicalVolume * GetAbsorber()
const G4VPhysicalVolume * GetGap()