diff --git a/LArCalorimeter/LArGeoModel/LArGeoAlgsNV/src/LArDetectorFactoryLite.cxx b/LArCalorimeter/LArGeoModel/LArGeoAlgsNV/src/LArDetectorFactoryLite.cxx index fe8e294369fe697acc7ac12620a8c3b8121aa2ff..91cded566ebc109d4bc401b739d43162372dcf02 100755 --- a/LArCalorimeter/LArGeoModel/LArGeoAlgsNV/src/LArDetectorFactoryLite.cxx +++ b/LArCalorimeter/LArGeoModel/LArGeoAlgsNV/src/LArDetectorFactoryLite.cxx @@ -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) {