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"
46 msg(MSG::DEBUG) <<
"Building Pixel Service Material" <<
endmsg;
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);
Definition of the abstract IRDBAccessSvc interface.
std::shared_ptr< IRDBRecordset > IRDBRecordset_ptr
Definition of the abstract IRDBRecord interface.
Definition of the abstract IRDBRecordset interface.
Define macros for attributes used to control the static checker.
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.
const std::string & node() const
Return the version node.
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.
virtual unsigned int size() const =0
Class to hold various Athena components.
const GeoShape * buildShape()
std::string materialName() const
void placeVolume(GeoPhysVol *parent, GeoVPhysVol *child, double zParent=0)
InDetMaterialManager * materialManager()
const IGeoDbTagSvc * geoDbTagSvc() const
InDetMaterialManager * m_materialManager
IRDBAccessSvc * rdbAccessSvc()
InDetDD::AthenaComps * getAthenaComps()
std::unique_ptr< InDetMaterialManager > m_materialManagerUnique
SubDetectorFactoryBase(InDetDD::AthenaComps *athenaComps)
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)
PixelServMatFactory(InDetDD::AthenaComps *athenaComps)