ATLAS Offline Software
Loading...
Searching...
No Matches
RobustTrackingGeometryBuilderCond.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
15// Gaudi
16#include "GaudiKernel/MsgStream.h"
17#include "GaudiKernel/SystemOfUnits.h"
18
19// constructor
21 const std::string& t, const std::string& n, const IInterface* p)
22 : base_class(t, n, p) {}
23
24// Athena standard methods
25// initialize
27 // Retrieve the beampipe builders
28 // --------------------------------------------------------
29 ATH_CHECK(m_beamPipeBuilder.retrieve());
30 ATH_MSG_DEBUG("Retrieved tool " << m_beamPipeBuilder);
31
32 // Retrieve the layer builders
33 // -----------------------------------------------------------
34 ATH_CHECK(m_layerBuilders.retrieve());
35 ATH_MSG_DEBUG("Retrieved tool " << m_layerBuilders);
36
38}
39
40std::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.
PublicToolHandle< Trk::ILayerBuilderCond > m_beamPipeBuilder
BeamPipe builder (is different from layers)
virtual std::unique_ptr< Trk::TrackingGeometry > trackingGeometry(const EventContext &ctx, Trk::TrackingVolume *tVolPair, SG::WriteCondHandle< Trk::TrackingGeometry > &whandle) const override final
TrackingGeometry Interface methods.
virtual StatusCode initialize() override final
AlgTool initialize method.
RobustTrackingGeometryBuilderCond(const std::string &, const std::string &, const IInterface *)
Constructor.
PublicToolHandleArray< Trk::ILayerBuilderCond > m_layerBuilders
Helper Tools for the Layer creation.
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
Full Volume description used in Tracking, it inherits from Volume to get the geometrical structure,...