ATLAS Offline Software
Loading...
Searching...
No Matches
TrackParticleContainerCnv_tlp3.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
7
19
30
31
34{
35 // FIXME: TPConverter uses the same non-const member m_pStorage
36 // for both reading and writing, but we want it to be const
37 // in the former case.
39 const_cast<Rec::TrackParticleContainer_tlp3*> (pers);
40 setPStorage (pers_nc);
41 m_mainConverter.pstoreToTrans (0, trans, msg);
42}
43
46 // std::cout<<"TrackParticleContainer::transToPers - about to call this->setTLPersObject( pers )"<<std::endl;
47 this->setTLPersObject( pers );
48 m_mainConverter.virt_toPersistent(trans, msg);
49 this->clearTLPersObject();
50}
51
Define macros for attributes used to control the static checker.
#define ATLAS_THREAD_SAFE
std::vector< Rec::TrackParticleContainer_p2 > m_trackParticleContainer
std::vector< Rec::TrackParticle_p3 > m_trackParticle
std::vector< Trk::HepSymMatrix_p1 > m_hepSymMatrices
std::vector< Trk::TrackParameters_p2 > m_trackParameters
std::vector< Trk::TrackSummary_p2 > m_trackSummaries
virtual void clearTLPersObject() override
Discard the persistent object.
virtual void setTLPersObject(void *persObj) override
Take ownership of the persistent object.
virtual void addTPConverter(ITPConverter *cnv)
Add a TP converter to this top level converter.
void setMainCnvPStorage(STORAGE *storage)
Set the persistent storage space for the main TP converter.
void addMainTPConverter()
Add the main TP converter to the internal list - should be called from user-defined constructor.
virtual void setPStorage(Rec::TrackParticleContainer_tlp3 *storage)
MsgStream & msg
Definition testRead.cxx:32