|
ATLAS Offline Software
|
Go to the documentation of this file.
10 #include "GeoModelKernel/GeoTrd.h"
11 #include "GeoModelKernel/GeoLogVol.h"
12 #include "GeoModelKernel/GeoPhysVol.h"
13 #include "GeoModelKernel/GeoMaterial.h"
21 GeoModelIO::ReadGeoModel* sqliteReader,
22 std::shared_ptr<std::map<std::string, GeoFullPhysVol*>> mapFPV,
23 std::shared_ptr<std::map<std::string, GeoAlignableTransform*>> mapAX,
46 double length = std::abs(z2 - z1);
47 double thickAtZmin = thick1;
56 std::string logName = o.str();
59 const GeoTrd* fluidShape =
new GeoTrd(0.5*thickAtZmin, 0.5*thickAtZmin, 0.5*
width, 0.5*
width, 0.5*
length);
60 GeoLogVol * fluidLV =
new GeoLogVol(logName, fluidShape, fluidMat);
61 GeoPhysVol * fluidPhys =
new GeoPhysVol(fluidLV);
virtual double PixelFluidWidth(int index)=0
virtual int PixelFluidType(int index)=0
virtual GeoVPhysVol * Build() override
PixelGeometryManager * m_gmt_mgr
virtual double PixelFluidZ1(int index)=0
virtual double PixelFluidThick2(int index)=0
virtual double PixelFluidThick1(int index)=0
virtual double PixelFluidY(int index)=0
InDetMaterialManager * m_mat_mgr
virtual int PixelFluidIndex(int type)=0
virtual double PixelFluidX(int index)=0
virtual std::string PixelFluidMat(int index)=0
This is the base class for all the pieces of the Pixel detector.
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 PixelFluidZ2(int index)=0
GeoPixelFluid(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, int type)