ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetDetDescr
InDetTrackingGeometry
InDetTrackingGeometry
SiLayerBuilderCond.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef INDETTRACKINGGEOMETRY_SILAYERBUILDERCOND_H
6
#define INDETTRACKINGGEOMETRY_SILAYERBUILDERCOND_H
7
8
// Athena
9
#include "
InDetTrackingGeometry/SiLayerBuilderImpl.h
"
10
#include "
InDetReadoutGeometry/SiDetectorElementCollection.h
"
11
// Trk
12
#include "
TrkDetDescrInterfaces/ILayerBuilderCond.h
"
13
#include "
TrkDetDescrUtils/BinnedArray.h
"
14
#include "
TrkGeometry/TrackingGeometry.h
"
15
// STL
16
#include <memory>
17
#include <vector>
18
19
namespace
Trk
{
20
class
Surface
;
21
class
CylinderLayer
;
22
class
DiscLayer
;
23
}
24
25
namespace
InDet
{
26
40
class
ATLAS_NOT_THREAD_SAFE
SiLayerBuilderCond
:
// const_cast
41
public
extends<SiLayerBuilderImpl, Trk::ILayerBuilderCond> {
42
43
public
:
44
46
SiLayerBuilderCond
(
const
std::string&,
const
std::string&,
const
IInterface*);
47
49
virtual
~SiLayerBuilderCond
() =
default
;
50
52
virtual
StatusCode
initialize
()
override
;
53
55
virtual
std::unique_ptr<const std::vector<Trk::CylinderLayer*> >
56
cylindricalLayers
(
const
EventContext& ctx,
57
SG::WriteCondHandle<Trk::TrackingGeometry>
& whandle)
const
override
final
;
58
60
virtual
std::unique_ptr<const std::vector<Trk::DiscLayer*> >
61
discLayers
(
const
EventContext& ctx,
62
SG::WriteCondHandle<Trk::TrackingGeometry>
& whandle)
const
override
final
;
63
65
virtual
std::unique_ptr<const std::vector<Trk::PlaneLayer*> >
66
planarLayers
(
const
EventContext& ctx,
67
SG::WriteCondHandle<Trk::TrackingGeometry>
& whandle)
const
override
final
;
68
70
virtual
const
std::string&
identification
()
const
override final;
71
72
private
:
73
74
SG
::ReadCondHandle<
InDetDD
::SiDetectorElementCollection>
75
retrieveSiDetElements
(
const
EventContext& ctx)
const
;
76
79
std
::
unique_ptr
<
std
::
vector
<
Trk
::DiscLayer*> >
80
createDiscLayers
(
const
EventContext& ctx,
81
SG
::WriteCondHandle<
Trk
::TrackingGeometry>& whandle,
82
std
::
unique_ptr
<
std
::
vector
<
Trk
::DiscLayer*> >
discLayers
=
nullptr
)
const
;
83
86
std
::
unique_ptr
<
std
::
vector
<
Trk
::DiscLayer*> >
87
createRingLayers
(
const
EventContext& ctx,
88
SG
::WriteCondHandle<
Trk
::TrackingGeometry>& whandle)
const
;
89
90
};
91
92
inline
std
::
unique_ptr
<
const
std
::
vector
<
Trk
::PlaneLayer*> >
93
SiLayerBuilderCond
::
planarLayers
(
const
EventContext&,
94
SG
::WriteCondHandle<
Trk
::TrackingGeometry>&
/*whandle*/
)
const
95
{
96
return
nullptr
;
97
}
98
99
inline
const
std::string&
100
SiLayerBuilderCond::identification
()
const
101
{
102
return
m_identification;
103
}
104
105
}
// end of namespace
106
107
108
#endif
// INDETTRACKINGGEOMETRY_SILAYERBUILDERCOND_H
BinnedArray.h
ILayerBuilderCond.h
SiDetectorElementCollection.h
SiLayerBuilderImpl.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::SiLayerBuilderCond::~SiLayerBuilderCond
virtual ~SiLayerBuilderCond()=default
Destructor.
InDet::SiLayerBuilderCond::retrieveSiDetElements
SG::ReadCondHandle< InDetDD::SiDetectorElementCollection > retrieveSiDetElements(const EventContext &ctx) const
Definition
SiLayerBuilderCond.cxx:37
InDet::SiLayerBuilderCond::createRingLayers
std::unique_ptr< std::vector< Trk::DiscLayer * > > createRingLayers(const EventContext &ctx, SG::WriteCondHandle< Trk::TrackingGeometry > &whandle) const
create the disc layers, it is dedicated to ITk implementation of the endcap rings.
Definition
SiLayerBuilderCond.cxx:118
InDet::SiLayerBuilderCond::cylindricalLayers
virtual std::unique_ptr< const std::vector< Trk::CylinderLayer * > > cylindricalLayers(const EventContext &ctx, SG::WriteCondHandle< Trk::TrackingGeometry > &whandle) const override final
LayerBuilder interface method - returning Barrel-like layers.
Definition
SiLayerBuilderCond.cxx:56
InDet::SiLayerBuilderCond::SiLayerBuilderCond
SiLayerBuilderCond(const std::string &, const std::string &, const IInterface *)
AlgTool style constructor.
Definition
SiLayerBuilderCond.cxx:21
InDet::SiLayerBuilderCond::createDiscLayers
std::unique_ptr< std::vector< Trk::DiscLayer * > > createDiscLayers(const EventContext &ctx, SG::WriteCondHandle< Trk::TrackingGeometry > &whandle, std::unique_ptr< std::vector< Trk::DiscLayer * > > discLayers=nullptr) const
create the disc layers, if no vector is given, then it's the first pass, else it's the DBM for the Pi...
Definition
SiLayerBuilderCond.cxx:97
InDet::SiLayerBuilderCond::identification
virtual const std::string & identification() const override final
Name identification.
Definition
SiLayerBuilderCond.h:100
InDet::SiLayerBuilderCond::discLayers
virtual std::unique_ptr< const std::vector< Trk::DiscLayer * > > discLayers(const EventContext &ctx, SG::WriteCondHandle< Trk::TrackingGeometry > &whandle) const override final
LayerBuilder interface method - returning Endcap-like layers.
Definition
SiLayerBuilderCond.cxx:72
InDet::SiLayerBuilderCond::planarLayers
virtual std::unique_ptr< const std::vector< Trk::PlaneLayer * > > planarLayers(const EventContext &ctx, SG::WriteCondHandle< Trk::TrackingGeometry > &whandle) const override final
LayerBuilder interface method - returning Planar-like layers.
Definition
SiLayerBuilderCond.h:93
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::Surface
Abstract Base Class for tracking surfaces.
Definition
Surface.h:79
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