ATLAS Offline Software
VectorElementLinkCnv_p1.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef DATAMODELATHENAPOOL_VECTELEMENTLINKCNV_P1_H
6 #define DATAMODELATHENAPOOL_VECTELEMENTLINKCNV_P1_H
7 
15 #include "VectorElementLink_p1.h"
16 #include "ElementLinkCnv_p3.h"
17 namespace SG {
18  class ThinningCache;
19 }
20 
21 
26 template <class LINK_VECT>
28  : public T_AthenaPoolTPCnvConstBase< LINK_VECT, typename GeneratePersVectorELinkType_p1<LINK_VECT >::type > {
29 public:
30  typedef LINK_VECT LinkVect_t;
32 
36 
38 
39  void transToPers(const LinkVect_t& trans, PersLinkVect_t& pers,
40  const SG::ThinningCache* cache,
41  MsgStream& log) const;
42 
43  void transToPers(const LinkVect_t& trans, PersLinkVect_t& pers, MsgStream& log) const;
44  void persToTrans(const PersLinkVect_t& pers, LinkVect_t& trans, MsgStream& log) const;
45 
46  virtual void transToPers(const LinkVect_t* trans, PersLinkVect_t* pers, MsgStream& log) const override;
47  virtual void persToTrans(const PersLinkVect_t* pers, LinkVect_t* trans, MsgStream& log) const override;
48 
49 
50 protected:
52 };
53 
55 
56 #endif
ElementLinkCnv_p3< typename LinkVect_t::value_type >
ElementLinkCnv_p3.h
This file contains the class definition for the ElementLinkCnv_p3 class.
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
VectorElementLinkCnv_p1::transToPers
void transToPers(const LinkVect_t &trans, PersLinkVect_t &pers, MsgStream &log) const
VectorElementLinkCnv_p1::m_elLinkCnv
ElementLinkCnv_p3< typename LinkVect_t::value_type > m_elLinkCnv
Definition: VectorElementLinkCnv_p1.h:51
TPConverterBase
Definition: TPConverter.h:738
TPAbstractPolyCnvBase< TRANS, TRANS, PERS >::transToPers
virtual void transToPers(const TRANS *transObj, PERS *persObj, MsgStream &log)=0
Convert transient representation to persistent one.
VectorElementLinkCnv_p1::LinkVect_t
LINK_VECT LinkVect_t
Definition: VectorElementLinkCnv_p1.h:30
VectorElementLinkCnv_p1::persToTrans
virtual void persToTrans(const PersLinkVect_t *pers, LinkVect_t *trans, MsgStream &log) const override
VectorElementLinkCnv_p1::transToPers
void transToPers(const LinkVect_t &trans, PersLinkVect_t &pers, const SG::ThinningCache *cache, MsgStream &log) const
VectorElementLinkCnv_p1.icc
VectorElementLinkCnv_p1::VectorElementLinkCnv_p1
VectorElementLinkCnv_p1()
Definition: VectorElementLinkCnv_p1.h:37
VectorElementLinkCnv_p1
Definition: VectorElementLinkCnv_p1.h:28
VectorElementLinkCnv_p1::PersLinkVect_t
GeneratePersVectorELinkType_p1< LinkVect_t >::type PersLinkVect_t
Definition: VectorElementLinkCnv_p1.h:31
VectorElementLinkCnv_p1::persToTrans
void persToTrans(const PersLinkVect_t &pers, LinkVect_t &trans, MsgStream &log) const
VectorElementLinkCnv_p1::transToPers
virtual void transToPers(const LinkVect_t *trans, PersLinkVect_t *pers, MsgStream &log) const override
TPAbstractPolyCnvBase< TRANS, TRANS, PERS >::persToTrans
virtual void persToTrans(const PERS *persObj, TRANS *transObj, MsgStream &log)=0
Convert persistent representation to transient one.
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
GeneratePersVectorELinkType_p1::type
VectorElementLink_p1_t< typename GenerateELinkIndexType_p3< typename TRANS_ELINK_VECT::value_type::index_type >::type >::Type type
Definition: VectorElementLink_p1.h:35
TPConverterConstBase
Definition: TPConverter.h:776
SG::ThinningCache
Cache thinning decisions for converters.
Definition: ThinningCache.h:48