ATLAS Offline Software
Loading...
Searching...
No Matches
SCT_DetectorFactory.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_DETECTORFACTORY_H
6#define SCT_GEOMODEL_SCT_DETECTORFACTORY_H
7
12
13#include <memory>
14
15class GeoPhysVol;
16class SCT_DataBase;
20class 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
Define macros for attributes used to control the static checker.
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated SCT in...
InDetDD::SCT_DetectorManager * m_detectorManager
std::unique_ptr< SCT_MaterialManager > m_materials
SCT_DetectorFactory(const SCT_DetectorFactory &right)
std::unique_ptr< SCT_DataBase > m_db
const SCT_DetectorFactory & operator=(const SCT_DetectorFactory &right)
virtual void create(GeoPhysVol *world)
virtual const InDetDD::SCT_DetectorManager * getDetectorManager() const
std::unique_ptr< SCT_GeometryManager > m_geometryManager
SCT_DetectorFactory(SCT_GeoModelAthenaComps *athenaComps, const SCT_Options &options)
Class to hold various Athena components.