12#include "GeoModelKernel/GeoTube.h"
13#include "GeoModelKernel/GeoLogVol.h"
14#include "GeoModelKernel/GeoPhysVol.h"
15#include "GaudiKernel/SystemOfUnits.h"
20inline double sqr(
double x) {
return x*
x;}
40 for(
int i=0; i<3; ++i) {
41 if(parameters->fwdOptoHarnessDiscType(i) ==
m_type) {
m_index = i;}
45 std::cout <<
"SCT_FwdOptoHarness: ERROR. Disc type is missing" <<
m_type << std::endl;
46 std::cout <<
"Assuming type 1" << std::endl;
61 const GeoLogVol * optoHarnessLog =
new GeoLogVol(
getName(), optoHarnessShape,
m_material);
63 GeoPhysVol * optoHarness =
new GeoPhysVol(optoHarnessLog);
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated SCT in...
const std::string & getName() const
SCT_GeometryManager * m_geometryManager
SCT_MaterialManager * m_materials
virtual GeoVPhysVol * build()
SCT_FwdOptoHarness(const std::string &name, int iType, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials)
std::string m_materialName
const GeoMaterial * m_material
GeoVPhysVol * m_physVolume
SCT_SharedComponentFactory(const std::string &name, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials=nullptr)