ATLAS Offline Software
IParticleLinkContainerCnv_p1.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5 */
6 
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 
33 public:
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
IParticleLinkContainerCnv_p1::persToTrans
void persToTrans(const PersLinkVect_t &pers, LinkVect_t &trans, MsgStream &log) const
The method to convert the persistent to the transient state, for references.
Definition: IParticleLinkContainerCnv_p1.h:63
TPConverterConstBase::transToPers
virtual void transToPers(const TRANS *transObj, PERS *persObj, MsgStream &log) const =0
Convert transient representation to persistent one.
IParticleLinkContainerCnv_p1::transToPers
virtual void transToPers(const LinkVect_t *trans, PersLinkVect_t *pers, MsgStream &log) const override
The method to convert the transient to the persistent state.
Definition: IParticleLinkContainerCnv_p1.h:55
VectorElementLinkCnv_p1.h
IParticleLinkContainerCnv_p1::transToPers
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.
Definition: IParticleLinkContainerCnv_p1.h:77
VectorElementLinkCnv_p1::transToPers
void transToPers(const LinkVect_t &trans, PersLinkVect_t &pers, const SG::ThinningCache *cache, MsgStream &log) const
T_AthenaPoolTPConverter.h
VectorElementLinkCnv_p1
Definition: VectorElementLinkCnv_p1.h:28
IParticleLinkContainerCnv_p1::persToTrans
virtual void persToTrans(const PersLinkVect_t *pers, LinkVect_t *trans, MsgStream &log) const override
The method to convert the persistent to the transient state.
Definition: IParticleLinkContainerCnv_p1.h:47
TPConverterConstBase::persToTrans
virtual void persToTrans(const PERS *persObj, TRANS *transObj, MsgStream &log) const =0
Convert persistent representation to transient one.
IParticleLinkContainerCnv_p1::LinkVect_t
IParticleLinkContainer LinkVect_t
Create typeded for ease of use.
Definition: IParticleLinkContainerCnv_p1.h:42
IParticleLinkContainerCnv_p1::PersLinkVect_t
IParticleLinkContainer_p1 PersLinkVect_t
Create typeded for ease of use.
Definition: IParticleLinkContainerCnv_p1.h:39
VectorElementLinkCnv_p1::persToTrans
void persToTrans(const PersLinkVect_t &pers, LinkVect_t &trans, MsgStream &log) const
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
IParticleLinkContainerCnv_p1
IParticleLinkContainerCnv_p1.h.
Definition: IParticleLinkContainerCnv_p1.h:31
TPConverterConstBase
Definition: TPConverter.h:776
IParticleLinkContainerCnv_p1::transToPers
void transToPers(const LinkVect_t &trans, PersLinkVect_t &pers, MsgStream &log) const
The method to convert the transient to the persistent state, for references.
Definition: IParticleLinkContainerCnv_p1.h:70
SG::ThinningCache
Cache thinning decisions for converters.
Definition: ThinningCache.h:48