![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "GaudiKernel/StatusCode.h"
9 #include "GaudiKernel/MsgStream.h"
30 MsgStream
log(
msgSvc(),
"RPCSimHitCollectionCnv" );
37 MsgStream
log(
msgSvc(),
"RPCSimHitCollectionCnv" );
38 static const pool::Guid p0_guid(
"45EB013E-FC8E-4612-88B7-6E0CAF718F79");
39 static const pool::Guid p1_guid(
"C4C57487-41DC-4706-9604-721D76F0AA52");
40 static const pool::Guid p2_guid(
"1B611C70-CC6F-42AE-9F6D-7DA6A9A22546");
41 static const pool::Guid p3_guid(
"B48E5E17-FB26-4BC0-A0E2-5324925EAE2F");
42 static const pool::Guid p4_guid(
"018E2DAC-18EB-714B-B9BD-F9354E30CB51");
47 std::unique_ptr< Muon::RPCSimHitCollection_p4 > col_vect( this->poolReadObject< Muon::RPCSimHitCollection_p4 >() );
52 std::unique_ptr< Muon::RPCSimHitCollection_p3 > col_vect( this->poolReadObject< Muon::RPCSimHitCollection_p3 >() );
57 std::unique_ptr< Muon::RPCSimHitCollection_p2 > col_vect( this->poolReadObject< Muon::RPCSimHitCollection_p2 >() );
62 std::unique_ptr< Muon::RPCSimHitCollection_p1 > col_vect( this->poolReadObject< Muon::RPCSimHitCollection_p1 >() );
79 throw std::runtime_error(
"Unsupported persistent version of RPCSimHitCollection");
RPCSimHitCollectionCnv(ISvcLocator *svcloc)
virtual RPCSimHitCollection_PERS * createPersistent(RPCSimHitCollection *transCont)
virtual RPCSimHitCollection * createTransient(const Muon::RPCSimHitCollection_p1 *persObj, MsgStream &log)
AtlasHitsVector< RPCSimHit > RPCSimHitCollection
void reserve(size_type n)
virtual RPCSimHitCollection * createTransient(const Muon::RPCSimHitCollection_p2 *persObj, MsgStream &log)
virtual PERS * createPersistent(const TRANS *transObj, MsgStream &log)
Create persistent representation of a transient object.
RPCSimHitCollectionCnv_p3 m_TPConverter_p3
msgSvc
Provide convenience handles for various services.
Compatibility for old converter classes that don't get passed the key.
virtual RPCSimHitCollection * createTransient(const Muon::RPCSimHitCollection_p3 *persObj, MsgStream &log)
RPCSimHitCollectionCnv_p4 m_TPConverter_p4
virtual RPCSimHitCollection * createTransient()
virtual RPCSimHitCollection * createTransient(const Muon::RPCSimHitCollection_p4 *persObj, MsgStream &log)
RPCSimHitCollectionCnv_p2 m_TPConverter_p2
virtual ~RPCSimHitCollectionCnv()
RPCSimHitCollectionCnv_p1 m_TPConverter
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.
void push_back(const T &t)