|
ATLAS Offline Software
|
Go to the documentation of this file.
11 #include "GaudiKernel/MsgStream.h"
12 #include "GaudiKernel/IToolSvc.h"
13 #include "GaudiKernel/ThreadLocalContext.h"
26 MsgStream
log(
msgSvc(),
"CaloTopoTowerContainerCnv::createTransient" );
32 Cont=poolReadObject<CaloTopoTowerContainer>();
50 const EventContext& ctx = Gaudi::Hive::currentContext();
54 log<<MSG::ERROR<<
" Failed to create CaloTopoTowerContainer " <<
endmsg;
60 if (scfcal.isFailure()) {
61 log<<MSG::ERROR<<
" TopoTowers rebuild failed "<<
endmsg;
69 MsgStream
log(
msgSvc(),
"CaloTopoTowerContainerCnv::createPersistent");
78 const std::string&
type,
const std::string&
nm)
80 SmartIF<IToolSvc> myToolSvc{Gaudi::svcLocator()->service(
"ToolSvc")};
81 if(!myToolSvc.isValid()) {
CaloTopoTowerBuilderToolBase * getTool(const std::string &type, const std::string &nm)
const std::string toString() const
Automatic conversion to string representation.
void init()
Initializes the CaloTowerContainer.
Definition of CaloDetDescrManager.
virtual CaloTopoTowerContainerPERS * createPersistent(CaloTopoTowerContainer *) override
CaloTopoTowerContainerCnv(ISvcLocator *svcloc)
msgSvc
Provide convenience handles for various services.
Compatibility for old converter classes that don't get passed the key.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual void persToTrans(const CaloTopoTowerContainer_p1 *, CaloTopoTowerContainer *, MsgStream &msg) const override
virtual void transToPers(const CaloTopoTowerContainer *, CaloTopoTowerContainer_p1 *, MsgStream &msg) const override
Storable container class for CaloTower.
CaloTopoTowerContainerCnv_p1 m_converter
CaloTopoTowerBuilderToolBase * m_TopoTowerBldr
virtual CaloTopoTowerContainer * createTransient() override
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.
CaloTopoTowerContainer_p1 CaloTopoTowerContainerPERS