ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetDetDescr
InDetTrackingGeometry
InDetTrackingGeometry
TRT_LayerBuilderCond.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef INDETTRACKINGGEOMETRY_TRT_LAYERBUILDERCOND_H
6
#define INDETTRACKINGGEOMETRY_TRT_LAYERBUILDERCOND_H
7
8
// Athena
9
#include "
InDetTrackingGeometry/TRT_LayerBuilderImpl.h
"
10
// Trk
11
#include "
TrkDetDescrInterfaces/ILayerBuilderCond.h
"
12
#include "
TrkGeometry/TrackingGeometry.h
"
13
// InDet
14
#include "
TRT_ReadoutGeometry/TRT_DetElementContainer.h
"
15
// StoreGate
16
#include "
StoreGate/ReadCondHandleKey.h
"
17
// STL
18
#include <vector>
19
20
namespace
Trk
{
21
class
CylinderLayer
;
22
class
DiscLayer
;
23
class
PlaneLayer
;
24
}
25
26
namespace
InDet
{
27
32
class
ATLAS_NOT_THREAD_SAFE
TRT_LayerBuilderCond
:
//const_cast
33
public
extends<TRT_LayerBuilderImpl, Trk::ILayerBuilderCond> {
34
36
friend
class
TRT_VolumeBuilder
;
37
38
public
:
39
41
TRT_LayerBuilderCond
(
const
std::string&,
const
std::string&,
const
IInterface*);
42
44
virtual
~TRT_LayerBuilderCond
() =
default
;
45
47
virtual
StatusCode
initialize
() override final;
48
50
virtual
std
::
unique_ptr
<
const
std
::
vector
<
Trk
::CylinderLayer*> >
51
cylindricalLayers
(
const
EventContext& ctx,
52
SG
::WriteCondHandle<
Trk
::TrackingGeometry>& whandle)
const
override final;
53
55
virtual
std
::
unique_ptr
<
const
std
::
vector
<
Trk
::DiscLayer*> >
56
discLayers
(
const
EventContext& ctx,
57
SG
::WriteCondHandle<
Trk
::TrackingGeometry>& whandle)
const
override final;
58
60
virtual
std
::
unique_ptr
<
const
std
::
vector
<
Trk
::PlaneLayer*> >
61
planarLayers
(
const
EventContext& ctx,
62
SG
::WriteCondHandle<
Trk
::TrackingGeometry>& whandle)
const
override final;
63
65
virtual
const
std
::
string
&
identification
()
const
override final;
66
67
private
:
68
69
SG
::ReadCondHandleKey<
InDetDD
::TRT_DetElementContainer>
70
m_readKeyTRTContainer
{
71
this
,
72
"ReadKeyTRTDetectorElements"
,
73
"TRT_DetElementContainer"
,
74
"Key for input TRT detector element container read from cond store"
75
};
76
};
77
78
inline
std::unique_ptr<const std::vector<Trk::PlaneLayer*> >
79
TRT_LayerBuilderCond::planarLayers
(
const
EventContext&,
80
SG::WriteCondHandle<Trk::TrackingGeometry>
&
/*whandle*/
)
const
81
{
return
nullptr
; }
82
83
inline
const
std::string&
TRT_LayerBuilderCond::identification
()
const
84
{
return
m_identification; }
85
86
}
// end of namespace
87
88
89
#endif
// INDETTRACKINGGEOMETRY_TRT_LAYERBUILDERCOND_H
ILayerBuilderCond.h
ReadCondHandleKey.h
TRT_DetElementContainer.h
TRT_LayerBuilderImpl.h
TrackingGeometry.h
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition
checker_macros.h:212
InDet::TRT_LayerBuilderCond::m_readKeyTRTContainer
SG::ReadCondHandleKey< InDetDD::TRT_DetElementContainer > m_readKeyTRTContainer
Definition
TRT_LayerBuilderCond.h:70
InDet::TRT_LayerBuilderCond::discLayers
virtual std::unique_ptr< const std::vector< Trk::DiscLayer * > > discLayers(const EventContext &ctx, SG::WriteCondHandle< Trk::TrackingGeometry > &whandle) const override final
LayerBuilderCond interface method - returning Endcap-like layers.
Definition
TRT_LayerBuilderCond.cxx:50
InDet::TRT_LayerBuilderCond::cylindricalLayers
virtual std::unique_ptr< const std::vector< Trk::CylinderLayer * > > cylindricalLayers(const EventContext &ctx, SG::WriteCondHandle< Trk::TrackingGeometry > &whandle) const override final
LayerBuilderCond interface method - returning Barrel-like layers.
Definition
TRT_LayerBuilderCond.cxx:34
InDet::TRT_LayerBuilderCond::planarLayers
virtual std::unique_ptr< const std::vector< Trk::PlaneLayer * > > planarLayers(const EventContext &ctx, SG::WriteCondHandle< Trk::TrackingGeometry > &whandle) const override final
LayerBuilderCond interface method - returning Planar-like layers.
Definition
TRT_LayerBuilderCond.h:79
InDet::TRT_LayerBuilderCond::identification
virtual const std::string & identification() const override final
Name identification.
Definition
TRT_LayerBuilderCond.h:83
InDet::TRT_LayerBuilderCond::TRT_VolumeBuilder
friend class TRT_VolumeBuilder
Declare the TRT_VolumeBuilder as friend.
Definition
TRT_LayerBuilderCond.h:36
InDet::TRT_LayerBuilderCond::TRT_LayerBuilderCond
TRT_LayerBuilderCond(const std::string &, const std::string &, const IInterface *)
AlgTool style constructor.
Definition
TRT_LayerBuilderCond.cxx:15
InDet::TRT_LayerBuilderCond::~TRT_LayerBuilderCond
virtual ~TRT_LayerBuilderCond()=default
Destructor.
SG::WriteCondHandle
Definition
WriteCondHandle.h:26
Trk::CylinderLayer
Class to describe a cylindrical detector layer for tracking, it inhertis from both,...
Definition
CylinderLayer.h:43
Trk::DiscLayer
Class to describe a disc-like detector layer for tracking, it inhertis from both, Layer base class an...
Definition
DiscLayer.h:45
Trk::PlaneLayer
Class to describe a planar detector layer for tracking, it inhertis from both, Layer base class and P...
Definition
PlaneLayer.h:40
unique_ptr
STL class.
vector
Definition
MultiHisto.h:13
const
InDetDD
Message Stream Member.
Definition
FakeTrackBuilder.h:8
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
SG
Forward declaration.
Definition
CaloCellPacker_400_500.h:32
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
std
STL namespace.
initialize
void initialize()
Definition
run_EoverP.cxx:894
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0