ATLAS Offline Software
Loading...
Searching...
No Matches
GeoPixelECCable Class Reference

#include <GeoPixelECCable.h>

Inheritance diagram for GeoPixelECCable:
Collaboration diagram for GeoPixelECCable:

Public Member Functions

 GeoPixelECCable (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)
virtual GeoVPhysVol * Build () override

Protected Attributes

PixelGeometryManagerm_gmt_mgr
InDetMaterialManagerm_mat_mgr
InDetDD::PixelDetectorManagerm_DDmgr
GeoModelIO::ReadGeoModel * m_sqliteReader
std::shared_ptr< std::map< std::string, GeoFullPhysVol * > > m_mapFPV
std::shared_ptr< std::map< std::string, GeoAlignableTransform * > > m_mapAX
const double m_epsilon

Detailed Description

Definition at line 11 of file GeoPixelECCable.h.

Constructor & Destructor Documentation

◆ GeoPixelECCable()

GeoPixelECCable::GeoPixelECCable ( 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 13 of file GeoPixelECCable.cxx.

18 : GeoVPixelFactory (ddmgr, mgr, sqliteReader, std::move(mapFPV), std::move(mapAX) )
19{}
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)

Member Function Documentation

◆ Build()

GeoVPhysVol * GeoPixelECCable::Build ( )
overridevirtual

Implements GeoVPixelFactory.

Definition at line 22 of file GeoPixelECCable.cxx.

22 {
23 //
24 // Dimensions
25 //
26 double rmin = m_gmt_mgr->PixelECCablesRMin();
27 double rmax = m_gmt_mgr->PixelECCablesRMax();
28 double thickness = m_gmt_mgr->PixelECCablesThickness();
29 const GeoTube* cableTube = new GeoTube(rmin,rmax,thickness/2.);
30 std::string matName = m_gmt_mgr->getMaterialName("DiskCable", m_gmt_mgr->GetLD());
31 const GeoMaterial* cableMat = m_mat_mgr->getMaterialForVolume(matName, cableTube->volume());
32 std::ostringstream ostr; ostr << m_gmt_mgr->GetLD();
33 const GeoLogVol* theECCable = new GeoLogVol("ECCable"+ostr.str(),cableTube,cableMat);
34
35 GeoPhysVol* cablePhys = new GeoPhysVol(theECCable);
36 return cablePhys;
37}
PixelGeometryManager * m_gmt_mgr
InDetMaterialManager * m_mat_mgr

Member Data Documentation

◆ m_DDmgr

InDetDD::PixelDetectorManager* GeoVPixelFactory::m_DDmgr
protectedinherited

Definition at line 45 of file GeoVPixelFactory.h.

◆ m_epsilon

const double GeoVPixelFactory::m_epsilon
protectedinherited

Definition at line 49 of file GeoVPixelFactory.h.

◆ m_gmt_mgr

PixelGeometryManager* GeoVPixelFactory::m_gmt_mgr
protectedinherited

Definition at line 43 of file GeoVPixelFactory.h.

◆ m_mapAX

std::shared_ptr<std::map<std::string, GeoAlignableTransform*> > GeoVPixelFactory::m_mapAX
protectedinherited

Definition at line 48 of file GeoVPixelFactory.h.

◆ m_mapFPV

std::shared_ptr<std::map<std::string, GeoFullPhysVol*> > GeoVPixelFactory::m_mapFPV
protectedinherited

Definition at line 47 of file GeoVPixelFactory.h.

◆ m_mat_mgr

InDetMaterialManager* GeoVPixelFactory::m_mat_mgr
protectedinherited

Definition at line 44 of file GeoVPixelFactory.h.

◆ m_sqliteReader

GeoModelIO::ReadGeoModel* GeoVPixelFactory::m_sqliteReader
protectedinherited

Definition at line 46 of file GeoVPixelFactory.h.


The documentation for this class was generated from the following files: