pyg4ometry.geant4.solid.TwistedBox

Classes

TwistedBox

Constructs a box that is twisted though angle twisted angle

Module Contents

class pyg4ometry.geant4.solid.TwistedBox.TwistedBox(name, twistedangle, pDx, pDy, pDz, registry, lunit='mm', aunit='rad', nstack=None, refine=0, addRegistry=True)

Bases: pyg4ometry.geant4.solid.SolidBase.SolidBase, pyg4ometry.geant4.solid.TwistedSolid.TwistedSolid

Constructs a box that is twisted though angle twisted angle

Parameters:
twistedAngle
pDx
pDy
pDz
lunit
aunit
nstack
refine
dependents = []
varNames = ['twistedAngle', 'pDx', 'pDy', 'pDz']
varUnits = ['aunit', 'lunit', 'lunit', 'lunit']
__repr__()
__str__()
checkParameters()
makeLayers(p1, p2, p3, p4, pDz, theta, nstack)
mesh_old()
makeLayerEdge(pDx, pDy, pTwistedAngle=0, nx=20, ny=20)
mesh()