#include <SCT_OuterSide.h>
Definition at line 26 of file SCT_OuterSide.h.
◆ SCT_OuterSide() [1/2]
SCT_OuterSide::SCT_OuterSide |
( |
const std::string & |
name, |
|
|
InDetDD::SCT_DetectorManager * |
detectorManager, |
|
|
SCT_GeometryManager * |
geometryManager, |
|
|
SCT_MaterialManager * |
materials, |
|
|
GeoModelIO::ReadGeoModel * |
sqliteReader, |
|
|
std::shared_ptr< std::map< std::string, GeoFullPhysVol * >> |
mapFPV, |
|
|
std::shared_ptr< std::map< std::string, GeoAlignableTransform * >> |
mapAX |
|
) |
| |
◆ ~SCT_OuterSide()
SCT_OuterSide::~SCT_OuterSide |
( |
| ) |
|
|
default |
◆ SCT_OuterSide() [2/2]
◆ build()
◆ env1RefPointVector()
const GeoTrf::Vector3D* SCT_OuterSide::env1RefPointVector |
( |
| ) |
const |
|
inline |
◆ env2RefPointVector()
const GeoTrf::Vector3D* SCT_OuterSide::env2RefPointVector |
( |
| ) |
const |
|
inline |
◆ epsilon()
double SCT_ComponentFactory::epsilon |
( |
| ) |
const |
|
protectedinherited |
◆ getName()
const std::string& SCT_ComponentFactory::getName |
( |
| ) |
const |
|
inlineinherited |
◆ getParameters()
void SCT_OuterSide::getParameters |
( |
| ) |
|
|
private |
◆ hybrid()
◆ hybridOffsetX()
double SCT_OuterSide::hybridOffsetX |
( |
| ) |
const |
|
inline |
◆ hybridOffsetZ()
double SCT_OuterSide::hybridOffsetZ |
( |
| ) |
const |
|
inline |
◆ intToString()
std::string SCT_ComponentFactory::intToString |
( |
int |
i | ) |
const |
|
inherited |
◆ length()
double SCT_OuterSide::length |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ pigtail()
◆ preBuild()
const GeoLogVol * SCT_OuterSide::preBuild |
( |
| ) |
|
|
privatevirtual |
Implements SCT_UniqueComponentFactory.
Definition at line 67 of file SCT_OuterSide.cxx.
83 const double t_hybrid =
m_hybrid->thickness();
84 const double w_hybrid =
m_hybrid->width();
87 const double t_pigtail =
m_pigtail->thickness();
88 const double w_pigtail =
m_pigtail->width();
89 const double l_pigtail =
m_pigtail->length();
91 const double t_sensor =
m_sensor->thickness();
92 const double w_sensor =
m_sensor->width();
93 const double l_sensor =
m_sensor->length();
98 const double sensorPosX = 0.0;
99 const double sensorPosY = 0.0;
100 const double sensorPosZ = 0.0;
103 const double hybridPosY = 0.0;
106 const double pigtailPosX = hybridPosX + 0.5*t_hybrid - 0.5*t_pigtail;
107 const double pigtailPosY = -0.5*w_hybrid - 0.5*w_pigtail;
108 const double pigtailPosZ = hybridPosZ;
114 const double w_ose1 = w_sensor +
m_safety;
115 const double t_ose1 = t_sensor +
m_safety;
116 const double l_ose1 = l_sensor +
m_safety;
118 const double t_ose2 = t_hybrid +
m_safety;
119 const double w_ose2 = w_hybrid + w_pigtail +
m_safety;
120 const double l_ose2 = l_pigtail +
m_safety;
122 const double ose2PosX = hybridPosX;
123 const double ose2PosY = hybridPosY - 0.5*w_pigtail;
124 const double ose2PosZ = hybridPosZ;
129 m_hybridPos =
new GeoTransform(GeoTrf::Translate3D(hybridPosX, hybridPosY, hybridPosZ));
130 m_pigtailPos =
new GeoTransform(GeoTrf::Translate3D(pigtailPosX, pigtailPosY, pigtailPosZ));
144 m_sensorPos =
new GeoTransform(GeoTrf::Translate3D(sensorPosX, sensorPosY, sensorPosZ));
149 const GeoBox * ose1Shape =
new GeoBox(0.5 * t_ose1,
152 const GeoBox * ose2Shape =
new GeoBox(0.5 * t_ose2,
156 const GeoShape & OuterSideEnvelopeShape = (*ose1Shape).
157 add(*ose2Shape << GeoTrf::Translate3D(ose2PosX, ose2PosY, ose2PosZ));
159 const GeoLogVol * OuterSideEnvelopeLog =
new GeoLogVol(
"OuterSideEnvelope",
160 &OuterSideEnvelopeShape,
167 return OuterSideEnvelopeLog;
◆ sensor()
◆ thickness()
double SCT_OuterSide::thickness |
( |
| ) |
const |
|
inline |
◆ width()
double SCT_OuterSide::width |
( |
| ) |
const |
|
inline |
◆ m_detectorManager
◆ m_env1RefPointVector
std::unique_ptr<GeoTrf::Vector3D> SCT_OuterSide::m_env1RefPointVector |
|
private |
◆ m_env2RefPointVector
std::unique_ptr<GeoTrf::Vector3D> SCT_OuterSide::m_env2RefPointVector |
|
private |
◆ m_geometryManager
◆ m_hybrid
std::unique_ptr<SCT_Hybrid> SCT_OuterSide::m_hybrid |
|
private |
◆ m_hybridOffsetX
double SCT_OuterSide::m_hybridOffsetX = 0.0 |
|
private |
◆ m_hybridOffsetZ
double SCT_OuterSide::m_hybridOffsetZ = 0.0 |
|
private |
◆ m_hybridPos
GeoIntrusivePtr<GeoTransform> SCT_OuterSide::m_hybridPos {} |
|
private |
◆ m_length
double SCT_OuterSide::m_length = 0.0 |
|
private |
◆ m_logVolume
const GeoLogVol* SCT_UniqueComponentFactory::m_logVolume |
|
protectedinherited |
◆ m_mapAX
std::shared_ptr<std::map<std::string, GeoAlignableTransform*> > SCT_UniqueComponentFactory::m_mapAX |
|
protectedinherited |
◆ m_mapFPV
std::shared_ptr<std::map<std::string, GeoFullPhysVol*> > SCT_UniqueComponentFactory::m_mapFPV |
|
protectedinherited |
◆ m_materials
◆ m_name
std::string SCT_ComponentFactory::m_name |
|
privateinherited |
◆ m_pigtail
◆ m_pigtailPos
GeoIntrusivePtr<GeoTransform> SCT_OuterSide::m_pigtailPos {} |
|
private |
◆ m_safety
double SCT_OuterSide::m_safety = 0.0 |
|
private |
◆ m_sensor
std::unique_ptr<SCT_Sensor> SCT_OuterSide::m_sensor |
|
private |
◆ m_sensorPos
GeoIntrusivePtr<GeoTransform> SCT_OuterSide::m_sensorPos {} |
|
private |
◆ m_sqliteReader
GeoModelIO::ReadGeoModel* SCT_UniqueComponentFactory::m_sqliteReader |
|
protectedinherited |
◆ m_thickness
double SCT_OuterSide::m_thickness = 0.0 |
|
private |
◆ m_width
double SCT_OuterSide::m_width = 0.0 |
|
private |
◆ s_epsilon
const double SCT_ComponentFactory::s_epsilon = 1.0e-6 * Gaudi::Units::mm |
|
staticprivateinherited |
The documentation for this class was generated from the following files:
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)