ATLAS Offline Software
Loading...
Searching...
No Matches
TrackParticleTruthCollectionContainerCnv_tlp3.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
8
15
16void TrackParticleTruthCollectionContainerCnv_tlp3 :: setPStorage(
18{
20}
21
22
25
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
DataVector< TrackParticleTruthCollection > TrackParticleTruthCollectionContainer
Define macros for attributes used to control the static checker.
#define ATLAS_THREAD_SAFE
virtual void clearTLPersObject() override
Discard the persistent object.
virtual void setTLPersObject(void *persObj) override
Take ownership of the persistent object.
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(TrackParticleTruthCollectionContainer_tlp3 *storage)
std::vector< TrackParticleTruthCollectionContainer_p3 > m_trackPartTruthCollConts
MsgStream & msg
Definition testRead.cxx:32