ATLAS Offline Software
Public Types | Public Member Functions | List of all members
MuonGMR4::IMuonGeoUtilityTool Class Referenceabstract

#include <IMuonGeoUtilityTool.h>

Inheritance diagram for MuonGMR4::IMuonGeoUtilityTool:
Collaboration diagram for MuonGMR4::IMuonGeoUtilityTool:

Public Types

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...
 

Public Member Functions

 DeclareInterfaceID (IMuonGeoUtilityTool, 1, 0)
 Gaudi interface ID. More...
 
virtual const GeoAlignableTransform * findAlignableTransform (const PVConstLink &physVol) const =0
 Returns the next Geo alignable transform in the GeoModelTree upstream. More...
 
virtual const GeoShape * extractShape (const PVConstLink &physVol) const =0
 Navigates throughs the volume to find a Box / Prd shape. More...
 
virtual const GeoShape * extractShape (const GeoShape *inShape) const =0
 
virtual Amg::Transform3D extractShifts (const PVConstLink &physVol) const =0
 
virtual Amg::Transform3D extractShifts (const GeoShape *inShape) const =0
 
virtual std::vector< physVolWithTransfindAllLeafNodesByName (const PVConstLink &physVol, const std::string &volumeName) const =0
 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. More...
 
virtual std::vector< const GeoShape * > getComponents (const GeoShape *booleanShape) const =0
 Splits a boolean shape into its building blocks. More...
 
virtual std::string dumpShape (const GeoShape *inShape) const =0
 
virtual std::string dumpVolume (const PVConstLink &physVol) const =0
 
virtual std::vector< Amg::Vector2DpolygonEdges (const GeoSimplePolygonBrep &polygon) const =0
 Transforms the vertices of the Polygon shape into a std::vector consisting of Amg::Vector2D objects. More...
 
virtual std::vector< Amg::Vector3DshapeEdges (const GeoShape *shape, const Amg::Transform3D &volTrf) const =0
 Returns the edge points of the polygon like GeoShapes. More...
 

Detailed Description

Definition at line 23 of file IMuonGeoUtilityTool.h.

Member Typedef Documentation

◆ 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 42 of file IMuonGeoUtilityTool.h.

Member Function Documentation

◆ DeclareInterfaceID()

MuonGMR4::IMuonGeoUtilityTool::DeclareInterfaceID ( IMuonGeoUtilityTool  ,
,
 
)

Gaudi interface ID.

◆ 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

◆ extractShape() [2/2]

virtual const GeoShape* MuonGMR4::IMuonGeoUtilityTool::extractShape ( const PVConstLink &  physVol) const
pure virtual

Navigates throughs the volume to find a Box / Prd shape.

Implemented in MuonGMR4::MuonGeoUtilityTool.

◆ extractShifts() [1/2]

virtual Amg::Transform3D MuonGMR4::IMuonGeoUtilityTool::extractShifts ( const GeoShape *  inShape) const
pure virtual

◆ extractShifts() [2/2]

virtual Amg::Transform3D MuonGMR4::IMuonGeoUtilityTool::extractShifts ( const PVConstLink &  physVol) const
pure virtual

◆ findAlignableTransform()

virtual const GeoAlignableTransform* MuonGMR4::IMuonGeoUtilityTool::findAlignableTransform ( const PVConstLink &  physVol) const
pure virtual

Returns the next Geo alignable transform in the GeoModelTree upstream.

Implemented in MuonGMR4::MuonGeoUtilityTool.

◆ 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.

Implemented in MuonGMR4::MuonGeoUtilityTool.

◆ getComponents()

virtual std::vector<const GeoShape*> MuonGMR4::IMuonGeoUtilityTool::getComponents ( const GeoShape *  booleanShape) const
pure virtual

Splits a boolean shape into its building blocks.

Implemented in MuonGMR4::MuonGeoUtilityTool.

◆ 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.

Implemented in MuonGMR4::MuonGeoUtilityTool.

◆ shapeEdges()

virtual std::vector<Amg::Vector3D> MuonGMR4::IMuonGeoUtilityTool::shapeEdges ( const GeoShape *  shape,
const Amg::Transform3D volTrf 
) const
pure virtual

Returns the edge points of the polygon like GeoShapes.

Implemented in MuonGMR4::MuonGeoUtilityTool.


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