Celeritas 0.6.0-129+develop.846910afa
Loading...
Searching...
No Matches
Public Types | List of all members
celeritas::test::CoreGeoTestBase Class Reference

Testing class for the core geometry. More...

#include <CoreGeoTestBase.hh>

Inheritance diagram for celeritas::test::CoreGeoTestBase:
Inheritance graph
[legend]

Public Types

using SPConstCoreGeo = SPConstGeo
 
- Public Types inherited from celeritas::test::GenericGeoTestBase< G >
using SPConstGeo = std::shared_ptr< G const >
 
using GeoTrackView = typename TraitsT::TrackView
 
- Public Types inherited from celeritas::test::GenericGeoTestInterface
using TrackingResult = GenericGeoTrackingResult
 
using VolumeStackResult = GenericGeoVolumeStackResult
 
using ModelInpResult = GenericGeoModelInp
 
using SPConstGeoInterface = std::shared_ptr< GeoParamsInterface const >
 
- 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 >
 

Additional Inherited Members

- Public Member Functions inherited from celeritas::test::GenericGeoTestBase< G >
void SetUp () override
 Build geometry during setup.
 
std::string_view gdml_basename () const override
 Return test suite name by default.
 
virtual SPConstGeo build_geometry () const
 Build the geometry, defaulting to using the lazy Geant4 construction.
 
virtual size_type num_track_slots () const
 Maximum number of local track slots.
 
SPConstGeo constgeometry ()
 
SPConstGeo constgeometry () const
 
std::string volume_name (GeoTrackView const &geo) const
 Get the name of the current volume.
 
virtual std::string surface_name (GeoTrackView const &geo) const
 Get the name of the current surface if available.
 
std::string unique_volume_name (GeoTrackView const &geo) const
 Get the stack of volume instances.
 
GeoTrackView make_geo_track_view (TrackSlotId tsid=TrackSlotId{0})
 Get a host track view.
 
GeoTrackView make_geo_track_view (Real3 const &pos_cm, Real3 dir)
 Get and initialize a single-thread host track view.
 
std::string_view geometry_type () const final
 Get the label for this geometry: Geant4, VecGeom, ORANGE.
 
SPConstGeoInterface geometry_interface () const final
 Access the geometry interface, building if needed.
 
TrackingResult track (Real3 const &pos_cm, Real3 const &dir) final
 
TrackingResult track (Real3 const &pos_cm, Real3 const &dir, int max_step) final
 
VolumeStackResult volume_stack (Real3 const &pos_cm) final
 Get the volume instance stack at a position.
 
ModelInpResult model_inp () const final
 Get the model input from the geometry.
 
- 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::GenericGeoTestInterface
virtual real_type safety_tol () const
 Get the safety tolerance (defaults to SoftEq tol).
 
virtual real_type bump_tol () const
 Get the threshold for a movement being a "bump".
 
virtual Constant unit_length () const
 Unit length for "track" testing and other results.
 
- Public Member Functions inherited from celeritas::test::LazyGeantGeoManager
virtual SPConstGeantGeo build_geant_geo (std::string const &filename) const
 Build a Geant4 geometry.
 
std::string constcached_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.
 
- 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::LazyGeantGeoManager
static void clear_lazy_geo ()
 Reset the secondary geometry manually.
 
- 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

Testing class for the core geometry.


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