Concrete implementation of IGeometryService backed by GeoModel.
More...
#include <SHiPGeometryService.h>
Concrete implementation of IGeometryService backed by GeoModel.
Two factory functions: SHiPGeometryService::fromSource() — builds via SHiPGeometryBuilder SHiPGeometryService::fromFile(dbPath) — reads from a GeoModel .db file
◆ ~SHiPGeometryService()
| ship::SHiPGeometryService::~SHiPGeometryService |
( |
| ) |
|
|
overridedefault |
◆ SHiPGeometryService() [1/2]
◆ SHiPGeometryService() [2/2]
◆ fromFile()
| std::unique_ptr< SHiPGeometryService > ship::SHiPGeometryService::fromFile |
( |
const std::string & |
dbPath | ) |
|
|
static |
Load geometry from a previously written GeoModel SQLite database.
◆ fromSource()
Build geometry from the C++ SHiPGeometryBuilder.
◆ geant4WorldLogical()
| G4LogicalVolume * ship::SHiPGeometryService::geant4WorldLogical |
( |
| ) |
|
|
overridevirtual |
G4LogicalVolume* for the world.
Triggers GeoModel2G4 on first call. Must be called from within G4VUserDetectorConstruction::Construct().
Implements ship::IGeometryService.
◆ geoModelWorld()
| const GeoVPhysVol * ship::SHiPGeometryService::geoModelWorld |
( |
| ) |
const |
|
overridevirtual |
◆ getLogicalVolume()
| G4LogicalVolume * ship::SHiPGeometryService::getLogicalVolume |
( |
const std::string & |
name | ) |
const |
|
overridevirtual |
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this class was generated from the following files: