12 #include "GeoModelKernel/GeoPhysVol.h"
13 #include "GeoModelKernel/GeoFullPhysVol.h"
14 #include "GeoModelKernel/GeoTube.h"
15 #include "GeoModelKernel/GeoTubs.h"
16 #include "GeoModelKernel/GeoCons.h"
17 #include "GeoModelKernel/GeoLogVol.h"
18 #include "GeoModelKernel/GeoMaterial.h"
31 , m_xMatTable(std::move(xMatTable))
32 , m_matManager(matManager)
37 , m_xMatTable(
manager->extraMaterialTable())
38 , m_matManager(
manager->materialManager())
53 ATH_MSG_DEBUG(
"Adding Extra material for region: " << region <<
", zParent = " << zParent);
56 std::ostringstream volnamestr;
57 volnamestr <<
"ExtraMaterial" <<
i;
65 std::string errorMessage(
"Null pointer to Stored Material Manager!");
67 throw std::runtime_error(errorMessage);
72 const GeoShape* shape = tubeHelper.
buildShape();
73 GeoLogVol* logVol =
new GeoLogVol(volnamestr.str(), shape, material);
74 GeoPhysVol* physVol =
new GeoPhysVol(logVol);
79 tubeHelper.
placeVolume(fullparent, physVol, zParent);