99 if (
m_ringType == 0) { position = -1 * position; };
101 const GeoShape & hybridPos1 = (*hybridShape2 << GeoTrf::TranslateZ3D(position));
104 +
m_length - 0.5 * parameters->fwdHybridLengthToCorner();
107 position = -1 * position; };
109 double rotation = 0.;
110 if (
m_ringType == 0) rotation = 180. * Gaudi::Units::deg;
112 const GeoShape & hybridPos2 = (*hybridShape1 << GeoTrf::RotateX3D(rotation)
113 << GeoTrf::TranslateZ3D(position) );
115 const GeoShapeUnion & hybridShape = hybridPos1.add(hybridPos2);
118 const GeoLogVol * hybridLog =
new GeoLogVol(
getName(), &hybridShape,
m_material);
119 GeoPhysVol * hybrid =
new GeoPhysVol(hybridLog);
SCT_FwdHybrid(const std::string &name, int ringType, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials)