ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
EventCommonTPCnv
EventCommonTPCnv
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
21
#include "
AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h
"
22
#include "
DataModelAthenaPool/VectorElementLinkCnv_p1.h
"
23
#include "
DataModelAthenaPool/VectorElementLink_p1.h
"
24
#include "
EventCommonTPCnv/IParticleLinkContainer_p1.h
"
25
#include "
NavFourMom/IParticleLinkContainer.h
"
26
27
29
class
IParticleLinkContainerCnv_p1
30
:
public
T_AthenaPoolTPCnvConstBase
< IParticleLinkContainer, IParticleLinkContainer_p1 >
31
{
32
33
public
:
34
using
base_class::transToPers
;
35
using
base_class::persToTrans
;
36
37
39
typedef
IParticleLinkContainer_p1
PersLinkVect_t
;
40
42
typedef
IParticleLinkContainer
LinkVect_t
;
43
44
46
virtual
47
void
persToTrans
(
const
PersLinkVect_t
* pers,
LinkVect_t
* trans, MsgStream& log)
const override
48
{
49
VectorElementLinkCnv_p1< IParticleLinkContainer >
myVecTPConv;
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
{
57
VectorElementLinkCnv_p1< IParticleLinkContainer >
myVecTPConv;
58
myVecTPConv.
transToPers
( trans, pers, log );
59
}
60
61
63
void
persToTrans
(
const
PersLinkVect_t
& pers,
LinkVect_t
& trans, MsgStream& log)
const
64
{
65
VectorElementLinkCnv_p1< IParticleLinkContainer >
myVecTPConv;
66
myVecTPConv.
persToTrans
( pers, trans, log );
67
}
68
70
void
transToPers
(
const
LinkVect_t
& trans,
PersLinkVect_t
& pers, MsgStream& log)
const
71
{
72
VectorElementLinkCnv_p1< IParticleLinkContainer >
myVecTPConv;
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
{
82
VectorElementLinkCnv_p1< IParticleLinkContainer >
myVecTPConv;
83
myVecTPConv.
transToPers
( trans, pers, cache, log );
84
}
85
86
};
87
88
89
#endif
// EVENTCOMMONTPCNV_IPARTICLELINKCONTAINERCNV_P1_H
IParticleLinkContainer_p1.h
IParticleLinkContainer.h
T_AthenaPoolTPConverter.h
T_AthenaPoolTPCnvConstBase
TPConverterConstBase< TRANS, PERS > T_AthenaPoolTPCnvConstBase
Definition
T_AthenaPoolTPConverter.h:44
VectorElementLinkCnv_p1.h
VectorElementLink_p1.h
This file contains the class definition for theVector ElementLink_p1 class.
IParticleLinkContainerCnv_p1
IParticleLinkContainerCnv_p1.h.
Definition
IParticleLinkContainerCnv_p1.h:31
IParticleLinkContainerCnv_p1::LinkVect_t
IParticleLinkContainer LinkVect_t
Create typeded for ease of use.
Definition
IParticleLinkContainerCnv_p1.h:42
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
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
IParticleLinkContainerCnv_p1::PersLinkVect_t
IParticleLinkContainer_p1 PersLinkVect_t
Create typeded for ease of use.
Definition
IParticleLinkContainerCnv_p1.h:39
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
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
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
IParticleLinkContainer_p1
IParticleLinkContainer_p1.h.
Definition
IParticleLinkContainer_p1.h:24
IParticleLinkContainer
IParticleLinkContainer.h.
Definition
NavFourMom/NavFourMom/IParticleLinkContainer.h:27
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.
VectorElementLinkCnv_p1
Definition
VectorElementLinkCnv_p1.h:28
VectorElementLinkCnv_p1::persToTrans
void persToTrans(const PersLinkVect_t &pers, LinkVect_t &trans, MsgStream &log) const
VectorElementLinkCnv_p1::transToPers
void transToPers(const LinkVect_t &trans, PersLinkVect_t &pers, const SG::ThinningCache *cache, MsgStream &log) const
Generated on
for ATLAS Offline Software by
1.17.0