|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "GaudiKernel/StatusCode.h"
9 #include "GaudiKernel/MsgStream.h"
30 MsgStream
log(
msgSvc(),
"MDTSimHitCollectionCnv" );
37 MsgStream
log(
msgSvc(),
"MDTSimHitCollectionCnv" );
38 static const pool::Guid p0_guid(
"D76D06CC-C15F-43E6-BBC3-480DE5DA065D");
39 static const pool::Guid p1_guid(
"EA781971-65C5-4B30-9D22-EEFB764BA0B3");
40 static const pool::Guid p2_guid(
"92880B97-75BB-4C5D-8183-577338059FCC");
41 static const pool::Guid p3_guid(
"0E9EEEE2-304F-44B8-B1DF-E75297183A02");
42 static const pool::Guid p4_guid(
"018E2DAC-18EB-7BBC-92AF-EFE3F0E400C2");
47 std::unique_ptr< Muon::MDTSimHitCollection_p4 > col_vect( this->poolReadObject< Muon::MDTSimHitCollection_p4 >() );
51 std::unique_ptr< Muon::MDTSimHitCollection_p3 > col_vect( this->poolReadObject< Muon::MDTSimHitCollection_p3 >() );
55 std::unique_ptr< Muon::MDTSimHitCollection_p2 > col_vect( this->poolReadObject< Muon::MDTSimHitCollection_p2 >() );
61 std::unique_ptr< Muon::MDTSimHitCollection_p1 > col_vect( this->poolReadObject< Muon::MDTSimHitCollection_p1 >() );
78 throw std::runtime_error(
"Unsupported persistent version of MDTSimHitCollection");
virtual MDTSimHitCollection * createTransient(const Muon::MDTSimHitCollection_p2 *persObj, MsgStream &log)
MDTSimHitCollectionCnv_p2 m_TPConverter_p2
AtlasHitsVector< MDTSimHit > MDTSimHitCollection
virtual MDTSimHitCollection * createTransient()
void reserve(size_type n)
MDTSimHitCollectionCnv(ISvcLocator *svcloc)
virtual PERS * createPersistent(const TRANS *transObj, MsgStream &log)
Create persistent representation of a transient object.
msgSvc
Provide convenience handles for various services.
Compatibility for old converter classes that don't get passed the key.
virtual MDTSimHitCollection * createTransient(const Muon::MDTSimHitCollection_p4 *persObj, MsgStream &log)
MDTSimHitCollectionCnv_p1 m_TPConverter_p1
virtual MDTSimHitCollection * createTransient(const Muon::MDTSimHitCollection_p3 *persObj, MsgStream &log)
virtual MDTSimHitCollection * createTransient(const Muon::MDTSimHitCollection_p1 *persObj, MsgStream &log)
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.
virtual MDTSimHitCollection_PERS * createPersistent(MDTSimHitCollection *transCont)
virtual ~MDTSimHitCollectionCnv()
MDTSimHitCollectionCnv_p4 m_TPConverter_p4
void push_back(const T &t)
MDTSimHitCollectionCnv_p3 m_TPConverter_p3