pyg4ometry.geant4.solid.Trd¶
Classes¶
Constructs a trapezoid. |
Module Contents¶
- class pyg4ometry.geant4.solid.Trd.Trd(name, pDx1, pDx2, pDy1, pDy2, pDz, registry, lunit='mm', addRegistry=True)¶
Bases:
pyg4ometry.geant4.solid.SolidBase.SolidBaseConstructs a trapezoid.
- Parameters:
name (str) – of the solid
pDx1 (float, Constant, Quantity, Variable) – length along x at the surface positioned at -dz/2
pDx2 (float, Constant, Quantity, Variable) – length along x at the surface postitioned at +dz/2
pDy1 (float, Constant, Quantity, Variable) – length along y at the surface positioned at -dz/2
pDy2 (float, Constant, Quantity, Variable) – length along y at the surface positioned at +dz/2
dz (float, Constant, Quantity, Variable) – length along the z axis
registry (Registry) – for storing solid
lunit (str) – length unit (nm,um,mm,m,km) for solid
- pX1¶
- pX2¶
- pY1¶
- pY2¶
- pZ¶
- lunit¶
- dependents = []¶
- varNames = ['pX1', 'pX2', 'pY1', 'pY2', 'pZ']¶
- varUnits = ['lunit', 'lunit', 'lunit', 'lunit', 'lunit']¶
- mesh()¶