|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #include "GaudiKernel/MsgStream.h"
17 MsgStream
msg(
msgSvc(),
"MuonSpShowerContainerCnv" );
30 MsgStream
msg(
msgSvc(),
"MuonSpShowerContainerConverter" );
34 static const pool::Guid tr_guid(
"64AE1E07-67EC-549C-DE00-A953259EBC9E");
35 static const pool::Guid p1_guid(
"522A7143-856B-41E6-A3FA-AB97693010D8");
40 return poolReadObject<Rec::MuonSpShowerContainer>();
45 std::unique_ptr<MuonSpShowerContainer_p1> persObj( poolReadObject<MuonSpShowerContainer_p1>() );
49 throw std::runtime_error(
"Unsupported persistent version of MuonSpShowerContainer");
Persisent representation of the transient Rec::MuonSpShowerContainer class.
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.
MsgStream & msg() const
The standard message stream.
virtual MuonSpShowerContainer_PERS * createPersistent(Rec::MuonSpShowerContainer *transCont)
Build the persistent representation from the transient one.
virtual Rec::MuonSpShowerContainer * createTransient()
Build the transient representation from a persistent one.
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.