|
ATLAS Offline Software
|
Go to the documentation of this file.
15 #include "GaudiKernel/MsgStream.h"
27 MsgStream
msg(
msgSvc(),
"TileCosmicMuonContainerCnv" );
39 MsgStream
msg(
msgSvc(),
"TileCosmicMuonContainerCnv" );
43 static const pool::Guid tr_guid(
"81711CFC-C75C-49F4-BA12-31D6FAA2D93");
44 static const pool::Guid p0_guid(
"51A1E48E-5D5D-4491-85D0-3EFCCEBA5253");
45 static const pool::Guid p1_guid(
"716F406D-8F59-4879-AA07-C28BA374E6EF");
46 static const pool::Guid p2_guid(
"8957FF04-12E8-43BA-A0C8-D7D9638E242E");
51 return poolReadObject<TileCosmicMuonContainer>();
56 std::unique_ptr<TileCosmicMuonContainer_p1> persObj( poolReadObject<TileCosmicMuonContainer_p1>() );
62 std::unique_ptr<TileCosmicMuonContainer_p2> persObj( poolReadObject<TileCosmicMuonContainer_p2>() );
66 throw std::runtime_error(
"Unsupported persistent version of TileCosmicMuonContainer");
virtual TileCosmicMuonContainer_PERS * createPersistent(TileCosmicMuonContainer *transCont)
Build the persistent representation from the transient one.
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 TileCosmicMuonContainer * 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.