|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "GaudiKernel/StatusCode.h"
9 #include "GaudiKernel/MsgStream.h"
29 MsgStream
log(
msgSvc(),
"MMSimHitCollectionCnv" );
36 MsgStream
log(
msgSvc(),
"MMSimHitCollectionCnv" );
37 static const pool::Guid p1_guid(
"ac0b677c-fe08-11e8-b174-02163e018187");
38 static const pool::Guid p2_guid(
"b9bdd436-fe08-11e8-a40f-02163e018187");
39 static const pool::Guid p3_guid(
"018E2DAC-18EB-7EAA-A141-F0FD2A6E1E06");
44 std::unique_ptr< Muon::MMSimHitCollection_p3 > col_vect( this->poolReadObject< Muon::MMSimHitCollection_p3 >() );
48 std::unique_ptr< Muon::MMSimHitCollection_p2 > col_vect( this->poolReadObject< Muon::MMSimHitCollection_p2 >() );
52 std::unique_ptr< Muon::MMSimHitCollection_p1 > col_vect( this->poolReadObject< Muon::MMSimHitCollection_p1 >() );
57 throw std::runtime_error(
"Unsupported persistent version of MMSimHitCollection");
MMSimHitCollectionCnv_p3 m_TPConverter_p3
virtual PERS * createPersistent(const TRANS *transObj, MsgStream &log)
Create persistent representation of a transient object.
virtual ~MMSimHitCollectionCnv()
virtual MMSimHitCollection_PERS * createPersistent(MMSimHitCollection *transCont)
virtual MMSimHitCollection * createTransient()
virtual MMSimHitCollection * createTransient(const Muon::MMSimHitCollection_p3 *persObj, MsgStream &log)
msgSvc
Provide convenience handles for various services.
Compatibility for old converter classes that don't get passed the key.
MMSimHitCollectionCnv_p1 m_TPConverter_p1
virtual MMSimHitCollection * createTransient(const Muon::MMSimHitCollection_p2 *persObj, MsgStream &log)
virtual MMSimHitCollection * createTransient(const Muon::MMSimHitCollection_p1 *persObj, MsgStream &log)
MMSimHitCollectionCnv_p2 m_TPConverter_p2
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.
MMSimHitCollectionCnv(ISvcLocator *svcloc)