|
|
void | SetUp () override |
| |
|
void | build_geometry (std::string const &filename) |
| |
|
void | build_geometry (OneVolInput) |
| |
|
void | build_geometry (TwoVolInput) |
| |
|
void | build_geometry (UnitInput) |
| |
|
Params const & | params () const |
| | Get the data after loading.
|
| |
|
HostStateRef const & | host_state () |
| |
|
HostParamsRef const & | host_params () const |
| |
|
ImplVolumeId | find_volume (std::string const &label) const |
| |
|
ImplSurfaceId | find_surface (std::string const &label) const |
| |
|
std::string | id_to_label (UnivId uid, LocalSurfaceId surfid) const |
| |
|
std::string | id_to_label (LocalSurfaceId surfid) const |
| |
|
std::string | id_to_label (UnivId uid, LocalVolumeId vol_id) const |
| |
|
std::string | id_to_label (LocalVolumeId vol_id) const |
| |
|
void | describe (std::ostream &os) const |
| |
|
ImplVolumeId::size_type | num_volumes () const |
| |
| SPConstGeo | build_geometry () const override |
| | Build the geometry, defaulting to using the lazy Geant4 construction.
|
| |
|
| GenericGeoTestBase () |
| | Default constructor.
|
| |
|
virtual | ~GenericGeoTestBase () |
| | Anchored destructor.
|
| |
|
| CELER_DELETE_COPY_MOVE (GenericGeoTestBase) |
| |
|
void | SetUp () override |
| | Build geometry during setup.
|
| |
|
SPConstGeo const & | geometry () |
| |
|
SPConstGeo const & | geometry () const |
| |
|
WrappedGeoTrack | make_geo_track_view (TrackSlotId tsid=TrackSlotId{0}) |
| | Get a host track view.
|
| |
|
WrappedGeoTrack | make_geo_track_view (Real3 const &pos_cm, Real3 dir) |
| | Get and initialize a single-thread host track view.
|
| |
| UPGeoTrack | make_geo_track_view_interface () final |
| | Create a track view.
|
| |
| std::string_view | geometry_type () const final |
| | Get the label for this geometry: Geant4, VecGeom, ORANGE.
|
| |
| SPConstGeoI | geometry_interface () const final |
| | Access the geometry interface, building if needed.
|
| |
| virtual std::string | make_unique_filename (std::string_view ext) |
| | Generate test-unique filename.
|
| |
|
std::string | make_unique_filename () |
| |
| TrackingResult | track (Real3 const &pos_cm, Real3 const &dir, int max_steps=50) |
| | Track until exiting the geometry.
|
| |
|
VolumeStackResult | volume_stack (Real3 const &pos_cm) |
| | Get the volume instance stack at a position.
|
| |
| std::string_view | gdml_basename () const override |
| | Return test suite name by default.
|
| |
|
CheckedGeoTrackView | make_checked_track_view () |
| | Create a track view with runtime error checking.
|
| |
|
virtual UnitLength | unit_length () const |
| | Unit length for "track" testing and other results (defaults to cm).
|
| |
|
virtual size_type | num_track_slots () const |
| |
| virtual bool | supports_surface_normal () const |
| | Whether surface normals work for the current geometry/test.
|
| |
| virtual GenericGeoTrackingTolerance | tracking_tol () const |
| | Get the safety tolerance (defaults to SoftEq tol).
|
| |
|
GeoTrackInitializer | make_initializer (Real3 const &pos_unit, Real3 const &dir) const |
| | Construct an initializer with correct scaling/normalization.
|
| |
|
std::string | volume_name (GeoTrackView const &geo) const |
| | Get the name of the current volume.
|
| |
|
std::string | unique_volume_name (GeoTrackView const &geo) const |
| | Get the stack of volume instances.
|
| |
| virtual SPConstGeantGeo | build_geant_geo (std::string const &filename) const |
| | Build a Geant4 geometry.
|
| |
|
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.
|
| |
Test base for loading geometry with manual ORANGE input.