ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkDetDescr
TrkDetDescrTools
TrkDetDescrTools
LayerMaterialProvider.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// LayerMaterialProvider.h, (c) ATLAS Detector software
8
9
#ifndef TRKDETDESCRTOOLS_LAYERMATERIALPROVIDER_H
10
#define TRKDETDESCRTOOLS_LAYERMATERIALPROVIDER_H
11
12
// Trk
13
#include "
TrkDetDescrInterfaces/IGeometryProcessor.h
"
14
#include "
TrkGeometry/LayerMaterialMap.h
"
15
// Gaudi & Athena
16
#include "
AthenaBaseComps/AthAlgTool.h
"
17
#include "
StoreGate/ReadCondHandleKey.h
"
18
19
20
#include "
CxxUtils/checker_macros.h
"
21
namespace
Trk
{
22
23
class
TrackingGeometry
;
24
class
TrackingVolume
;
25
class
Layer
;
26
class
Surface
;
27
class
LayerMaterialMap
;
28
29
37
38
class
LayerMaterialProvider
//process methods call non-safe code
39
:
public
extends<AthAlgTool, IGeometryProcessor> {
40
41
public
:
43
using
base_class::base_class;
44
45
virtual
StatusCode
initialize
()
override
;
46
48
virtual
StatusCode
process
(
TrackingGeometry
& tgeo)
const override
;
49
52
virtual
StatusCode
process
(
TrackingVolume
& tvol,
53
size_t
level = 0)
const override
;
54
55
StatusCode
process
(
TrackingVolume
& lay,
56
const
LayerMaterialMap
& layerMaterialMap,
57
size_t
level)
const
;
58
60
virtual
StatusCode
process
(
Layer
& lay,
size_t
level = 0)
const override
;
61
62
StatusCode
process
(
Layer
& lay,
63
const
LayerMaterialMap
& layerMaterialMap,
64
size_t
level)
const
;
65
67
virtual
StatusCode
process
(
Surface
& surf,
size_t
level = 0)
const override
;
68
69
private
:
70
71
void
dumpMaterialMap
(
const
LayerMaterialMap
& layerMaterialMap)
const
;
72
73
SG::ReadCondHandleKey<LayerMaterialMap>
m_layerMaterialMapKey
74
{
this
,
"LayerMaterialMapKey"
,
"/GLOBAL/TrackingGeo/LayerMaterialV2"
,
75
"COOL folder for material map"
};
76
77
Gaudi::Property<std::string>
m_layerMaterialMapName
78
{
this
,
"LayerMaterialMapName"
,
""
,
79
"If LayerMaterialMapKey is not set, then fall back to retrieving this from the detector store."
};
80
};
81
82
}
// end of namespace
83
84
#endif
// TRKDETDESCRTOOLS_LAYERMATERIALPROVIDER_H
85
AthAlgTool.h
IGeometryProcessor.h
LayerMaterialMap.h
ReadCondHandleKey.h
checker_macros.h
Define macros for attributes used to control the static checker.
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
Trk::LayerMaterialMap
This class extends the DataVector<Trk::LayerMaterialProperties> by an elementTable;.
Definition
LayerMaterialMap.h:32
Trk::LayerMaterialProvider
AlgTool that retrieves the LayerMaterial from COOL and loads it onto the geometry.
Definition
LayerMaterialProvider.h:39
Trk::LayerMaterialProvider::dumpMaterialMap
void dumpMaterialMap(const LayerMaterialMap &layerMaterialMap) const
Definition
LayerMaterialProvider.cxx:227
Trk::LayerMaterialProvider::initialize
virtual StatusCode initialize() override
Definition
LayerMaterialProvider.cxx:24
Trk::LayerMaterialProvider::m_layerMaterialMapKey
SG::ReadCondHandleKey< LayerMaterialMap > m_layerMaterialMapKey
Definition
LayerMaterialProvider.h:74
Trk::LayerMaterialProvider::m_layerMaterialMapName
Gaudi::Property< std::string > m_layerMaterialMapName
Definition
LayerMaterialProvider.h:78
Trk::Layer
Base Class for a Detector Layer in the Tracking realm.
Definition
Layer.h:72
Trk::Surface
Abstract Base Class for tracking surfaces.
Definition
Surface.h:79
Trk::TrackingGeometry
The TrackingGeometry class is the owner of the constructed TrackingVolumes.
Definition
TrackingGeometry.h:68
Trk::TrackingVolume
Full Volume description used in Tracking, it inherits from Volume to get the geometrical structure,...
Definition
TrackingVolume.h:119
process
const std::string process
Definition
fbtTestBasics.cxx:76
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Generated on
for ATLAS Offline Software by
1.17.0