|
| std::string | SHiP::g4::scoring_plane_detail::shape_error (ScoringPlaneConfig const &p) |
| | What is wrong with a plane's shape and size, or an empty string.
|
| |
| std::string | SHiP::g4::scoring_plane_detail::placement_error (ScoringPlaneConfig const &p) |
| | What is wrong with a plane's placement settings, or an empty string.
|
| |
| void | SHiP::g4::validate_scoring_planes (std::vector< ScoringPlaneConfig > const &planes) |
| | Check a set of plane configurations for consistency on their own (no geometry needed); throws std::invalid_argument naming the offending plane.
|
| |
| template<typename Visit > |
| void | SHiP::g4::scoring_plane_detail::walk (G4VPhysicalVolume *pv, G4VPhysicalVolume *parent, G4Transform3D const &to_global, Visit &visit) |
| | Depth-first visit of every placement below (and including) pv.
|
| |
| Placement | SHiP::g4::scoring_plane_detail::find_unique (G4VPhysicalVolume *world, std::string const &lv_name, std::string const &plane, char const *role) |
| | The single placement of the logical volume named lv_name.
|
| |
| std::pair< G4ThreeVector, G4ThreeVector > | SHiP::g4::scoring_plane_detail::global_bounds (Placement const &p) |
| | Global axis-aligned bounding box of a placed volume.
|
| |
| G4ThreeVector | SHiP::g4::scoring_plane_detail::plane_centre (ScoringPlaneConfig const &cfg, G4VPhysicalVolume *mass_world) |
| | A plane's centre in the global frame: its position, or behind its after_volume in the detector geometry under mass_world.
|
| |
| Extent | SHiP::g4::scoring_plane_detail::extent (ScoringPlaneConfig const &cfg, G4ThreeVector centre) |
| |
| std::pair< double, double > | SHiP::g4::scoring_plane_detail::distance_range_to_box (double x, double y, Extent const &box) |
| | Closest and farthest distance from the point (x, y) to the points of a box's cross-section, an axis-aligned rectangle.
|
| |
| std::pair< double, double > | SHiP::g4::scoring_plane_detail::distance_range_to_tube (double x, double y, Extent const &tube) |
| | Closest and farthest distance from the point (x, y) to the points of a tube's cross-section, an annulus.
|
| |
| bool | SHiP::g4::scoring_plane_detail::overlap (Extent const &a, Extent const &b) |
| | Whether two axis-aligned planes share any volume; planes that only touch do not overlap.
|
| |
| void | SHiP::g4::scoring_plane_detail::check_inside_world (std::string const &name, Extent const &e, G4VPhysicalVolume *world) |
| | Throw if e (plane name) is not inside the world's bounding box.
|
| |
| G4VSolid * | SHiP::g4::scoring_plane_detail::make_solid (ScoringPlaneConfig const &cfg) |
| |
| ScoringPlaneMap | SHiP::g4::place_scoring_planes (G4VPhysicalVolume *mass_world, G4VPhysicalVolume *scoring_world, std::vector< ScoringPlaneConfig > const &planes) |
| | Build the configured planes and place them in scoring_world, the parallel world; after_volume references are resolved in the detector geometry under mass_world.
|
| |