|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #include "GaudiKernel/MsgStream.h"
15 #include "GaudiKernel/IToolSvc.h"
34 return StatusCode::FAILURE;
38 MsgStream
log(
msgSvc(),
"CaloTTOnAttrIdMapCnv");
39 log << MSG::INFO <<
"initialize()" <<
endmsg;
41 return StatusCode::SUCCESS;
47 MsgStream
log(
msgSvc(),
"CaloTTOnAttrIdMapCnv") ;
49 persObj = (
obj->getP()) ;
52 log<<MSG::ERROR<<
" no persistent object from TTOnAttrIdMap " <<
endmsg;
53 return StatusCode::FAILURE;
57 std::cout <<
" CaloTTOnAttrId_P pointer " << persObj <<std::endl;
59 return StatusCode::SUCCESS;
64 MsgStream
log(
msgSvc(),
"CaloTTOnAttrIdMapCnv") ;
71 return StatusCode::SUCCESS ;
virtual StatusCode initialize()
initialization
convert to and from a SG storable
Generated header file which defines a typedef for templated converter class.
This templated class provides the converter to translate an object to/from its persistent POOL repres...
virtual StatusCode initialize() override
Gaudi Service Interface method implementations:
virtual ~CaloTTOnAttrIdMapCnv()
msgSvc
Provide convenience handles for various services.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode transToPers(CaloTTOnAttrIdMap *obj, CaloTTOnAttrId_P *&persObj)
Extend base-class conversion method.
This is a database object holding the TT online-attribute map.
CaloTTOnAttrIdMapCnv(ISvcLocator *svcloc)
void set(const PDATA &t)
initialize from Nova
virtual StatusCode persToTrans(CaloTTOnAttrIdMap *&transObj, CaloTTOnAttrId_P *obj)