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