ATLAS Offline Software
Loading...
Searching...
No Matches
MuonGeoUtilityTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONGEOMODELR4_MUONGEOUTILITYTOOL_H
6#define MUONGEOMODELR4_MUONGEOUTILITYTOOL_H
7
13#include <GeoModelKernel/GeoSimplePolygonBrep.h>
14
15
16namespace MuonGMR4 {
17
18class MuonGeoUtilityTool final : public extends<AthAlgTool, IMuonGeoUtilityTool>{
19
20 public:
21 // Constructor
22 using base_class::base_class;
23
24 // Destructor
25 virtual ~MuonGeoUtilityTool() override final;
26
27 const GeoAlignableTransform* findAlignableTransform(const PVConstLink& physVol) const override final;
28
29 const GeoShape* extractShape(const PVConstLink& physVol) const override final;
30 const GeoShape* extractShape(const GeoShape* inShape) const override final;
31
32 std::vector<physVolWithTrans> findAllLeafNodesByName(const PVConstLink& physVol, const std::string& volumeName) const override final;
33
34 std::vector<const GeoShape*> getComponents(const GeoShape* booleanShape) const override final;
36 std::string dumpShape(const GeoShape* inShape) const override final;
37
38 std::string dumpVolume(const PVConstLink& physVol) const override final;
39
41 std::vector<Amg::Vector2D> polygonEdges(const GeoSimplePolygonBrep& polygon) const override;
42
43 std::vector<Amg::Vector3D> shapeEdges(const GeoShape* shape,
44 const Amg::Transform3D& refTrf) const override;
45
46 private:
47
48};
49} // namespace MuonGMR4
50#endif
Eigen::Affine3d Transform3D
Eigen::Matrix< double, 3, 1 > Vector3D
Define macros for attributes used to control the static checker.
std::string dumpShape(const GeoShape *inShape) const override final
Dumps the shape to string.
std::vector< const GeoShape * > getComponents(const GeoShape *booleanShape) const override final
const GeoAlignableTransform * findAlignableTransform(const PVConstLink &physVol) const override final
const GeoShape * extractShape(const PVConstLink &physVol) const override final
virtual ~MuonGeoUtilityTool() override final
std::vector< Amg::Vector3D > shapeEdges(const GeoShape *shape, const Amg::Transform3D &refTrf) const override
std::string dumpVolume(const PVConstLink &physVol) const override final
std::vector< physVolWithTrans > findAllLeafNodesByName(const PVConstLink &physVol, const std::string &volumeName) const override final
std::vector< Amg::Vector2D > polygonEdges(const GeoSimplePolygonBrep &polygon) const override
Transforms the vertices of the Polygon shape into a std::vector consisting of Amg::Vector2D objects.
Definition of ATLAS Math & Geometry primitives (Amg)
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
IMuonGeoUtilityTool::physVolWithTrans physVolWithTrans
STL namespace.
#define private