![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
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"
24 p0_guid(
"00B7F56C-1E49-4469-BEBA-C74620575A00"),
25 p1_guid(
"4ED29686-28E9-426F-B076-C4E4600F66A7")
49 MsgStream
log(
msgSvc(),
"CaloTopoTowerContainerCnv::createTransient" );
55 Cont=poolReadObject<CaloTopoTowerContainer>();
73 const EventContext& ctx = Gaudi::Hive::currentContext();
77 log<<MSG::ERROR<<
" Failed to create CaloTopoTowerContainer " <<
endmsg;
83 if (scfcal.isFailure()) {
84 log<<MSG::ERROR<<
" TopoTowers rebuild failed "<<
endmsg;
92 MsgStream
log(
msgSvc(),
"CaloTopoTowerContainerCnv::createPersistent");
101 const std::string&
type,
const std::string&
nm)
106 MsgStream
log(
msgSvc(),
"CaloTopoTowerContainerCnv");
107 if (
sc.isFailure() )
110 <<
"Tool Service not found"
119 IAlgTool* algToolPtr;
120 sc = myToolSvc->retrieveTool(
type,
nm,algToolPtr);
122 if (
sc.isFailure() )
125 <<
"Cannot find tool named <"
CaloTopoTowerBuilderToolBase * getTool(const std::string &type, const std::string &nm)
virtual CaloTopoTowerContainer * createTransient()
initialization
virtual ~CaloTopoTowerContainerCnv()
const std::string toString() const
Automatic conversion to string representation.
void init()
Initializes the CaloTowerContainer.
Definition of CaloDetDescrManager.
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
virtual CaloTopoTowerContainerPERS * createPersistent(CaloTopoTowerContainer *)
Storable container class for CaloTower.
CaloTopoTowerContainerCnv_p1 m_converter
CaloTopoTowerBuilderToolBase * m_TopoTowerBldr
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.
CaloTopoTowerContainer_p1 CaloTopoTowerContainerPERS