LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
pyG4EllipticalCone.cc File Reference
#include <boost/python.hpp>
#include "G4EllipticalCone.hh"

Go to the source code of this file.

Namespaces

 pyG4EllipticalCone
 

Functions

G4EllipticalCone * pyG4EllipticalCone::CreateEllipticalCone (const G4String &name, G4double pxSemiAxis, G4double pySemiAxis, G4double zMax, G4double pzTopCut)
 
void export_G4EllipticalCone ()
 

Function Documentation

void export_G4EllipticalCone ( )

Definition at line 57 of file pyG4EllipticalCone.cc.

References pyG4EllipticalCone::CreateEllipticalCone().

Referenced by BOOST_PYTHON_MODULE().

58 {
59  class_<G4EllipticalCone, G4EllipticalCone*, bases<G4VSolid> >
60  ("G4EllipticalCone", "elliptical cone solid class", no_init)
61  // constructors
62  .def(init<const G4String&, G4double, G4double, G4double, G4double>())
63  // ---
64  .def("GetSimiAxisMax", &G4EllipticalCone::GetSemiAxisMax)
65  .def("GetZTopCut", &G4EllipticalCone::GetZTopCut)
66  .def("SetSemiAxis", &G4EllipticalCone::SetSemiAxis)
67  .def("SetZCut", &G4EllipticalCone::SetZCut)
68  // operators
69  .def(self_ns::str(self))
70  ;
71 
72  // Create solid
73  def("CreateEllipticalCone", CreateEllipticalCone,
74  return_value_policy<manage_new_object>());
75 
76 }
G4EllipticalCone * CreateEllipticalCone(const G4String &name, G4double pxSemiAxis, G4double pySemiAxis, G4double zMax, G4double pzTopCut)