ATLAS Offline Software
Loading...
Searching...
No Matches
RobustTrackingGeometryBuilder.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5// InDet
7// EnvelopeDefinitionService
9// Trk interfaces
12// Athena
14// Gaudi
15#include "GaudiKernel/MsgStream.h"
16#include "GaudiKernel/SystemOfUnits.h"
17
18// constructor
20 const std::string& t, const std::string& n, const IInterface* p)
21 : base_class(t, n, p) {}
22
23// Athena standard methods
24// initialize
26 // Retrieve the beampipe builders
27 // --------------------------------------------------------
28 ATH_CHECK(m_beamPipeBuilder.retrieve());
29 ATH_MSG_DEBUG("Retrieved tool " << m_beamPipeBuilder);
30
31 // Retrieve the layer builders
32 // -----------------------------------------------------------
33 ATH_CHECK(m_layerBuilders.retrieve());
34 ATH_MSG_DEBUG("Retrieved tool " << m_layerBuilders);
35
37}
38
39std::unique_ptr<Trk::TrackingGeometry>
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_DEBUG(x)
Define macros for attributes used to control the static checker.
virtual StatusCode initialize() override
AlgTool initialize method.
std::unique_ptr< Trk::TrackingGeometry > trackingGeometryImpl(const LayerBuilders &layerHandles, const PipeBuilder &pipeHandle, const EventContext *ctx=nullptr, SG::WriteCondHandle< Trk::TrackingGeometry > *whandle=nullptr) const
PublicToolHandleArray< Trk::ILayerBuilder > m_layerBuilders
Helper Tools for the Layer creation.
virtual std::unique_ptr< Trk::TrackingGeometry > trackingGeometry(Trk::TrackingVolume *tvol=0) const override final
TrackingGeometry Interface methods.
RobustTrackingGeometryBuilder(const std::string &, const std::string &, const IInterface *)
Constructor.
PublicToolHandle< Trk::ILayerBuilder > m_beamPipeBuilder
BeamPipe builder (is different from layers)
virtual StatusCode initialize() override final
AlgTool initialize method.
Full Volume description used in Tracking, it inherits from Volume to get the geometrical structure,...