#include <GeoPixelDiskSupports.h>
Definition at line 11 of file GeoPixelDiskSupports.h.
◆ GeoPixelDiskSupports()
| GeoPixelDiskSupports::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 ) |
Definition at line 15 of file GeoPixelDiskSupports.cxx.
20 :
GeoVPixelFactory (ddmgr, mgr, sqliteReader, std::move(mapFPV), std::move(mapAX))
21{
22
23
24
25
26
27
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.;
32 double zpos = 0.;
33 int matTypeNum =
m_gmt_mgr->PixelDiskSupportMaterialTypeNum(ii);
39 }
41}
std::vector< double > m_rmax
std::vector< int > m_typeNum
std::vector< double > m_halflength
std::vector< double > m_zpos
std::vector< double > m_rmin
PixelGeometryManager * m_gmt_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)
◆ Build()
| GeoVPhysVol * GeoPixelDiskSupports::Build |
( |
| ) |
|
|
overridevirtual |
Implements GeoVPixelFactory.
Definition at line 44 of file GeoPixelDiskSupports.cxx.
44 {
45
46
47
52
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";
57 std::ostringstream o;
59 logName = logName+o.str();
60 GeoLogVol* theSupport = new GeoLogVol(logName,supportTube,supportMat);
61 GeoPhysVol* supportPhys = new GeoPhysVol(theSupport);
62 return supportPhys;
63}
InDetMaterialManager * m_mat_mgr
◆ NCylinders()
| int GeoPixelDiskSupports::NCylinders |
( |
| ) |
|
|
inline |
◆ SetCylinder()
| void GeoPixelDiskSupports::SetCylinder |
( |
int | n | ) |
|
|
inline |
◆ ZPos()
| double GeoPixelDiskSupports::ZPos |
( |
| ) |
|
|
inline |
◆ m_DDmgr
◆ m_epsilon
| const double GeoVPixelFactory::m_epsilon |
|
protectedinherited |
◆ m_gmt_mgr
◆ m_halflength
| std::vector<double> GeoPixelDiskSupports::m_halflength |
|
private |
◆ m_mapAX
| std::shared_ptr<std::map<std::string, GeoAlignableTransform*> > GeoVPixelFactory::m_mapAX |
|
protectedinherited |
◆ m_mapFPV
| std::shared_ptr<std::map<std::string, GeoFullPhysVol*> > GeoVPixelFactory::m_mapFPV |
|
protectedinherited |
◆ m_mat_mgr
◆ m_nframe
| int GeoPixelDiskSupports::m_nframe |
|
private |
◆ m_rmax
| std::vector<double> GeoPixelDiskSupports::m_rmax |
|
private |
◆ m_rmin
| std::vector<double> GeoPixelDiskSupports::m_rmin |
|
private |
◆ m_sqliteReader
| GeoModelIO::ReadGeoModel* GeoVPixelFactory::m_sqliteReader |
|
protectedinherited |
◆ m_typeNum
| std::vector<int> GeoPixelDiskSupports::m_typeNum |
|
private |
◆ m_zpos
| std::vector<double> GeoPixelDiskSupports::m_zpos |
|
private |
The documentation for this class was generated from the following files: