|
ATLAS Offline Software
|
Go to the documentation of this file.
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;
52 std::cout <<
" LArTTCell_P pointer " << persObj <<std::endl;
54 return StatusCode::SUCCESS;
59 MsgStream
log(
msgSvc(),
"LArTTCellMapCnv") ;
66 return StatusCode::SUCCESS ;
void set(const PDATA &t)
initialize from Nova
convert to and from a SG storable
virtual ~LArTTCellMapCnv()
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 StatusCode persToTrans(LArTTCellMap *&transObj, LArTTCell_P *obj)
msgSvc
Provide convenience handles for various services.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode transToPers(LArTTCellMap *obj, LArTTCell_P *&persObj)
Extend base-class conversion method.
This is a database object holding the offline TT-cell map.
This is a StoreGate object holding the offline TT-cell map.
virtual StatusCode initialize()
initialization
LArTTCellMapCnv(ISvcLocator *svcloc)