Celeritas 0.6.0-47+develop.b3cbb238
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
celeritas::g4org::test::GeantLoadTestBase Class Reference

Load a Geant4 geometry and clean up as needed. More...

#include <GeantLoadTestBase.hh>

Inheritance diagram for celeritas::g4org::test::GeantLoadTestBase:
Inheritance graph
[legend]

Public Types

using SPConstGeo = std::shared_ptr< GeantGeoParams const >
 
- Public Types inherited from celeritas::test::LazyGeoManager
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 constgeo () const
 
G4VPhysicalVolume constworld () const
 
- Public Member Functions inherited from celeritas::test::Test
std::string make_unique_filename (std::string_view ext={})
 Generate test-unique filename.
 
- Public Member Functions inherited from celeritas::test::LazyGeoManager
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 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 Member Functions inherited from celeritas::test::LazyGeoManager
static void reset_geometry ()
 Destroy the geometry if needed.
 
- 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
 

Detailed Description

Load a Geant4 geometry and clean up as needed.

Member Function Documentation

◆ build_fresh_geometry()

SPConstGeoI celeritas::g4org::test::GeantLoadTestBase::build_fresh_geometry ( std::string_view  key)
finalprotectedvirtual

Construct a geometry for the first time.

Implements celeritas::test::LazyGeoManager.


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