ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
SCT_GeometryManager Class Reference

#include <SCT_GeometryManager.h>

Collaboration diagram for SCT_GeometryManager:

Public Member Functions

 SCT_GeometryManager (SCT_DataBase *rdb)
 
 ~SCT_GeometryManager ()
 
const SCT_Optionsoptions () const
 
void setOptions (const SCT_Options &options)
 
const SCT_GeoModelAthenaCompsathenaComps () const
 
const InDetDD::SiCommonItemscommonItems () const
 
void setCommonItems (const InDetDD::SiCommonItems *commonItems)
 
const SCT_BarrelParametersbarrelParameters () const
 
const SCT_BarrelModuleParametersbarrelModuleParameters () const
 
const SCT_ForwardParametersforwardParameters () const
 
const SCT_ForwardModuleParametersforwardModuleParameters () const
 
const SCT_GeneralParametersgeneralParameters () const
 
InDetDD::DistortedMaterialManagerdistortedMatManager () const
 
SCT_GeometryManageroperator= (const SCT_GeometryManager &right)
 
 SCT_GeometryManager (const SCT_GeometryManager &right)
 

Private Attributes

SCT_Options m_options
 
const SCT_GeoModelAthenaCompsm_athenaComps
 
const InDetDD::SiCommonItemsm_commonItems
 
SCT_DataBasem_rdb
 
std::unique_ptr< SCT_BarrelParametersm_barrelParameters
 
std::unique_ptr< SCT_BarrelModuleParametersm_barrelModuleParameters
 
std::unique_ptr< SCT_ForwardParametersm_forwardParameters
 
std::unique_ptr< SCT_ForwardModuleParametersm_forwardModuleParameters
 
std::unique_ptr< SCT_GeneralParametersm_generalParameters
 
std::unique_ptr< InDetDD::DistortedMaterialManagerm_distortedMatManager
 

Detailed Description

Definition at line 25 of file SCT_GeometryManager.h.

Constructor & Destructor Documentation

◆ SCT_GeometryManager() [1/2]

SCT_GeometryManager::SCT_GeometryManager ( SCT_DataBase rdb)

Definition at line 22 of file SCT_GeometryManager.cxx.

23  : m_athenaComps{rdb->athenaComps()},
24  m_commonItems{nullptr},
25  m_rdb{rdb},
26  // This class uses reference counting. Should not be delete'd in destructor.
27  m_barrelParameters (std::make_unique<SCT_BarrelParameters>(m_rdb)),
28  m_barrelModuleParameters (std::make_unique<SCT_BarrelModuleParameters>(m_rdb)),
29  m_forwardParameters (std::make_unique<SCT_ForwardParameters>(m_rdb)),
30  m_forwardModuleParameters (std::make_unique<SCT_ForwardModuleParameters>(m_rdb)),
31  m_generalParameters (std::make_unique<SCT_GeneralParameters>(m_rdb)),
32  m_distortedMatManager (std::make_unique<InDetDD::DistortedMaterialManager>())
33 {
34 }

◆ ~SCT_GeometryManager()

SCT_GeometryManager::~SCT_GeometryManager ( )

Definition at line 36 of file SCT_GeometryManager.cxx.

37 {
38 }

◆ SCT_GeometryManager() [2/2]

SCT_GeometryManager::SCT_GeometryManager ( const SCT_GeometryManager right)

Member Function Documentation

◆ athenaComps()

const SCT_GeoModelAthenaComps * SCT_GeometryManager::athenaComps ( ) const

Definition at line 56 of file SCT_GeometryManager.cxx.

57 {
58  return m_athenaComps;
59 }

◆ barrelModuleParameters()

const SCT_BarrelModuleParameters * SCT_GeometryManager::barrelModuleParameters ( ) const

Definition at line 84 of file SCT_GeometryManager.cxx.

85 {
86  return m_barrelModuleParameters.get();
87 }

◆ barrelParameters()

const SCT_BarrelParameters * SCT_GeometryManager::barrelParameters ( ) const

Definition at line 78 of file SCT_GeometryManager.cxx.

79 {
80  return m_barrelParameters.get();
81 }

◆ commonItems()

const InDetDD::SiCommonItems * SCT_GeometryManager::commonItems ( ) const

Definition at line 66 of file SCT_GeometryManager.cxx.

67 {
68  return m_commonItems;
69 }

◆ distortedMatManager()

InDetDD::DistortedMaterialManager * SCT_GeometryManager::distortedMatManager ( ) const

Definition at line 111 of file SCT_GeometryManager.cxx.

112 {
113  return m_distortedMatManager.get();
114 }

◆ forwardModuleParameters()

const SCT_ForwardModuleParameters * SCT_GeometryManager::forwardModuleParameters ( ) const

Definition at line 91 of file SCT_GeometryManager.cxx.

92 {
93  return m_forwardModuleParameters.get();
94 }

◆ forwardParameters()

const SCT_ForwardParameters * SCT_GeometryManager::forwardParameters ( ) const

Definition at line 98 of file SCT_GeometryManager.cxx.

99 {
100  return m_forwardParameters.get();
101 }

◆ generalParameters()

const SCT_GeneralParameters * SCT_GeometryManager::generalParameters ( ) const

Definition at line 105 of file SCT_GeometryManager.cxx.

106 {
107  return m_generalParameters.get();
108 }

◆ operator=()

SCT_GeometryManager & SCT_GeometryManager::operator= ( const SCT_GeometryManager right)

Definition at line 117 of file SCT_GeometryManager.cxx.

117  {
118  if (this != &right) {
119  m_options = right.m_options;
122  m_rdb = right.m_rdb;
123  m_barrelParameters = std::make_unique<SCT_BarrelParameters>(m_rdb);
124  m_barrelModuleParameters = std::make_unique<SCT_BarrelModuleParameters>(m_rdb);
125  m_forwardParameters = std::make_unique<SCT_ForwardParameters>(m_rdb);
126  m_forwardModuleParameters = std::make_unique<SCT_ForwardModuleParameters>(m_rdb);
127  m_generalParameters = std::make_unique<SCT_GeneralParameters>(m_rdb);
128  m_distortedMatManager = std::make_unique<InDetDD::DistortedMaterialManager>();
129  }
130  return *this;
131 }

◆ options()

const SCT_Options & SCT_GeometryManager::options ( ) const

Definition at line 44 of file SCT_GeometryManager.cxx.

45 {
46  return m_options;
47 }

◆ setCommonItems()

void SCT_GeometryManager::setCommonItems ( const InDetDD::SiCommonItems commonItems)

Definition at line 72 of file SCT_GeometryManager.cxx.

73 {
75 }

◆ setOptions()

void SCT_GeometryManager::setOptions ( const SCT_Options options)

Definition at line 50 of file SCT_GeometryManager.cxx.

51 {
53 }

Member Data Documentation

◆ m_athenaComps

const SCT_GeoModelAthenaComps* SCT_GeometryManager::m_athenaComps
private

Definition at line 59 of file SCT_GeometryManager.h.

◆ m_barrelModuleParameters

std::unique_ptr<SCT_BarrelModuleParameters> SCT_GeometryManager::m_barrelModuleParameters
private

Definition at line 64 of file SCT_GeometryManager.h.

◆ m_barrelParameters

std::unique_ptr<SCT_BarrelParameters> SCT_GeometryManager::m_barrelParameters
private

Definition at line 63 of file SCT_GeometryManager.h.

◆ m_commonItems

const InDetDD::SiCommonItems* SCT_GeometryManager::m_commonItems
private

Definition at line 60 of file SCT_GeometryManager.h.

◆ m_distortedMatManager

std::unique_ptr<InDetDD::DistortedMaterialManager> SCT_GeometryManager::m_distortedMatManager
private

Definition at line 68 of file SCT_GeometryManager.h.

◆ m_forwardModuleParameters

std::unique_ptr<SCT_ForwardModuleParameters> SCT_GeometryManager::m_forwardModuleParameters
private

Definition at line 66 of file SCT_GeometryManager.h.

◆ m_forwardParameters

std::unique_ptr<SCT_ForwardParameters> SCT_GeometryManager::m_forwardParameters
private

Definition at line 65 of file SCT_GeometryManager.h.

◆ m_generalParameters

std::unique_ptr<SCT_GeneralParameters> SCT_GeometryManager::m_generalParameters
private

Definition at line 67 of file SCT_GeometryManager.h.

◆ m_options

SCT_Options SCT_GeometryManager::m_options
private

Definition at line 58 of file SCT_GeometryManager.h.

◆ m_rdb

SCT_DataBase* SCT_GeometryManager::m_rdb
private

Definition at line 61 of file SCT_GeometryManager.h.


The documentation for this class was generated from the following files:
SCT_GeometryManager::m_barrelModuleParameters
std::unique_ptr< SCT_BarrelModuleParameters > m_barrelModuleParameters
Definition: SCT_GeometryManager.h:64
SCT_GeometryManager::m_commonItems
const InDetDD::SiCommonItems * m_commonItems
Definition: SCT_GeometryManager.h:60
SCT_GeometryManager::m_forwardModuleParameters
std::unique_ptr< SCT_ForwardModuleParameters > m_forwardModuleParameters
Definition: SCT_GeometryManager.h:66
SCT_GeometryManager::m_generalParameters
std::unique_ptr< SCT_GeneralParameters > m_generalParameters
Definition: SCT_GeometryManager.h:67
SCT_GeometryManager::m_athenaComps
const SCT_GeoModelAthenaComps * m_athenaComps
Definition: SCT_GeometryManager.h:59
SCT_GeometryManager::commonItems
const InDetDD::SiCommonItems * commonItems() const
Definition: SCT_GeometryManager.cxx:66
InDetDD::DistortedMaterialManager
Definition: DistortedMaterialManager.h:15
SCT_GeometryManager::m_distortedMatManager
std::unique_ptr< InDetDD::DistortedMaterialManager > m_distortedMatManager
Definition: SCT_GeometryManager.h:68
SCT_GeometryManager::m_barrelParameters
std::unique_ptr< SCT_BarrelParameters > m_barrelParameters
Definition: SCT_GeometryManager.h:63
SCT_ForwardModuleParameters
Definition: SCT_ForwardModuleParameters.h:12
SCT_GeometryManager::options
const SCT_Options & options() const
Definition: SCT_GeometryManager.cxx:44
SCT_GeneralParameters
Definition: SCT_GeneralParameters.h:16
SCT_GeometryManager::m_options
SCT_Options m_options
Definition: SCT_GeometryManager.h:58
SCT_DataBase::athenaComps
SCT_GeoModelAthenaComps * athenaComps()
Definition: SCT_DataBase.cxx:184
SCT_GeometryManager::m_rdb
SCT_DataBase * m_rdb
Definition: SCT_GeometryManager.h:61
SCT_BarrelModuleParameters
Definition: SCT_BarrelModuleParameters.h:12
SCT_BarrelParameters
Definition: SCT_BarrelParameters.h:12
SCT_GeometryManager::m_forwardParameters
std::unique_ptr< SCT_ForwardParameters > m_forwardParameters
Definition: SCT_GeometryManager.h:65
SCT_ForwardParameters
Definition: SCT_ForwardParameters.h:16