ATLAS Offline Software
SCT_DetectorFactoryLite.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 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 
10 
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;
27 class SCT_Options;
28 
29 namespace GeoModelIO {
30  class ReadGeoModel;
31 }
32 
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
54 
55  // private member data:
56  GeoModelIO::ReadGeoModel *m_sqliteReader{nullptr};
58  std::unique_ptr<SCT_GeometryManager> m_geometryManager;
59  std::unique_ptr<SCT_DataBase> m_db;
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 
SCT_DetectorFactoryLite::m_useDynamicAlignFolders
bool m_useDynamicAlignFolders
Definition: SCT_DetectorFactoryLite.h:60
SCT_MaterialManager
Definition: SCT_MaterialManager.h:21
InDetDD::DetectorFactoryBase
Definition: InDetDetectorFactoryBase.h:20
InDetDD::SCT_DetectorManager
Definition: SCT_DetectorManager.h:49
SCT_DetectorFactoryLite::m_mapFPV
std::shared_ptr< FPVMap > m_mapFPV
Definition: SCT_DetectorFactoryLite.h:65
SCT_DetectorFactoryLite
Definition: SCT_DetectorFactoryLite.h:34
SCT_DetectorFactoryLite::FPVMap
std::map< std::string, GeoFullPhysVol * > FPVMap
Definition: SCT_DetectorFactoryLite.h:62
SCT_DetectorFactoryLite::m_mapAXF
std::shared_ptr< AXFMap > m_mapAXF
Definition: SCT_DetectorFactoryLite.h:66
SCT_Options
Definition: SCT_Options.h:12
SCT_DetectorFactoryLite::m_detectorManager
InDetDD::SCT_DetectorManager * m_detectorManager
Definition: SCT_DetectorFactoryLite.h:57
InDetDD_Defs.h
SCT_DataBase
Definition: SCT_DataBase.h:17
python.AtlRunQueryLib.options
options
Definition: AtlRunQueryLib.py:379
SCT_DetectorFactoryLite::getDetectorManager
virtual const InDetDD::SCT_DetectorManager * getDetectorManager() const override
Definition: SCT_DetectorFactoryLite.cxx:309
GeoModelIO
Definition: IGeoDbTagSvc.h:12
SCT_DetectorFactoryLite::m_sqliteReader
GeoModelIO::ReadGeoModel * m_sqliteReader
Definition: SCT_DetectorFactoryLite.h:56
SCT_DetectorFactoryLite::create
virtual void create(GeoPhysVol *world) override
Definition: SCT_DetectorFactoryLite.cxx:119
SCT_GeoModelAthenaComps
Class to hold various Athena components.
Definition: SCT_GeoModelAthenaComps.h:14
SCT_DetectorFactoryLite::AXFMap
std::map< std::string, GeoAlignableTransform * > AXFMap
Definition: SCT_DetectorFactoryLite.h:63
InDetDetectorFactoryBase.h
SCT_DetectorFactoryLite::SCT_DetectorFactoryLite
SCT_DetectorFactoryLite(GeoModelIO::ReadGeoModel *sqliteReader, SCT_GeoModelAthenaComps *athenaComps, const SCT_Options &options)
Definition: SCT_DetectorFactoryLite.cxx:65
AthMessaging.h
SCT_DetectorFactoryLite::operator=
const SCT_DetectorFactoryLite & operator=(const SCT_DetectorFactoryLite &right)=delete
SCT_DetectorFactoryLite::~SCT_DetectorFactoryLite
virtual ~SCT_DetectorFactoryLite()=default
SCT_DetectorManager.h
checker_macros.h
Define macros for attributes used to control the static checker.
SCT_GeometryManager.h
SCT_DetectorFactoryLite::m_db
std::unique_ptr< SCT_DataBase > m_db
Definition: SCT_DetectorFactoryLite.h:59
SCT_DetectorFactoryLite::m_geometryManager
std::unique_ptr< SCT_GeometryManager > m_geometryManager
Definition: SCT_DetectorFactoryLite.h:58
SCT_DetectorFactoryLite::SCT_DetectorFactoryLite
SCT_DetectorFactoryLite(const SCT_DetectorFactoryLite &right)=delete