ATLAS Offline Software
PixelDetectorFactory.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef PixelDetectorFactory_h
6 #define PixelDetectorFactory_h
7 
8 
10 // readout includes:
14 
15 class PixelSwitches;
18 
20 
21  public:
22 
23  // Constructor:
25  const PixelSwitches & switches);
26 
27  // Destructor:
29 
30  // Creation of geometry:
31  virtual void create(GeoPhysVol *world);
32 
33  // Access to the results:
34  virtual const InDetDD::PixelDetectorManager * getDetectorManager() const;
35 
36 
37  private:
38 
39  // Illegal operations:
42  // private data
43  InDetDD::PixelDetectorManager *m_detectorManager = nullptr; //ownership handed to caller
44  std::unique_ptr<PixelGeometryManager> m_geometryManager;
45 
46  void doChecks();
47 
48 private:
50 
51 };
52 
53 // Class PixelDetectorFactory
54 #endif
55 
56 
PixelDetectorFactory::getDetectorManager
virtual const InDetDD::PixelDetectorManager * getDetectorManager() const
Definition: PixelDetectorFactory.cxx:212
InDetDD::DetectorFactoryBase
Definition: InDetDetectorFactoryBase.h:20
PixelDetectorFactory::m_useDynamicAlignFolders
bool m_useDynamicAlignFolders
Definition: PixelDetectorFactory.h:49
PixelGeometryManager
Definition: PixelGeometryManager.h:28
PixelSwitches
Definition: PixelSwitches.h:13
PixelDetectorFactory::m_geometryManager
std::unique_ptr< PixelGeometryManager > m_geometryManager
Definition: PixelDetectorFactory.h:44
PixelDetectorFactory::~PixelDetectorFactory
~PixelDetectorFactory()
Definition: PixelDetectorFactory.cxx:106
PixelDetectorFactory
Definition: PixelDetectorFactory.h:19
InDetDD_Defs.h
PixelDetectorManager.h
PixelDetectorFactory::operator=
const PixelDetectorFactory & operator=(const PixelDetectorFactory &right)
PixelDetectorFactory::PixelDetectorFactory
PixelDetectorFactory(const PixelDetectorFactory &right)
InDetDD::PixelDetectorManager
Definition: PixelDetectorManager.h:47
PixelDetectorFactory::m_detectorManager
InDetDD::PixelDetectorManager * m_detectorManager
Definition: PixelDetectorFactory.h:43
PixelDetectorFactory::create
virtual void create(GeoPhysVol *world)
Definition: PixelDetectorFactory.cxx:112
PixelGeoModelAthenaComps
Class to hold various Athena components.
Definition: PixelGeoModelAthenaComps.h:16
PixelDetectorFactory::PixelDetectorFactory
PixelDetectorFactory(PixelGeoModelAthenaComps *athenaComps, const PixelSwitches &switches)
Definition: PixelDetectorFactory.cxx:35
InDetDetectorFactoryBase.h
PixelDetectorFactory::doChecks
void doChecks()
Definition: PixelDetectorFactory.cxx:218
checker_macros.h
Define macros for attributes used to control the static checker.