pyg4ometry.geant4.solid.Orb

Classes

Orb

Constructs a solid sphere.

Module Contents

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

pRMax
lunit
nslice
nstack
dependents = []
varNames = ['pRMax']
varUnits = ['lunit']
__repr__()
__str__()
mesh()