From fd490fe8693b3f1a1bb9fed06b715914bb480565 Mon Sep 17 00:00:00 2001 From: scott snyder <snyder@bnl.gov> Date: Fri, 9 Oct 2020 17:44:27 +0200 Subject: [PATCH] clean up some compilation failures. --- .../IdDictDetDescrCnv/src/AtlasIDDetDescrCnv.cxx | 3 ++- ForwardDetectors/ForwardIdCnv/src/ZdcIDDetDescrCnv.cxx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/DetectorDescription/IdDictDetDescrCnv/src/AtlasIDDetDescrCnv.cxx b/DetectorDescription/IdDictDetDescrCnv/src/AtlasIDDetDescrCnv.cxx index 811fc1cf07f..b2b6cedbe94 100755 --- a/DetectorDescription/IdDictDetDescrCnv/src/AtlasIDDetDescrCnv.cxx +++ b/DetectorDescription/IdDictDetDescrCnv/src/AtlasIDDetDescrCnv.cxx @@ -18,6 +18,7 @@ #include "DetDescrCnvSvc/DetDescrAddress.h" #include "GaudiKernel/MsgStream.h" #include "AthenaKernel/StorableConversions.h" +#include "StoreGate/StoreGateSvc.h" #include "IdDictDetDescr/IdDictManager.h" #include "AtlasDetDescr/AtlasDetectorID.h" @@ -121,7 +122,7 @@ AtlasIDDetDescrCnv::createObj(IOpaqueAddress* pAddr, DataObject*& pObj) } else {} // Get the dictionary manager from the detector store - const DataHandle<IdDictManager> idDictMgr; + const IdDictManager* idDictMgr; status = detStore->retrieve(idDictMgr, "IdDict"); if (status.isFailure()) { log << MSG::FATAL << "Could not get IdDictManager !" << endmsg; diff --git a/ForwardDetectors/ForwardIdCnv/src/ZdcIDDetDescrCnv.cxx b/ForwardDetectors/ForwardIdCnv/src/ZdcIDDetDescrCnv.cxx index 026f28b05d1..721e66a0059 100644 --- a/ForwardDetectors/ForwardIdCnv/src/ZdcIDDetDescrCnv.cxx +++ b/ForwardDetectors/ForwardIdCnv/src/ZdcIDDetDescrCnv.cxx @@ -16,6 +16,7 @@ #include "DetDescrCnvSvc/DetDescrConverter.h" #include "DetDescrCnvSvc/DetDescrAddress.h" +#include "StoreGate/StoreGateSvc.h" #include "GaudiKernel/MsgStream.h" #include "IdDictDetDescr/IdDictManager.h" @@ -119,7 +120,7 @@ ZdcIDDetDescrCnv::createObj(IOpaqueAddress* pAddr, DataObject*& pObj) } else {} // Get the dictionary manager from the detector store - const DataHandle<IdDictManager> idDictMgr; + const IdDictManager* idDictMgr = nullptr; status = detStore->retrieve(idDictMgr, "IdDict"); if (status.isFailure()) { log << MSG::FATAL << "Could not get IdDictManager !" << endmsg; -- GitLab