#include <TBHitContCnv.h>
|
| | TBHitContCnv (ISvcLocator *svcloc) |
| virtual | ~TBHitContCnv () |
| virtual StatusCode | initialize () override |
| | initialization
|
| virtual StatusCode | PoolToDataObject (DataObject *&pObj, const Token *token, const std::string &key) override |
| | Extend base-class conversion method to modify when reading in.
|
Definition at line 13 of file TBHitContCnv.h.
◆ Base
◆ TBHitContCnv()
| TBHitContCnv::TBHitContCnv |
( |
ISvcLocator * | svcloc | ) |
|
Definition at line 15 of file TBHitContCnv.cxx.
16 :
17
18 TBHitContCnvBase::T_AthenaPoolCnv(svcloc)
19{}
◆ ~TBHitContCnv()
| TBHitContCnv::~TBHitContCnv |
( |
| ) |
|
|
virtual |
◆ initialize()
| StatusCode TBHitContCnv::initialize |
( |
| ) |
|
|
overridevirtual |
initialization
Definition at line 25 of file TBHitContCnv.cxx.
26{
27
29
30
32 log << MSG::INFO <<
"initialize()" <<
endmsg;
33
34 return StatusCode::SUCCESS;
35}
#define CHECK(...)
Evaluate an expression and check for errors.
virtual StatusCode initialize() override
Gaudi Service Interface method implementations:
msgSvc
Provide convenience handles for various services.
◆ PoolToDataObject()
| StatusCode TBHitContCnv::PoolToDataObject |
( |
DataObject *& | pObj, |
|
|
const Token * | token, |
|
|
const std::string & | key ) |
|
overridevirtual |
Extend base-class conversion method to modify when reading in.
Definition at line 38 of file TBHitContCnv.cxx.
41{
42
43
44
45 MsgStream
log(
msgSvc(),
"TBHitContCnv::PoolToDataObject" );
46
47 StatusCode sc = TBHitContCnvBase::PoolToDataObject(pObj, token, key);
49 log << MSG::FATAL <<
"Unable to get object from pool" <<
endmsg;
50 return StatusCode::FAILURE;
51 } else {
52 log << MSG::DEBUG <<
" Found DataObject " <<
endmsg;
53 }
54
55
58 if(!obj) {
59 log << MSG::ERROR <<
" failed to cast to TBHitCont " <<
endmsg ;
60 return StatusCode::FAILURE;
61 }
62
63 return StatusCode::SUCCESS;
64}
::StatusCode StatusCode
StatusCode definition for legacy code.
bool fromStorable(DataObject *pDObj, T *&pTrans, bool quiet=false, IRegisterTransient *irt=0, bool isConst=true)
◆ CnvFactory< TBHitContCnv >
The documentation for this class was generated from the following files: