|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "GaudiKernel/StatusCode.h"
9 #include "GaudiKernel/MsgStream.h"
30 MsgStream
log(
msgSvc(),
"CSCSimHitCollectionCnv" );
37 MsgStream
log(
msgSvc(),
"CSCSimHitCollectionCnv" );
38 static const pool::Guid p0_guid(
"DC744F9B-078A-4C61-B03F-D035D885B559");
39 static const pool::Guid p1_guid(
"E45CD293-4599-41BE-8B65-945A18F41AB7");
40 static const pool::Guid p2_guid(
"7E5A120C-E64F-4519-A24B-B485A58724BF");
41 static const pool::Guid p3_guid(
"6BFFE81C-C99E-43D9-B06F-1A998C3B3E40");
42 static const pool::Guid p4_guid(
"018E2DAC-18EB-71D2-A246-66F818B3681B");
47 std::unique_ptr< Muon::CSCSimHitCollection_p4 > col_vect( this->poolReadObject< Muon::CSCSimHitCollection_p4 >() );
52 std::unique_ptr< Muon::CSCSimHitCollection_p3 > col_vect( this->poolReadObject< Muon::CSCSimHitCollection_p3 >() );
57 std::unique_ptr< Muon::CSCSimHitCollection_p2 > col_vect( this->poolReadObject< Muon::CSCSimHitCollection_p2 >() );
62 std::unique_ptr< Muon::CSCSimHitCollection_p1 > col_vect( this->poolReadObject< Muon::CSCSimHitCollection_p1 >() );
79 throw std::runtime_error(
"Unsupported persistent version of CSCSimHitCollection");
CSCSimHitCollectionCnv_p3 m_TPConverter_p3
virtual CSCSimHitCollection * createTransient(const Muon::CSCSimHitCollection_p2 *persObj, MsgStream &log)
virtual ~CSCSimHitCollectionCnv()
void reserve(size_type n)
virtual PERS * createPersistent(const TRANS *transObj, MsgStream &log)
Create persistent representation of a transient object.
AtlasHitsVector< CSCSimHit > CSCSimHitCollection
msgSvc
Provide convenience handles for various services.
Compatibility for old converter classes that don't get passed the key.
CSCSimHitCollectionCnv_p1 m_TPConverter
CSCSimHitCollectionCnv_p2 m_TPConverter_p2
virtual CSCSimHitCollection * createTransient()
virtual CSCSimHitCollection_PERS * createPersistent(CSCSimHitCollection *transCont)
CSCSimHitCollectionCnv(ISvcLocator *svcloc)
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.
CSCSimHitCollectionCnv_p4 m_TPConverter_p4
virtual CSCSimHitCollection * createTransient(const Muon::CSCSimHitCollection_p1 *persObj, MsgStream &log)
virtual CSCSimHitCollection * createTransient(const Muon::CSCSimHitCollection_p3 *persObj, MsgStream &log)
void push_back(const T &t)
virtual CSCSimHitCollection * createTransient(const Muon::CSCSimHitCollection_p4 *persObj, MsgStream &log)