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