ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetDetDescr
SCT_GeoModel
src
SCT_DetectorFactoryLite.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef SCT_GEOMODEL_SCT_DETECTORFACTORYLITE_H
6
#define SCT_GEOMODEL_SCT_DETECTORFACTORYLITE_H
7
8
#include "
SCT_ReadoutGeometry/SCT_DetectorManager.h
"
9
#include "
SCT_GeometryManager.h
"
10
11
#include "
InDetGeoModelUtils/InDetDetectorFactoryBase.h
"
12
#include "
ReadoutGeometryBase/InDetDD_Defs.h
"
13
#include "
CxxUtils/checker_macros.h
"
14
#include "
AthenaBaseComps/AthMessaging.h
"
15
16
#include <memory>
17
#include <map>
18
#include <string>
19
20
class
GeoPhysVol;
21
class
GeoFullPhysVol;
22
class
GeoAlignableTransform;
23
24
class
SCT_DataBase
;
25
class
SCT_GeoModelAthenaComps
;
26
class
SCT_MaterialManager
;
27
class
SCT_Options
;
28
29
namespace
GeoModelIO
{
30
class
ReadGeoModel;
31
}
32
33
class
SCT_DetectorFactoryLite
:
public
InDetDD::DetectorFactoryBase
34
{
35
36
public
:
37
// Constructor
38
SCT_DetectorFactoryLite
(GeoModelIO::ReadGeoModel *sqliteReader,
SCT_GeoModelAthenaComps
* athenaComps,
39
const
SCT_Options
& options);
40
41
// Destructor
42
virtual
~SCT_DetectorFactoryLite
() =
default
;
43
44
// Creation of geometry:
45
virtual
void
create
(GeoPhysVol *world)
override
;
46
47
// Access to the results:
48
virtual
const
InDetDD::SCT_DetectorManager
*
getDetectorManager
()
const override
;
49
50
private
:
51
// Copy and assignments operations illegal and so are made private
52
SCT_DetectorFactoryLite
(
const
SCT_DetectorFactoryLite
&right) =
delete
;
53
const
SCT_DetectorFactoryLite
&
operator=
(
const
SCT_DetectorFactoryLite
&right) =
delete
;
54
55
// private member data:
56
GeoModelIO::ReadGeoModel *
m_sqliteReader
{
nullptr
};
57
InDetDD::SCT_DetectorManager
*
m_detectorManager
{
nullptr
};
58
std::unique_ptr<SCT_GeometryManager>
m_geometryManager
;
59
std::unique_ptr<SCT_DataBase>
m_db
;
60
bool
m_useDynamicAlignFolders
{
false
};
61
62
using
FPVMap
= std::map<std::string, GeoFullPhysVol*>;
63
using
AXFMap
= std::map<std::string, GeoAlignableTransform*>;
64
65
std::shared_ptr<FPVMap>
m_mapFPV
;
66
std::shared_ptr<AXFMap>
m_mapAXF
;
67
};
68
69
#endif
70
AthMessaging.h
InDetDD_Defs.h
InDetDetectorFactoryBase.h
SCT_DetectorManager.h
SCT_GeometryManager.h
checker_macros.h
Define macros for attributes used to control the static checker.
InDetDD::DetectorFactoryBase
Definition
InDetDetectorFactoryBase.h:20
InDetDD::SCT_DetectorManager
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated SCT in...
Definition
SCT_DetectorManager.h:50
SCT_DataBase
Definition
SCT_DataBase.h:17
SCT_DetectorFactoryLite::m_useDynamicAlignFolders
bool m_useDynamicAlignFolders
Definition
SCT_DetectorFactoryLite.h:60
SCT_DetectorFactoryLite::m_geometryManager
std::unique_ptr< SCT_GeometryManager > m_geometryManager
Definition
SCT_DetectorFactoryLite.h:58
SCT_DetectorFactoryLite::operator=
const SCT_DetectorFactoryLite & operator=(const SCT_DetectorFactoryLite &right)=delete
SCT_DetectorFactoryLite::create
virtual void create(GeoPhysVol *world) override
Definition
SCT_DetectorFactoryLite.cxx:119
SCT_DetectorFactoryLite::SCT_DetectorFactoryLite
SCT_DetectorFactoryLite(GeoModelIO::ReadGeoModel *sqliteReader, SCT_GeoModelAthenaComps *athenaComps, const SCT_Options &options)
Definition
SCT_DetectorFactoryLite.cxx:65
SCT_DetectorFactoryLite::AXFMap
std::map< std::string, GeoAlignableTransform * > AXFMap
Definition
SCT_DetectorFactoryLite.h:63
SCT_DetectorFactoryLite::m_detectorManager
InDetDD::SCT_DetectorManager * m_detectorManager
Definition
SCT_DetectorFactoryLite.h:57
SCT_DetectorFactoryLite::m_mapAXF
std::shared_ptr< AXFMap > m_mapAXF
Definition
SCT_DetectorFactoryLite.h:66
SCT_DetectorFactoryLite::m_db
std::unique_ptr< SCT_DataBase > m_db
Definition
SCT_DetectorFactoryLite.h:59
SCT_DetectorFactoryLite::m_mapFPV
std::shared_ptr< FPVMap > m_mapFPV
Definition
SCT_DetectorFactoryLite.h:65
SCT_DetectorFactoryLite::SCT_DetectorFactoryLite
SCT_DetectorFactoryLite(const SCT_DetectorFactoryLite &right)=delete
SCT_DetectorFactoryLite::getDetectorManager
virtual const InDetDD::SCT_DetectorManager * getDetectorManager() const override
Definition
SCT_DetectorFactoryLite.cxx:309
SCT_DetectorFactoryLite::m_sqliteReader
GeoModelIO::ReadGeoModel * m_sqliteReader
Definition
SCT_DetectorFactoryLite.h:56
SCT_DetectorFactoryLite::~SCT_DetectorFactoryLite
virtual ~SCT_DetectorFactoryLite()=default
SCT_DetectorFactoryLite::FPVMap
std::map< std::string, GeoFullPhysVol * > FPVMap
Definition
SCT_DetectorFactoryLite.h:62
SCT_GeoModelAthenaComps
Class to hold various Athena components.
Definition
SCT_GeoModelAthenaComps.h:14
SCT_MaterialManager
Definition
SCT_MaterialManager.h:21
SCT_Options
Definition
SCT_Options.h:12
GeoModelIO
Definition
IGeoDbTagSvc.h:12
Generated on
for ATLAS Offline Software by
1.17.0