6#include "GeoModelKernel/GeoTube.h"
7#include "GeoModelKernel/GeoLogVol.h"
8#include "GeoModelKernel/GeoPhysVol.h"
9#include "GeoModelKernel/GeoMaterial.h"
10#include "GeoModelKernel/GeoTransform.h"
17 GeoModelIO::ReadGeoModel* sqliteReader,
18 std::shared_ptr<std::map<std::string, GeoFullPhysVol*>> mapFPV,
19 std::shared_ptr<std::map<std::string, GeoAlignableTransform*>> mapAX)
28 for (
int ii =0; ii<
m_gmt_mgr->PixelDiskNumSupports(); ii++) {
29 double rmin =
m_gmt_mgr->PixelDiskSupportRMin(ii);
30 double rmax =
m_gmt_mgr->PixelDiskSupportRMax(ii);
31 double halflength =
m_gmt_mgr->PixelDiskSupportThickness(ii)/2.;
33 int matTypeNum =
m_gmt_mgr->PixelDiskSupportMaterialTypeNum(ii);
53 const GeoTube* supportTube =
new GeoTube(rmin,rmax,halflength);
54 std::string matName =
m_gmt_mgr->getMaterialName(
"DiskSupport",
m_gmt_mgr->GetLD(), typeNum);
55 const GeoMaterial* supportMat =
m_mat_mgr->getMaterialForVolume(matName, supportTube->volume());
56 std::string logName =
"DiskSup";
59 logName = logName+o.str();
60 GeoLogVol* theSupport =
new GeoLogVol(logName,supportTube,supportMat);
61 GeoPhysVol* supportPhys =
new GeoPhysVol(theSupport);
std::vector< double > m_rmax
std::vector< int > m_typeNum
std::vector< double > m_halflength
std::vector< double > m_zpos
virtual GeoVPhysVol * Build() override
GeoPixelDiskSupports(InDetDD::PixelDetectorManager *ddmgr, PixelGeometryManager *mgr, GeoModelIO::ReadGeoModel *sqliteReader, std::shared_ptr< std::map< std::string, GeoFullPhysVol * > > mapFPV, std::shared_ptr< std::map< std::string, GeoAlignableTransform * > > mapAX)
std::vector< double > m_rmin
PixelGeometryManager * m_gmt_mgr
InDetMaterialManager * m_mat_mgr
GeoVPixelFactory(InDetDD::PixelDetectorManager *ddmgr, PixelGeometryManager *mgr, GeoModelIO::ReadGeoModel *sqliteReader, std::shared_ptr< std::map< std::string, GeoFullPhysVol * > > mapFPV, std::shared_ptr< std::map< std::string, GeoAlignableTransform * > > mapAX)
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated pixel ...