pyg4ometry.geant4.solid.Para¶
Classes¶
Constructs a parallelepiped. |
Module Contents¶
- class pyg4ometry.geant4.solid.Para.Para(name, pDx, pDy, pDz, pAlpha, pTheta, pPhi, registry, lunit='mm', aunit='rad', addRegistry=True)¶
Bases:
pyg4ometry.geant4.solid.SolidBase.SolidBaseConstructs a parallelepiped.
- Parameters:
name (str) – of the volume
pAlpha (float, Constant, Quantity, Variable) – angle formed by the y axis and the plane joining the centres of the faces parallel tothe z-x plane at -dy/2 and +dy/2
pTheta (float, Constant, Quantity, Variable) – polar angle of the line joining the centres of the faces at -dz/2 and +dz/2 in z
pPhi (float, Constant, Quantity, Variable) – azimuthal angle of the line joining the centres of the faces at -dx/2 and +dz/2 in z
registry (Registry) – for storing solid
lunit (str) – length unit (nm,um,mm,m,km) for solid
aunit (str) – angle unit (rad,deg) for solid
- pX¶
- pY¶
- pZ¶
- pAlpha¶
- pTheta¶
- pPhi¶
- lunit¶
- aunit¶
- dependents = []¶
- varNames = ['pX', 'pY', 'pZ', 'pAlpha', 'pPhi', 'pTheta']¶
- varUnits = ['lunit', 'lunit', 'lunit', 'aunit', 'aunit', 'aunit']¶
- __repr__()¶
- __str__()¶
- mesh()¶