25 ISvcLocator* svcLocator = Gaudi::svcLocator();
27 SmartIF<StoreGateSvc> detStore{svcLocator->service(
"DetectorStore")};
30 SmartIF<IGeoDbTagSvc> geoDbTag{svcLocator->service(
"GeoDbTagSvc")};
33 SmartIF<IRDBAccessSvc> rdbSvc{svcLocator->service(geoDbTag->getParamSvcName())};
38 const std::string& detectorKey = versionKey.
tag();
39 const std::string& detectorNode = versionKey.
node();
42 ATH_MSG_DEBUG(
"Key = " << detectorKey <<
" Node = " << detectorNode);
44 m_xMatTable = rdbSvc->getRecordsetPtr(
"InDetExtraMaterial", detectorKey, detectorNode);
47 ATH_MSG_DEBUG(
"Initialized InDet Distorted Material Manager");
49 return StatusCode::SUCCESS;