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

Go to the source code of this file.

Namespaces

 pyG4TwistedTrap
 

Functions

G4TwistedTrap * pyG4TwistedTrap::f1_CreateTwistedTrap (const G4String &name, G4double pPhiTwist, G4double pDx1, G4double pDx2, G4double pDy, G4double pDz)
 
G4TwistedTrap * pyG4TwistedTrap::f2_CreateTwistedTrap (const G4String &name, G4double pPhiTwist, G4double pDz, G4double pTheta, G4double pPhi, G4double pDy1, G4double pDx1, G4double pDx2, G4double pDy2, G4double pDx3, G4double pDx4, G4double pAlph)
 
void export_G4TwistedTrap ()
 

Function Documentation

void export_G4TwistedTrap ( )

Definition at line 69 of file pyG4TwistedTrap.cc.

References pyG4TwistedTrap::f1_CreateTwistedTrap(), and pyG4TwistedTrap::f2_CreateTwistedTrap().

Referenced by BOOST_PYTHON_MODULE().

70 {
71  class_<G4TwistedTrap, G4TwistedTrap*, bases<G4VSolid> >
72  ("G4TwistedTrap", "twisted trapezoid solid class", no_init)
73  // constructors
74  .def(init<const G4String&, G4double, G4double, G4double,
75  G4double, G4double>())
76  .def(init<const G4String&, G4double, G4double, G4double,
77  G4double, G4double, G4double,
78  G4double, G4double, G4double,
79  G4double, G4double>())
80  // operators
81  .def(self_ns::str(self))
82  ;
83 
84  // Create solid
85  def("CreateTwistedTap", f1_CreateTwistedTrap,
86  return_value_policy<manage_new_object>());
87  def("CreateTwistedTap", f2_CreateTwistedTrap,
88  return_value_policy<manage_new_object>());
89 
90 }
G4TwistedTrap * f2_CreateTwistedTrap(const G4String &name, G4double pPhiTwist, G4double pDz, G4double pTheta, G4double pPhi, G4double pDy1, G4double pDx1, G4double pDx2, G4double pDy2, G4double pDx3, G4double pDx4, G4double pAlph)
G4TwistedTrap * f1_CreateTwistedTrap(const G4String &name, G4double pPhiTwist, G4double pDx1, G4double pDx2, G4double pDy, G4double pDz)