37 SmartIF<IGeoDbTagSvc> geoDbTag{Gaudi::svcLocator()->service(
"GeoDbTagSvc")};
40 std::string atlasVersion = geoDbTag->atlasVersion();
41 std::string versionNode =
"ATLAS";
44 ATH_CHECK(detStore()->retrieve(theExpt,
"ATLAS"));
51 GeoModelIO::ReadGeoModel* sqliteReader = geoDbTag->getSqliteReader();
54 theBeamPipeFactory.
create(world);
60 std::string beampipeVersionTag;
61 beampipeVersionTag = accessSvc->getChildTag(
"BeamPipe", atlasVersion,versionNode);
64 if (beampipeVersionTag.empty()) {
65 ATH_MSG_INFO(
"No BeamPipe Version. Beam pipe will not be built.");
69 theBeamPipeFactory.
setTagNode(std::move(atlasVersion),std::move(versionNode),
m_mode);
70 theBeamPipeFactory.
create(world);
79 return StatusCode::SUCCESS;
82 return StatusCode::FAILURE;