9#include "GaudiKernel/MsgStream.h"
10#include "GaudiKernel/IToolSvc.h"
29 return StatusCode::FAILURE;
33 MsgStream log(msgSvc(),
"LArTTCellMapCnv");
34 log << MSG::INFO <<
"initialize()" <<
endmsg;
36 return StatusCode::SUCCESS;
42 MsgStream log(msgSvc(),
"LArTTCellMapCnv") ;
44 persObj = (obj->getP()) ;
47 log<<MSG::ERROR<<
" no persistent object from LArTTCellMap " <<
endmsg;
48 return StatusCode::FAILURE;
51 log<<MSG::DEBUG<<
" LArTTCell size = "<< persObj->
m_v.size() <<
endmsg;
52 std::cout <<
" LArTTCell_P pointer " << persObj <<std::endl;
54 return StatusCode::SUCCESS;
59 MsgStream log(msgSvc(),
"LArTTCellMapCnv") ;
61 log<<MSG::DEBUG<<
" LArTTCell size = "<< obj->m_v.size() <<
endmsg;
64 transObj->
set( *obj ) ;
66 return StatusCode::SUCCESS ;
T_AthenaPoolCustCnv< LArTTCellMap, LArTTCell_P > LArTTCellMapCnvBase
convert to and from a SG storable
virtual StatusCode initialize() override
Gaudi Service Interface method implementations:
LArTTCellMapCnv(ISvcLocator *svcloc)
virtual ~LArTTCellMapCnv()
virtual StatusCode initialize()
initialization
virtual StatusCode transToPers(LArTTCellMap *obj, LArTTCell_P *&persObj)
Extend base-class conversion method.
virtual StatusCode persToTrans(LArTTCellMap *&transObj, LArTTCell_P *obj)
This is a StoreGate object holding the offline TT-cell map.
void set(const PDATA &t)
initialize from Nova
This is a database object holding the offline TT-cell map.
T_AthenaPoolCustCnv(ISvcLocator *pSvcLocator, const char *name=nullptr)