![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
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(),
"CaloTTOnOffIdMapCnv");
39 log << MSG::INFO <<
"initialize()" <<
endmsg;
41 return StatusCode::SUCCESS;
47 MsgStream
log(
msgSvc(),
"CaloTTOnOffIdMapCnv") ;
49 persObj = (
obj->getP()) ;
52 log<<MSG::ERROR<<
" no persistent object from CaloTTOnOffIdMap " <<
endmsg;
53 return StatusCode::FAILURE;
57 std::cout <<
" CaloTTOnOffId_P pointer " << persObj <<std::endl;
59 return StatusCode::SUCCESS;
64 MsgStream
log(
msgSvc(),
"CaloTTOnOffIdMapCnv") ;
71 return StatusCode::SUCCESS ;
virtual StatusCode initialize()
initialization
convert to and from a SG storable
virtual ~CaloTTOnOffIdMapCnv()
CaloTTOnOffIdMapCnv(ISvcLocator *svcloc)
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:
This is a StoreGate object holding the TT offline-online map.
msgSvc
Provide convenience handles for various services.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode persToTrans(CaloTTOnOffIdMap *&transObj, CaloTTOnOffId_P *obj)
Generated header file which defines a typedef for templated converter class.
This is a database object holding the TT online-offline map.
void set(const PDATA &t)
initialize from Nova
virtual StatusCode transToPers(CaloTTOnOffIdMap *obj, CaloTTOnOffId_P *&persObj)
Extend base-class conversion method.