ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
AnalysisCommon
ParticleEventTPCnv
ParticleEventTPCnv
ParticleBaseCnv_p2.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
7
// ParticleBaseCnv_p2.h
8
// Header file for class ParticleBaseCnv_p2
9
// Author: K.Cranmer<cranmer@cern.ch>
10
// Author: S.Binet<binet@cern.ch>
12
#ifndef PARTICLEEVENTTPCNV_PARTICLEBASECNV_P2_H
13
#define PARTICLEEVENTTPCNV_PARTICLEBASECNV_P2_H
14
15
// STL includes
16
17
// AthenaPoolCnvSvc includes
18
#include "
AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h
"
19
20
// ParticleEventTPCnv includes
21
#include "
ParticleEventTPCnv/ParticleBase_p2.h
"
22
#include "
ParticleEvent/ParticleImpl.h
"
23
#include "
ParticleEvent/ParticleBase.h
"
24
25
// Forward declaration
26
class
MsgStream;
27
28
class
ParticleBaseCnv_p2
29
:
public
T_AthenaPoolTPCnvConstBase
<ParticleEvent::Base, ParticleBase_p2>
30
{
31
public
:
32
using
base_class::transToPers
;
33
using
base_class::persToTrans
;
34
35
38
ParticleBaseCnv_p2
();
39
42
virtual
~ParticleBaseCnv_p2
();
43
44
48
virtual
void
persToTrans
(
const
ParticleBase_p2
* persObj,
49
ParticleBase
* transObj,
50
MsgStream &
msg
)
const
final
;
51
55
virtual
void
transToPers
(
const
ParticleBase
* transObj,
56
ParticleBase_p2
* persObj,
57
MsgStream &
msg
)
const
final
;
58
62
virtual
void
persToTrans
(
const
ParticleBase_p2
* persObj,
63
ParticleEvent::Base
* transObj,
64
MsgStream &
msg
)
const
override
final
;
65
69
virtual
void
transToPers
(
const
ParticleEvent::Base
* transObj,
70
ParticleBase_p2
* persObj,
71
MsgStream &
msg
)
const
override
final
;
72
};
73
74
75
inline
ParticleBaseCnv_p2::ParticleBaseCnv_p2
()
76
{}
77
78
#endif
//> PARTICLEEVENTTPCNV_PARTICLEBASECNV_P2_H
ParticleBase.h
ParticleBase_p2.h
ParticleImpl.h
T_AthenaPoolTPConverter.h
T_AthenaPoolTPCnvConstBase
TPConverterConstBase< TRANS, PERS > T_AthenaPoolTPCnvConstBase
Definition
T_AthenaPoolTPConverter.h:44
ParticleBaseCnv_p2::persToTrans
virtual void persToTrans(const ParticleBase_p2 *persObj, ParticleBase *transObj, MsgStream &msg) const final
Method creating the transient representation of ParticleBase from its persistent representation Parti...
Definition
ParticleBaseCnv_p2.cxx:42
ParticleBaseCnv_p2::transToPers
virtual void transToPers(const ParticleBase *transObj, ParticleBase_p2 *persObj, MsgStream &msg) const final
Method creating the persistent representation ParticleBase_p2 from its transient representation Parti...
Definition
ParticleBaseCnv_p2.cxx:73
ParticleBaseCnv_p2::~ParticleBaseCnv_p2
virtual ~ParticleBaseCnv_p2()
d-tor
Definition
ParticleBaseCnv_p2.cxx:38
ParticleBaseCnv_p2::ParticleBaseCnv_p2
ParticleBaseCnv_p2()
Default constructor:
Definition
ParticleBaseCnv_p2.h:75
ParticleBase_p2
Definition
ParticleBase_p2.h:26
ParticleBase
Definition
ParticleBase.h:17
ParticleEvent::Base
Definition
Base.h:34
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.
msg
MsgStream & msg
Definition
testRead.cxx:32
Generated on
for ATLAS Offline Software by
1.17.0