ATLAS Offline Software
MuonTrackingGeometryBuilderCond.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // MuonTrackingGeometryBuilderCond.h, (c) ATLAS Detector software
8 
9 #ifndef MUONTRACKINGGEOMETRY_MUONTRACKINGGEOMETRYBUILDERCOND_H
10 #define MUONTRACKINGGEOMETRY_MUONTRACKINGGEOMETRYBUILDERCOND_H
11 
13 //
18 //
19 #include "GaudiKernel/ToolHandle.h"
20 
21 namespace Muon {
22 
38  virtual public Trk::IGeometryBuilderCond {
39  public:
41  MuonTrackingGeometryBuilderCond(const std::string&, const std::string&,
42  const IInterface*);
44  virtual ~MuonTrackingGeometryBuilderCond() = default;
46  virtual StatusCode initialize() override;
48  virtual std::unique_ptr<Trk::TrackingGeometry> trackingGeometry(
49  const EventContext& ctx, Trk::TrackingVolume* tvol,
50  SG::WriteCondHandle<Trk::TrackingGeometry>& whandle) const override;
51 
53  virtual Trk::GeometrySignature geometrySignature() const override {
55  }
56 
57  private:
58  ToolHandle<Trk::IDetachedTrackingVolumeBuilderCond> m_stationBuilder{
59  this, "MuonStationBuilder",
60  "Muon::MuonStationBuilderCond/MuonStationBuilderCond"};
61 
65  ToolHandle<Muon::MuonInertMaterialBuilderCond>
66  m_inertBuilder{this, "InertMaterialBuilder",
67  "Muon::MuonInertMaterialBuilderCond/"
68  "MuonInertMaterialBuilderCond"};
69 };
71 
72 } // namespace Muon
73 
74 #endif // MUONTRACKINGGEOMETRY_MUONTRACKINGGEOMETRYBUILDER_H
IGeometryBuilderCond.h
Muon::MuonTrackingGeometryBuilderCond::m_inertBuilder
ToolHandle< Muon::MuonInertMaterialBuilderCond > m_inertBuilder
A Tool for inert object creation.
Definition: MuonTrackingGeometryBuilderCond.h:66
Muon::MuonTrackingGeometryBuilderCond::~MuonTrackingGeometryBuilderCond
virtual ~MuonTrackingGeometryBuilderCond()=default
Destructor.
Muon::MuonTrackingGeometryBuilderCond::geometrySignature
virtual Trk::GeometrySignature geometrySignature() const override
The unique signature.
Definition: MuonTrackingGeometryBuilderCond.h:53
IDetachedTrackingVolumeBuilderCond.h
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:45
Trk::GeometrySignature
GeometrySignature
Definition: GeometrySignature.h:24
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Muon::MuonTrackingGeometryBuilderCond::initialize
virtual StatusCode initialize() override
AlgTool initailize method.
Definition: MuonTrackingGeometryBuilderCond.cxx:20
Muon::MuonTrackingGeometryBuilderCond::MuonTrackingGeometryBuilderCond
MuonTrackingGeometryBuilderCond(const std::string &, const std::string &, const IInterface *)
Constructor.
Definition: MuonTrackingGeometryBuilderCond.cxx:14
Muon::MuonTrackingGeometryBuilderCond::trackingGeometry
virtual std::unique_ptr< Trk::TrackingGeometry > trackingGeometry(const EventContext &ctx, Trk::TrackingVolume *tvol, SG::WriteCondHandle< Trk::TrackingGeometry > &whandle) const override
TrackingGeometry Interface method.
Definition: MuonTrackingGeometryBuilderCond.cxx:33
Trk::IGeometryBuilderCond
Definition: IGeometryBuilderCond.h:45
Muon::MuonTrackingGeometryBuilderCond::m_stationBuilder
ToolHandle< Trk::IDetachedTrackingVolumeBuilderCond > m_stationBuilder
A Tool for station type creation.
Definition: MuonTrackingGeometryBuilderCond.h:58
MuonInertMaterialBuilderCond.h
Muon::MuonTrackingGeometryBuilderImpl::signature
static Trk::GeometrySignature signature()
The unique signature.
Definition: MuonTrackingGeometryBuilderImpl.h:76
TrackingGeometry.h
Muon::MuonTrackingGeometryBuilderCond
Definition: MuonTrackingGeometryBuilderCond.h:38
Trk::TrackingVolume
Definition: TrackingVolume.h:121
SG::WriteCondHandle
Definition: WriteCondHandle.h:26
MuonTrackingGeometryBuilderImpl.h
Muon::MuonTrackingGeometryBuilderImpl
Definition: MuonTrackingGeometryBuilderImpl.h:54