|
ATLAS Offline Software
|
Go to the documentation of this file.
16 #include "GaudiKernel/MsgStream.h"
45 MsgStream
msg(
msgSvc(),
"ElectronContainerCnv" );
56 MsgStream
msg(
msgSvc(),
"ElectronContainerCnv" );
60 static const pool::Guid tr_guid(
"417E86E5-CA20-4F50-A7A2-C91BF44C9125");
61 static const pool::Guid p1_guid(
"48355DA8-3BCE-43E0-B29B-51525BCEEDDD");
62 static const pool::Guid p2_guid(
"A4377CE2-C0DC-4F80-8CFD-3BBE9A8EFD52");
63 static const pool::Guid p3_guid(
"51C149D6-2FBA-4ADD-B6AA-8AE39E07D202");
64 static const pool::Guid p4_guid(
"1A7C1F66-D9D2-49E9-80A8-592A0CEE3FDF");
65 static const pool::Guid p5_guid(
"A7C69641-E985-4D31-92D4-D33206C197F1");
70 std::unique_ptr<ElectronContainer_p5> persObj( poolReadObject<ElectronContainer_p5>() );
77 std::unique_ptr<ElectronContainer_p4> persObj( poolReadObject<ElectronContainer_p4>() );
84 std::unique_ptr<ElectronContainer_p3> persObj( poolReadObject<ElectronContainer_p3>() );
91 std::unique_ptr<ElectronContainer_p2> persObj( poolReadObject<ElectronContainer_p2>() );
98 std::unique_ptr<ElectronContainer_p1> persObj( poolReadObject<ElectronContainer_p1>() );
105 return poolReadObject<ElectronContainer>();
108 throw std::runtime_error(
"Unsupported persistent version of ElectronContainer");
virtual TRANS * createTransient(const PERS *persObj, MsgStream &log)
Create transient representation of a persistent object.
virtual PERS * createPersistent(const TRANS *transObj, MsgStream &log)
Create persistent representation of a transient object.
msgSvc
Provide convenience handles for various services.
virtual ElectronContainer * createTransient()
Build the transient representation from a persistent one.
MsgStream & msg() const
The standard message stream.
virtual ElectronContainer_PERS * createPersistent(ElectronContainer *transCont)
Build the persistent representation from the transient one.
#define MSG_DEBUG(log, x)
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.