ATLAS Offline Software
SCT_DetectorFactoryLite.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 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 
12 #include "GeoModelKernel/GeoVDetectorFactory.h"
13 
14 #include <memory>
15 #include <map>
16 #include <string>
17 
18 class GeoPhysVol;
19 class GeoFullPhysVol;
20 class GeoAlignableTransform;
21 
22 class SCT_DataBase;
26 class SCT_Options;
27 
28 namespace GeoModelIO {
29  class ReadGeoModel;
30 }
31 
33 {
34 
35  public:
36  // Constructor
37  SCT_DetectorFactoryLite(GeoModelIO::ReadGeoModel *sqliteReader,SCT_GeoModelAthenaComps * athenaComps,
38  const SCT_Options & options);
39 
40  // Destructor
41  virtual ~SCT_DetectorFactoryLite();
42 
43  // Creation of geometry:
44  virtual void create(GeoPhysVol *world);
45 
46  // Access to the results:
47  virtual const InDetDD::SCT_DetectorManager * getDetectorManager() const;
48 
49  private:
50  // Copy and assignments operations illegal and so are made private
53 
54  // private member data:
55  GeoModelIO::ReadGeoModel *m_sqliteReader;
57  std::unique_ptr<SCT_GeometryManager> m_geometryManager;
58  std::unique_ptr<SCT_DataBase> m_db;
59  std::unique_ptr<SCT_MaterialManager> m_materials;
61 
62  std::shared_ptr<std::map<std::string, GeoFullPhysVol*>> m_mapFPV;
63  std::shared_ptr<std::map<std::string, GeoAlignableTransform*>> m_mapAX;
64 
65 
66 };
67 
68 #endif
69 
SCT_DetectorFactoryLite::m_useDynamicAlignFolders
bool m_useDynamicAlignFolders
Definition: SCT_DetectorFactoryLite.h:60
SCT_MaterialManager
Definition: SCT_MaterialManager.h:21
SCT_DetectorFactoryLite::m_materials
std::unique_ptr< SCT_MaterialManager > m_materials
Definition: SCT_DetectorFactoryLite.h:59
InDetDD::DetectorFactoryBase
Definition: InDetDetectorFactoryBase.h:20
InDetDD::SCT_DetectorManager
Definition: SCT_DetectorManager.h:49
SCT_DetectorFactoryLite
Definition: SCT_DetectorFactoryLite.h:33
SCT_Options
Definition: SCT_Options.h:12
SCT_DetectorFactoryLite::m_mapAX
std::shared_ptr< std::map< std::string, GeoAlignableTransform * > > m_mapAX
Definition: SCT_DetectorFactoryLite.h:63
SCT_DetectorFactoryLite::m_detectorManager
InDetDD::SCT_DetectorManager * m_detectorManager
Definition: SCT_DetectorFactoryLite.h:56
InDetDD_Defs.h
SCT_DataBase
Definition: SCT_DataBase.h:17
SCT_DetectorFactoryLite::SCT_DetectorFactoryLite
SCT_DetectorFactoryLite(const SCT_DetectorFactoryLite &right)
python.AtlRunQueryLib.options
options
Definition: AtlRunQueryLib.py:379
SCT_DetectorFactoryLite::m_mapFPV
std::shared_ptr< std::map< std::string, GeoFullPhysVol * > > m_mapFPV
Definition: SCT_DetectorFactoryLite.h:62
SCT_DetectorFactoryLite::~SCT_DetectorFactoryLite
virtual ~SCT_DetectorFactoryLite()
Definition: SCT_DetectorFactoryLite.cxx:142
GeoModelIO
Definition: IGeoDbTagSvc.h:12
SCT_DetectorFactoryLite::m_sqliteReader
GeoModelIO::ReadGeoModel * m_sqliteReader
Definition: SCT_DetectorFactoryLite.h:55
SCT_GeoModelAthenaComps
Class to hold various Athena components.
Definition: SCT_GeoModelAthenaComps.h:14
InDetDetectorFactoryBase.h
SCT_DetectorFactoryLite::SCT_DetectorFactoryLite
SCT_DetectorFactoryLite(GeoModelIO::ReadGeoModel *sqliteReader, SCT_GeoModelAthenaComps *athenaComps, const SCT_Options &options)
Definition: SCT_DetectorFactoryLite.cxx:74
SCT_DetectorFactoryLite::operator=
const SCT_DetectorFactoryLite & operator=(const SCT_DetectorFactoryLite &right)
SCT_DetectorManager.h
checker_macros.h
Define macros for attributes used to control the static checker.
SCT_DetectorFactoryLite::create
virtual void create(GeoPhysVol *world)
Definition: SCT_DetectorFactoryLite.cxx:148
SCT_DetectorFactoryLite::m_db
std::unique_ptr< SCT_DataBase > m_db
Definition: SCT_DetectorFactoryLite.h:58
SCT_GeometryManager
Definition: SCT_GeometryManager.h:25
SCT_DetectorFactoryLite::m_geometryManager
std::unique_ptr< SCT_GeometryManager > m_geometryManager
Definition: SCT_DetectorFactoryLite.h:57
SCT_DetectorFactoryLite::getDetectorManager
virtual const InDetDD::SCT_DetectorManager * getDetectorManager() const
Definition: SCT_DetectorFactoryLite.cxx:338