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

Function Documentation

BOOST_PYTHON_MODULE ( ExN03geom  )

Definition at line 63 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().

63  {
64  class_<ExN03DetectorConstruction, ExN03DetectorConstruction*,
65  bases<G4VUserDetectorConstruction> >
66  ("ExN03DetectorConstruction", "ExN03 detector")
67  // ---
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)
75  // ---
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>())
93  // ---
94  .def("UpdateGeometry", &XXX::UpdateGeometry)
95  .def("PrintCalorParameters", &XXX::PrintCalorParameters)
96  ;
97 
98  // ---
99  def("Construct", Construct);
100 }
void Construct()
Definition: pyExN01geom.cc:47
const G4VPhysicalVolume * GetphysiWorld()
const G4VPhysicalVolume * GetAbsorber()
const G4VPhysicalVolume * GetGap()