ATLAS Offline Software
CaloTrackingGeometryBuilderCond.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // CaloTrackingGeometryBuilderCond.cxx, (c) ATLAS Detector software
8 // Calo
10 
11 #include <memory>
12 
14 
15 // constructor
17  const std::string& t, const std::string& n, const IInterface* p)
19  declareInterface<Trk::IGeometryBuilderCond>(this);
20 }
21 
22 // initialize
24 
25  ATH_CHECK(m_caloMgrKey.initialize());
27 }
28 
29 std::unique_ptr<Trk::TrackingGeometry>
31  const EventContext& ctx, Trk::TrackingVolume* innerVol,
32  SG::WriteCondHandle<Trk::TrackingGeometry>& /*whandle*/) const {
33 
34  SG::ReadCondHandle<CaloDetDescrManager> caloMgrHandle{m_caloMgrKey, ctx};
35  const CaloDetDescrManager* caloDDM = *caloMgrHandle;
37  caloDDM);
38 }
39 
Calo
Definition: CaloTrackingGeometryBuilder.h:15
SG::ReadCondHandle
Definition: ReadCondHandle.h:44
Calo::CaloTrackingGeometryBuilderImpl::initialize
virtual StatusCode initialize() override
AlgTool initailize method.
Definition: CaloTrackingGeometryBuilderImpl.cxx:47
Calo::CaloTrackingGeometryBuilderImpl::createTrackingGeometry
std::unique_ptr< Trk::TrackingGeometry > createTrackingGeometry(Trk::TrackingVolume *innerVol, const CaloDetDescrManager *caloDDM) const
TrackingGeometry Interface method.
Definition: CaloTrackingGeometryBuilderImpl.cxx:96
CaloTrackingGeometryBuilderCond.h
Calo::CaloTrackingGeometryBuilderImpl
Definition: CaloTrackingGeometryBuilderImpl.h:50
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
Calo::CaloTrackingGeometryBuilderCond::trackingGeometry
virtual std::unique_ptr< Trk::TrackingGeometry > trackingGeometry(const EventContext &ctx, Trk::TrackingVolume *innerVol, SG::WriteCondHandle< Trk::TrackingGeometry > &whandle) const override final
TrackingGeometry Interface method.
Definition: CaloTrackingGeometryBuilderCond.cxx:30
ReadCondHandle.h
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
CaloDetDescrManager
This class provides the client interface for accessing the detector description information common to...
Definition: CaloDetDescrManager.h:473
Calo::CaloTrackingGeometryBuilderCond::initialize
virtual StatusCode initialize() override final
AlgTool initailize method.
Definition: CaloTrackingGeometryBuilderCond.cxx:23
Trk::TrackingVolume
Definition: TrackingVolume.h:121
SG::WriteCondHandle
Definition: WriteCondHandle.h:26
Calo::CaloTrackingGeometryBuilderCond::CaloTrackingGeometryBuilderCond
CaloTrackingGeometryBuilderCond(const std::string &, const std::string &, const IInterface *)
Constructor.
Definition: CaloTrackingGeometryBuilderCond.cxx:16