|
ATLAS Offline Software
|
Go to the documentation of this file.
16 #include "GaudiKernel/MsgStream.h"
45 MsgStream
msg(
msgSvc(),
"PhotonContainerCnv" );
56 MsgStream
msg(
msgSvc(),
"PhotonContainerCnv" );
60 static const pool::Guid tr_guid(
"B0DC1628-F17C-4951-BC85-55BBECF4D4D1");
61 static const pool::Guid p1_guid(
"7D40A2D2-C03C-470C-8F0C-937592D34B5B");
62 static const pool::Guid p2_guid(
"E807B07C-8B27-4FF1-A638-05FBCA034C0B");
63 static const pool::Guid p3_guid(
"BC1DF3E5-98F5-444D-826A-DFBB85E1C870");
64 static const pool::Guid p4_guid(
"554B12C0-AB10-451D-963C-F9714FB29695");
65 static const pool::Guid p5_guid(
"64942DEF-C0FE-4CA7-A735-70187092DC27");
70 std::unique_ptr<PhotonContainer_p5> persObj( poolReadObject<PhotonContainer_p5>() );
77 std::unique_ptr<PhotonContainer_p4> persObj( poolReadObject<PhotonContainer_p4>() );
84 std::unique_ptr<PhotonContainer_p3> persObj( poolReadObject<PhotonContainer_p3>() );
91 std::unique_ptr<PhotonContainer_p2> persObj( poolReadObject<PhotonContainer_p2>() );
98 std::unique_ptr<PhotonContainer_p1> persObj( poolReadObject<PhotonContainer_p1>() );
105 return poolReadObject<PhotonContainer>();
108 throw std::runtime_error(
"Unsupported persistent version of PhotonContainer");
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.
virtual PhotonContainer_PERS * createPersistent(PhotonContainer *transCont)
Build the persistent representation from the transient one.
msgSvc
Provide convenience handles for various services.
virtual PhotonContainer * createTransient()
Build the transient representation from a persistent one.
MsgStream & msg() const
The standard message stream.
#define MSG_DEBUG(log, x)
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.