pyg4ometry.geant4.solid.Torus¶
Classes¶
Constructs a torus. |
Module Contents¶
- class pyg4ometry.geant4.solid.Torus.Torus(name, pRmin, pRmax, pRtor, pSPhi, pDPhi, registry, lunit='mm', aunit='rad', nslice=None, nstack=None, addRegistry=True)¶
Bases:
pyg4ometry.geant4.solid.SolidBase.SolidBaseConstructs a torus.
- Parameters:
name (str) – string, name of the volume
pRmin (float, Constant, Quantity, Variable, Expression) – innder radius
pRmax – outer radius
pRtor (float, Constant, Quantity, Variable, Expression) – swept radius of torus
pSphi (float, Constant, Quantity, Variable, Expression) – start phi angle
pDPhi (float, Constant, Quantity, Variable, Expression) – delta phi angle
registry (Registry) – for storing solid
lunit (str) – length unit (nm,um,mm,m,km) for solid
aunit (str) – angle unit (rad,deg) for solid
nslice (int) – number of phi elements for meshing
nstack (int) – number of theta elements for meshing
- pRmin¶
- pRmax¶
- pRtor¶
- pSPhi¶
- pDPhi¶
- nslice¶
- nstack¶
- lunit¶
- aunit¶
- dependents = []¶
- varNames = ['pRmin', 'pRmax', 'pRtor', 'pSPhi', 'pDPhi', 'nslice', 'nstack']¶
- varUnits = ['lunit', 'lunit', 'lunit', 'aunit', 'aunit', None, None]¶
- __repr__()¶
- __str__()¶
- mesh()¶