ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonDetDescr
MuonGeoModelR4
src
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
8
#include <
CxxUtils/checker_macros.h
>
9
#include <
GeoModelInterfaces/IGeoDbTagSvc.h
>
10
#include <
GeoModelUtilities/GeoModelTool.h
>
11
#include <
MuonGeoModelR4/IMuonGeoUtilityTool.h
>
12
#include <
AthenaBaseComps/AthAlgTool.h
>
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
AthAlgTool.h
Transform3D
Eigen::Affine3d Transform3D
Definition
GeoPrimitives.h:46
GeoModelTool.h
IGeoDbTagSvc.h
IMuonGeoUtilityTool.h
Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition
GeoPrimitives.h:47
checker_macros.h
Define macros for attributes used to control the static checker.
MuonGMR4::MuonGeoUtilityTool
Definition
MuonGeoUtilityTool.h:18
MuonGMR4::MuonGeoUtilityTool::dumpShape
std::string dumpShape(const GeoShape *inShape) const override final
Dumps the shape to string.
Definition
MuonGeoUtilitiyTool.cxx:57
MuonGMR4::MuonGeoUtilityTool::getComponents
std::vector< const GeoShape * > getComponents(const GeoShape *booleanShape) const override final
Definition
MuonGeoUtilitiyTool.cxx:85
MuonGMR4::MuonGeoUtilityTool::findAlignableTransform
const GeoAlignableTransform * findAlignableTransform(const PVConstLink &physVol) const override final
Definition
MuonGeoUtilitiyTool.cxx:59
MuonGMR4::MuonGeoUtilityTool::extractShape
const GeoShape * extractShape(const PVConstLink &physVol) const override final
Definition
MuonGeoUtilitiyTool.cxx:37
MuonGMR4::MuonGeoUtilityTool::~MuonGeoUtilityTool
virtual ~MuonGeoUtilityTool() override final
MuonGMR4::MuonGeoUtilityTool::shapeEdges
std::vector< Amg::Vector3D > shapeEdges(const GeoShape *shape, const Amg::Transform3D &refTrf) const override
Definition
MuonGeoUtilitiyTool.cxx:99
MuonGMR4::MuonGeoUtilityTool::dumpVolume
std::string dumpVolume(const PVConstLink &physVol) const override final
Definition
MuonGeoUtilitiyTool.cxx:58
MuonGMR4::MuonGeoUtilityTool::findAllLeafNodesByName
std::vector< physVolWithTrans > findAllLeafNodesByName(const PVConstLink &physVol, const std::string &volumeName) const override final
Definition
MuonGeoUtilitiyTool.cxx:80
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
const
Amg
Definition of ATLAS Math & Geometry primitives (Amg).
Definition
AmgStringHelpers.h:19
MuonGMR4
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
Definition
MdtCalibInput.h:19
MuonGMR4::physVolWithTrans
IMuonGeoUtilityTool::physVolWithTrans physVolWithTrans
Definition
MdtReadoutGeomTool.cxx:31
std
STL namespace.
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0