ATLAS Offline Software
TRT_LayerBuilder.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 //Trk
9 // InDetDD
11 
12 // constructor
13 InDet::TRT_LayerBuilder::TRT_LayerBuilder(const std::string& t, const std::string& n, const IInterface* p) :
14  base_class(t,n,p)
15 {
16 }
17 
18 
19 // Athena standard methods
20 // initialize
22 {
23  ATH_MSG_DEBUG( "initialize()" );
24  // get TRT Detector Description Manager
26  return StatusCode::SUCCESS;
27 }
28 
29 
31 std::unique_ptr<const std::vector<Trk::CylinderLayer*> >
33 {
34  if (!m_trtMgr) return nullptr;
36  return cylindricalLayersImpl(trtContainer);
37 }
38 
39 
41 std::unique_ptr<const std::vector<Trk::DiscLayer*> > InDet::TRT_LayerBuilder::discLayers() const
42 {
43  if (!m_trtMgr) return nullptr;
45  return discLayersImpl(trtContainer);
46 }
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
InDet::TRT_LayerBuilder::discLayers
virtual std::unique_ptr< const std::vector< Trk::DiscLayer * > > discLayers() const override final
LayerBuilder interface method - returning Endcap-like layers.
Definition: TRT_LayerBuilder.cxx:41
TRT_DetectorManager.h
InDet::TRT_LayerBuilder::initialize
virtual StatusCode initialize() override final
AlgTool initialize method.
Definition: TRT_LayerBuilder.cxx:21
InDetDD::TRT_DetElementContainer
Class to hold different TRT detector elements structures.
Definition: TRT_DetElementContainer.h:25
InDet::TRT_LayerBuilder::cylindricalLayers
virtual std::unique_ptr< const std::vector< Trk::CylinderLayer * > > cylindricalLayers() const override final
LayerBuilder interface method - returning Barrel-like layers.
Definition: TRT_LayerBuilder.cxx:32
DiscLayer.h
InDet::TRT_LayerBuilder::TRT_LayerBuilder
TRT_LayerBuilder(const std::string &, const std::string &, const IInterface *)
AlgTool style constructor.
Definition: TRT_LayerBuilder.cxx:13
InDet::TRT_LayerBuilder::m_trtMgrLocation
StringProperty m_trtMgrLocation
the location of the TRT Manager
Definition: TRT_LayerBuilder.h:62
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
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_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
CylinderLayer.h
InDet::TRT_LayerBuilder::m_trtMgr
const InDetDD::TRT_DetectorManager * m_trtMgr
the TRT Manager
Definition: TRT_LayerBuilder.h:61
python.PyKernel.detStore
detStore
Definition: PyKernel.py:41
InDetDD::TRT_DetectorManager::getDetectorElementContainer
const TRT_DetElementContainer * getDetectorElementContainer() const
Access the element container -------------------------------------------—.
Definition: TRT_DetectorManager.cxx:175
TRT_LayerBuilder.h