ATLAS Offline Software
TrackParticleTruthCollectionContainerCnv_tlp2.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
8 
10 {
12  //addTPConverter(&m_trackparttruthcollCnv );
13 
14 }
15 
18 {
20 }
21 
22 
24 {}
25 
27 {}
28 
32  MsgStream& msg)
33 {
34  // FIXME: TPConverter uses the same non-const member m_pStorage
35  // for both reading and writing, but we want it to be const
36  // in the former case.
37  auto pers_nc ATLAS_THREAD_SAFE =
39  setPStorage (pers_nc);
40  m_mainConverter.pstoreToTrans (0, trans, msg);
41 }
42 
47  MsgStream& msg)
48 {
49  this->setTLPersObject(pers) ;
50  m_mainConverter.virt_toPersistent(trans, msg);
51  this->clearTLPersObject();
52 }
TopLevelTPConverter::addMainTPConverter
void addMainTPConverter()
Add the main TP converter to the internal list - should be called from user-defined constructor.
Definition: TopLevelTPConverter.h:146
TrackParticleTruthCollectionContainer_tlp2::m_trackPartTruthCollConts
std::vector< TrackParticleTruthCollectionContainer_p2 > m_trackPartTruthCollConts
Definition: TrackParticleTruthCollectionContainer_tlp2.h:30
TrackParticleTruthCollection_p2.h
TrackParticleTruthCollectionContainerCnv_tlp2::TrackParticleTruthCollectionContainerCnv_tlp2
TrackParticleTruthCollectionContainerCnv_tlp2()
Definition: TrackParticleTruthCollectionContainerCnv_tlp2.cxx:9
DataVector< TrackParticleTruthCollection >
TrackParticleTruthCollectionContainerCnv_tlp2::setPStorage
virtual void setPStorage(TrackParticleTruthCollectionContainer_tlp2 *storage)
Definition: TrackParticleTruthCollectionContainerCnv_tlp2.cxx:16
TrackParticleTruthCollectionContainer_tlp2
Definition: TrackParticleTruthCollectionContainer_tlp2.h:19
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
python.AutoConfigFlags.msg
msg
Definition: AutoConfigFlags.py:7
TrackParticleTruthCollectionContainerCnv_tlp2.h