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

#include <SCT_ComponentFactory.h>

Inherits SCT_ComponentFactory.

Inherited by SCT_BaseBoard, SCT_Bracket, SCT_Clamp, SCT_CloseOut, SCT_CoolingBlock, SCT_CoolingEnd, SCT_CoolingPipe, SCT_Dogleg, SCT_FSIEndJewel, SCT_FSIFibreMask, SCT_FSIScorpion, SCT_Flange, SCT_FwdCoolingBlock, SCT_FwdCoolingPipe, SCT_FwdCylinderServices, SCT_FwdDiscFixation, SCT_FwdDiscPowerTape, SCT_FwdDiscSupport, SCT_FwdFSI, SCT_FwdHybrid, SCT_FwdModuleConnector, SCT_FwdOptoHarness, SCT_FwdPPConnector, SCT_FwdPPCooling, SCT_FwdPatchPanel, SCT_FwdPowerTape, SCT_FwdRingCooling, SCT_FwdSpine, SCT_FwdSubSpine, SCT_FwdSupportFrame, SCT_FwdThermalShieldElement, SCT_Harness, SCT_Hybrid, SCT_InterLink, SCT_Pigtail, SCT_PixelAttachment, SCT_PowerTape, SCT_SkiAux, SCT_SkiPowerTape, SCT_Spider, and SCT_SupportCyl.

Collaboration diagram for SCT_SharedComponentFactory:

Public Member Functions

 SCT_SharedComponentFactory (const std::string &name, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials=nullptr)
GeoVPhysVol * getVolume ()
const std::string & getName () const
std::string intToString (int i) const

Protected Member Functions

virtual GeoVPhysVol * build ()=0
double epsilon () const

Protected Attributes

GeoVPhysVol * m_physVolume
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 55 of file SCT_ComponentFactory.h.

Constructor & Destructor Documentation

◆ SCT_SharedComponentFactory()

SCT_SharedComponentFactory::SCT_SharedComponentFactory ( const std::string & name,
InDetDD::SCT_DetectorManager * detectorManager,
SCT_GeometryManager * geometryManager,
SCT_MaterialManager * materials = nullptr )
inline

Definition at line 59 of file SCT_ComponentFactory.h.

62 :
63 SCT_ComponentFactory(name, detectorManager, geometryManager, materials),
64 m_physVolume(nullptr)
65 {};
SCT_ComponentFactory(const std::string &name, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials)

Member Function Documentation

◆ build()

◆ epsilon()

double SCT_ComponentFactory::epsilon ( ) const
protectedinherited

Definition at line 38 of file SCT_ComponentFactory.cxx.

39{
40 return s_epsilon;
41}
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;}

◆ getVolume()

GeoVPhysVol * SCT_SharedComponentFactory::getVolume ( )
inline

Definition at line 67 of file SCT_ComponentFactory.h.

67{return m_physVolume;}

◆ intToString()

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

Definition at line 30 of file SCT_ComponentFactory.cxx.

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

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_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_physVolume

GeoVPhysVol* SCT_SharedComponentFactory::m_physVolume
protected

Definition at line 70 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 file: