ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
DataModelAthenaPool
DataModelAthenaPool
ElementLinkVectorCnv_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_ELEMENTLINKVECTCNV_P1_H
6
#define DATAMODELATHENAPOOL_ELEMENTLINKVECTCNV_P1_H
7
14
15
#include "
AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h
"
16
#include "
ElementLinkVector_p1.h
"
17
#include "
DataLinkCnv_p1.h
"
18
namespace
SG
{
19
class
ThinningCache
;
20
}
21
25
26
template
<
class
LINK_VECT>
27
class
ElementLinkVectorCnv_p1
28
:
public
T_AthenaPoolTPCnvConstBase
< LINK_VECT, typename GeneratePersELinkVectorType_p1<LINK_VECT >::type > {
29
public
:
30
typedef
LINK_VECT
LinkVect_t
;
31
typedef
typename
GeneratePersELinkVectorType_p1< LinkVect_t >::type
PersLinkVect_t
;
32
typedef
typename
PersLinkVect_t::Index_t
Index_t
;
33
34
using
base_class
=
T_AthenaPoolTPCnvConstBase< LINK_VECT, PersLinkVect_t >
;
35
using
base_class::transToPers
;
36
using
base_class::persToTrans
;
37
38
ElementLinkVectorCnv_p1
() {}
39
40
void
transToPers
(
const
LinkVect_t
& trans,
PersLinkVect_t
& pers,
41
const
SG::ThinningCache
* cache,
42
MsgStream& log)
const
;
43
44
void
transToPers
(
const
LinkVect_t
& trans,
PersLinkVect_t
& pers, MsgStream& log)
const
;
45
void
persToTrans
(
const
PersLinkVect_t
& pers,
LinkVect_t
& trans, MsgStream& log)
const
;
46
47
virtual
void
transToPers
(
const
LinkVect_t
* trans,
PersLinkVect_t
* pers, MsgStream& log)
const override
;
48
virtual
void
persToTrans
(
const
PersLinkVect_t
* pers,
LinkVect_t
* trans, MsgStream& log)
const override
;
49
50
51
protected
:
52
DataLinkVectorCnv_p1<typename LinkVect_t::DataLinkVector >
m_DLinkVectorCnv
;
53
};
54
55
#ifndef __REFLEX__
56
#include "
ElementLinkVectorCnv_p1.icc
"
57
#endif
// not __REFLEX__
58
59
#endif
DataLinkCnv_p1.h
This file contains the class definition for the DataLinkCnv_p1 class and DataLinkVectorCnv_p1 class.
ElementLinkVectorCnv_p1.icc
ElementLinkVector_p1.h
This file contains the class definition for the ElementLinkVector_p1 class.
T_AthenaPoolTPConverter.h
T_AthenaPoolTPCnvConstBase
TPConverterConstBase< TRANS, PERS > T_AthenaPoolTPCnvConstBase
Definition
T_AthenaPoolTPConverter.h:44
DataLinkVectorCnv_p1
Definition
DataLinkCnv_p1.h:56
ElementLinkVectorCnv_p1::PersLinkVect_t
GeneratePersELinkVectorType_p1< LinkVect_t >::type PersLinkVect_t
Definition
ElementLinkVectorCnv_p1.h:31
ElementLinkVectorCnv_p1::persToTrans
void persToTrans(const PersLinkVect_t &pers, LinkVect_t &trans, MsgStream &log) const
ElementLinkVectorCnv_p1::LinkVect_t
LINK_VECT LinkVect_t
Definition
ElementLinkVectorCnv_p1.h:30
ElementLinkVectorCnv_p1< ElementLinkVector< egDetailContainer > >::m_DLinkVectorCnv
DataLinkVectorCnv_p1< typename LinkVect_t::DataLinkVector > m_DLinkVectorCnv
Definition
ElementLinkVectorCnv_p1.h:52
ElementLinkVectorCnv_p1::transToPers
void transToPers(const LinkVect_t &trans, PersLinkVect_t &pers, MsgStream &log) const
ElementLinkVectorCnv_p1::base_class
T_AthenaPoolTPCnvConstBase< LINK_VECT, PersLinkVect_t > base_class
Definition
ElementLinkVectorCnv_p1.h:34
ElementLinkVectorCnv_p1::persToTrans
virtual void persToTrans(const PersLinkVect_t *pers, LinkVect_t *trans, MsgStream &log) const override
ElementLinkVectorCnv_p1::transToPers
void transToPers(const LinkVect_t &trans, PersLinkVect_t &pers, const SG::ThinningCache *cache, MsgStream &log) const
ElementLinkVectorCnv_p1::transToPers
virtual void transToPers(const LinkVect_t *trans, PersLinkVect_t *pers, MsgStream &log) const override
ElementLinkVectorCnv_p1::ElementLinkVectorCnv_p1
ElementLinkVectorCnv_p1()
Definition
ElementLinkVectorCnv_p1.h:38
ElementLinkVectorCnv_p1::Index_t
PersLinkVect_t::Index_t Index_t
Definition
ElementLinkVectorCnv_p1.h:32
ElementLinkVector_p1::Index_t
INDEXTYPE Index_t
Definition
ElementLinkVector_p1.h:26
SG::ThinningCache
Cache thinning decisions for converters.
Definition
ThinningCache.h:48
TPConverterConstBase::transToPers
virtual void transToPers(const TRANS *transObj, PERS *persObj, MsgStream &log) const =0
Convert transient representation to persistent one.
TPConverterConstBase::persToTrans
virtual void persToTrans(const PERS *persObj, TRANS *transObj, MsgStream &log) const =0
Convert persistent representation to transient one.
SG
Forward declaration.
Definition
CaloCellPacker_400_500.h:32
GeneratePersELinkVectorType_p1::type
ElementLinkVector_p1< typename GenerateELinkIndexType_p1< typename LINK::index_type >::type > type
Definition
ElementLinkVector_p1.h:55
Generated on
for ATLAS Offline Software by
1.17.0