Class Acts::Experimental::DetectorVolumeFactory¶
-
class DetectorVolumeFactory¶
A detector volume factory which first constructs the detector volume and then constructs the portals.
This ensures that the std::shared_ptr holding the detector volume is not weak when assigning to the portals.
Public Static Functions
Create a detector volume - from factory.
- Parameters
portalGenerator – the volume portal generator
gctx – the geometry context for construction and potential contextual store
args – the arguments forwarded to the detector volume contructor
- Returns
a shared object DetectorVolume