ATLAS Offline Software
Loading...
Searching...
No Matches
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
10// Trk
13// InDet
15// StoreGate
17// STL
18#include <vector>
19
20namespace Trk {
21 class CylinderLayer;
22 class DiscLayer;
23 class PlaneLayer;
24}
25
26namespace InDet {
27
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>
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*> >
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
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
SG::ReadCondHandleKey< InDetDD::TRT_DetElementContainer > m_readKeyTRTContainer
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.
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.
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.
virtual const std::string & identification() const override final
Name identification.
friend class TRT_VolumeBuilder
Declare the TRT_VolumeBuilder as friend.
TRT_LayerBuilderCond(const std::string &, const std::string &, const IInterface *)
AlgTool style constructor.
virtual ~TRT_LayerBuilderCond()=default
Destructor.
Class to describe a cylindrical detector layer for tracking, it inhertis from both,...
Class to describe a disc-like detector layer for tracking, it inhertis from both, Layer base class an...
Definition DiscLayer.h:45
Class to describe a planar detector layer for tracking, it inhertis from both, Layer base class and P...
Definition PlaneLayer.h:40
STL class.
Message Stream Member.
Primary Vertex Finder.
Forward declaration.
Ensure that the ATLAS eigen extensions are properly loaded.
STL namespace.
void initialize()
#define private