 |
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "GaudiKernel/StatusCode.h"
9 #include "GaudiKernel/MsgStream.h"
30 MsgStream
log(
msgSvc(),
"sTGCSimHitCollectionCnv" );
37 MsgStream
log(
msgSvc(),
"sTGCSimHitCollectionCnv" );
38 static const pool::Guid p1_guid(
"F8B975D2-8130-11E8-ABF4-4B4A6A2B6EE5");
39 static const pool::Guid p2_guid(
"B9521CC6-6E3B-11E8-ADBB-02163E01BDDD");
40 static const pool::Guid p3_guid(
"8F3FFD1C-C9A0-4DA7-B99E-A3828B6AC789");
41 static const pool::Guid p4_guid(
"018E2DAC-18EB-79C4-B562-FD7C035C92C1");
47 std::unique_ptr< Muon::sTGCSimHitCollection_p4 > col_vect( this->poolReadObject< Muon::sTGCSimHitCollection_p4 >() );
51 std::unique_ptr< Muon::sTGCSimHitCollection_p3 > col_vect( this->poolReadObject< Muon::sTGCSimHitCollection_p3 >() );
55 std::unique_ptr< Muon::sTGCSimHitCollection_p2 > col_vect( this->poolReadObject< Muon::sTGCSimHitCollection_p2 >() );
59 std::unique_ptr< Muon::sTGCSimHitCollection_p1 > col_vect( this->poolReadObject< Muon::sTGCSimHitCollection_p1 >() );
64 throw std::runtime_error(
"Unsupported persistent version of sTGCSimHitCollection");
virtual sTGCSimHitCollection * createTransient()
virtual ~sTGCSimHitCollectionCnv()
sTGCSimHitCollectionCnv_p4 m_TPConverter_p4
sTGCSimHitCollectionCnv_p3 m_TPConverter_p3
virtual PERS * createPersistent(const TRANS *transObj, MsgStream &log)
Create persistent representation of a transient object.
virtual sTGCSimHitCollection_PERS * createPersistent(sTGCSimHitCollection *transCont)
virtual sTGCSimHitCollection * createTransient(const Muon::sTGCSimHitCollection_p4 *persObj, MsgStream &log)
msgSvc
Provide convenience handles for various services.
Compatibility for old converter classes that don't get passed the key.
sTGCSimHitCollectionCnv_p2 m_TPConverter_p2
sTGCSimHitCollectionCnv_p1 m_TPConverter_p1
virtual sTGCSimHitCollection * createTransient(const Muon::sTGCSimHitCollection_p1 *persObj, MsgStream &log)
virtual sTGCSimHitCollection * createTransient(const Muon::sTGCSimHitCollection_p2 *persObj, MsgStream &log)
sTGCSimHitCollectionCnv(ISvcLocator *svcloc)
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.
virtual sTGCSimHitCollection * createTransient(const Muon::sTGCSimHitCollection_p3 *persObj, MsgStream &log)