ATLAS Offline Software
BeamPipeBuilderCond.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_BEAMPIPEBUILDERCOND_H
6 #define INDETTRACKINGGEOMETRY_BEAMPIPEBUILDERCOND_H
7 
8 // Athena
10 // Trk
12 
14 // STL
15 #include <vector>
16 #include <utility>
17 
18 namespace Trk {
19  class CylinderLayer;
20  class DiscLayer;
21  class PlaneLayer;
22 }
23 
24 namespace InDet {
25 
39  class BeamPipeBuilderCond : public extends <BeamPipeBuilderImpl, Trk::ILayerBuilderCond> {
40 
41 
42  public:
44  BeamPipeBuilderCond(const std::string&,const std::string&,const IInterface*);
46  virtual ~BeamPipeBuilderCond() = default;
47 
49  virtual std::unique_ptr<const std::vector<Trk::CylinderLayer*> >
50  cylindricalLayers(const EventContext& ctx,
51  SG::WriteCondHandle<Trk::TrackingGeometry>& whandle) const override final;
52 
54  virtual std::unique_ptr<const std::vector<Trk::DiscLayer*> >
55  discLayers(const EventContext& ctx,
56  SG::WriteCondHandle<Trk::TrackingGeometry>& whandle) const override final;
57 
59  virtual std::unique_ptr<const std::vector<Trk::PlaneLayer*> >
60  planarLayers(const EventContext& ctx,
61  SG::WriteCondHandle<Trk::TrackingGeometry>& whandle) const override final;
62 
64  virtual const std::string& identification() const override;
65  };
66 
67  inline const std::string& BeamPipeBuilderCond::identification() const
68  { return m_identification; }
69 
70  inline std::unique_ptr<const std::vector<Trk::DiscLayer*> >
71  BeamPipeBuilderCond::discLayers(const EventContext&,
73  {
74  return nullptr;
75  }
76 
77  inline std::unique_ptr<const std::vector<Trk::PlaneLayer*> >
78  BeamPipeBuilderCond::planarLayers(const EventContext&,
80  {
81  return nullptr;
82  }
83 
84  } // end of namespace
85 
86 
87 #endif // INDETTRACKINGGEOMETRY_BEAMPIPEBUILDERCOND_H
InDet::BeamPipeBuilderCond
Definition: BeamPipeBuilderCond.h:39
InDet::BeamPipeBuilderCond::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: BeamPipeBuilderCond.cxx:16
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::BeamPipeBuilderCond::BeamPipeBuilderCond
BeamPipeBuilderCond(const std::string &, const std::string &, const IInterface *)
AlgTool style constructor.
Definition: BeamPipeBuilderCond.cxx:8
InDet::BeamPipeBuilderCond::identification
virtual const std::string & identification() const override
Name identification.
Definition: BeamPipeBuilderCond.h:67
InDet::BeamPipeBuilderCond::~BeamPipeBuilderCond
virtual ~BeamPipeBuilderCond()=default
Destructor.
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
InDet::BeamPipeBuilderCond::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: BeamPipeBuilderCond.h:78
TrackingGeometry.h
BeamPipeBuilderImpl.h
SG::WriteCondHandle
Definition: WriteCondHandle.h:26
ILayerBuilderCond.h
InDet::BeamPipeBuilderCond::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: BeamPipeBuilderCond.h:71