3.1.1.4.1.18. opengate.geometry.VolumeManager¶
3.1.1.4.1.18.1. Module Contents¶
3.1.1.4.1.18.1.1. Classes¶
Implementation of G4VUserDetectorConstruction. |
3.1.1.4.1.18.1.2. Attributes¶
- class opengate.geometry.VolumeManager.VolumeManager(simulation)[source]¶
Implementation of G4VUserDetectorConstruction. In ‘Construct’ function, build all volumes in the scene. Keep a list of solid, logical volumes, physical volumes, materials.
- __getstate__()[source]¶
This is important : to get actor’s outputs from a simulation run in a separate process, the class must be serializable (pickle). The g4 material databases and the info_volume containing volume from solid have to be removed first.