#include <TBHitPlaneContCnv.h>
Definition at line 13 of file TBHitPlaneContCnv.h.
◆ Base
◆ TBHitPlaneContCnv()
| TBHitPlaneContCnv::TBHitPlaneContCnv |
( |
ISvcLocator * | svcloc | ) |
|
Definition at line 15 of file TBHitPlaneContCnv.cxx.
16 :
17
18 TBHitPlaneContCnvBase::T_AthenaPoolCnv(svcloc)
19{}
◆ ~TBHitPlaneContCnv()
| TBHitPlaneContCnv::~TBHitPlaneContCnv |
( |
| ) |
|
|
virtual |
◆ initialize()
| StatusCode TBHitPlaneContCnv::initialize |
( |
| ) |
|
|
overridevirtual |
initialization
Definition at line 25 of file TBHitPlaneContCnv.cxx.
26{
27
29
30
31 MsgStream
log(
msgSvc(),
"TBHitPlaneContCnv");
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 TBHitPlaneContCnv::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 TBHitPlaneContCnv.cxx.
41{
42
43
44
45 MsgStream
log(
msgSvc(),
"TBHitPlaneContCnv::PoolToDataObject" );
46
47 StatusCode sc = TBHitPlaneContCnvBase::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
56 TBHitPlaneCont*
obj=0;
58 if(!obj) {
59 log << MSG::ERROR <<
" failed to cast to TBHitPlaneCont " <<
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< TBHitPlaneContCnv >
The documentation for this class was generated from the following files: