|
VolumeId::size_type | volume_offset () const final |
| Ignore the first N VolumeId due to global int shenanigans.
|
|
VolumeInstanceId::size_type | volume_instance_offset () const final |
| Ignore the first N VolumeInstanceId due to global int shenanigans.
|
|
G4VPhysicalVolume const * | g4world () const final |
| Get the world volume.
|
|
void | SetUp () override |
| Build geometry during setup.
|
|
virtual SPConstGeo | build_geometry () |
| ! Build the geometry (default to from_basename).
|
|
virtual size_type | num_track_slots () const |
| Maximum number of local track slots.
|
|
SPConstGeo | build_geometry_from_basename () |
| Construct from celeritas test data and "basename" value.
|
|
SPConstGeo const & | geometry () |
|
SPConstGeo const & | geometry () const |
|
std::string | volume_name (GeoTrackView const &geo) const |
| Get the name of the current volume.
|
|
std::string | surface_name (GeoTrackView const &geo) const |
| Get the name of the current surface if available.
|
|
std::string | all_volume_instance_names (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.
|
|
std::string | make_unique_filename (std::string_view ext={}) |
| Generate test-unique filename.
|
|
virtual std::string | geometry_basename () const |
| Get the basename or unique geometry key (defaults to suite name).
|
|
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.
|
|
std::vector< std::string > | get_volume_labels () const |
| Get all logical volume labels.
|
|
std::vector< std::string > | get_volume_instance_labels () const |
| Get all physical volume labels, including extensions.
|
|
std::vector< std::string > | get_g4pv_labels () const |
| Get all Geant4 PV names corresponding to volume instances.
|
|
std::string_view | get_volume_name (VolumeId i) const |
| Get the volume name, adjusting for offsets from loading multiple geo.
|
|