|
ATLAS Offline Software
|
Go to the documentation of this file.
15 MsgStream
mlog(
msgSvc(),
"SiHitCollectionConverter" );
23 MsgStream
mlog(
msgSvc(),
"SiHitCollectionConverter" );
29 static const pool::Guid p1_guid(
"36D1FF8E-5734-4A93-A133-F286CF47DB72");
30 static const pool::Guid p2_guid(
"BD1469C5-C904-40B8-82B9-43D25888D884");
31 static const pool::Guid p3_guid(
"59E13FDA-2799-4362-8423-44D57F08734D");
32 static const pool::Guid p4_guid(
"018E1E2B-6C61-752E-b26D-6ABB05FBD4D9");
33 static const pool::Guid old_guid(
"1EC39DA3-14F9-4901-88C7-F6909B064574");
37 std::unique_ptr< SiHitCollection_p3 > col_vect( this->poolReadObject< SiHitCollection_p3 >() );
41 std::unique_ptr< SiHitCollection_p1 > col_vect( this->poolReadObject< SiHitCollection_p1 >() );
45 std::unique_ptr< SiHitCollection_p2 > col_vect( this->poolReadObject< SiHitCollection_p2 >() );
49 std::unique_ptr< SiHitCollection_p4 > col_vect( this->poolReadObject< SiHitCollection_p4 >() );
58 for (
SiHit* hit : *oldColl) {
63 throw std::runtime_error(
"Unsupported persistent version of Data container");
virtual SiHitCollection * createTransient(const SiHitCollection_p3 *persObj, MsgStream &log)
virtual TRANS * createTransient(const PERS *persObj, MsgStream &log)
Create transient representation of a persistent object.
virtual PERS * createPersistent(const TRANS *transObj, MsgStream &log)
Create persistent representation of a transient object.
msgSvc
Provide convenience handles for various services.
SiHitCollection_PERS * createPersistent(SiHitCollection *transCont)
AtlasHitsVector< SiHit > SiHitCollection
virtual SiHitCollection * createTransient(const SiHitCollection_p4 *persObj, MsgStream &log)
SiHitCollection * createTransient()
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.
virtual SiHitCollection * createTransient(const SiHitCollection_p2 *persObj, MsgStream &log)
void push_back(const T &t)