ATLAS Offline Software
SCT_DetectorFactory.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_DETECTORFACTORY_H
6 #define SCT_GEOMODEL_SCT_DETECTORFACTORY_H
7 
12 
13 #include <memory>
14 
15 class GeoPhysVol;
16 class SCT_DataBase;
20 class SCT_Options;
21 
23 {
24 
25  public:
26  // Constructor
28  const SCT_Options & options);
29 
30  // Destructor
31  virtual ~SCT_DetectorFactory();
32 
33  // Creation of geometry:
34  virtual void create(GeoPhysVol *world);
35 
36  // Access to the results:
37  virtual const InDetDD::SCT_DetectorManager * getDetectorManager() const;
38 
39  private:
40  // Copy and assignments operations illegal and so are made private
43 
45  std::unique_ptr<SCT_GeometryManager> m_geometryManager;
46  std::unique_ptr<SCT_DataBase> m_db;
47  std::unique_ptr<SCT_MaterialManager> m_materials;
49 
50 };
51 
52 #endif
53 
SCT_DetectorFactory
Definition: SCT_DetectorFactory.h:23
SCT_DetectorFactory::getDetectorManager
virtual const InDetDD::SCT_DetectorManager * getDetectorManager() const
Definition: SCT_DetectorFactory.cxx:357
SCT_MaterialManager
Definition: SCT_MaterialManager.h:21
InDetDD::DetectorFactoryBase
Definition: InDetDetectorFactoryBase.h:20
InDetDD::SCT_DetectorManager
Definition: SCT_DetectorManager.h:49
SCT_DetectorFactory::m_detectorManager
InDetDD::SCT_DetectorManager * m_detectorManager
Definition: SCT_DetectorFactory.h:44
SCT_DetectorFactory::create
virtual void create(GeoPhysVol *world)
Definition: SCT_DetectorFactory.cxx:134
SCT_Options
Definition: SCT_Options.h:12
SCT_DetectorFactory::SCT_DetectorFactory
SCT_DetectorFactory(SCT_GeoModelAthenaComps *athenaComps, const SCT_Options &options)
Definition: SCT_DetectorFactory.cxx:67
InDetDD_Defs.h
SCT_DetectorFactory::m_materials
std::unique_ptr< SCT_MaterialManager > m_materials
Definition: SCT_DetectorFactory.h:47
SCT_DataBase
Definition: SCT_DataBase.h:17
SCT_DetectorFactory::operator=
const SCT_DetectorFactory & operator=(const SCT_DetectorFactory &right)
python.AtlRunQueryLib.options
options
Definition: AtlRunQueryLib.py:379
SCT_DetectorFactory::m_useDynamicAlignFolders
bool m_useDynamicAlignFolders
Definition: SCT_DetectorFactory.h:48
SCT_DetectorFactory::m_db
std::unique_ptr< SCT_DataBase > m_db
Definition: SCT_DetectorFactory.h:46
SCT_DetectorFactory::~SCT_DetectorFactory
virtual ~SCT_DetectorFactory()
Definition: SCT_DetectorFactory.cxx:128
SCT_DetectorFactory::m_geometryManager
std::unique_ptr< SCT_GeometryManager > m_geometryManager
Definition: SCT_DetectorFactory.h:45
SCT_GeoModelAthenaComps
Class to hold various Athena components.
Definition: SCT_GeoModelAthenaComps.h:14
InDetDetectorFactoryBase.h
SCT_DetectorFactory::SCT_DetectorFactory
SCT_DetectorFactory(const SCT_DetectorFactory &right)
SCT_DetectorManager.h
checker_macros.h
Define macros for attributes used to control the static checker.
SCT_GeometryManager
Definition: SCT_GeometryManager.h:25