#include <IMuonGeoUtilityTool.h>
|
using | physVolWithTrans = GeoChildNodeWithTrf |
| Helper struct to cache a PhysVolume pointer together with the transformation to go from the volume to the given parent node in the tree. More...
|
|
Definition at line 23 of file IMuonGeoUtilityTool.h.
◆ physVolWithTrans
Helper struct to cache a PhysVolume pointer together with the transformation to go from the volume to the given parent node in the tree.
Definition at line 43 of file IMuonGeoUtilityTool.h.
◆ DeclareInterfaceID()
◆ dumpShape()
virtual std::string MuonGMR4::IMuonGeoUtilityTool::dumpShape |
( |
const GeoShape * |
inShape | ) |
const |
|
pure virtual |
◆ dumpVolume()
virtual std::string MuonGMR4::IMuonGeoUtilityTool::dumpVolume |
( |
const PVConstLink & |
physVol | ) |
const |
|
pure virtual |
◆ extractShape() [1/2]
virtual const GeoShape* MuonGMR4::IMuonGeoUtilityTool::extractShape |
( |
const GeoShape * |
inShape | ) |
const |
|
pure virtual |
Navigates through the shape hiarchy to return the first shape which is neither a shift or in case of a subtraction, the overall envelope shape.
- Parameters
-
inShape | Pointer to the shape to navigate through |
◆ extractShape() [2/2]
virtual const GeoShape* MuonGMR4::IMuonGeoUtilityTool::extractShape |
( |
const PVConstLink & |
physVol | ) |
const |
|
pure virtual |
Navigates through the volume shape hiearchy to return the first shape which is neither a shift or in case of subtractions, the overall envelope shape.
- Parameters
-
physVol | Reference to the GeoVPhysVol to extract the shape from |
◆ findAlignableTransform()
virtual const GeoAlignableTransform* MuonGMR4::IMuonGeoUtilityTool::findAlignableTransform |
( |
const PVConstLink & |
physVol | ) |
const |
|
pure virtual |
Returns the first alignable transform in the root subtree upstream the volume the volume must not be shared, otherwise exception is thrown.
- Parameters
-
physVol | Reference to the GeoVPhysVol to find the associated alignable trf |
◆ findAllLeafNodesByName()
virtual std::vector<physVolWithTrans> MuonGMR4::IMuonGeoUtilityTool::findAllLeafNodesByName |
( |
const PVConstLink & |
physVol, |
|
|
const std::string & |
volumeName |
|
) |
| const |
|
pure virtual |
Searches through all child volumes and collects the nodes where the logical volumes have the requested name together with the transformations to go from the node to the parent physical volume.
◆ getComponents()
virtual std::vector<const GeoShape*> MuonGMR4::IMuonGeoUtilityTool::getComponents |
( |
const GeoShape * |
booleanShape | ) |
const |
|
pure virtual |
Splits a boolean shape into its building blocks.
◆ polygonEdges()
virtual std::vector<Amg::Vector2D> MuonGMR4::IMuonGeoUtilityTool::polygonEdges |
( |
const GeoSimplePolygonBrep & |
polygon | ) |
const |
|
pure virtual |
Transforms the vertices of the Polygon shape into a std::vector consisting of Amg::Vector2D objects.
◆ shapeEdges()
Returns the edge points of the polygon like GeoShapes.
The documentation for this class was generated from the following file: