8#include "GaudiKernel/MsgStream.h"
31 MsgStream log(msgSvc(),
"TBTailCatcherRawCnv");
32 log << MSG::INFO <<
"initialize()" <<
endmsg;
34 return StatusCode::SUCCESS;
40 const std::string& key)
45 MsgStream log(msgSvc(),
"TBTailCatcherRawCnv::PoolToDataObject" );
47 StatusCode
sc = TBTailCatcherRawCnvBase::PoolToDataObject(pObj, token, key);
49 log << MSG::FATAL <<
"Unable to get object from pool" <<
endmsg;
50 return StatusCode::FAILURE;
52 log << MSG::DEBUG <<
" Found DataObject " <<
endmsg;
59 log << MSG::ERROR <<
" failed to cast to TBTailCatcherRaw " <<
endmsg ;
60 return StatusCode::FAILURE;
63 return StatusCode::SUCCESS;
#define CHECK(...)
Evaluate an expression and check for errors.
convert to and from a SG storable
T_AthenaPoolCnv< TBTailCatcherRaw > TBTailCatcherRawCnvBase
virtual StatusCode initialize() override
Gaudi Service Interface method implementations:
virtual StatusCode initialize() override
TBTailCatcherRawCnv(ISvcLocator *svcloc)
virtual StatusCode PoolToDataObject(DataObject *&pObj, const Token *token, const std::string &key) override
Extend base-class conversion method to modify when reading in.
virtual ~TBTailCatcherRawCnv()
This templated class provides the converter to translate an object to/from its persistent POOL repres...
This class provides a token that identifies in a unique way objects on the persistent storage.
bool fromStorable(DataObject *pDObj, T *&pTrans, bool quiet=false, IRegisterTransient *irt=0, bool isConst=true)