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

Go to the source code of this file.

Namespaces

 pyG4TwistedTubs
 

Functions

G4TwistedTubs * pyG4TwistedTubs::f1_CreateTwistedTubs (const G4String &name, G4double twistedangle, G4double endinnerrad, G4double endouterrad, G4double halfzlen, G4double dphi)
 
G4TwistedTubs * pyG4TwistedTubs::f2_CreateTwistedTubs (const G4String &name, G4double twistedangle, G4double endinnerrad, G4double endouterrad, G4double halfzlen, G4int nseg, G4double totphi)
 
G4TwistedTubs * pyG4TwistedTubs::f3_CreateTwistedTubs (const G4String &name, G4double twistedangle, G4double innerrad, G4double outerrad, G4double negativeEndz, G4double positiveEndz, G4double dphi)
 
G4TwistedTubs * pyG4TwistedTubs::f4_CreateTwistedTubs (const G4String &name, G4double twistedangle, G4double innerrad, G4double outerrad, G4double negativeEndz, G4double positiveEndz, G4int nseg, G4double totphi)
 
void export_G4TwistedTubs ()
 

Variables

G4double(G4TwistedTubs::* pyG4TwistedTubs::f1_GetEndInnerRadius )(G4int) const = &G4TwistedTubs::GetEndInnerRadius
 
G4double(G4TwistedTubs::* pyG4TwistedTubs::f2_GetEndInnerRadius )(G4int) const = &G4TwistedTubs::GetEndInnerRadius
 
G4double(G4TwistedTubs::* pyG4TwistedTubs::f1_GetEndOuterRadius )(G4int) const = &G4TwistedTubs::GetEndOuterRadius
 
G4double(G4TwistedTubs::* pyG4TwistedTubs::f2_GetEndOuterRadius )() const = &G4TwistedTubs::GetEndOuterRadius
 

Function Documentation

void export_G4TwistedTubs ( )

Definition at line 112 of file pyG4TwistedTubs.cc.

References pyG4TwistedTubs::f1_CreateTwistedTubs(), pyG4TwistedTubs::f1_GetEndInnerRadius, pyG4TwistedTubs::f1_GetEndOuterRadius, pyG4TwistedTubs::f2_CreateTwistedTubs(), pyG4TwistedTubs::f2_GetEndInnerRadius, pyG4TwistedTubs::f2_GetEndOuterRadius, pyG4TwistedTubs::f3_CreateTwistedTubs(), and pyG4TwistedTubs::f4_CreateTwistedTubs().

Referenced by BOOST_PYTHON_MODULE().

113 {
114  class_<G4TwistedTubs, G4TwistedTubs*, bases<G4VSolid> >
115  ("G4TwistedTubs", "twisted tube solid class", no_init)
116  // constructors
117  .def(init<const G4String&, G4double, G4double, G4double,
118  G4double, G4double>())
119  .def(init<const G4String&, G4double, G4double, G4double,
120  G4double, G4int, G4double>())
121  .def(init<const G4String&, G4double, G4double, G4double,
122  G4double, G4double, G4double>())
123  .def(init<const G4String&, G4double, G4double, G4double,
124  G4double, G4double, G4int, G4double>())
125  // ---
126  .def("GetDPhi", &G4TwistedTubs::GetDPhi)
127  .def("GetPhiTwist", &G4TwistedTubs::GetPhiTwist)
128  .def("GetInnerRadius", &G4TwistedTubs::GetInnerRadius)
129  .def("GetOuterRadius", &G4TwistedTubs::GetOuterRadius)
130  .def("GetInnerStereo", &G4TwistedTubs::GetInnerStereo)
131  .def("GetOuterStereo", &G4TwistedTubs::GetOuterStereo)
132  .def("GetZHalfLength", &G4TwistedTubs::GetZHalfLength)
133  .def("GetKappa", &G4TwistedTubs::GetKappa)
134  .def("GetTanInnerStereo", &G4TwistedTubs::GetTanInnerStereo)
135  .def("GetTanInnerStereo2", &G4TwistedTubs::GetTanInnerStereo2)
136  .def("GetTanOuterStereo", &G4TwistedTubs::GetTanOuterStereo)
137  .def("GetTanOuterStereo2", &G4TwistedTubs::GetTanOuterStereo2)
138  .def("GetEndZ", &G4TwistedTubs::GetEndZ)
139  .def("GetEndPhi", &G4TwistedTubs::GetEndPhi)
140  .def("GetEndInnerRadius", f1_GetEndInnerRadius)
141  .def("GetEndInnerRadius", f2_GetEndInnerRadius)
142  .def("GetEndOuterRadius", f1_GetEndOuterRadius)
143  .def("GetEndOuterRadius", f2_GetEndOuterRadius)
144  // operators
145  .def(self_ns::str(self))
146  ;
147 
148  // Create solid
149  def("CreateTwistedTubs", f1_CreateTwistedTubs,
150  return_value_policy<manage_new_object>());
151  def("CreateTwistedTubs", f2_CreateTwistedTubs,
152  return_value_policy<manage_new_object>());
153  def("CreateTwistedTubs", f3_CreateTwistedTubs,
154  return_value_policy<manage_new_object>());
155  def("CreateTwistedTubs", f4_CreateTwistedTubs,
156  return_value_policy<manage_new_object>());
157 
158 }
G4double(G4TwistedTubs::* f1_GetEndInnerRadius)(G4int) const
G4double(G4TwistedTubs::* f2_GetEndInnerRadius)(G4int) const
G4TwistedTubs * f4_CreateTwistedTubs(const G4String &name, G4double twistedangle, G4double innerrad, G4double outerrad, G4double negativeEndz, G4double positiveEndz, G4int nseg, G4double totphi)
G4double(G4TwistedTubs::* f2_GetEndOuterRadius)() const
G4TwistedTubs * f1_CreateTwistedTubs(const G4String &name, G4double twistedangle, G4double endinnerrad, G4double endouterrad, G4double halfzlen, G4double dphi)
G4TwistedTubs * f3_CreateTwistedTubs(const G4String &name, G4double twistedangle, G4double innerrad, G4double outerrad, G4double negativeEndz, G4double positiveEndz, G4double dphi)
G4TwistedTubs * f2_CreateTwistedTubs(const G4String &name, G4double twistedangle, G4double endinnerrad, G4double endouterrad, G4double halfzlen, G4int nseg, G4double totphi)
G4double(G4TwistedTubs::* f1_GetEndOuterRadius)(G4int) const