pyg4ometry.geant4.DivisionVolume

Classes

DivisionVolume

DivisionVolume: G4PVDivision

Module Contents

class pyg4ometry.geant4.DivisionVolume.DivisionVolume(name, logicalVolume, motherVolume, axis, ndivisions=-1, width=-1, offset=0, registry=None, addRegistry=True, unit='mm')

Bases: pyg4ometry.geant4.PhysicalVolume.PhysicalVolume

DivisionVolume: G4PVDivision

Parameters:
  • name – of physical volume

  • logical – volume to be placed

  • mother – logical volume,

  • axis – kXAxis,kYAxis,kZAxis,kRho,kPhi

  • ncopies – number of replicas

  • width – spacing between replicas along axis

  • offset – of grid

class Axis
kXAxis = 1
kYAxis = 2
kZAxis = 3
kRho = 4
kPhi = 5
type = 'division'
name
logicalVolume
motherVolume
axis
ndivisions
width
offset
unit
visOptions
position
rotation
scale
getMotherSize()
checkAxis(allowed_axes)
divideBox(offset, width, ndiv)
divideTubs(offset, width, ndiv)
divideCons(offset, width, ndiv)
dividePara(offset, width, ndiv)
divideTrd(offset, width, ndiv)
dividePolycone(offset, width, ndiv)
dividePolyhedra(offset, width, ndiv)
createDivisionMeshes()
__repr__()
extent(includeBoundingSolid=True)