|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #include "GeoModelKernel/GeoBox.h"
7 #include "GeoModelKernel/GeoLogVol.h"
8 #include "GeoModelKernel/GeoPhysVol.h"
9 #include "GeoModelKernel/GeoMaterial.h"
16 GeoModelIO::ReadGeoModel* sqliteReader,
17 std::shared_ptr<std::map<std::string, GeoFullPhysVol*>> mapFPV,
18 std::shared_ptr<std::map<std::string, GeoAlignableTransform*>> mapAX)
42 if (!cableBiStaveNum || ((cableBiStaveNum%2) == biStaveType%2)) {
53 std::cout <<
"ERROR: GeoPixelCableCurrent, current element not set." << std::endl;
63 double length = std::abs(zend - zstart);
78 const GeoBox* cableBox =
new GeoBox(0.5*thickness,0.5*
width,0.5*
length);
79 std::string logName =
"Cable";
82 logName = logName+o.str();
85 GeoLogVol* theCable =
new GeoLogVol(logName,cableBox,cableMat);
86 GeoPhysVol* cablePhys =
new GeoPhysVol(theCable);
96 return 0.5*(zend + zstart);
std::vector< int > m_elements
virtual GeoVPhysVol * Build() override
virtual double PixelCableZEnd(int index)=0
virtual double PixelCableStackOffset(int index)=0
void fillElements(int layer, int phiSector)
virtual std::string PixelCableLabel(int index)=0
PixelGeometryManager * m_gmt_mgr
virtual int PixelBiStaveType(int layer, int phi)=0
virtual double PixelCableWidth(int index)=0
virtual std::string getLD_Label()=0
virtual int PixelCableLayerNum(int index)=0
virtual int PixelCableElements()=0
InDetMaterialManager * m_mat_mgr
virtual double PixelCableZStart(int index)=0
virtual double PixelCableWeight(int index)=0
This is the base class for all the pieces of the Pixel detector.
virtual std::string getMaterialName(const std::string &volumeName, int layerdisk=0, int typenum=0)=0
virtual int PixelCableBiStaveNum(int index)=0
const GeoMaterial * getMaterial(const std::string &materialName)
Get material. First looks for locally defined material and if not found looks in GeoModel material ma...
virtual double PixelCableThickness(int index)=0
GeoPixelCable(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)