pyg4ometry API extensions¶
Detector registration¶
- class pyg4ometry.geant4.PhysicalVolume¶
- set_pygeom_active_detector(det_info)¶
- Parameters:
det_info (RemageDetectorInfo | None)
Set the remage detector info on this physical volume instance.
- get_pygeom_active_detector()¶
- Return type:
RemageDetectorInfo | None
Get the remage detector info on this physical volume instance.
Important
this only returns instances previously set via
set_pygeom_active_detector()orpygeom_active_detector, not data loaded from GDML.
- pygeom_active_detector¶
- Type:
RemageDetectorInfo | None
- Deprecated:
use
set_pygeom_active_detector()/get_pygeom_active_detector()instead
get or set the active detector instance.