ATLAS Offline Software
INav4MomLinkContainerCnv_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_INAV4MOMLINKCONTAINERCNV_P1_H
15 #define EVENTCOMMONTPCNV_INAV4MOMLINKCONTAINERCNV_P1_H
16 
17 // STL includes
18 #include <vector>
19 
20 // DataModel includes
26 
27 
30  : public T_AthenaPoolTPCnvConstBase< INav4MomLinkContainer, INav4MomLinkContainer_p1 >
31 {
32 
33 public:
36 
39 
42 
43 
45  virtual
46  void persToTrans(const PersLinkVect_t* pers, LinkVect_t* trans, MsgStream& log) const override
47  {
49  myVecTPConv.persToTrans( pers, trans, log );
50  }
51 
53  virtual
54  void transToPers(const LinkVect_t* trans, PersLinkVect_t* pers, MsgStream& log) const override
55  {
57  myVecTPConv.transToPers( trans, pers, log );
58  }
59 
60 
62  void persToTrans(const PersLinkVect_t& pers, LinkVect_t& trans, MsgStream& log) const
63  {
65  myVecTPConv.persToTrans( pers, trans, log );
66  }
67 
69  void transToPers(const LinkVect_t& trans, PersLinkVect_t& pers, MsgStream& log) const
70  {
72  myVecTPConv.transToPers( trans, pers, log );
73  }
74 
76  void transToPers(const LinkVect_t& trans,
77  PersLinkVect_t& pers,
78  const SG::ThinningCache* cache,
79  MsgStream& log) const
80  {
82  myVecTPConv.transToPers( trans, pers, cache, log );
83  }
84 
85 };
86 
87 
88 #endif // EVENTCOMMONTPCNV_INAV4MOMLINKCONTAINERCNV_P1_H
INav4MomLinkContainerCnv_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: INav4MomLinkContainerCnv_p1.h:46
TPConverterConstBase::transToPers
virtual void transToPers(const TRANS *transObj, PERS *persObj, MsgStream &log) const =0
Convert transient representation to persistent one.
VectorElementLinkCnv_p1.h
INav4MomLinkContainerCnv_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: INav4MomLinkContainerCnv_p1.h:54
INav4MomLinkContainerCnv_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: INav4MomLinkContainerCnv_p1.h:69
INav4MomLinkContainerCnv_p1::PersLinkVect_t
INav4MomLinkContainer_p1 PersLinkVect_t
Create typeded for ease of use.
Definition: INav4MomLinkContainerCnv_p1.h:38
INav4MomLinkContainerCnv_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: INav4MomLinkContainerCnv_p1.h:62
VectorElementLinkCnv_p1::transToPers
void transToPers(const LinkVect_t &trans, PersLinkVect_t &pers, const SG::ThinningCache *cache, MsgStream &log) const
T_AthenaPoolTPConverter.h
INav4MomLinkContainerCnv_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: INav4MomLinkContainerCnv_p1.h:76
VectorElementLinkCnv_p1
Definition: VectorElementLinkCnv_p1.h:28
INav4MomLinkContainerCnv_p1::LinkVect_t
INav4MomLinkContainer LinkVect_t
Create typeded for ease of use.
Definition: INav4MomLinkContainerCnv_p1.h:41
TPConverterConstBase::persToTrans
virtual void persToTrans(const PERS *persObj, TRANS *transObj, MsgStream &log) const =0
Convert persistent representation to transient one.
VectorElementLinkCnv_p1::persToTrans
void persToTrans(const PersLinkVect_t &pers, LinkVect_t &trans, MsgStream &log) const
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
INav4MomLinkContainerCnv_p1
INav4MomLinkContainerCnv_p1.h.
Definition: INav4MomLinkContainerCnv_p1.h:31
TPConverterConstBase
Definition: TPConverter.h:776
SG::ThinningCache
Cache thinning decisions for converters.
Definition: ThinningCache.h:48