aegir
Phlex-based simulation framework for the SHiP experiment.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SHiP::IGeometrySource Class Referenceabstract

#include <geometry_source.hpp>

Public Member Functions

virtual ~IGeometrySource ()=default
 
virtual G4VPhysicalVolume * construct () const =0
 Build or return the cached G4 world volume.
 
virtual std::vector< std::string > const & sensitiveVolumes () const =0
 Volume names to assign sensitive detectors to.
 

Constructor & Destructor Documentation

◆ ~IGeometrySource()

virtual SHiP::IGeometrySource::~IGeometrySource ( )
virtualdefault

Member Function Documentation

◆ construct()

virtual G4VPhysicalVolume * SHiP::IGeometrySource::construct ( ) const
pure virtual

Build or return the cached G4 world volume.

Must be called only from the master thread, inside G4VUserDetectorConstruction::Construct(). Idempotent: subsequent calls return the same pointer.

◆ sensitiveVolumes()

virtual std::vector< std::string > const & SHiP::IGeometrySource::sensitiveVolumes ( ) const
pure virtual

Volume names to assign sensitive detectors to.

Matched as substrings against G4LogicalVolumeStore entries.


The documentation for this class was generated from the following file: