|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "GeoModelKernel/GeoTubs.h"
9 #include "GeoModelKernel/GeoLogVol.h"
10 #include "GeoModelKernel/GeoPhysVol.h"
11 #include "GeoModelKernel/GeoMaterial.h"
12 #include "GeoModelKernel/GeoTransform.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)
36 const GeoTubs* tubs =
new GeoTubs(rminEps,rmaxEps,0.5*
length,
phi,dphi);
37 GeoLogVol * thePigtail =
new GeoLogVol(
"PigtailCylEnv",tubs,air);
39 GeoPhysVol* pigtailPhys =
new GeoPhysVol(thePigtail);
43 std::string logName =
"PigtailCyl";
44 const GeoTubs* tubs =
new GeoTubs(rmin,rmax,0.5*
width,
phi,dphi);
47 GeoLogVol* theTubs =
new GeoLogVol(logName,tubs,cyliMat);
48 GeoPhysVol* pigtailPart =
new GeoPhysVol(theTubs);
50 double zpos =
posZ + zShift;
51 GeoTransform* xform =
new GeoTransform(GeoTrf::TranslateZ3D(zpos));
52 pigtailPhys->add(xform);
53 pigtailPhys->add(pigtailPart);
virtual double PixelPigtailBendPhiMin()=0
virtual double PixelPigtailBendRMax()=0
virtual double PixelPigtailEnvelopeLength()=0
Scalar phi() const
phi method
virtual double PixelPigtailWidthZ()=0
virtual double PixelPigtailBendRMin()=0
PixelGeometryManager * m_gmt_mgr
virtual int PixelModuleEtaFromIndex(int index)=0
virtual double PixelPigtailBendPhiMax()=0
const GeoMaterial * getMaterialForVolume(const std::string &materialName, double volume, const std::string &newName="")
Create and get material with a density calculated to give weight in predefined weight table.
virtual int PixelNModule()=0
InDetMaterialManager * m_mat_mgr
GeoPixelPigtail(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 double PixelPigtailPosZ()=0
This is the base class for all the pieces of the Pixel detector.
virtual GeoVPhysVol * Build() override
virtual std::string getMaterialName(const std::string &volumeName, int layerdisk=0, int typenum=0)=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 PixelModuleZPosition(int)=0