Celeritas 0.6.0-47+develop.b3cbb238
|
Load a Geant4 geometry and clean up as needed. More...
#include <GeantLoadTestBase.hh>
Public Types | |
using | SPConstGeo = std::shared_ptr< GeantGeoParams const > |
![]() | |
using | SPConstGeoI = std::shared_ptr< GeoParamsInterface const > |
Public Member Functions | |
void | load_gdml (std::string const &filename) |
void | load_test_gdml (std::string_view basename) |
GeantGeoParams const & | geo () const |
G4VPhysicalVolume const & | world () const |
![]() | |
std::string | make_unique_filename (std::string_view ext={}) |
Generate test-unique filename. | |
![]() | |
SPConstGeoI | get_geometry (std::string_view key) |
Protected Member Functions | |
SPConstGeoI | build_fresh_geometry (std::string_view key) final |
Construct a geometry for the first time. | |
Protected Attributes | |
SPConstGeo | geo_ |
Additional Inherited Members | |
![]() | |
static std::string | test_data_path (std::string_view subdir, std::string_view filename) |
Get the path to a test file at {source}/test/{subdir}/data/{filename} . | |
static bool | strict_testing () |
True if strict testing is required. | |
![]() | |
static void | reset_geometry () |
Destroy the geometry if needed. | |
![]() | |
static constexpr double | inf = HUGE_VAL |
static constexpr float | inff = HUGE_VALF |
static constexpr double | fine_eps = 1e-12 |
static constexpr double | coarse_eps = 1e-6 |
Load a Geant4 geometry and clean up as needed.
|
finalprotectedvirtual |
Construct a geometry for the first time.
Implements celeritas::test::LazyGeoManager.