pyg4ometry.geant4.PhysicalVolume

Classes

PhysicalVolume

PhysicalVolume : G4VPhysicalVolume, G4PVPlacement

Module Contents

class pyg4ometry.geant4.PhysicalVolume.PhysicalVolume(rotation, position, logicalVolume, name, motherVolume, registry=None, copyNumber=0, addRegistry=True, scale=None)

PhysicalVolume : G4VPhysicalVolume, G4PVPlacement

Parameters:
  • rotation – [float,float,float] - rotations about x,y,z axes of mother volume

  • position – [float,float,float] - translation with respect to mother volume

  • logicalVolumepyg4ometry.geant4.LogicalVolume - instance to place

  • name – str - name of this placement

  • motherVolumepyg4ometry.geant4.LogicalVolume - mother volume to place into

  • registrypyg4ometry.geant4.Registry - registry to register to

  • copyNumber – int - copy number of the placement that can be used for sensitivity

  • addRegistry – bool - whether to add to the registry or not

type = 'placement'
rotation
position
scale
logicalVolume
name
motherVolume
copyNumber
visOptions
registry
__repr__()
extent(includeBoundingSolid=True)
getAABBMesh()

return CSG.core (symmetric around the origin) axis aligned bounding box mesh