LArSoft  v06_85_00
Liquid Argon Software toolkit - http://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 58 of file pyG4EllipticalCone.cc.

References pyG4EllipticalCone::CreateEllipticalCone().

Referenced by BOOST_PYTHON_MODULE().

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