pyg4ometry.geant4.solid.Orb#

Module Contents#

Classes#

Orb

Constructs a solid sphere.

class pyg4ometry.geant4.solid.Orb.Orb(name, pRMax, registry, lunit='mm', nslice=None, nstack=None, addRegistry=True)#

Bases: pyg4ometry.geant4.solid.SolidBase.SolidBase

Constructs a solid sphere.

Parameters:
  • name (str) – of the sold

  • pRMax (float, Constant, Quantity, Variable, Expression) – outer radius

  • registry (Registry) – for storing solid

  • lunit (str) – length unit (nm,um,mm,m,km) for solid

  • nslice (int) – number of phi elements for meshing

  • nstack (int) – number of theta elements for meshing

__repr__()#

Return repr(self).

__str__()#

Return str(self).

mesh()#