ATLAS Offline Software
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 
9  : m_trackParametersCnv (nosurf)
10 {
12 
18 }
19 
21 {
28 
29 }
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 
Rec::TrackParticleContainer_tlp3::m_trackParticleContainer
std::vector< Rec::TrackParticleContainer_p2 > m_trackParticleContainer
Definition: TrackParticleContainer_tlp3.h:45
TopLevelTPConverter::addMainTPConverter
void addMainTPConverter()
Add the main TP converter to the internal list - should be called from user-defined constructor.
Definition: TopLevelTPConverter.h:146
TrackParticleContainerCnv_tlp3::m_covarianceMatricesCnv
CovarianceMatrixCnv_p1 m_covarianceMatricesCnv
Definition: TrackParticleContainerCnv_tlp3.h:65
TrackParticleContainerCnv_tlp3::setPStorage
virtual void setPStorage(Rec::TrackParticleContainer_tlp3 *storage)
Definition: TrackParticleContainerCnv_tlp3.cxx:20
Rec::TrackParticleContainer_tlp3::m_hepSymMatrices
std::vector< Trk::HepSymMatrix_p1 > m_hepSymMatrices
Definition: TrackParticleContainer_tlp3.h:59
TrackParticleContainerCnv_tlp3::m_trackParticleCnv
TrackParticleCnv_p3 m_trackParticleCnv
Definition: TrackParticleContainerCnv_tlp3.h:57
TopLevelTPCnvBase::addTPConverter
virtual void addTPConverter(ITPConverter *cnv)
Add a TP converter to this top level converter.
Definition: TopLevelTPCnvBase.cxx:11
TrackParticleContainerCnv_tlp3::m_trackParametersCnv
TrackParametersCnv_p2 m_trackParametersCnv
Definition: TrackParticleContainerCnv_tlp3.h:59
TrackParticleContainerCnv_tlp3::m_errorMatricesCnv
ErrorMatrixCnv_p1 m_errorMatricesCnv
Definition: TrackParticleContainerCnv_tlp3.h:66
Rec::TrackParticleContainer_tlp3::m_trackSummaries
std::vector< Trk::TrackSummary_p2 > m_trackSummaries
Definition: TrackParticleContainer_tlp3.h:52
Rec::TrackParticleContainer_tlp3::m_trackParameters
std::vector< Trk::TrackParameters_p2 > m_trackParameters
Definition: TrackParticleContainer_tlp3.h:49
Rec::TrackParticleContainer
Definition: Reconstruction/Particle/Particle/TrackParticleContainer.h:33
Rec::TrackParticleContainer_tlp3::m_trackParticle
std::vector< Rec::TrackParticle_p3 > m_trackParticle
Definition: TrackParticleContainer_tlp3.h:46
TrackParticleContainerCnv_tlp3::m_trackSummaryCnv
TrackSummaryCnv_p2 m_trackSummaryCnv
Definition: TrackParticleContainerCnv_tlp3.h:62
Rec::TrackParticleContainer_tlp3
Definition: TrackParticleContainer_tlp3.h:36
TrackParticleContainerCnv_tlp3.h
ATLAS_THREAD_SAFE
#define ATLAS_THREAD_SAFE
Definition: checker_macros.h:211
TopLevelTPConverter::setMainCnvPStorage
void setMainCnvPStorage(STORAGE *storage)
Set the persistent storage space for the main TP converter.
Definition: TopLevelTPConverter.h:152
checker_macros.h
Define macros for attributes used to control the static checker.
T_TPCnv
Definition: T_AthenaPoolTPConverter.h:17
TrackParticleContainerCnv_tlp3::TrackParticleContainerCnv_tlp3
TrackParticleContainerCnv_tlp3(bool nosurf=false)
Definition: TrackParticleContainerCnv_tlp3.cxx:8
python.AutoConfigFlags.msg
msg
Definition: AutoConfigFlags.py:7