|
Celeritas 0.7.0-dev.168+develop.6e17e5869
|
Load a Geant4 geometry and clean up as needed. More...
#include <GeantLoadTestBase.hh>

Public Member Functions | |
| std::string_view | gdml_basename () const |
| Get filename or relative path. | |
| SPConstGeoI | build_geo_from_geant (SPConstGeantGeo const &g) const final |
| Only geant4 construction is done. | |
| void | load_gdml (std::string const &filename) |
| void | load_test_gdml (std::string_view basename) |
| GeantGeoParams const & | geo () const |
| Access the geo params after loading. | |
Public Member Functions inherited from celeritas::test::Test | |
| virtual std::string | make_unique_filename (std::string_view ext) |
| Generate test-unique filename. | |
| std::string | make_unique_filename () |
Public Member Functions inherited from celeritas::test::LazyGeantGeoManager | |
| virtual SPConstGeantGeo | build_geant_geo (std::string const &filename) const |
| Build a Geant4 geometry. | |
| virtual SPConstGeoI | build_geo_from_gdml (std::string const &filename) const |
| Build from a GDML path as a fallback. | |
| std::string const & | cached_gdml_basename () const |
| Access the basename of the geometry that's currently cached. | |
| SPConstGeoI | lazy_geo () const |
| Construct a geometry for the first time. | |
| SPConstGeantGeo | geant_geo () const |
| Access persistent geant geometry after construction. | |
| SPConstVolumes | volumes () const |
| Access volumes from built geometry or geant4 model. | |
Additional Inherited Members | |
Public Types inherited from celeritas::test::LazyGeantGeoManager | |
| using | SPConstGeoI = std::shared_ptr< GeoParamsInterface const > |
| using | SPConstGeantGeo = std::shared_ptr< GeantGeoParams const > |
| using | SPConstVolumes = std::shared_ptr< VolumeParams const > |
Static Public Member Functions inherited from celeritas::test::Test | |
| 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 Public Attributes inherited from celeritas::test::Test | |
| 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.
|
inlinefinalvirtual |
Only geant4 construction is done.
Implements celeritas::test::LazyGeantGeoManager.
|
inlinevirtual |
Get filename or relative path.
Implements celeritas::test::LazyGeantGeoManager.