ATLAS Offline Software
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 
16 namespace MuonGMR4 {
17 
18 class 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
Amg::Vector2D
Eigen::Matrix< double, 2, 1 > Vector2D
Definition: GeoPrimitives.h:48
MuonGMR4::MuonGeoUtilityTool::~MuonGeoUtilityTool
virtual ~MuonGeoUtilityTool() override final
MuonGMR4::MuonGeoUtilityTool
Definition: MuonGeoUtilityTool.h:18
GeoModelTool.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
MuonGMR4::MuonGeoUtilityTool::getComponents
std::vector< const GeoShape * > getComponents(const GeoShape *booleanShape) const override final
Definition: MuonGeoUtilitiyTool.cxx:85
MuonGMR4::MuonGeoUtilityTool::dumpVolume
std::string dumpVolume(const PVConstLink &physVol) const override final
Definition: MuonGeoUtilitiyTool.cxx:58
MuonGMR4
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
Definition: MdtCalibInput.h:19
MuonGMR4::MuonGeoUtilityTool::polygonEdges
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: MuonGeoUtilitiyTool.cxx:89
vector
Definition: MultiHisto.h:13
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition: GeoPrimitives.h:46
AthAlgTool.h
columnar::final
CM final
Definition: ColumnAccessor.h:106
MuonGMR4::MuonGeoUtilityTool::findAlignableTransform
const GeoAlignableTransform * findAlignableTransform(const PVConstLink &physVol) const override final
Definition: MuonGeoUtilitiyTool.cxx:59
Amg
Definition of ATLAS Math & Geometry primitives (Amg)
Definition: AmgStringHelpers.h:19
MuonGMR4::MuonGeoUtilityTool::findAllLeafNodesByName
std::vector< physVolWithTrans > findAllLeafNodesByName(const PVConstLink &physVol, const std::string &volumeName) const override final
Definition: MuonGeoUtilitiyTool.cxx:80
MuonGMR4::physVolWithTrans
IMuonGeoUtilityTool::physVolWithTrans physVolWithTrans
Definition: MdtReadoutGeomTool.cxx:31
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
private
#define private
Definition: xAODTruthCnvAlg.h:20
MuonGMR4::MuonGeoUtilityTool::dumpShape
std::string dumpShape(const GeoShape *inShape) const override final
Dumps the shape to string.
Definition: MuonGeoUtilitiyTool.cxx:57
MuonGMR4::MuonGeoUtilityTool::shapeEdges
std::vector< Amg::Vector3D > shapeEdges(const GeoShape *shape, const Amg::Transform3D &refTrf) const override
Definition: MuonGeoUtilitiyTool.cxx:99
checker_macros.h
Define macros for attributes used to control the static checker.
IMuonGeoUtilityTool.h
IGeoDbTagSvc.h
MuonGMR4::MuonGeoUtilityTool::extractShape
const GeoShape * extractShape(const PVConstLink &physVol) const override final
Definition: MuonGeoUtilitiyTool.cxx:37