ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkDetDescr
TrkDetDescrGeoModelCnv
TrkDetDescrGeoModelCnv
GeoShapeConverter.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// GeoShapeConverter.h, (c) ATLAS Detector software
8
9
#ifndef TRKDETDESCRGEOMODELCNV_GEOSHAPRECONVERTER_H
10
#define TRKDETDESCRGEOMODELCNV_GEOSHAPRECONVERTER_H
11
// Trk
12
#include "
AthenaBaseComps/AthMessaging.h
"
13
#include "
TrkGeometry/MaterialProperties.h
"
14
// Eigen
15
#include "
GeoPrimitives/GeoPrimitives.h
"
16
17
// STL
18
19
class
GeoTubs;
20
class
GeoTube;
21
class
GeoPcon;
22
class
GeoBox;
23
class
GeoShape;
24
25
namespace
Trk
{
26
27
class
CylinderVolumeBounds
;
28
class
CuboidVolumeBounds
;
29
class
Volume
;
30
41
42
class
GeoShapeConverter
:
public
AthMessaging
{
43
44
public
:
45
GeoShapeConverter
();
47
static
std::shared_ptr<CylinderVolumeBounds>
convert
(
const
GeoTubs* gtub);
48
50
static
std::shared_ptr<CylinderVolumeBounds>
convert
(
const
GeoTube* gtub);
51
53
static
std::shared_ptr<CylinderVolumeBounds>
convert
(
54
const
GeoPcon* gtub, std::vector<double>& zbounds);
55
57
static
std::shared_ptr<CuboidVolumeBounds>
convert
(
const
GeoBox* gbox);
58
60
std::unique_ptr<Volume>
translateGeoShape
(
61
const
GeoShape* shape,
const
Amg::Transform3D
& trf)
const
;
62
64
void
decodeShape
(
const
GeoShape*)
const
;
65
66
private
:
67
};
68
69
}
// end of namespace Trk
70
71
#endif
AthMessaging.h
GeoPrimitives.h
MaterialProperties.h
AthMessaging::AthMessaging
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
Definition
AthMessaging.cxx:13
Trk::CuboidVolumeBounds
Bounds for a cubical Volume, the decomposeToSurfaces method creates a vector of 6 surfaces:
Definition
CuboidVolumeBounds.h:52
Trk::CylinderVolumeBounds
Bounds for a cylindrical Volume, the decomposeToSurfaces method creates a vector of up to 6 surfaces:
Definition
CylinderVolumeBounds.h:70
Trk::GeoShapeConverter::GeoShapeConverter
GeoShapeConverter()
Definition
GeoShapeConverter.cxx:55
Trk::GeoShapeConverter::decodeShape
void decodeShape(const GeoShape *) const
Decode and dump arbitrary GeoShape for visual inspection.
Definition
GeoShapeConverter.cxx:524
Trk::GeoShapeConverter::convert
static std::shared_ptr< CylinderVolumeBounds > convert(const GeoTubs *gtub)
Convert a tubs.
Definition
GeoShapeConverter.cxx:57
Trk::GeoShapeConverter::translateGeoShape
std::unique_ptr< Volume > translateGeoShape(const GeoShape *shape, const Amg::Transform3D &trf) const
Convert an arbitrary GeoShape into Trk::Volume.
Definition
GeoShapeConverter.cxx:105
Trk::Volume
Base class for all volumes inside the tracking realm, it defines the interface for inherited Volume c...
Definition
Volume.h:36
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition
GeoPrimitives.h:46
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Generated on
for ATLAS Offline Software by
1.17.0