ATLAS Offline Software
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | Static Private Attributes | List of all members
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
 
std::string intToString (int i) 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 75 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 43 of file SCT_ComponentFactory.cxx.

49  :
50  SCT_ComponentFactory(name, detectorManager, geometryManager, materials),
51  m_logVolume(nullptr),
52  m_sqliteReader(sqliteReader),
53  m_mapFPV(mapFPV),
54  m_mapAX(mapAX)
55 {};

Member Function Documentation

◆ build()

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

◆ epsilon()

double SCT_ComponentFactory::epsilon ( ) const
protectedinherited

Definition at line 37 of file SCT_ComponentFactory.cxx.

38 {
39  return s_epsilon;
40 }

◆ getName()

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

Definition at line 35 of file SCT_ComponentFactory.h.

35 {return m_name;}

◆ intToString()

std::string SCT_ComponentFactory::intToString ( int  i) const
inherited

Definition at line 29 of file SCT_ComponentFactory.cxx.

30 {
31  std::ostringstream str;
32  str << i;
33  return str.str();
34 }

◆ 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 41 of file SCT_ComponentFactory.h.

◆ m_geometryManager

SCT_GeometryManager* SCT_ComponentFactory::m_geometryManager
protectedinherited

Definition at line 42 of file SCT_ComponentFactory.h.

◆ m_logVolume

const GeoLogVol* SCT_UniqueComponentFactory::m_logVolume
protected

Definition at line 90 of file SCT_ComponentFactory.h.

◆ m_mapAX

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

Definition at line 96 of file SCT_ComponentFactory.h.

◆ m_mapFPV

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

Definition at line 95 of file SCT_ComponentFactory.h.

◆ m_materials

SCT_MaterialManager* SCT_ComponentFactory::m_materials
protectedinherited

Definition at line 43 of file SCT_ComponentFactory.h.

◆ m_name

std::string SCT_ComponentFactory::m_name
privateinherited

Definition at line 49 of file SCT_ComponentFactory.h.

◆ m_sqliteReader

GeoModelIO::ReadGeoModel* SCT_UniqueComponentFactory::m_sqliteReader
protected

Definition at line 91 of file SCT_ComponentFactory.h.

◆ s_epsilon

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

Definition at line 50 of file SCT_ComponentFactory.h.


The documentation for this class was generated from the following files:
SCT_ComponentFactory::m_name
std::string m_name
Definition: SCT_ComponentFactory.h:49
SCT_UniqueComponentFactory::m_mapFPV
std::shared_ptr< std::map< std::string, GeoFullPhysVol * > > m_mapFPV
Definition: SCT_ComponentFactory.h:95
SCT_UniqueComponentFactory::m_mapAX
std::shared_ptr< std::map< std::string, GeoAlignableTransform * > > m_mapAX
Definition: SCT_ComponentFactory.h:96
lumiFormat.i
int i
Definition: lumiFormat.py:92
SCT_ComponentFactory::s_epsilon
static const double s_epsilon
Definition: SCT_ComponentFactory.h:50
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
SCT_UniqueComponentFactory::m_logVolume
const GeoLogVol * m_logVolume
Definition: SCT_ComponentFactory.h:90
python.CaloScaleNoiseConfig.str
str
Definition: CaloScaleNoiseConfig.py:78
SCT_ComponentFactory::SCT_ComponentFactory
SCT_ComponentFactory(const std::string &name, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials)
Definition: SCT_ComponentFactory.cxx:15
str
Definition: BTagTrackIpAccessor.cxx:11
SCT_UniqueComponentFactory::m_sqliteReader
GeoModelIO::ReadGeoModel * m_sqliteReader
Definition: SCT_ComponentFactory.h:91