ATLAS Offline Software
Loading...
Searching...
No Matches
SCT_GeometryManager.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#include <memory>
6
7
8
10
16#include "SCT_DataBase.h"
21
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.
32 m_distortedMatManager (std::make_unique<InDetDD::DistortedMaterialManager>())
33{
34}
35
39
40//
41// Access to run time options.
42//
43const SCT_Options &
45{
46 return m_options;
47}
48
49void
54
60
61//
62// SiCommonItems which are passed to SiDetectorElements.
63//
64
70
71void
76
82
88
89
95
96
102
103
109
115
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}
132
This is an Identifier helper class for the SCT subdetector.
Helper class to concentrate common items, such as the pointer to the IdHelper, the lorentzAngle tool ...
Class to hold various Athena components.
const SCT_ForwardParameters * forwardParameters() const
SCT_GeometryManager(SCT_DataBase *rdb)
std::unique_ptr< SCT_BarrelParameters > m_barrelParameters
const InDetDD::SiCommonItems * commonItems() const
const SCT_GeoModelAthenaComps * m_athenaComps
const InDetDD::SiCommonItems * m_commonItems
InDetDD::DistortedMaterialManager * distortedMatManager() const
std::unique_ptr< SCT_BarrelModuleParameters > m_barrelModuleParameters
const SCT_BarrelModuleParameters * barrelModuleParameters() const
std::unique_ptr< SCT_ForwardParameters > m_forwardParameters
const SCT_Options & options() const
SCT_GeometryManager & operator=(const SCT_GeometryManager &right)
std::unique_ptr< InDetDD::DistortedMaterialManager > m_distortedMatManager
std::unique_ptr< SCT_GeneralParameters > m_generalParameters
const SCT_BarrelParameters * barrelParameters() const
const SCT_GeneralParameters * generalParameters() const
const SCT_GeoModelAthenaComps * athenaComps() const
std::unique_ptr< SCT_ForwardModuleParameters > m_forwardModuleParameters
void setOptions(const SCT_Options &options)
const SCT_ForwardModuleParameters * forwardModuleParameters() const
void setCommonItems(const InDetDD::SiCommonItems *commonItems)
Message Stream Member.
STL namespace.