32 #include <boost/python.hpp>
35 using namespace boost::python;
45 return new G4Tubs(name, pRMin, pRMax, pDz, pSPhi, pDPhi);
50 using namespace pyG4Tubs;
57 class_<G4Tubs, G4Tubs*, bases<G4VSolid> >
58 (
"G4Tubs",
"Tube solid class", no_init)
79 .def(self_ns::str(
self))
83 def(
"CreateTubs",
CreateTubs, return_value_policy<manage_new_object>());
void SetInnerRadius(G4double newRMin)
void SetOuterRadius(G4double newRMax)
G4double GetDeltaPhiAngle() const
G4Tubs * CreateTubs(const G4String &name, G4double pRMin, G4double pRMax, G4double pDz, G4double pSPhi, G4double pDPhi)
void SetStartPhiAngle(G4double newSPhi, G4bool trig=true)
void SetZHalfLength(G4double newDz)
G4double GetInnerRadius() const
G4double GetZHalfLength() const
G4double GetStartPhiAngle() const
void SetDeltaPhiAngle(G4double newDPhi)
G4double GetOuterRadius() const