ATLAS Offline Software
Loading...
Searching...
No Matches
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
10
15
16#include <memory>
17#include <map>
18#include <string>
19
20class GeoPhysVol;
21class GeoFullPhysVol;
22class GeoAlignableTransform;
23
24class SCT_DataBase;
27class SCT_Options;
28
29namespace 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
Define macros for attributes used to control the static checker.
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated SCT in...
std::unique_ptr< SCT_GeometryManager > m_geometryManager
const SCT_DetectorFactoryLite & operator=(const SCT_DetectorFactoryLite &right)=delete
virtual void create(GeoPhysVol *world) override
SCT_DetectorFactoryLite(GeoModelIO::ReadGeoModel *sqliteReader, SCT_GeoModelAthenaComps *athenaComps, const SCT_Options &options)
std::map< std::string, GeoAlignableTransform * > AXFMap
InDetDD::SCT_DetectorManager * m_detectorManager
std::shared_ptr< AXFMap > m_mapAXF
std::unique_ptr< SCT_DataBase > m_db
std::shared_ptr< FPVMap > m_mapFPV
SCT_DetectorFactoryLite(const SCT_DetectorFactoryLite &right)=delete
virtual const InDetDD::SCT_DetectorManager * getDetectorManager() const override
GeoModelIO::ReadGeoModel * m_sqliteReader
virtual ~SCT_DetectorFactoryLite()=default
std::map< std::string, GeoFullPhysVol * > FPVMap
Class to hold various Athena components.