ATLAS Offline Software
Loading...
Searching...
No Matches
IParticleLinkContainerCnv_p1.h
Go to the documentation of this file.
1
2
3/*
4 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5*/
6
13
14#ifndef EVENTCOMMONTPCNV_IPARTICLELINKCONTAINERCNV_P1_H
15#define EVENTCOMMONTPCNV_IPARTICLELINKCONTAINERCNV_P1_H
16
17// STL includes
18#include <vector>
19
20// DataModel includes
26
27
30 : public T_AthenaPoolTPCnvConstBase< IParticleLinkContainer, IParticleLinkContainer_p1 >
31{
32
33public:
36
37
40
43
44
46 virtual
47 void persToTrans(const PersLinkVect_t* pers, LinkVect_t* trans, MsgStream& log) const override
48 {
50 myVecTPConv.persToTrans( pers, trans, log );
51 }
52
54 virtual
55 void transToPers(const LinkVect_t* trans, PersLinkVect_t* pers, MsgStream& log) const override
56 {
58 myVecTPConv.transToPers( trans, pers, log );
59 }
60
61
63 void persToTrans(const PersLinkVect_t& pers, LinkVect_t& trans, MsgStream& log) const
64 {
66 myVecTPConv.persToTrans( pers, trans, log );
67 }
68
70 void transToPers(const LinkVect_t& trans, PersLinkVect_t& pers, MsgStream& log) const
71 {
73 myVecTPConv.transToPers( trans, pers, log );
74 }
75
77 void transToPers(const LinkVect_t& trans,
78 PersLinkVect_t& pers,
79 const SG::ThinningCache* cache,
80 MsgStream& log) const
81 {
83 myVecTPConv.transToPers( trans, pers, cache, log );
84 }
85
86};
87
88
89#endif // EVENTCOMMONTPCNV_IPARTICLELINKCONTAINERCNV_P1_H
TPConverterConstBase< TRANS, PERS > T_AthenaPoolTPCnvConstBase
IParticleLinkContainerCnv_p1.h.
IParticleLinkContainer LinkVect_t
Create typeded for ease of use.
void transToPers(const LinkVect_t &trans, PersLinkVect_t &pers, const SG::ThinningCache *cache, MsgStream &log) const
The method to convert the transient to the persistent state, for references.
void transToPers(const LinkVect_t &trans, PersLinkVect_t &pers, MsgStream &log) const
The method to convert the transient to the persistent state, for references.
IParticleLinkContainer_p1 PersLinkVect_t
Create typeded for ease of use.
void persToTrans(const PersLinkVect_t &pers, LinkVect_t &trans, MsgStream &log) const
The method to convert the persistent to the transient state, for references.
virtual void persToTrans(const PersLinkVect_t *pers, LinkVect_t *trans, MsgStream &log) const override
The method to convert the persistent to the transient state.
virtual void transToPers(const LinkVect_t *trans, PersLinkVect_t *pers, MsgStream &log) const override
The method to convert the transient to the persistent state.
Cache thinning decisions for converters.
virtual void transToPers(const TRANS *transObj, PERS *persObj, MsgStream &log) const =0
Convert transient representation to persistent one.
virtual void persToTrans(const PERS *persObj, TRANS *transObj, MsgStream &log) const =0
Convert persistent representation to transient one.
void persToTrans(const PersLinkVect_t &pers, LinkVect_t &trans, MsgStream &log) const
void transToPers(const LinkVect_t &trans, PersLinkVect_t &pers, const SG::ThinningCache *cache, MsgStream &log) const