|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "GeoModelKernel/GeoPhysVol.h"
9 #include "GeoModelKernel/GeoLogVol.h"
10 #include "GeoModelKernel/GeoTube.h"
11 #include "GeoModelKernel/GeoPcon.h"
12 #include "GeoModelKernel/GeoNameTag.h"
13 #include "GeoModelKernel/GeoMaterial.h"
14 #include "GeoModelKernel/GeoTransform.h"
34 :
InDetDD::SubDetectorFactoryBase(athenaComps)
68 for (
unsigned int ii =0; ii < pixelGenServices->size(); ii++) {
71 const GeoShape * serviceTubeTmp = tubeHelper.
buildShape();
73 std::string logName = tubeHelper.
name();
74 if (logName.empty()) {
75 std::ostringstream o; o << ii;
76 logName =
"ServMat"+o.str();
78 logName =
"Pix" + logName;
80 const GeoShape* serviceTube = serviceTubeTmp;
86 const GeoLogVol* servLog =
new GeoLogVol(logName,serviceTube,material);
87 GeoVPhysVol* servPhys =
new GeoPhysVol(servLog);
const GeoShape * buildShape()
void addWeightTable(const IRDBRecordset_ptr &weightTable, const std::string &space="")
virtual IRDBRecordset_ptr getRecordsetPtr(const std::string &node, const std::string &tag, const std::string &tag2node="", const std::string &connName="ATLASDD")=0
Provides access to the Recordset object containing HVS-tagged data.
Class to hold various Athena components.
PixelServMatFactory(InDetDD::AthenaComps *athenaComps)
InDetDD::AthenaComps * getAthenaComps()
const std::string & node() const
Return the version node.
std::string materialName() const
Definition of the abstract IRDBAccessSvc interface.
InDetMaterialManager * m_materialManager
This is a helper class to query the version tags from GeoModelSvc and determine the appropriate tag a...
const std::string & tag() const
Return version tag.
IRDBAccessSvc * rdbAccessSvc()
std::shared_ptr< IRDBRecordset > IRDBRecordset_ptr
const IGeoDbTagSvc * geoDbTagSvc() const
std::unique_ptr< InDetMaterialManager > m_materialManagerUnique
void addScalingTable(const IRDBRecordset_ptr &scalingTable)
MsgStream & msg(MSG::Level lvl) const
Definition of the abstract IRDBRecord interface.
InDetMaterialManager * materialManager()
Definition of the abstract IRDBRecordset interface.
const GeoMaterial * getMaterial(const std::string &materialName)
Get material. First looks for locally defined material and if not found looks in GeoModel material ma...
void create(GeoPhysVol *mother)
Define macros for attributes used to control the static checker.
void placeVolume(GeoPhysVol *parent, GeoVPhysVol *child, double zParent=0)