ATLAS Offline Software
Loading...
Searching...
No Matches
SCT_UniqueComponentFactory Class Referenceabstract

#include <SCT_ComponentFactory.h>

Inherits SCT_ComponentFactory.

Inherited by SCT_Barrel, SCT_Forward, SCT_FwdModule, SCT_FwdRing, SCT_FwdSensor, SCT_FwdWheel, SCT_InnerSide, SCT_Layer, SCT_Module, SCT_OuterSide, SCT_Sensor, and SCT_Ski.

Collaboration diagram for SCT_UniqueComponentFactory:

Public Member Functions

 SCT_UniqueComponentFactory (const std::string &name, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials=nullptr, GeoModelIO::ReadGeoModel *sqliteReader=nullptr, std::shared_ptr< std::map< std::string, GeoFullPhysVol * > > mapFPV=nullptr, std::shared_ptr< std::map< std::string, GeoAlignableTransform * > > mapAX=nullptr)
virtual GeoVPhysVol * build (SCT_Identifier id)=0
const std::string & getName () const

Protected Member Functions

virtual const GeoLogVol * preBuild ()=0
double epsilon () const

Protected Attributes

const GeoLogVol * m_logVolume {}
GeoModelIO::ReadGeoModel * m_sqliteReader {}
std::shared_ptr< std::map< std::string, GeoFullPhysVol * > > m_mapFPV
std::shared_ptr< std::map< std::string, GeoAlignableTransform * > > m_mapAX
InDetDD::SCT_DetectorManagerm_detectorManager {}
SCT_GeometryManagerm_geometryManager {}
SCT_MaterialManagerm_materials {}

Private Attributes

std::string m_name

Static Private Attributes

static const double s_epsilon = 1.0e-6 * Gaudi::Units::mm

Detailed Description

Definition at line 71 of file SCT_ComponentFactory.h.

Constructor & Destructor Documentation

◆ SCT_UniqueComponentFactory()

SCT_UniqueComponentFactory::SCT_UniqueComponentFactory ( const std::string & name,
InDetDD::SCT_DetectorManager * detectorManager,
SCT_GeometryManager * geometryManager,
SCT_MaterialManager * materials = nullptr,
GeoModelIO::ReadGeoModel * sqliteReader = nullptr,
std::shared_ptr< std::map< std::string, GeoFullPhysVol * > > mapFPV = nullptr,
std::shared_ptr< std::map< std::string, GeoAlignableTransform * > > mapAX = nullptr )

Definition at line 34 of file SCT_ComponentFactory.cxx.

40 :
41 SCT_ComponentFactory(name, detectorManager, geometryManager, materials),
42 m_logVolume(nullptr),
43 m_sqliteReader(sqliteReader),
44 m_mapFPV(std::move(mapFPV)),
45 m_mapAX(std::move(mapAX))
46{};
SCT_ComponentFactory(const std::string &name, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials)
std::shared_ptr< std::map< std::string, GeoFullPhysVol * > > m_mapFPV
std::shared_ptr< std::map< std::string, GeoAlignableTransform * > > m_mapAX
GeoModelIO::ReadGeoModel * m_sqliteReader

Member Function Documentation

◆ build()

virtual GeoVPhysVol * SCT_UniqueComponentFactory::build ( SCT_Identifier id)
pure virtual

◆ epsilon()

double SCT_ComponentFactory::epsilon ( ) const
protectedinherited

Definition at line 28 of file SCT_ComponentFactory.cxx.

29{
30 return s_epsilon;
31}
static const double s_epsilon

◆ getName()

const std::string & SCT_ComponentFactory::getName ( ) const
inlineinherited

Definition at line 35 of file SCT_ComponentFactory.h.

35{return m_name;}

◆ preBuild()

virtual const GeoLogVol * SCT_UniqueComponentFactory::preBuild ( )
protectedpure virtual

Member Data Documentation

◆ m_detectorManager

InDetDD::SCT_DetectorManager* SCT_ComponentFactory::m_detectorManager {}
protectedinherited

Definition at line 38 of file SCT_ComponentFactory.h.

38{};

◆ m_geometryManager

SCT_GeometryManager* SCT_ComponentFactory::m_geometryManager {}
protectedinherited

Definition at line 39 of file SCT_ComponentFactory.h.

39{};

◆ m_logVolume

const GeoLogVol* SCT_UniqueComponentFactory::m_logVolume {}
protected

Definition at line 86 of file SCT_ComponentFactory.h.

86{};

◆ m_mapAX

std::shared_ptr<std::map<std::string, GeoAlignableTransform*> > SCT_UniqueComponentFactory::m_mapAX
protected

Definition at line 92 of file SCT_ComponentFactory.h.

◆ m_mapFPV

std::shared_ptr<std::map<std::string, GeoFullPhysVol*> > SCT_UniqueComponentFactory::m_mapFPV
protected

Definition at line 91 of file SCT_ComponentFactory.h.

◆ m_materials

SCT_MaterialManager* SCT_ComponentFactory::m_materials {}
protectedinherited

Definition at line 40 of file SCT_ComponentFactory.h.

40{};

◆ m_name

std::string SCT_ComponentFactory::m_name
privateinherited

Definition at line 46 of file SCT_ComponentFactory.h.

◆ m_sqliteReader

GeoModelIO::ReadGeoModel* SCT_UniqueComponentFactory::m_sqliteReader {}
protected

Definition at line 87 of file SCT_ComponentFactory.h.

87{};

◆ s_epsilon

const double SCT_ComponentFactory::s_epsilon = 1.0e-6 * Gaudi::Units::mm
staticprivateinherited

Definition at line 47 of file SCT_ComponentFactory.h.


The documentation for this class was generated from the following files: