|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "GaudiKernel/StatusCode.h"
9 #include "GaudiKernel/MsgStream.h"
31 MsgStream
log(
msgSvc(),
"TGCSimHitCollectionCnv" );
38 MsgStream
log(
msgSvc(),
"TGCSimHitCollectionCnv" );
39 static const pool::Guid p0_guid(
"D7C91818-4730-4717-A650-107F52C0221E");
40 static const pool::Guid p1_guid(
"BD569381-2489-4402-BBD3-91EE8C009F26");
41 static const pool::Guid p2_guid(
"710241EE-D5F7-4CB6-A1D7-6E80D040E637");
42 static const pool::Guid p3_guid(
"BACD19A8-4737-4857-A22D-B9DF833A0A80");
43 static const pool::Guid p4_guid(
"F8F77562-BBD9-45DB-A276-6A21018EA7FA");
44 static const pool::Guid p5_guid(
"018E2DAC-18EB-7E5B-9F18-CC2E36343F17");
49 std::unique_ptr< Muon::TGCSimHitCollection_p5 > col_vect( this->poolReadObject< Muon::TGCSimHitCollection_p5 >() );
55 std::unique_ptr< Muon::TGCSimHitCollection_p4 > col_vect( this->poolReadObject< Muon::TGCSimHitCollection_p4 >() );
61 std::unique_ptr< Muon::TGCSimHitCollection_p3 > col_vect( this->poolReadObject< Muon::TGCSimHitCollection_p3 >() );
67 std::unique_ptr< Muon::TGCSimHitCollection_p2 > col_vect( this->poolReadObject< Muon::TGCSimHitCollection_p2 >() );
73 std::unique_ptr< Muon::TGCSimHitCollection_p1 > col_vect( this->poolReadObject< Muon::TGCSimHitCollection_p1 >() );
78 log<<
MSG::DEBUG<<
"createTransient(): Old input file"<<std::endl;
90 throw std::runtime_error(
"Unsupported persistent version of TGCSimHitCollection");
TGCSimHitCollectionCnv_p2 m_TPConverter_p2
TGCSimHitCollectionCnv_p3 m_TPConverter_p3
AtlasHitsVector< TGCSimHit > TGCSimHitCollection
virtual TGCSimHitCollection * createTransient(const Muon::TGCSimHitCollection_p2 *persObj, MsgStream &log)
virtual TGCSimHitCollection_PERS * createPersistent(TGCSimHitCollection *transCont)
void reserve(size_type n)
virtual TGCSimHitCollection * createTransient(const Muon::TGCSimHitCollection_p3 *persObj, MsgStream &log)
virtual PERS * createPersistent(const TRANS *transObj, MsgStream &log)
Create persistent representation of a transient object.
virtual TGCSimHitCollection * createTransient()
virtual TGCSimHitCollection * createTransient(const Muon::TGCSimHitCollection_p1 *persObj, MsgStream &log)
msgSvc
Provide convenience handles for various services.
Compatibility for old converter classes that don't get passed the key.
TGCSimHitCollectionCnv_p4 m_TPConverter_p4
virtual ~TGCSimHitCollectionCnv()
TGCSimHitCollectionCnv_p1 m_TPConverter_p1
TGCSimHitCollectionCnv(ISvcLocator *svcloc)
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.
virtual TGCSimHitCollection * createTransient(const Muon::TGCSimHitCollection_p5 *persObj, MsgStream &log)
virtual TGCSimHitCollection * createTransient(const Muon::TGCSimHitCollection_p4 *persObj, MsgStream &log)
TGCSimHitCollectionCnv_p5 m_TPConverter_p5
void push_back(const T &t)