ATLAS Offline Software
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 
20 namespace Trk {
21  class CylinderLayer;
22  class DiscLayer;
23  class PlaneLayer;
24 }
25 
26 namespace 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>
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*> >
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
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
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
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
TRT_DetElementContainer.h
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
initialize
void initialize()
Definition: run_EoverP.cxx:894
InDet::TRT_LayerBuilderCond::identification
virtual const std::string & identification() const override final
Name identification.
Definition: TRT_LayerBuilderCond.h:83
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
vector
Definition: MultiHisto.h:13
ReadCondHandleKey.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
TRT_LayerBuilderImpl.h
InDet::TRT_LayerBuilderCond::~TRT_LayerBuilderCond
virtual ~TRT_LayerBuilderCond()=default
Destructor.
InDetDD
Message Stream Member.
Definition: FakeTrackBuilder.h:8
InDet::TRT_LayerBuilderCond
Definition: TRT_LayerBuilderCond.h:33
TrackingGeometry.h
SG::WriteCondHandle
Definition: WriteCondHandle.h:26
ILayerBuilderCond.h