Skip to content
Snippets Groups Projects
Commit 82bd16db authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'main-largeomodel-patch' into 'main'

LArDetectorFactoryLite: bugfix

See merge request atlas/athena!69785
parents 520a9cb3 5ad1eb05
No related branches found
No related tags found
No related merge requests found
......@@ -81,9 +81,8 @@ void LArGeo::LArDetectorFactoryLite::create(GeoPhysVol* world)
throw std::runtime_error(errorMessage);
}
}
// Get the list of full phys volumes from SQLite, and record them into DetStore
std::map<std::string, GeoIntrusivePtr<GeoFullPhysVol>> mapFPV = m_sqliteReader->getPublishedNodes<std::string, GeoIntrusivePtr<GeoFullPhysVol>>("LAr");
std::map<std::string, GeoFullPhysVol*> mapFPV = m_sqliteReader->getPublishedNodes<std::string, GeoFullPhysVol*>("LAr");
for( auto& [key,pv] : mapFPV) {
StoredPhysVol *sPhysVol = new StoredPhysVol(pv);
if(m_detStore->record(sPhysVol,key)!=StatusCode::SUCCESS) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment