|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "GaudiKernel/StatusCode.h"
9 #include "GaudiKernel/MsgStream.h"
25 MsgStream
log(
msgSvc(),
"CscSimDataCollectionCnv" );
32 MsgStream
log(
msgSvc(),
"CscSimDataCollectionCnv" );
33 static const pool::Guid p0_guid(
"250EC949-F98B-4F74-9034-178847D1B622");
34 static const pool::Guid p1_guid(
"DD2A8397-4435-4DA2-AD14-ADD7294694B2");
35 static const pool::Guid p2_guid(
"023993E1-BAAA-4F36-8CD4-8F03E3983E8D");
36 static const pool::Guid p3_guid(
"018F5280-E75C-7B27-9881-75B356B2A282");
41 std::unique_ptr< Muon::CscSimDataCollection_p3 > col_vect( this->poolReadObject< Muon::CscSimDataCollection_p3 >() );
47 std::unique_ptr< Muon::CscSimDataCollection_p2 > col_vect( this->poolReadObject< Muon::CscSimDataCollection_p2 >() );
53 std::unique_ptr< Muon::CscSimDataCollection_p1 > col_vect( this->poolReadObject< Muon::CscSimDataCollection_p1 >() );
59 std::unique_ptr< CscSimDataCollection > col_vect( poolReadObject< CscSimDataCollection >() );
60 p_collection = col_vect.release();
64 throw std::runtime_error(
"Unsupported persistent version of CscSimDataCollection");
virtual TRANS * createTransient(const PERS *persObj, MsgStream &log)
Create transient representation of a persistent object.
CscSimDataCollectionCnv_p3 m_TPConverter_p3
virtual ~CscSimDataCollectionCnv()
virtual PERS * createPersistent(const TRANS *transObj, MsgStream &log)
Create persistent representation of a transient object.
CscSimDataCollectionCnv_p2 m_TPConverter_p2
CscSimDataCollectionCnv_p1 m_TPConverter_p1
msgSvc
Provide convenience handles for various services.
Compatibility for old converter classes that don't get passed the key.
virtual CscSimDataCollection_PERS * createPersistent(CscSimDataCollection *transCont)
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.
CscSimDataCollectionCnv(ISvcLocator *svcloc)
virtual CscSimDataCollection * createTransient()