|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "GaudiKernel/StatusCode.h"
9 #include "GaudiKernel/MsgStream.h"
25 MsgStream
log(
msgSvc(),
"MuonSimDataCollectionCnv" );
32 MsgStream
log(
msgSvc(),
"MuonSimDataCollectionCnv" );
33 static const pool::Guid p0_guid(
"5B50C32E-A036-4B49-AC97-716E53210BE2");
34 static const pool::Guid p1_guid(
"0605B4A3-3744-4486-B39D-F9C9E809D868");
35 static const pool::Guid p2_guid(
"E0AA3013-4EF7-45B6-BDB1-17B21BF60791");
36 static const pool::Guid p3_guid(
"018F527E-346B-7A37-8C3D-5E7420A9C76A");
41 std::unique_ptr< Muon::MuonSimDataCollection_p3 > col_vect( this->poolReadObject< Muon::MuonSimDataCollection_p3 >() );
47 std::unique_ptr< Muon::MuonSimDataCollection_p2 > col_vect( this->poolReadObject< Muon::MuonSimDataCollection_p2 >() );
53 std::unique_ptr< Muon::MuonSimDataCollection_p1 > col_vect( this->poolReadObject< Muon::MuonSimDataCollection_p1 >() );
59 std::unique_ptr< MuonSimDataCollection > col_vect( poolReadObject< MuonSimDataCollection >() );
60 p_collection = col_vect.release();
64 throw std::runtime_error(
"Unsupported persistent version of MuonSimDataCollection");
virtual ~MuonSimDataCollectionCnv()
virtual TRANS * createTransient(const PERS *persObj, MsgStream &log)
Create transient representation of a persistent object.
virtual MuonSimDataCollection_PERS * createPersistent(MuonSimDataCollection *transCont)
MuonSimDataCollectionCnv_p2 m_TPConverter_p2
virtual PERS * createPersistent(const TRANS *transObj, MsgStream &log)
Create persistent representation of a transient object.
MuonSimDataCollectionCnv_p1 m_TPConverter_p1
msgSvc
Provide convenience handles for various services.
Compatibility for old converter classes that don't get passed the key.
MuonSimDataCollectionCnv_p3 m_TPConverter_p3
virtual MuonSimDataCollection * createTransient()
MuonSimDataCollectionCnv(ISvcLocator *svcloc)
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.