|
ATLAS Offline Software
|
Go to the documentation of this file.
15 #include "GaudiKernel/MsgStream.h"
16 #include "GaudiKernel/IToolSvc.h"
17 #include "GaudiKernel/IAlgTool.h"
40 if ( 0 == svcLocator ) {
41 throw std::runtime_error(
"NULL pointer to ISvcLocator !!");
50 MsgStream
msg(
msgSvc(),
"AthExDecayCnv" );
61 MsgStream
msg(
msgSvc(),
"AthExDecayConverter" );
65 static const pool::Guid p1_guid(
"FD6FC38A-2EE4-4EC6-916B-DBF6A8E88A03");
70 std::unique_ptr<AthExDecay_p1> persObj( poolReadObject<AthExDecay_p1>() );
75 throw std::runtime_error(
"Unsupported persistent version of Decay");
virtual TRANS * createTransient(const PERS *persObj, MsgStream &log)
Create transient representation of a persistent object.
AthExDecayCnv(ISvcLocator *svcloc)
Create the converter from the service locator.
virtual AthExDecay * createTransient()
Build the transient representation from a persistent one.
virtual PERS * createPersistent(const TRANS *transObj, MsgStream &log)
Create persistent representation of a transient object.
virtual AthExDecay_PERS * createPersistent(AthExDecay *transCont)
Build the persistent representation from the transient one.
msgSvc
Provide convenience handles for various services.
Compatibility for old converter classes that don't get passed the key.
MsgStream & msg() const
The standard message stream.
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.