ATLAS Offline Software
Loading...
Searching...
No Matches
InDet::TRT_LayerBuilder Class Reference

#include <TRT_LayerBuilder.h>

Inheritance diagram for InDet::TRT_LayerBuilder:
Collaboration diagram for InDet::TRT_LayerBuilder:

Public Member Functions

 TRT_LayerBuilder (const std::string &, const std::string &, const IInterface *)
 AlgTool style constructor.
virtual ~TRT_LayerBuilder ()=default
 Destructor.
virtual StatusCode initialize () override final
 AlgTool initialize method.
virtual std::unique_ptr< const std::vector< Trk::CylinderLayer * > > cylindricalLayers () const override final
 LayerBuilder interface method - returning Barrel-like layers.
virtual std::unique_ptr< const std::vector< Trk::DiscLayer * > > discLayers () const override final
 LayerBuilder interface method - returning Endcap-like layers.
virtual std::unique_ptr< const std::vector< Trk::PlaneLayer * > > planarLayers () const override final
 LayerBuilder interface method - returning Planar-like layers.
virtual const std::string & identification () const override final
 Name identification.

Private Attributes

const InDetDD::TRT_DetectorManagerm_trtMgr {}
 the TRT Manager
StringProperty m_trtMgrLocation {this, "TRT_DetManagerLocation", "TRT"}
 the location of the TRT Manager

Friends

class TRT_VolumeBuilder
 Declare the TRT_VolumeBuilder as friend.

Detailed Description

Constructor & Destructor Documentation

◆ TRT_LayerBuilder()

InDet::TRT_LayerBuilder::TRT_LayerBuilder ( const std::string & t,
const std::string & n,
const IInterface * p )

AlgTool style constructor.

Definition at line 13 of file TRT_LayerBuilder.cxx.

13 :
14 base_class(t,n,p)
15{
16}

◆ ~TRT_LayerBuilder()

virtual InDet::TRT_LayerBuilder::~TRT_LayerBuilder ( )
virtualdefault

Destructor.

Member Function Documentation

◆ cylindricalLayers()

std::unique_ptr< const std::vector< Trk::CylinderLayer * > > InDet::TRT_LayerBuilder::cylindricalLayers ( ) const
finaloverridevirtual

LayerBuilder interface method - returning Barrel-like layers.

Definition at line 32 of file TRT_LayerBuilder.cxx.

33{
34 if (!m_trtMgr) return nullptr;
35 const InDetDD::TRT_DetElementContainer* trtContainer = m_trtMgr->getDetectorElementContainer();
36 return cylindricalLayersImpl(trtContainer);
37}
const InDetDD::TRT_DetectorManager * m_trtMgr
the TRT Manager

◆ discLayers()

std::unique_ptr< const std::vector< Trk::DiscLayer * > > InDet::TRT_LayerBuilder::discLayers ( ) const
finaloverridevirtual

LayerBuilder interface method - returning Endcap-like layers.

Definition at line 41 of file TRT_LayerBuilder.cxx.

42{
43 if (!m_trtMgr) return nullptr;
44 const InDetDD::TRT_DetElementContainer* trtContainer = m_trtMgr->getDetectorElementContainer();
45 return discLayersImpl(trtContainer);
46}

◆ identification()

const std::string & InDet::TRT_LayerBuilder::identification ( ) const
inlinefinaloverridevirtual

Name identification.

Definition at line 68 of file TRT_LayerBuilder.h.

69 { return m_identification; }

◆ initialize()

StatusCode InDet::TRT_LayerBuilder::initialize ( )
finaloverridevirtual

AlgTool initialize method.

Definition at line 21 of file TRT_LayerBuilder.cxx.

22{
23 ATH_MSG_DEBUG( "initialize()" );
24 // get TRT Detector Description Manager
26 return StatusCode::SUCCESS;
27}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_DEBUG(x)
StringProperty m_trtMgrLocation
the location of the TRT Manager
retrieve(aClass, aKey=None)
Definition PyKernel.py:110

◆ planarLayers()

std::unique_ptr< const std::vector< Trk::PlaneLayer * > > InDet::TRT_LayerBuilder::planarLayers ( ) const
inlinefinaloverridevirtual

LayerBuilder interface method - returning Planar-like layers.

Definition at line 65 of file TRT_LayerBuilder.h.

66 { return nullptr; }

◆ TRT_VolumeBuilder

friend class TRT_VolumeBuilder
friend

Declare the TRT_VolumeBuilder as friend.

Definition at line 35 of file TRT_LayerBuilder.h.

Member Data Documentation

◆ m_trtMgr

const InDetDD::TRT_DetectorManager* InDet::TRT_LayerBuilder::m_trtMgr {}
private

the TRT Manager

Definition at line 61 of file TRT_LayerBuilder.h.

61{};

◆ m_trtMgrLocation

StringProperty InDet::TRT_LayerBuilder::m_trtMgrLocation {this, "TRT_DetManagerLocation", "TRT"}
private

the location of the TRT Manager

Definition at line 62 of file TRT_LayerBuilder.h.

62{this, "TRT_DetManagerLocation", "TRT"};

The documentation for this class was generated from the following files: