pyg4ometry.geant4.PhysicalVolume¶
Classes¶
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
logicalVolume –
pyg4ometry.geant4.LogicalVolume- instance to placename – str - name of this placement
motherVolume –
pyg4ometry.geant4.LogicalVolume- mother volume to place intoregistry –
pyg4ometry.geant4.Registry- registry to register tocopyNumber – 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